Thread (13 messages) 13 messages, 3 authors, 2021-01-17

Re: [PATCH 4/5] arm64: dts: renesas: Add I2C support for falcon board

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2021-01-05 11:01:09
Also in: linux-renesas-soc, lkml

Hi Wolfram,

On Wed, Dec 23, 2020 at 6:25 PM Wolfram Sang
[off-list ref] wrote:
From: Koji Matsuoka <redacted>

Signed-off-by: Koji Matsuoka <redacted>
[wsa: rebased]
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Thanks for your patch!
quoted hunk ↗ jump to hunk
--- a/arch/arm64/boot/dts/renesas/r8a779a0-falcon.dts
+++ b/arch/arm64/boot/dts/renesas/r8a779a0-falcon.dts
@@ -21,6 +21,34 @@ chosen {
        };
 };

+&i2c0 {
+       pinctrl-0 = <&i2c0_pins>;
+       pinctrl-names = "default";
+
+       status = "okay";
+       clock-frequency = <400000>;
+};
+
+&i2c1 {
+       pinctrl-0 = <&i2c1_pins>;
+       pinctrl-names = "default";
+
+       status = "okay";
+       clock-frequency = <400000>;
+};
+
+&pfc {
+       i2c0_pins: i2c0 {
+               groups = "i2c0";
+               function = "i2c0";
+       };
+
+       i2c1_pins: i2c1 {
+               groups = "i2c1";
+               function = "i2c1";
+       };
+};
+
BTW, why not adding i2c6, which also has slave devices connected to it?
 &rwdt {
        timeout-sec = <60>;
        status = "okay";

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help