mirror of
https://github.com/torvalds/linux.git
synced 2024-12-23 19:31:53 +00:00
330d432bc3
Most IR drivers uses the same label to identify the scancode/key table they used by multiple bindings and lack explanation well. So move the shared property into a common place and give better explanation. Signed-off-by: Sean Wang <sean.wang@mediatek.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
26 lines
803 B
Plaintext
26 lines
803 B
Plaintext
Device-Tree bindings for hix5hd2 ir IP
|
|
|
|
Required properties:
|
|
- compatible: Should contain "hisilicon,hix5hd2-ir".
|
|
- reg: Base physical address of the controller and length of memory
|
|
mapped region.
|
|
- interrupts: interrupt-specifier for the sole interrupt generated by
|
|
the device. The interrupt specifier format depends on the interrupt
|
|
controller parent.
|
|
- clocks: clock phandle and specifier pair.
|
|
|
|
Optional properties:
|
|
- linux,rc-map-name: see rc.txt file in the same directory.
|
|
- hisilicon,power-syscon: DEPRECATED. Don't use this in new dts files.
|
|
Provide correct clocks instead.
|
|
|
|
Example node:
|
|
|
|
ir: ir@f8001000 {
|
|
compatible = "hisilicon,hix5hd2-ir";
|
|
reg = <0xf8001000 0x1000>;
|
|
interrupts = <0 47 4>;
|
|
clocks = <&clock HIX5HD2_IR_CLOCK>;
|
|
linux,rc-map-name = "rc-tivo";
|
|
};
|