-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[media] media: i2c: tvp514x: add OF support
add OF support for the tvp514x driver. Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Cc: Hans Verkuil <hans.verkuil@cisco.com> Cc: Mauro Carvalho Chehab <mchehab@redhat.com> Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Cc: Sylwester Nawrocki <s.nawrocki@samsung.com> Cc: Sakari Ailus <sakari.ailus@iki.fi> Cc: Grant Likely <grant.likely@secretlab.ca> Cc: Rob Herring <rob.herring@calxeda.com> Cc: Rob Landley <rob@landley.net> Cc: devicetree-discuss@lists.ozlabs.org Cc: linux-doc@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: davinci-linux-open-source@linux.davincidsp.com Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
- Loading branch information
Lad, Prabhakar
authored and
Mauro Carvalho Chehab
committed
Jun 21, 2013
1 parent
379d2cf
commit b610b59
Showing
2 changed files
with
100 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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>; | ||
}; | ||
}; | ||
}; | ||
... | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters