]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
[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 ad21a4293a339c28446056b189e6c3059266c15c..be2ea043ffc0970bc54729e43652f7ac39d42d70 100644 (file)
@@ -35,12 +35,18 @@ pwm1: pwm@9510000 {
                        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 {