media: i2c: tvp514x: add OF support
Subsystems (2)
This is an automatic generated email to let you know that the following patch were queued at the
http://git.linuxtv.org/media_tree.git tree:
Subject: [media] media: i2c: tvp514x: add OF support Author: Lad, Prabhakar <[email protected]> Date: Tue Jun 4 12:26:23 2013 -0300
add OF support for the tvp514x driver.
Signed-off-by Lad, Prabhakar <[email protected]>
Cc Hans Verkuil <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Cc Guennadi Liakhovetski <[email protected]>
Cc Sylwester Nawrocki <[email protected]>
Cc Sakari Ailus <[email protected]>
Cc Grant Likely <grant.likely-s3s/[email protected]>
Cc Rob Herring <rob.herring-bsGFqQB8/[email protected]>
Cc Rob Landley <rob-VoJi6FS/[email protected]>
Cc devicetree-discuss-uLR06cmDAlY/[email protected]
Cc davinci-linux-open-source-VycZQUHpC/PFrsHnngEfi1aTQe2KTcn/@public.gmane.org
Signed-off-by Hans Verkuil <[email protected]>
Signed-off-by Mauro Carvalho Chehab <[email protected]>
.../devicetree/bindings/media/i2c/tvp514x.txt | 44 ++++++++++++++ drivers/media/i2c/tvp514x.c | 62 ++++++++++++++++++-- 2 files changed, 100 insertions(+), 6 deletions(-)
---
http://git.linuxtv.org/media_tree.git?a=commitdiff;h=b610b5928dc04095b9b24b83e4ddbb399d933611
Documentation/devicetree/bindings/media/i2c/tvp514x.txt new file +44 -0
@@ -0,0 +1,44 @@ +* Texas Instruments TVP514x video decoder + +The TVP5146/TVP5146m2/TVP5147/TVP5147m1 device is high quality, single-chip +digital video decoder that digitizes and decodes all popular baseband analog +video formats into digital video component. The tvp514x decoder supports analog- +to-digital (A/D) conversion of component RGB and YPbPr signals as well as A/D +conversion and decoding of NTSC, PAL and SECAM composite and S-video into +component YCbCr. + +Required Properties : +- compatible : value should be either one among the following + (a) "ti,tvp5146" for tvp5146 decoder. + (b) "ti,tvp5146m2" for tvp5146m2 decoder. + (c) "ti,tvp5147" for tvp5147 decoder. + (d) "ti,tvp5147m1" for tvp5147m1 decoder. + +- hsync-active: HSYNC Polarity configuration for endpoint. + +- vsync-active: VSYNC Polarity configuration for endpoint. + +- pclk-sample: Clock polarity of the endpoint. + +For further reading on port node refer to Documentation/devicetree/bindings/ +media/video-interfaces.txt. + +Example: + + i2c0@1c22000 { + ... + ... + tvp514x@5c { + compatible = "ti,tvp5146"; + reg = <0x5c>; + + port { + tvp514x_1: endpoint { + hsync-active = <1>; + vsync-active = <1>; + pclk-sample = <0>; + }; + }; + }; + ... + };
drivers/media/i2c/tvp514x.c +56 -6
102 lines not on this page · raw message