diff mbox

[RFC] ARM: shmobile: koelsch: activate i2c6 bus

Message ID 1393159437-14456-1-git-send-email-wsa@the-dreams.de (mailing list archive)
State RFC
Headers show

Commit Message

Wolfram Sang Feb. 23, 2014, 12:43 p.m. UTC
From: Wolfram Sang <wsa@sang-engineering.com>

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

I used this patch to test my IIC(B) enablement patches. With i2ctools,  I could
scan this bus and read registers from the connected pmic. Actually, I don't think
we should expose this bus unless really needed, but maybe you think different?

 arch/arm/boot/dts/r8a7791-koelsch.dts | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Laurent Pinchart Feb. 23, 2014, 7:26 p.m. UTC | #1
Hi Wolfram,

Thank you for the patch.

On Sunday 23 February 2014 13:43:57 Wolfram Sang wrote:
> From: Wolfram Sang <wsa@sang-engineering.com>
> 
> Signed-off-by: Wolfram Sang <wsa@sang-engineering.com>
> ---
> 
> I used this patch to test my IIC(B) enablement patches. With i2ctools,  I
> could scan this bus and read registers from the connected pmic. Actually, I
> don't think we should expose this bus unless really needed, but maybe you
> think different?

The I2C6 bus signals are routed to an extension connector as well as to the 
DA9063 PMIC and DA9210 sub-PMIC. There's no urgent need to enable it now as we 
don't instantiate support the PMIC and sub-PMIC at the moment. However, as 
we'll have to enable it anyway,

Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

Is anyone working on PMIC support for the Koelsch board ? The DA9063 and 
DA9210 have drivers in mainline. They might not support all the features we 
need, but limited support shouldn't be difficult.

>  arch/arm/boot/dts/r8a7791-koelsch.dts | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts
> b/arch/arm/boot/dts/r8a7791-koelsch.dts index e6ca0e0..4557f8e 100644
> --- a/arch/arm/boot/dts/r8a7791-koelsch.dts
> +++ b/arch/arm/boot/dts/r8a7791-koelsch.dts
> @@ -122,6 +122,11 @@
>  	};
>  };
> 
> +&i2c6 {
> +	status = "okay";
> +	clock-frequency = <100000>;
> +};
> +
>  &pfc {
>  	pinctrl-0 = <&du_pins &scif0_pins &scif1_pins>;
>  	pinctrl-names = "default";
diff mbox

Patch

diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts
index e6ca0e0..4557f8e 100644
--- a/arch/arm/boot/dts/r8a7791-koelsch.dts
+++ b/arch/arm/boot/dts/r8a7791-koelsch.dts
@@ -122,6 +122,11 @@ 
 	};
 };
 
+&i2c6 {
+	status = "okay";
+	clock-frequency = <100000>;
+};
+
 &pfc {
 	pinctrl-0 = <&du_pins &scif0_pins &scif1_pins>;
 	pinctrl-names = "default";