]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/commitdiff
i2c: tvp5158: add a new property to the TVP5158 device tree binding
authorRakesh Movva <r-movva@ti.com>
Fri, 7 Aug 2015 05:45:01 +0000 (00:45 -0500)
committerPraneeth Bajjuri <praneeth@ti.com>
Mon, 10 Aug 2015 19:29:09 +0000 (14:29 -0500)
added a new property "mux-gpios" to the TVP5158 device tree binding
which lists the gpios needed for power, board muxes etc.

Change-Id: Iedbf364580111928eaa1316aa5316ecd7442fb5a
Signed-off-by: Rakesh Movva <r-movva@ti.com>
Documentation/devicetree/bindings/media/i2c/tvp5158.txt

index 833dbcda159009b711f56becdd67d6518243db3a..48cadd3c41b97f952f54e8df2e96b7b20ee88141 100644 (file)
@@ -9,6 +9,9 @@ TVP5158 generates output in BT656 format with embedded sync.
 
 Required Properties :
 - compatible : Must be "ti,tvp5158"
+- mux-gpios : A list of gpios with active high/low flags for enabling the sensor.
+         This may contain gpios for power, board muxes, etc. Driver would
+         set all of them as specified by the active high/low flag.
 
 Optional Properties :
   There are no custom optional properties although the driver supports
@@ -24,6 +27,8 @@ Example:
                        compatible = "ti,tvp5158";
                        reg = <0x58>;
 
+                       mux-gpios = <&pcf_hdmi 3    GPIO_ACTIVE_LOW>;
+
                        port {
                                tvp_decoder: endpoint {
                                        /* No properties for BT 656 */