mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM: i.MX: phytec-som-imx6: phycore: fix updating pmic regulators
@ 2019-09-11 14:53 Marco Felsch
  2019-09-20 14:11 ` Marco Felsch
  2019-10-02  7:20 ` Sascha Hauer
  0 siblings, 2 replies; 7+ messages in thread
From: Marco Felsch @ 2019-09-11 14:53 UTC (permalink / raw)
  To: barebox; +Cc: s.christ, j.remmet, s.riedmueller

The PMIC is connected to i2c3 and not i2c1.

Fixes: b6bebb7aca ("ARM: i.MX: phytec-som-imx6: phycore: Set BUCK mode to SYNC")
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
---
 arch/arm/boards/phytec-som-imx6/board.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boards/phytec-som-imx6/board.c b/arch/arm/boards/phytec-som-imx6/board.c
index 730115702b..38e5ede91a 100644
--- a/arch/arm/boards/phytec-som-imx6/board.c
+++ b/arch/arm/boards/phytec-som-imx6/board.c
@@ -117,7 +117,7 @@ static int phycore_da9062_setup_buck_mode(void)
 	struct i2c_adapter *adapter = NULL;
 	struct i2c_client client;
 	unsigned char value;
-	int bus = 0;
+	int bus = 2;
 	int ret;
 
 	adapter = i2c_get_adapter(bus);
-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2019-10-02  8:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-11 14:53 [PATCH] ARM: i.MX: phytec-som-imx6: phycore: fix updating pmic regulators Marco Felsch
2019-09-20 14:11 ` Marco Felsch
2019-10-02  7:20 ` Sascha Hauer
2019-10-02  7:23   ` Sascha Hauer
2019-10-02  7:34     ` Stefan Riedmüller
2019-10-02  8:34       ` Marco Felsch
2019-10-02  8:53         ` Stefan Riedmüller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox