Documentation / devicetree / bindings / media / gpio-ir-receiver.txt


Based on kernel version 5.19.17. Page generated on 2023-08-28 22:14 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Device-Tree bindings for GPIO IR receiver

Required properties:
	- compatible: should be "gpio-ir-receiver".
	- gpios: specifies GPIO used for IR signal reception.

Optional properties:
	- linux,rc-map-name: see rc.txt file in the same
	  directory.
	- linux,autosuspend-period: autosuspend delay time,
	  the unit is milisecond.

Example node:

	ir: ir-receiver {
		compatible = "gpio-ir-receiver";
		gpios = <&gpio0 19 1>;
		linux,rc-map-name = "rc-rc6-mce";
		linux,autosuspend-period = <125>;
	};