diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-13 15:09:57 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-13 15:09:57 -0400 |
commit | 858655116bfc722837e3aec0909b8e9d08f96996 (patch) | |
tree | ef9171d51ffcd01e40d1131d62be32e5a7d371dc /Documentation/devicetree/bindings/media | |
parent | 239dab4636f7f5f971ac39b5ca84254cff112cac (diff) | |
parent | 1b2c14b44adcb7836528640bfdc40bf7499d987d (diff) |
Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media
Pull media updates from Mauro Carvalho Chehab:
"This series contain:
- new i2c video drivers: ml86v7667 (video decoder),
ths8200 (video encoder)
- a new video driver for EasyCap cards based on Fushicai USBTV007
- Improved support for OF and embedded systems, with V4L2 async
initialization and a better support for clocks
- API cleanups on the ioctls used by the v4l2 debug tool
- Lots of cleanups
- As usual, several driver improvements and new cards additions
- Revert two changesets that change the minimal symbol rate for
stv0399, as request by Manu
- Update MAINTAINERS and other files to point to my new e-mail"
* 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (378 commits)
MAINTAINERS & ABI: Update to point to my new email
[media] stb0899: restore minimal rate to 5Mbauds
[media] exynos4-is: Correct colorspace handling at FIMC-LITE
[media] exynos4-is: Set valid initial format on FIMC.n subdevs
[media] exynos4-is: Set valid initial format on FIMC-IS-ISP subdev pads
[media] exynos4-is: Fix format propagation on FIMC-IS-ISP subdev
[media] exynos4-is: Set valid initial format at FIMC-LITE
[media] exynos4-is: Fix format propagation on FIMC-LITE.n subdevs
[media] MAINTAINERS: Update S5P/Exynos FIMC driver entry
[media] Documentation: Update driver's directory in video4linux/fimc.txt
[media] exynos4-is: Change fimc-is firmware file names
[media] exynos4-is: Add support for Exynos5250 MIPI-CSIS
[media] exynos4-is: Add Exynos5250 SoC support to fimc-lite driver
[media] exynos4-is: Drop drvdata handling in fimc-lite for non-dt platforms
[media] media: i2c: tvp514x: remove manual setting of subdev name
[media] media: i2c: tvp7002: remove manual setting of subdev name
[media] mem2mem: set missing v4l2_dev pointer
[media] wl128x: add missing struct v4l2_device
[media] tvp514x: Fix init seqeunce
[media] saa7134: Fix sparse warnings by adding __user annotation
...
Diffstat (limited to 'Documentation/devicetree/bindings/media')
6 files changed, 121 insertions, 17 deletions
diff --git a/Documentation/devicetree/bindings/media/exynos-fimc-lite.txt b/Documentation/devicetree/bindings/media/exynos-fimc-lite.txt index de9f6b78ee51..0bf6fb7fbeab 100644 --- a/Documentation/devicetree/bindings/media/exynos-fimc-lite.txt +++ b/Documentation/devicetree/bindings/media/exynos-fimc-lite.txt | |||
@@ -2,8 +2,10 @@ Exynos4x12/Exynos5 SoC series camera host interface (FIMC-LITE) | |||
2 | 2 | ||
3 | Required properties: | 3 | Required properties: |
4 | 4 | ||
5 | - compatible : should be "samsung,exynos4212-fimc-lite" for Exynos4212 and | 5 | - compatible : should be one of: |
6 | Exynos4412 SoCs; | 6 | "samsung,exynos4212-fimc-lite" for Exynos4212/4412 SoCs, |
7 | "samsung,exynos5250-fimc-lite" for Exynos5250 compatible | ||
8 | devices; | ||
7 | - reg : physical base address and size of the device memory mapped | 9 | - reg : physical base address and size of the device memory mapped |
8 | registers; | 10 | registers; |
9 | - interrupts : should contain FIMC-LITE interrupt; | 11 | - interrupts : should contain FIMC-LITE interrupt; |
diff --git a/Documentation/devicetree/bindings/media/i2c/mt9p031.txt b/Documentation/devicetree/bindings/media/i2c/mt9p031.txt new file mode 100644 index 000000000000..cb60443ff78f --- /dev/null +++ b/Documentation/devicetree/bindings/media/i2c/mt9p031.txt | |||
@@ -0,0 +1,40 @@ | |||
1 | * Aptina 1/2.5-Inch 5Mp CMOS Digital Image Sensor | ||
2 | |||
3 | The Aptina MT9P031 is a 1/2.5-inch CMOS active pixel digital image sensor with | ||
4 | an active array size of 2592H x 1944V. It is programmable through a simple | ||
5 | two-wire serial interface. | ||
6 | |||
7 | Required Properties: | ||
8 | - compatible: value should be either one among the following | ||
9 | (a) "aptina,mt9p031" for mt9p031 sensor | ||
10 | (b) "aptina,mt9p031m" for mt9p031m sensor | ||
11 | |||
12 | - input-clock-frequency: Input clock frequency. | ||
13 | |||
14 | - pixel-clock-frequency: Pixel clock frequency. | ||
15 | |||
16 | Optional Properties: | ||
17 | - reset-gpios: Chip reset GPIO | ||
18 | |||
19 | For further reading on port node refer to | ||
20 | Documentation/devicetree/bindings/media/video-interfaces.txt. | ||
21 | |||
22 | Example: | ||
23 | |||
24 | i2c0@1c22000 { | ||
25 | ... | ||
26 | ... | ||
27 | mt9p031@5d { | ||
28 | compatible = "aptina,mt9p031"; | ||
29 | reg = <0x5d>; | ||
30 | reset-gpios = <&gpio3 30 0>; | ||
31 | |||
32 | port { | ||
33 | mt9p031_1: endpoint { | ||
34 | input-clock-frequency = <6000000>; | ||
35 | pixel-clock-frequency = <96000000>; | ||
36 | }; | ||
37 | }; | ||
38 | }; | ||
39 | ... | ||
40 | }; | ||
diff --git a/Documentation/devicetree/bindings/media/i2c/tvp514x.txt b/Documentation/devicetree/bindings/media/i2c/tvp514x.txt new file mode 100644 index 000000000000..46752cc71f2e --- /dev/null +++ b/Documentation/devicetree/bindings/media/i2c/tvp514x.txt | |||
@@ -0,0 +1,44 @@ | |||
1 | * Texas Instruments TVP514x video decoder | ||
2 | |||
3 | The TVP5146/TVP5146m2/TVP5147/TVP5147m1 device is high quality, single-chip | ||
4 | digital video decoder that digitizes and decodes all popular baseband analog | ||
5 | video formats into digital video component. The tvp514x decoder supports analog- | ||
6 | to-digital (A/D) conversion of component RGB and YPbPr signals as well as A/D | ||
7 | conversion and decoding of NTSC, PAL and SECAM composite and S-video into | ||
8 | component YCbCr. | ||
9 | |||
10 | Required Properties : | ||
11 | - compatible : value should be either one among the following | ||
12 | (a) "ti,tvp5146" for tvp5146 decoder. | ||
13 | (b) "ti,tvp5146m2" for tvp5146m2 decoder. | ||
14 | (c) "ti,tvp5147" for tvp5147 decoder. | ||
15 | (d) "ti,tvp5147m1" for tvp5147m1 decoder. | ||
16 | |||
17 | - hsync-active: HSYNC Polarity configuration for endpoint. | ||
18 | |||
19 | - vsync-active: VSYNC Polarity configuration for endpoint. | ||
20 | |||
21 | - pclk-sample: Clock polarity of the endpoint. | ||
22 | |||
23 | For further reading on port node refer to Documentation/devicetree/bindings/ | ||
24 | media/video-interfaces.txt. | ||
25 | |||
26 | Example: | ||
27 | |||
28 | i2c0@1c22000 { | ||
29 | ... | ||
30 | ... | ||
31 | tvp514x@5c { | ||
32 | compatible = "ti,tvp5146"; | ||
33 | reg = <0x5c>; | ||
34 | |||
35 | port { | ||
36 | tvp514x_1: endpoint { | ||
37 | hsync-active = <1>; | ||
38 | vsync-active = <1>; | ||
39 | pclk-sample = <0>; | ||
40 | }; | ||
41 | }; | ||
42 | }; | ||
43 | ... | ||
44 | }; | ||
diff --git a/Documentation/devicetree/bindings/media/samsung-fimc.txt b/Documentation/devicetree/bindings/media/samsung-fimc.txt index 51c776b7f7a3..96312f6c4c26 100644 --- a/Documentation/devicetree/bindings/media/samsung-fimc.txt +++ b/Documentation/devicetree/bindings/media/samsung-fimc.txt | |||
@@ -127,22 +127,22 @@ Example: | |||
127 | }; | 127 | }; |
128 | }; | 128 | }; |
129 | }; | 129 | }; |
130 | }; | ||
131 | 130 | ||
132 | /* MIPI CSI-2 bus IF sensor */ | 131 | /* MIPI CSI-2 bus IF sensor */ |
133 | s5c73m3: sensor@0x1a { | 132 | s5c73m3: sensor@0x1a { |
134 | compatible = "samsung,s5c73m3"; | 133 | compatible = "samsung,s5c73m3"; |
135 | reg = <0x1a>; | 134 | reg = <0x1a>; |
136 | vddio-supply = <...>; | 135 | vddio-supply = <...>; |
137 | 136 | ||
138 | clock-frequency = <24000000>; | 137 | clock-frequency = <24000000>; |
139 | clocks = <...>; | 138 | clocks = <...>; |
140 | clock-names = "mclk"; | 139 | clock-names = "mclk"; |
141 | 140 | ||
142 | port { | 141 | port { |
143 | s5c73m3_1: endpoint { | 142 | s5c73m3_1: endpoint { |
144 | data-lanes = <1 2 3 4>; | 143 | data-lanes = <1 2 3 4>; |
145 | remote-endpoint = <&csis0_ep>; | 144 | remote-endpoint = <&csis0_ep>; |
145 | }; | ||
146 | }; | 146 | }; |
147 | }; | 147 | }; |
148 | }; | 148 | }; |
diff --git a/Documentation/devicetree/bindings/media/samsung-mipi-csis.txt b/Documentation/devicetree/bindings/media/samsung-mipi-csis.txt index 5f8e28e2484f..be45f0b1a449 100644 --- a/Documentation/devicetree/bindings/media/samsung-mipi-csis.txt +++ b/Documentation/devicetree/bindings/media/samsung-mipi-csis.txt | |||
@@ -5,8 +5,8 @@ Required properties: | |||
5 | 5 | ||
6 | - compatible : "samsung,s5pv210-csis" for S5PV210 (S5PC110), | 6 | - compatible : "samsung,s5pv210-csis" for S5PV210 (S5PC110), |
7 | "samsung,exynos4210-csis" for Exynos4210 (S5PC210), | 7 | "samsung,exynos4210-csis" for Exynos4210 (S5PC210), |
8 | "samsung,exynos4212-csis" for Exynos4212/Exynos4412 | 8 | "samsung,exynos4212-csis" for Exynos4212/Exynos4412, |
9 | SoC series; | 9 | "samsung,exynos5250-csis" for Exynos5250; |
10 | - reg : offset and length of the register set for the device; | 10 | - reg : offset and length of the register set for the device; |
11 | - interrupts : should contain MIPI CSIS interrupt; the format of the | 11 | - interrupts : should contain MIPI CSIS interrupt; the format of the |
12 | interrupt specifier depends on the interrupt controller; | 12 | interrupt specifier depends on the interrupt controller; |
diff --git a/Documentation/devicetree/bindings/media/sh_mobile_ceu.txt b/Documentation/devicetree/bindings/media/sh_mobile_ceu.txt new file mode 100644 index 000000000000..1ce4e46bcbb7 --- /dev/null +++ b/Documentation/devicetree/bindings/media/sh_mobile_ceu.txt | |||
@@ -0,0 +1,18 @@ | |||
1 | Bindings, specific for the sh_mobile_ceu_camera.c driver: | ||
2 | - compatible: Should be "renesas,sh-mobile-ceu" | ||
3 | - reg: register base and size | ||
4 | - interrupts: the interrupt number | ||
5 | - interrupt-parent: the interrupt controller | ||
6 | - renesas,max-width: maximum image width, supported on this SoC | ||
7 | - renesas,max-height: maximum image height, supported on this SoC | ||
8 | |||
9 | Example: | ||
10 | |||
11 | ceu0: ceu@0xfe910000 { | ||
12 | compatible = "renesas,sh-mobile-ceu"; | ||
13 | reg = <0xfe910000 0xa0>; | ||
14 | interrupt-parent = <&intcs>; | ||
15 | interrupts = <0x880>; | ||
16 | renesas,max-width = <8188>; | ||
17 | renesas,max-height = <8188>; | ||
18 | }; | ||