About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / media / sunxi-ir.txt


Based on kernel version 4.16.1. Page generated on 2018-04-09 11:52 EST.

1	Device-Tree bindings for SUNXI IR controller found in sunXi SoC family
2	
3	Required properties:
4	- compatible	    : "allwinner,sun4i-a10-ir" or "allwinner,sun5i-a13-ir"
5	- clocks	    : list of clock specifiers, corresponding to
6			      entries in clock-names property;
7	- clock-names	    : should contain "apb" and "ir" entries;
8	- interrupts	    : should contain IR IRQ number;
9	- reg		    : should contain IO map address for IR.
10	
11	Optional properties:
12	- linux,rc-map-name: see rc.txt file in the same directory.
13	- resets : phandle + reset specifier pair
14	
15	Example:
16	
17	ir0: ir@1c21800 {
18		compatible = "allwinner,sun4i-a10-ir";
19		clocks = <&apb0_gates 6>, <&ir0_clk>;
20		clock-names = "apb", "ir";
21		resets = <&apb0_rst 1>;
22		interrupts = <0 5 1>;
23		reg = <0x01C21800 0x40>;
24		linux,rc-map-name = "rc-rc6-mce";
25	};
Hide Line Numbers


About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog