diff options
| author | Srinivas Kandagatla <srinivas.kandagatla@st.com> | 2013-10-18 05:01:14 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-10-31 06:20:08 -0400 |
| commit | 80f93c7b0f4599ffbdac8d964ecd1162b8b618b9 (patch) | |
| tree | 09c46fbdf9d901d4b049af57e699581359625b2d /Documentation/devicetree | |
| parent | 8ab1aa87f3f7381be195efcabf08dbc74626f25d (diff) | |
[media] media: st-rc: Add ST remote control driver
This patch adds support to ST RC driver, which is basically a IR/UHF
receiver and transmitter. This IP (IRB) is common across all the ST
parts for settop box platforms. IRB is embedded in ST COMMS IP block.
It supports both Rx & Tx functionality.
This driver adds only Rx functionality via LIRC codec.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
Acked-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'Documentation/devicetree')
| -rw-r--r-- | Documentation/devicetree/bindings/media/st-rc.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/media/st-rc.txt b/Documentation/devicetree/bindings/media/st-rc.txt new file mode 100644 index 000000000000..05c432d08bca --- /dev/null +++ b/Documentation/devicetree/bindings/media/st-rc.txt | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | Device-Tree bindings for ST IRB IP | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible: Should contain "st,comms-irb". | ||
| 5 | - reg: Base physical address of the controller and length of memory | ||
| 6 | mapped region. | ||
| 7 | - interrupts: interrupt-specifier for the sole interrupt generated by | ||
| 8 | the device. The interrupt specifier format depends on the interrupt | ||
| 9 | controller parent. | ||
| 10 | - rx-mode: can be "infrared" or "uhf". This property specifies the L1 | ||
| 11 | protocol used for receiving remote control signals. rx-mode should | ||
| 12 | be present iff the rx pins are wired up. | ||
| 13 | - tx-mode: should be "infrared". This property specifies the L1 | ||
| 14 | protocol used for transmitting remote control signals. tx-mode should | ||
| 15 | be present iff the tx pins are wired up. | ||
| 16 | |||
| 17 | Optional properties: | ||
| 18 | - pinctrl-names, pinctrl-0: the pincontrol settings to configure muxing | ||
| 19 | properly for IRB pins. | ||
| 20 | - clocks : phandle with clock-specifier pair for IRB. | ||
| 21 | |||
| 22 | Example node: | ||
| 23 | |||
| 24 | rc: rc@fe518000 { | ||
| 25 | compatible = "st,comms-irb"; | ||
| 26 | reg = <0xfe518000 0x234>; | ||
| 27 | interrupts = <0 203 0>; | ||
| 28 | rx-mode = "infrared"; | ||
| 29 | }; | ||
