Re: [PATCH v2 1/2] ARM: dts: imx6: Add support for Toradex Apalis iMX6Q/D SoM

From: Marcel Ziswiler
Date: Fri Jan 08 2016 - 06:14:44 EST


On Fri, 2016-01-08 at 09:57 +0100, Petr Åtetiar wrote:
> > + i2cddc: i2c@0 {
> > + gpios = <&gpio3 16 GPIO_ACTIVE_HIGH /* sda */
> > + Â&gpio2 30 GPIO_ACTIVE_HIGH /* scl */
> > + >;
>
> According to one of the comments, it should be changed to the
> following:
>
> sda-gpios = <&gpio3 16 GPIO_ACTIVE_HIGH>;
> scl-gpios = <&gpio2 30 GPIO_ACTIVE_HIGH>;

No, I believe you mixed the i2c-imx binding with the i2c-gpio one [2].

> -- ynezz


[1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/i2c/i2c-imx.txt
[2] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/i2c/i2c-gpio.txt

Cheers

Marcel