[media] ARM: DT: STi: stihxxx-b2120: Add pulse-width properties to ssc2 & ssc3
authorPeter Griffin <peter.griffin@linaro.org>
Thu, 3 Sep 2015 17:59:49 +0000 (14:59 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 18 Nov 2015 15:30:21 +0000 (13:30 -0200)
Adding these properties makes the I2C bus to the demodulators much
more reliable, and we no longer suffer from I2C errors when tuning.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
arch/arm/boot/dts/stihxxx-b2120.dtsi

index ad21a42..be2ea04 100644 (file)
                        status = "okay";
                };
 
-               i2c@9842000 {
+               ssc2: i2c@9842000 {
                        status = "okay";
+                       clock-frequency = <100000>;
+                       st,i2c-min-scl-pulse-width-us = <0>;
+                       st,i2c-min-sda-pulse-width-us = <5>;
                };
 
-               i2c@9843000 {
+               ssc3: i2c@9843000 {
                        status = "okay";
+                       clock-frequency = <100000>;
+                       st,i2c-min-scl-pulse-width-us = <0>;
+                       st,i2c-min-sda-pulse-width-us = <5>;
                };
 
                i2c@9844000 {