media: bindings: media: gpio-ir-receiver: add linux,autosuspend-period property
authorJoakim Zhang <qiangqing.zhang@nxp.com>
Tue, 22 Sep 2020 19:08:06 +0000 (21:08 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sun, 27 Sep 2020 09:27:44 +0000 (11:27 +0200)
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>
Documentation/devicetree/bindings/media/gpio-ir-receiver.txt

index 58261fb..108bf43 100644 (file)
@@ -7,6 +7,8 @@ Required properties:
 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:
 
@@ -14,4 +16,5 @@ Example node:
                compatible = "gpio-ir-receiver";
                gpios = <&gpio0 19 1>;
                linux,rc-map-name = "rc-rc6-mce";
+               linux,autosuspend-period = <125>;
        };