xref: /freebsd/sys/contrib/device-tree/Bindings/media/gpio-ir-receiver.txt (revision 6be3386466ab79a84b48429ae66244f21526d3df)
1c66ec88fSEmmanuel VadotDevice-Tree bindings for GPIO IR receiver
2c66ec88fSEmmanuel Vadot
3c66ec88fSEmmanuel VadotRequired properties:
4c66ec88fSEmmanuel Vadot	- compatible: should be "gpio-ir-receiver".
5c66ec88fSEmmanuel Vadot	- gpios: specifies GPIO used for IR signal reception.
6c66ec88fSEmmanuel Vadot
7c66ec88fSEmmanuel VadotOptional properties:
8c66ec88fSEmmanuel Vadot	- linux,rc-map-name: see rc.txt file in the same
9c66ec88fSEmmanuel Vadot	  directory.
10*6be33864SEmmanuel Vadot	- linux,autosuspend-period: autosuspend delay time,
11*6be33864SEmmanuel Vadot	  the unit is milisecond.
12c66ec88fSEmmanuel Vadot
13c66ec88fSEmmanuel VadotExample node:
14c66ec88fSEmmanuel Vadot
15c66ec88fSEmmanuel Vadot	ir: ir-receiver {
16c66ec88fSEmmanuel Vadot		compatible = "gpio-ir-receiver";
17c66ec88fSEmmanuel Vadot		gpios = <&gpio0 19 1>;
18c66ec88fSEmmanuel Vadot		linux,rc-map-name = "rc-rc6-mce";
19*6be33864SEmmanuel Vadot		linux,autosuspend-period = <125>;
20c66ec88fSEmmanuel Vadot	};
21