refactor(st-i2c): use fdt_read_uint32_default()The function stm32_i2c_get_setup_from_fdt() was using fdt_getprop() toto get some i2c node properties, and set a default value if the nodewas not fo
refactor(st-i2c): use fdt_read_uint32_default()The function stm32_i2c_get_setup_from_fdt() was using fdt_getprop() toto get some i2c node properties, and set a default value if the nodewas not found. The function fdt_read_uint32_default() already doesthis in a simpler way.Remove useless STM32_I2C_SPEED_DEFAULT.Change-Id: I74c6295bb5765ee7c7e0a9ae020b741f1fe022a6Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
feat(st): use newly introduced clock frameworkReplace calls to stm32mp_clk_enable() / stm32mp_clk_disable() /stm32mp_clk_get_rate() with clk_enable() / clk_disable() /clk_get_rate().Change-Id:
feat(st): use newly introduced clock frameworkReplace calls to stm32mp_clk_enable() / stm32mp_clk_disable() /stm32mp_clk_get_rate() with clk_enable() / clk_disable() /clk_get_rate().Change-Id: I15d2ce57b9499211fa522a1b53eeee9cf584c111Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
stm32mp1: update I2C and PMIC driversRegulator 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
stm32mp1: update I2C and PMIC driversRegulator 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 sourcefile to remove redundant declarations.Change-Id: I0bee5d776cf3ff15e687427cd6abc06ab237d025Signed-off-by: Yann Gautier <yann.gautier@st.com>Signed-off-by: Etienne Carriere <etienne.carriere@st.com>Signed-off-by: Lionel Debieve <lionel.debieve@st.com>Signed-off-by: Nicolas LE BAYON <nicolas.le.bayon@st.com>
drivers: st: move i2c driver in its own folderThe driver could be used for other devices than PMIC.Change-Id: I4569e7c0028e52e1ff2fe9d38f11de11e95d1897Signed-off-by: Yann Gautier <yann.gautier@s
drivers: st: move i2c driver in its own folderThe driver could be used for other devices than PMIC.Change-Id: I4569e7c0028e52e1ff2fe9d38f11de11e95d1897Signed-off-by: Yann Gautier <yann.gautier@st.com>