mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-26 18:43:33 -05:00
3fa320c62e
Add linux,autosuspend-period property for gpio ir receiver. Some cpuidle systems wake from idle may take a bit long time, for such case, need disable cpuidle temporarily. Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
20 lines
501 B
Text
20 lines
501 B
Text
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>;
|
|
};
|