diff mbox series

[5/5] v3u: enable other I2C busses for testing

Message ID 20201223172505.34736-6-wsa+renesas@sang-engineering.com
State New
Headers show
Series v3u: enable I2C0-6 | expand

Commit Message

Wolfram Sang Dec. 23, 2020, 5:25 p.m. UTC
Not for upstream!

Not-Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
 .../boot/dts/renesas/r8a779a0-falcon.dts      | 65 +++++++++++++++++++
 1 file changed, 65 insertions(+)

Comments

Geert Uytterhoeven Jan. 5, 2021, 11:02 a.m. UTC | #1
Hi Wolfram,

On Wed, Dec 23, 2020 at 6:25 PM Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:
> Not for upstream!

>

> Not-Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>


Thanks for your patch!

> --- a/arch/arm64/boot/dts/renesas/r8a779a0-falcon.dts

> +++ b/arch/arm64/boot/dts/renesas/r8a779a0-falcon.dts

> @@ -37,6 +37,46 @@ &i2c1 {

>         clock-frequency = <400000>;

>  };

>

> +&i2c2 {

> +       pinctrl-0 = <&i2c2_pins>;

> +       pinctrl-names = "default";

> +

> +       status = "okay";

> +       clock-frequency = <100000>;

> +};

> +

> +&i2c3 {

> +       pinctrl-0 = <&i2c3_pins>;

> +       pinctrl-names = "default";

> +

> +       status = "okay";

> +       clock-frequency = <100000>;

> +};

> +

> +&i2c4 {

> +       pinctrl-0 = <&i2c4_pins>;

> +       pinctrl-names = "default";

> +

> +       status = "okay";

> +       clock-frequency = <100000>;

> +};

> +

> +&i2c5 {

> +       pinctrl-0 = <&i2c5_pins>;

> +       pinctrl-names = "default";

> +

> +       status = "okay";

> +       clock-frequency = <100000>;

> +};

> +

> +&i2c6 {

> +       pinctrl-0 = <&i2c6_pins>;

> +       pinctrl-names = "default";

> +

> +       status = "okay";

> +       clock-frequency = <100000>;

> +};


I think the i2c6 part belongs to "[PATCH 4/5] arm64: dts: renesas: Add
I2C support for falcon board",
possibly with clock-frequency = <400000>.

> +

>  &pfc {

>         i2c0_pins: i2c0 {

>                 groups = "i2c0";

> @@ -47,6 +87,31 @@ i2c1_pins: i2c1 {

>                 groups = "i2c1";

>                 function = "i2c1";

>         };

> +

> +       i2c2_pins: i2c2 {

> +               groups = "i2c2";

> +               function = "i2c2";

> +       };

> +

> +       i2c3_pins: i2c3 {

> +               groups = "i2c3";

> +               function = "i2c3";

> +       };

> +

> +       i2c4_pins: i2c4 {

> +               groups = "i2c4";

> +               function = "i2c4";

> +       };

> +

> +       i2c5_pins: i2c5 {

> +               groups = "i2c5";

> +               function = "i2c5";

> +       };

> +

> +       i2c6_pins: i2c6 {

> +               groups = "i2c6";

> +               function = "i2c6";

> +       };


Likewise.

>  };

>

>  &rwdt {

> --

> 2.28.0

>



--
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
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/renesas/r8a779a0-falcon.dts b/arch/arm64/boot/dts/renesas/r8a779a0-falcon.dts
index 7de3eed96ceb..f7f62fc40429 100644
--- a/arch/arm64/boot/dts/renesas/r8a779a0-falcon.dts
+++ b/arch/arm64/boot/dts/renesas/r8a779a0-falcon.dts
@@ -37,6 +37,46 @@  &i2c1 {
 	clock-frequency = <400000>;
 };
 
+&i2c2 {
+	pinctrl-0 = <&i2c2_pins>;
+	pinctrl-names = "default";
+
+	status = "okay";
+	clock-frequency = <100000>;
+};
+
+&i2c3 {
+	pinctrl-0 = <&i2c3_pins>;
+	pinctrl-names = "default";
+
+	status = "okay";
+	clock-frequency = <100000>;
+};
+
+&i2c4 {
+	pinctrl-0 = <&i2c4_pins>;
+	pinctrl-names = "default";
+
+	status = "okay";
+	clock-frequency = <100000>;
+};
+
+&i2c5 {
+	pinctrl-0 = <&i2c5_pins>;
+	pinctrl-names = "default";
+
+	status = "okay";
+	clock-frequency = <100000>;
+};
+
+&i2c6 {
+	pinctrl-0 = <&i2c6_pins>;
+	pinctrl-names = "default";
+
+	status = "okay";
+	clock-frequency = <100000>;
+};
+
 &pfc {
 	i2c0_pins: i2c0 {
 		groups = "i2c0";
@@ -47,6 +87,31 @@  i2c1_pins: i2c1 {
 		groups = "i2c1";
 		function = "i2c1";
 	};
+
+	i2c2_pins: i2c2 {
+		groups = "i2c2";
+		function = "i2c2";
+	};
+
+	i2c3_pins: i2c3 {
+		groups = "i2c3";
+		function = "i2c3";
+	};
+
+	i2c4_pins: i2c4 {
+		groups = "i2c4";
+		function = "i2c4";
+	};
+
+	i2c5_pins: i2c5 {
+		groups = "i2c5";
+		function = "i2c5";
+	};
+
+	i2c6_pins: i2c6 {
+		groups = "i2c6";
+		function = "i2c6";
+	};
 };
 
 &rwdt {