From d82d4ff0666711067328d2d34e2bdc009e84969f Mon Sep 17 00:00:00 2001 From: Yann Gautier Date: Thu, 14 Feb 2019 11:15:03 +0100 Subject: stm32mp1: update I2C and PMIC drivers Regulator configuration at boot takes more information from DT. I2C configuration from DT is done in I2C driver. I2C driver manages more transfer modes. The min voltage of buck1 should also be increased to 1.2V, else the platform does not boot. Heavily modifies stm32_i2c.c since many functions move inside the source file to remove redundant declarations. Change-Id: I0bee5d776cf3ff15e687427cd6abc06ab237d025 Signed-off-by: Yann Gautier Signed-off-by: Etienne Carriere Signed-off-by: Lionel Debieve Signed-off-by: Nicolas LE BAYON --- fdts/stm32mp157c-ed1.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fdts') diff --git a/fdts/stm32mp157c-ed1.dts b/fdts/stm32mp157c-ed1.dts index a97e8053..5d8817f6 100644 --- a/fdts/stm32mp157c-ed1.dts +++ b/fdts/stm32mp157c-ed1.dts @@ -55,7 +55,7 @@ vddcore: buck1 { regulator-name = "vddcore"; - regulator-min-microvolt = <800000>; + regulator-min-microvolt = <1200000>; regulator-max-microvolt = <1350000>; regulator-always-on; regulator-initial-mode = <0>; -- cgit v1.2.3