linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: davinci: da830-evm: add missing regulator constraints for OHCI
@ 2019-06-25 16:49 Bartosz Golaszewski
  2019-06-25 16:49 ` [PATCH 2/2] ARM: davinci: omapl138-hawk: " Bartosz Golaszewski
  2019-07-01 15:09 ` [PATCH 1/2] ARM: davinci: da830-evm: " Sekhar Nori
  0 siblings, 2 replies; 3+ messages in thread
From: Bartosz Golaszewski @ 2019-06-25 16:49 UTC (permalink / raw)
  To: Sekhar Nori, Kevin Hilman
  Cc: Bartosz Golaszewski, stable, linux-kernel, linux-arm-kernel

From: Bartosz Golaszewski <bgolaszewski@baylibre.com>

We need to enable status changes for the fixed power supply for the USB
controller.

Fixes: 274e4c336192 ("ARM: davinci: da830-evm: add a fixed regulator for ohci-da8xx")
Cc: stable@vger.kernel.org
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
---
 arch/arm/mach-davinci/board-da830-evm.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/mach-davinci/board-da830-evm.c b/arch/arm/mach-davinci/board-da830-evm.c
index aba10a2bc6b9..a273ab25c668 100644
--- a/arch/arm/mach-davinci/board-da830-evm.c
+++ b/arch/arm/mach-davinci/board-da830-evm.c
@@ -61,6 +61,9 @@ static struct regulator_consumer_supply da830_evm_usb_supplies[] = {
 static struct regulator_init_data da830_evm_usb_vbus_data = {
 	.consumer_supplies	= da830_evm_usb_supplies,
 	.num_consumer_supplies	= ARRAY_SIZE(da830_evm_usb_supplies),
+	.constraints    = {
+		.valid_ops_mask = REGULATOR_CHANGE_STATUS,
+	},
 };
 
 static struct fixed_voltage_config da830_evm_usb_vbus = {
-- 
2.21.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] ARM: davinci: omapl138-hawk: add missing regulator constraints for OHCI
  2019-06-25 16:49 [PATCH 1/2] ARM: davinci: da830-evm: add missing regulator constraints for OHCI Bartosz Golaszewski
@ 2019-06-25 16:49 ` Bartosz Golaszewski
  2019-07-01 15:09 ` [PATCH 1/2] ARM: davinci: da830-evm: " Sekhar Nori
  1 sibling, 0 replies; 3+ messages in thread
From: Bartosz Golaszewski @ 2019-06-25 16:49 UTC (permalink / raw)
  To: Sekhar Nori, Kevin Hilman
  Cc: Bartosz Golaszewski, stable, linux-kernel, linux-arm-kernel

From: Bartosz Golaszewski <bgolaszewski@baylibre.com>

We need to enable status changes for the fixed power supply for the USB
controller.

Fixes: 1d272894ec4f ("ARM: davinci: omapl138-hawk: add a fixed regulator for ohci-da8xx")
Cc: stable@vger.kernel.org
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
---
 arch/arm/mach-davinci/board-omapl138-hawk.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/mach-davinci/board-omapl138-hawk.c b/arch/arm/mach-davinci/board-omapl138-hawk.c
index db177a6a7e48..5390a8630cf0 100644
--- a/arch/arm/mach-davinci/board-omapl138-hawk.c
+++ b/arch/arm/mach-davinci/board-omapl138-hawk.c
@@ -306,6 +306,9 @@ static struct regulator_consumer_supply hawk_usb_supplies[] = {
 static struct regulator_init_data hawk_usb_vbus_data = {
 	.consumer_supplies	= hawk_usb_supplies,
 	.num_consumer_supplies	= ARRAY_SIZE(hawk_usb_supplies),
+	.constraints    = {
+		.valid_ops_mask = REGULATOR_CHANGE_STATUS,
+	},
 };
 
 static struct fixed_voltage_config hawk_usb_vbus = {
-- 
2.21.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] ARM: davinci: da830-evm: add missing regulator constraints for OHCI
  2019-06-25 16:49 [PATCH 1/2] ARM: davinci: da830-evm: add missing regulator constraints for OHCI Bartosz Golaszewski
  2019-06-25 16:49 ` [PATCH 2/2] ARM: davinci: omapl138-hawk: " Bartosz Golaszewski
@ 2019-07-01 15:09 ` Sekhar Nori
  1 sibling, 0 replies; 3+ messages in thread
From: Sekhar Nori @ 2019-07-01 15:09 UTC (permalink / raw)
  To: Bartosz Golaszewski, Kevin Hilman
  Cc: Bartosz Golaszewski, stable, linux-kernel, linux-arm-kernel

On 25/06/19 10:19 PM, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bgolaszewski@baylibre.com>
> 
> We need to enable status changes for the fixed power supply for the USB
> controller.
> 
> Fixes: 274e4c336192 ("ARM: davinci: da830-evm: add a fixed regulator for ohci-da8xx")
> Cc: stable@vger.kernel.org
> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>

For both these patches as well, the offending commit was introduced in
v5.2 so I dropped the stable tag while applying.

Will send pull request tomorrow after some build and boot testing.

Thanks,
Sekhar

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-07-01 15:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-25 16:49 [PATCH 1/2] ARM: davinci: da830-evm: add missing regulator constraints for OHCI Bartosz Golaszewski
2019-06-25 16:49 ` [PATCH 2/2] ARM: davinci: omapl138-hawk: " Bartosz Golaszewski
2019-07-01 15:09 ` [PATCH 1/2] ARM: davinci: da830-evm: " Sekhar Nori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).