arm64: dts: renesas: gen3: use 400kHz for I2C DVFS bus
Subsystems (2)
RFC PATCH 1/1 arm64: dts: renesas: gen3: use 400kHz for I2C DVFS bus
The PMIC and EEPROM can operate at 400kHz, so use this speed.
---
RFC because I couldn't find docs for the PMIC. Tests showed that it does work at 400kHz (checksuming over 256 byte reads). Geert, do you happen to have docs? Other than that, for the EEPROM it also works and is also documented and BSP uses 400kHz as well. Tested on Salvator XS, not ULCB.
arch/arm64/boot/dts/renesas/salvator-common.dtsi | 2 ++ arch/arm64/boot/dts/renesas/ulcb.dtsi | 2 ++ 2 files changed, 4 insertions(+)
arch/arm64/boot/dts/renesas/salvator-common.dtsi +2 -0
@@ -474,6 +474,8 @@ &i2c_dvfs { status = "okay"; + clock-frequency = <400000>; + pmic: pmic@30 { pinctrl-0 = <&irq0_pins>; pinctrl-names = "default";
arch/arm64/boot/dts/renesas/ulcb.dtsi +2 -0
@@ -241,6 +241,8 @@ &i2c_dvfs { status = "okay"; + clock-frequency = <400000>; + pmic: pmic@30 { pinctrl-0 = <&irq0_pins>; pinctrl-names = "default";
Signature · 1 line
2.18.0
Quoted 3 lines · Wolfram Sang
The PMIC and EEPROM can operate at 400kHz, so use this speed.
Signed-off-by Wolfram Sang <[email protected]>
Quoted 6 lines
---
RFC because I couldn't find docs for the PMIC. Tests showed that it does work at 400kHz (checksuming over 256 byte reads). Geert, do you happen to have docs? Other than that, for the EEPROM it also works and is also documented and BSP uses 400kHz as well. Tested on Salvator XS, not ULCB.
BD9571 docs say:
(1) Fast mode: Max.400kHz
(2) Fast mode plus: Max. 1MHz
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
Simon Horman
AppliedQuoted 7 lines · Geert Uytterhoeven
Quoted 3 lines · Wolfram Sang
The PMIC and EEPROM can operate at 400kHz, so use this speed.
Signed-off-by Wolfram Sang <[email protected]>Reviewed-by Geert Uytterhoeven <[email protected]>
Thanks, applied for v4.20.