* [PATCH 0/3] arm64: dts: imx8m: add IR support
@ 2020-11-02 2:25 Joakim Zhang
2020-11-02 2:25 ` [PATCH 1/3] arm64: dts: imx8mq-evk: add linux,autosuspend-period property for IR Joakim Zhang
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Joakim Zhang @ 2020-11-02 2:25 UTC (permalink / raw)
To: shawnguo, s.hauer, festevam
Cc: linux-imx, devicetree, linux-arm-kernel, linux-kernel
Add IR support on i.MX8M platforms.
Joakim Zhang (3):
arm64: dts: imx8mq-evk: add linux,autosuspend-period property for IR
arm64: dts: imx8mm-evk: add IR support
arm64: dts: imx8mn-evk: add IR support
arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi | 14 ++++++++++++++
arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | 14 ++++++++++++++
arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 1 +
3 files changed, 29 insertions(+)
--
2.17.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/3] arm64: dts: imx8mq-evk: add linux,autosuspend-period property for IR
2020-11-02 2:25 [PATCH 0/3] arm64: dts: imx8m: add IR support Joakim Zhang
@ 2020-11-02 2:25 ` Joakim Zhang
2020-11-02 2:25 ` [PATCH 2/3] arm64: dts: imx8mm-evk: add IR support Joakim Zhang
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Joakim Zhang @ 2020-11-02 2:25 UTC (permalink / raw)
To: shawnguo, s.hauer, festevam
Cc: linux-imx, devicetree, linux-arm-kernel, linux-kernel
Add linux,autosuspend-period property for IR, details please refer to:
commit ff1c9223b7b8 ("media: rc: gpio-ir-recv: add QoS support for cpuidle system")
Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
---
arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts
index 2418cca00bc5..e89d1ba8b77e 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts
@@ -57,6 +57,7 @@
gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ir>;
+ linux,autosuspend-period = <125>;
};
wm8524: audio-codec {
--
2.17.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/3] arm64: dts: imx8mm-evk: add IR support
2020-11-02 2:25 [PATCH 0/3] arm64: dts: imx8m: add IR support Joakim Zhang
2020-11-02 2:25 ` [PATCH 1/3] arm64: dts: imx8mq-evk: add linux,autosuspend-period property for IR Joakim Zhang
@ 2020-11-02 2:25 ` Joakim Zhang
2020-11-02 2:25 ` [PATCH 3/3] arm64: dts: imx8mn-evk: " Joakim Zhang
2020-11-10 0:54 ` [PATCH 0/3] arm64: dts: imx8m: " Shawn Guo
3 siblings, 0 replies; 5+ messages in thread
From: Joakim Zhang @ 2020-11-02 2:25 UTC (permalink / raw)
To: shawnguo, s.hauer, festevam
Cc: linux-imx, devicetree, linux-arm-kernel, linux-kernel
Add IR support on i.MX8MM EVK board.
Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
---
arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi
index fbfb57b195ad..6518f088b2c2 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi
@@ -41,6 +41,14 @@
enable-active-high;
};
+ ir-receiver {
+ compatible = "gpio-ir-receiver";
+ gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_ir>;
+ linux,autosuspend-period = <125>;
+ };
+
wm8524: audio-codec {
#sound-dai-cells = <0>;
compatible = "wlf,wm8524";
@@ -364,6 +372,12 @@
>;
};
+ pinctrl_ir: irgrp {
+ fsl,pins = <
+ MX8MM_IOMUXC_GPIO1_IO13_GPIO1_IO13 0x4f
+ >;
+ };
+
pinctrl_gpio_wlf: gpiowlfgrp {
fsl,pins = <
MX8MM_IOMUXC_I2C4_SDA_GPIO5_IO21 0xd6
--
2.17.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 3/3] arm64: dts: imx8mn-evk: add IR support
2020-11-02 2:25 [PATCH 0/3] arm64: dts: imx8m: add IR support Joakim Zhang
2020-11-02 2:25 ` [PATCH 1/3] arm64: dts: imx8mq-evk: add linux,autosuspend-period property for IR Joakim Zhang
2020-11-02 2:25 ` [PATCH 2/3] arm64: dts: imx8mm-evk: add IR support Joakim Zhang
@ 2020-11-02 2:25 ` Joakim Zhang
2020-11-10 0:54 ` [PATCH 0/3] arm64: dts: imx8m: " Shawn Guo
3 siblings, 0 replies; 5+ messages in thread
From: Joakim Zhang @ 2020-11-02 2:25 UTC (permalink / raw)
To: shawnguo, s.hauer, festevam
Cc: linux-imx, devicetree, linux-arm-kernel, linux-kernel
Add IR support on i.MX8MN EVK board.
Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
---
arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi
index fda890589a09..76d042a4cf09 100644
--- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi
@@ -38,6 +38,14 @@
gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>;
enable-active-high;
};
+
+ ir-receiver {
+ compatible = "gpio-ir-receiver";
+ gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_ir>;
+ linux,autosuspend-period = <125>;
+ };
};
&fec1 {
@@ -202,6 +210,12 @@
>;
};
+ pinctrl_ir: irgrp {
+ fsl,pins = <
+ MX8MN_IOMUXC_GPIO1_IO13_GPIO1_IO13 0x4f
+ >;
+ };
+
pinctrl_i2c1: i2c1grp {
fsl,pins = <
MX8MN_IOMUXC_I2C1_SCL_I2C1_SCL 0x400001c3
--
2.17.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 0/3] arm64: dts: imx8m: add IR support
2020-11-02 2:25 [PATCH 0/3] arm64: dts: imx8m: add IR support Joakim Zhang
` (2 preceding siblings ...)
2020-11-02 2:25 ` [PATCH 3/3] arm64: dts: imx8mn-evk: " Joakim Zhang
@ 2020-11-10 0:54 ` Shawn Guo
3 siblings, 0 replies; 5+ messages in thread
From: Shawn Guo @ 2020-11-10 0:54 UTC (permalink / raw)
To: Joakim Zhang
Cc: s.hauer, festevam, linux-imx, devicetree, linux-arm-kernel, linux-kernel
On Mon, Nov 02, 2020 at 10:25:24AM +0800, Joakim Zhang wrote:
> Add IR support on i.MX8M platforms.
>
> Joakim Zhang (3):
> arm64: dts: imx8mq-evk: add linux,autosuspend-period property for IR
> arm64: dts: imx8mm-evk: add IR support
> arm64: dts: imx8mn-evk: add IR support
Applied all, thanks.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-11-10 0:54 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-02 2:25 [PATCH 0/3] arm64: dts: imx8m: add IR support Joakim Zhang
2020-11-02 2:25 ` [PATCH 1/3] arm64: dts: imx8mq-evk: add linux,autosuspend-period property for IR Joakim Zhang
2020-11-02 2:25 ` [PATCH 2/3] arm64: dts: imx8mm-evk: add IR support Joakim Zhang
2020-11-02 2:25 ` [PATCH 3/3] arm64: dts: imx8mn-evk: " Joakim Zhang
2020-11-10 0:54 ` [PATCH 0/3] arm64: dts: imx8m: " Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).