diff mbox series

ARM: davinci: da850-evm: call regulator_has_full_constraints()

Message ID 20190607090201.5995-1-brgl@bgdev.pl (mailing list archive)
State Mainlined, archived
Commit 0c0c9b5753cd04601b17de09da1ed2885a3b42fe
Headers show
Series ARM: davinci: da850-evm: call regulator_has_full_constraints() | expand

Commit Message

Bartosz Golaszewski June 7, 2019, 9:02 a.m. UTC
From: Bartosz Golaszewski <bgolaszewski@baylibre.com>

The BB expander at 0x21 i2c bus 1 fails to probe on da850-evm because
the board doesn't set has_full_constraints to true in the regulator
API.

Call regulator_has_full_constraints() at the end of board registration
just like we do in da850-lcdk and da830-evm.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
---
 arch/arm/mach-davinci/board-da850-evm.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Linus Walleij June 8, 2019, 2:07 p.m. UTC | #1
On Fri, Jun 7, 2019 at 11:02 AM Bartosz Golaszewski <brgl@bgdev.pl> wrote:

> From: Bartosz Golaszewski <bgolaszewski@baylibre.com>
>
> The BB expander at 0x21 i2c bus 1 fails to probe on da850-evm because
> the board doesn't set has_full_constraints to true in the regulator
> API.
>
> Call regulator_has_full_constraints() at the end of board registration
> just like we do in da850-lcdk and da830-evm.
>
> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

I assume Sekhar will queue this and the LED patch?

Yours,
Linus Walleij
Sekhar Nori June 14, 2019, 10:47 a.m. UTC | #2
On 08/06/19 7:37 PM, Linus Walleij wrote:
> On Fri, Jun 7, 2019 at 11:02 AM Bartosz Golaszewski <brgl@bgdev.pl> wrote:
> 
>> From: Bartosz Golaszewski <bgolaszewski@baylibre.com>
>>
>> The BB expander at 0x21 i2c bus 1 fails to probe on da850-evm because
>> the board doesn't set has_full_constraints to true in the regulator
>> API.
>>
>> Call regulator_has_full_constraints() at the end of board registration
>> just like we do in da850-lcdk and da830-evm.
>>
>> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
> 
> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
> 
> I assume Sekhar will queue this and the LED patch?

Yes, will do. Added this to fixes for v5.2

Thanks,
Sekhar
diff mbox series

Patch

diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c
index 4ee65a8a3b80..31ae3be5741d 100644
--- a/arch/arm/mach-davinci/board-da850-evm.c
+++ b/arch/arm/mach-davinci/board-da850-evm.c
@@ -1480,6 +1480,8 @@  static __init void da850_evm_init(void)
 	if (ret)
 		pr_warn("%s: dsp/rproc registration failed: %d\n",
 			__func__, ret);
+
+	regulator_has_full_constraints();
 }
 
 #ifdef CONFIG_SERIAL_8250_CONSOLE