diff mbox series

[V2,1/2] bindings: media: gpio-ir-receiver: add linux,autosuspend-period property

Message ID 20200918181717.24056-2-qiangqing.zhang@nxp.com
State Superseded, archived
Headers show
Series add QoS support for cpuidle system | expand

Checks

Context Check Description
robh/checkpatch success

Commit Message

Joakim Zhang Sept. 18, 2020, 6:17 p.m. UTC
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>
---
ChangeLogs:
V1->V2:
	* New add.
---
 Documentation/devicetree/bindings/media/gpio-ir-receiver.txt | 3 +++
 1 file changed, 3 insertions(+)

Comments

Joakim Zhang Sept. 21, 2020, 1:36 a.m. UTC | #1
> -----Original Message-----
> From: Joakim Zhang <qiangqing.zhang@nxp.com>
> Sent: 2020年9月19日 2:17
> To: mchehab@kernel.org; robh+dt@kernel.org; sean@mess.org
> Cc: linux-media@vger.kernel.org; devicetree@vger.kernel.org;
> linux-kernel@vger.kernel.org; dl-linux-imx <linux-imx@nxp.com>
> Subject: [PATCH V2 1/2] bindings: media: gpio-ir-receiver: add
> linux,autosuspend-period property
> 
> 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>
> ---
> ChangeLogs:
> V1->V2:
> 	* New add.
> ---
>  Documentation/devicetree/bindings/media/gpio-ir-receiver.txt | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/media/gpio-ir-receiver.txt
> b/Documentation/devicetree/bindings/media/gpio-ir-receiver.txt
> index 58261fb7b408..ef802d5fd1f6 100644
> --- a/Documentation/devicetree/bindings/media/gpio-ir-receiver.txt
> +++ b/Documentation/devicetree/bindings/media/gpio-ir-receiver.txt
> @@ -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;

Sorry for this, should be linux,autosuspend-period = <125>;
Please review the driver part first, will fix it in next version.

Best Regards,
Joakim Zhang
>  	};
> --
> 2.17.1
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/media/gpio-ir-receiver.txt b/Documentation/devicetree/bindings/media/gpio-ir-receiver.txt
index 58261fb7b408..ef802d5fd1f6 100644
--- a/Documentation/devicetree/bindings/media/gpio-ir-receiver.txt
+++ b/Documentation/devicetree/bindings/media/gpio-ir-receiver.txt
@@ -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;
 	};