2014-04-16 12:40:45

by Tomasz Stanislawski

[permalink] [raw]
Subject: [PATCH] arm: dts: exynos4: add missing pinctrls for I2C controllers

This patch adds missing pinctrls for I2C controllers 2-7.

Signed-off-by: Tomasz Stanislawski <[email protected]>
---
arch/arm/boot/dts/exynos4.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi
index 0401f4d..288aa81 100644
--- a/arch/arm/boot/dts/exynos4.dtsi
+++ b/arch/arm/boot/dts/exynos4.dtsi
@@ -357,6 +357,8 @@
interrupts = <0 60 0>;
clocks = <&clock CLK_I2C2>;
clock-names = "i2c";
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c2_bus>;
status = "disabled";
};

@@ -368,6 +370,8 @@
interrupts = <0 61 0>;
clocks = <&clock CLK_I2C3>;
clock-names = "i2c";
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c3_bus>;
status = "disabled";
};

@@ -379,6 +383,8 @@
interrupts = <0 62 0>;
clocks = <&clock CLK_I2C4>;
clock-names = "i2c";
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c4_bus>;
status = "disabled";
};

@@ -390,6 +396,8 @@
interrupts = <0 63 0>;
clocks = <&clock CLK_I2C5>;
clock-names = "i2c";
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c5_bus>;
status = "disabled";
};

@@ -401,6 +409,8 @@
interrupts = <0 64 0>;
clocks = <&clock CLK_I2C6>;
clock-names = "i2c";
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c6_bus>;
status = "disabled";
};

@@ -412,6 +422,8 @@
interrupts = <0 65 0>;
clocks = <&clock CLK_I2C7>;
clock-names = "i2c";
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c7_bus>;
status = "disabled";
};


2014-04-16 13:01:25

by Tomasz Figa

[permalink] [raw]
Subject: Re: [PATCH] arm: dts: exynos4: add missing pinctrls for I2C controllers

Hi Tomasz,

On 16.04.2014 14:40, Tomasz Stanislawski wrote:
> This patch adds missing pinctrls for I2C controllers 2-7.
>
> Signed-off-by: Tomasz Stanislawski <[email protected]>
> ---
> arch/arm/boot/dts/exynos4.dtsi | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi
> index 0401f4d..288aa81 100644
> --- a/arch/arm/boot/dts/exynos4.dtsi
> +++ b/arch/arm/boot/dts/exynos4.dtsi
> @@ -357,6 +357,8 @@
> interrupts = <0 60 0>;
> clocks = <&clock CLK_I2C2>;
> clock-names = "i2c";
> + pinctrl-names = "default";
> + pinctrl-0 = <&i2c2_bus>;
> status = "disabled";
> };
>
> @@ -368,6 +370,8 @@
> interrupts = <0 61 0>;
> clocks = <&clock CLK_I2C3>;
> clock-names = "i2c";
> + pinctrl-names = "default";
> + pinctrl-0 = <&i2c3_bus>;
> status = "disabled";
> };
>
> @@ -379,6 +383,8 @@
> interrupts = <0 62 0>;
> clocks = <&clock CLK_I2C4>;
> clock-names = "i2c";
> + pinctrl-names = "default";
> + pinctrl-0 = <&i2c4_bus>;
> status = "disabled";
> };
>
> @@ -390,6 +396,8 @@
> interrupts = <0 63 0>;
> clocks = <&clock CLK_I2C5>;
> clock-names = "i2c";
> + pinctrl-names = "default";
> + pinctrl-0 = <&i2c5_bus>;
> status = "disabled";
> };
>
> @@ -401,6 +409,8 @@
> interrupts = <0 64 0>;
> clocks = <&clock CLK_I2C6>;
> clock-names = "i2c";
> + pinctrl-names = "default";
> + pinctrl-0 = <&i2c6_bus>;
> status = "disabled";
> };
>
> @@ -412,6 +422,8 @@
> interrupts = <0 65 0>;
> clocks = <&clock CLK_I2C7>;
> clock-names = "i2c";
> + pinctrl-names = "default";
> + pinctrl-0 = <&i2c7_bus>;
> status = "disabled";
> };
>
>

Reviewed-by: Tomasz Figa <[email protected]>

--
Best regards,
Tomasz