summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/media/i2c
diff options
context:
space:
mode:
authorIan Molton <ian.molton@codethink.co.uk>2015-06-03 10:59:53 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-07-06 08:26:14 -0300
commitbf9c82278c348eb6b72496de6a3e5269aadb6b34 (patch)
tree16bd1c34f2412e294cdf86ca24632d5f968bdf81 /Documentation/devicetree/bindings/media/i2c
parent6a219f15a86812a226d197aa93b2806e9cecda7c (diff)
downloadblackbird-op-linux-bf9c82278c348eb6b72496de6a3e5269aadb6b34.tar.gz
blackbird-op-linux-bf9c82278c348eb6b72496de6a3e5269aadb6b34.zip
[media] media: adv7604: ability to read default input port from DT
Adds support to the adv7604 driver for specifying the default input port in the Device tree. If no value is provided, the driver will be unable to select an input without help from userspace. Tested-by: William Towle <william.towle@codethink.co.uk> Signed-off-by: Ian Molton <ian.molton@codethink.co.uk> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'Documentation/devicetree/bindings/media/i2c')
-rw-r--r--Documentation/devicetree/bindings/media/i2c/adv7604.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/media/i2c/adv7604.txt b/Documentation/devicetree/bindings/media/i2c/adv7604.txt
index 7eafdbc055f9..8337f75c75da 100644
--- a/Documentation/devicetree/bindings/media/i2c/adv7604.txt
+++ b/Documentation/devicetree/bindings/media/i2c/adv7604.txt
@@ -47,6 +47,7 @@ Optional Endpoint Properties:
If none of hsync-active, vsync-active and pclk-sample is specified the
endpoint will use embedded BT.656 synchronization.
+ - default-input: Select which input is selected after reset.
Example:
@@ -60,6 +61,8 @@ Example:
#address-cells = <1>;
#size-cells = <0>;
+ default-input = <0>;
+
port@0 {
reg = <0>;
};
OpenPOWER on IntegriCloud