arm64: dts: salvator-x(s): Update I2C ch4 clock to 400kHz
Subsystems (2)
PATCH v2 1/1 arm64: dts: salvator-x(s): Update I2C ch4 clock to 400kHz
From: Takeshi Kihara <[email protected]>
Any of the following devices connected to I2C ch4 of the Salvator-X(S) boards will operate at 400 kHz:
PCA9654, 9FGV0841, ADV7482WBBCZ, MAX9611, 5P49V5923, 5P49V6901A
This patch updates the clock frequency to 400 KHz.
---
Changes since V1:
* squashed commits into single one
arch/arm64/boot/dts/renesas/salvator-x.dtsi | 2 ++ arch/arm64/boot/dts/renesas/salvator-xs.dtsi | 2 ++ 2 files changed, 4 insertions(+)
arch/arm64/boot/dts/renesas/salvator-x.dtsi +2 -0
@@ -20,6 +20,8 @@ }; &i2c4 { + clock-frequency = <400000>; + versaclock5: clock-generator@6a { compatible = "idt,5p49v5923"; reg = <0x6a>;
arch/arm64/boot/dts/renesas/salvator-xs.dtsi +2 -0
@@ -20,6 +20,8 @@ }; &i2c4 { + clock-frequency = <400000>; + versaclock6: clock-generator@6a { compatible = "idt,5p49v6901"; reg = <0x6a>;
Signature · 1 line
2.11.0
Quoted 5 lines · Wolfram Sang
From: Takeshi Kihara <[email protected]>
Any of the following devices connected to I2C ch4 of the Salvator-X(S) boards will operate at 400 kHz:
Quoted 7 lines
PCA9654, 9FGV0841, ADV7482WBBCZ, MAX9611, 5P49V5923, 5P49V6901AThis patch updates the clock frequency to 400 KHz.
Signed-off-by Takeshi Kihara <[email protected]>[wsa: squashed commits into one]Signed-off-by Wolfram Sang <[email protected]>
This looks fine but I will wait to see if there are other reviews before applying.
Simon Horman
AppliedQuoted 10 lines · Simon Horman
Quoted 9 lines · Wolfram Sang
From: Takeshi Kihara <[email protected]>
Any of the following devices connected to I2C ch4 of the Salvator-X(S) boards will operate at 400 kHz:
PCA9654, 9FGV0841, ADV7482WBBCZ, MAX9611, 5P49V5923, 5P49V6901AThis patch updates the clock frequency to 400 KHz.
Quoted 8 lines
Quoted 3 lines
Signed-off-by Takeshi Kihara <[email protected]>[wsa: squashed commits into one]Signed-off-by Wolfram Sang <[email protected]>This looks fine but I will wait to see if there are other reviews before applying.
Reviewed-by Simon Horman <[email protected]>
Thanks, applied.
Hi Wolfram,
Quoted 12 lines · Wolfram Sang
From: Takeshi Kihara <[email protected]>
Any of the following devices connected to I2C ch4 of the Salvator-X(S) boards will operate at 400 kHz:
PCA9654, 9FGV0841, ADV7482WBBCZ, MAX9611, 5P49V5923, 5P49V6901AThis patch updates the clock frequency to 400 KHz.
Signed-off-by Takeshi Kihara <[email protected]>[wsa: squashed commits into one]Signed-off-by Wolfram Sang <[email protected]>
Quoted 7 lines
---
Changes since V1:
* squashed commits into single onearch/arm64/boot/dts/renesas/salvator-x.dtsi | 2 ++ arch/arm64/boot/dts/renesas/salvator-xs.dtsi | 2 ++
Any reason this cannot be added to salvator-common.dtsi instead?
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
Quoted 5 lines
Quoted 3 lines
arch/arm64/boot/dts/renesas/salvator-x.dtsi | 2 ++ arch/arm64/boot/dts/renesas/salvator-xs.dtsi | 2 ++Any reason this cannot be added to
salvator-common.dtsiinstead?
It could be. For clarity, I wanted to place this attribute to the highest level and not somewhere inbetween.
Hi Wolfram,
Quoted 7 lines · Wolfram Sang
Quoted 4 lines
Quoted 2 lines
arch/arm64/boot/dts/renesas/salvator-x.dtsi | 2 ++ arch/arm64/boot/dts/renesas/salvator-xs.dtsi | 2 ++Any reason this cannot be added to
salvator-common.dtsiinstead?It could be. For clarity, I wanted to place this attribute to the highest level and not somewhere inbetween.
All other (non-VC5/6) devices on i2c4 currently described in DT are described in salvator-common.dtsi.
If a board adds a device with a lower frequency limit, it can still override it.
Note that the highest level is r8a779*-salvator-*dts ;-)
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
Quoted 3 lines
All other (non-VC5/6) devices on i2c4 currently described in DT are described in
salvator-common.dtsi.
Yes, exactly, non-VC5/6. Now imagine we need to reduce the freq because of a HW bug in only one of them...
But all fine with me. You can send a fixup patch if you want and add my ack.