Commit d60f6e37 authored by Philipp Rossak's avatar Philipp Rossak Committed by Mauro Carvalho Chehab

media: dt: bindings: Update binding documentation for sunxi IR controller

This patch updates documentation for Device-Tree bindings for sunxi IR
controller and adds the new optional property for the base clock
frequency.
Signed-off-by: default avatarPhilipp Rossak <embed3d@gmail.com>
Acked-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarSean Young <sean@mess.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 10e71206
...@@ -11,6 +11,8 @@ Required properties: ...@@ -11,6 +11,8 @@ Required properties:
Optional properties: Optional properties:
- linux,rc-map-name: see rc.txt file in the same directory. - linux,rc-map-name: see rc.txt file in the same directory.
- resets : phandle + reset specifier pair - resets : phandle + reset specifier pair
- clock-frequency : IR Receiver clock frequency, in Hertz. Defaults to 8 MHz
if missing.
Example: Example:
...@@ -18,6 +20,7 @@ ir0: ir@1c21800 { ...@@ -18,6 +20,7 @@ ir0: ir@1c21800 {
compatible = "allwinner,sun4i-a10-ir"; compatible = "allwinner,sun4i-a10-ir";
clocks = <&apb0_gates 6>, <&ir0_clk>; clocks = <&apb0_gates 6>, <&ir0_clk>;
clock-names = "apb", "ir"; clock-names = "apb", "ir";
clock-frequency = <3000000>;
resets = <&apb0_rst 1>; resets = <&apb0_rst 1>;
interrupts = <0 5 1>; interrupts = <0 5 1>;
reg = <0x01C21800 0x40>; reg = <0x01C21800 0x40>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment