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

Marcel Ziswiler marcel.ziswiler at toradex.com
Fri Jan 8 02:59:32 PST 2016


On Fri, 2016-01-08 at 09:57 +0100, Petr Štetiar wrote:
> > +	i2cddc: i2c at 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


More information about the linux-arm-kernel mailing list