* [PATCH] arm64: dts: rockchip: add infrared receiver node to rockpro64
@ 2021-03-10 12:28 ` Thomas Schneider
0 siblings, 0 replies; 6+ messages in thread
From: Thomas Schneider @ 2021-03-10 12:28 UTC (permalink / raw)
To: Heiko Stuebner, linux-rockchip
Cc: Thomas Schneider, linux-arm-kernel, linux-kernel
This adds the RockPro64’s infrared receiver to its dtsi. The configuration is
almost the same as on rk3328-rock64, except for the GPIO pins, and thus adapted
from there.
Signed-off-by: Thomas Schneider <qsx@chaotikum.eu>
---
arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi
index 5ab0b9edfc88..d42c75c6dcbd 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi
@@ -36,6 +36,13 @@ power {
};
};
+ ir-receiver {
+ compatible = "gpio-ir-receiver";
+ gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_LOW>;
+ pinctrl-0 = <&ir_int>;
+ pinctrl-names = "default";
+ };
+
leds {
compatible = "gpio-leds";
pinctrl-names = "default";
@@ -604,6 +611,12 @@ fusb0_int: fusb0-int {
};
};
+ ir {
+ ir_int: ir-int {
+ rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
+ };
+ };
+
leds {
work_led_pin: work-led-pin {
rockchip,pins = <0 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
--
2.30.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH] arm64: dts: rockchip: add infrared receiver node to rockpro64
@ 2021-03-10 12:28 ` Thomas Schneider
0 siblings, 0 replies; 6+ messages in thread
From: Thomas Schneider @ 2021-03-10 12:28 UTC (permalink / raw)
To: Heiko Stuebner, linux-rockchip
Cc: Thomas Schneider, linux-arm-kernel, linux-kernel
This adds the RockPro64’s infrared receiver to its dtsi. The configuration is
almost the same as on rk3328-rock64, except for the GPIO pins, and thus adapted
from there.
Signed-off-by: Thomas Schneider <qsx@chaotikum.eu>
---
arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi
index 5ab0b9edfc88..d42c75c6dcbd 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi
@@ -36,6 +36,13 @@ power {
};
};
+ ir-receiver {
+ compatible = "gpio-ir-receiver";
+ gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_LOW>;
+ pinctrl-0 = <&ir_int>;
+ pinctrl-names = "default";
+ };
+
leds {
compatible = "gpio-leds";
pinctrl-names = "default";
@@ -604,6 +611,12 @@ fusb0_int: fusb0-int {
};
};
+ ir {
+ ir_int: ir-int {
+ rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
+ };
+ };
+
leds {
work_led_pin: work-led-pin {
rockchip,pins = <0 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
--
2.30.1
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH] arm64: dts: rockchip: add infrared receiver node to rockpro64
@ 2021-03-10 12:28 ` Thomas Schneider
0 siblings, 0 replies; 6+ messages in thread
From: Thomas Schneider @ 2021-03-10 12:28 UTC (permalink / raw)
To: Heiko Stuebner, linux-rockchip
Cc: Thomas Schneider, linux-arm-kernel, linux-kernel
This adds the RockPro64’s infrared receiver to its dtsi. The configuration is
almost the same as on rk3328-rock64, except for the GPIO pins, and thus adapted
from there.
Signed-off-by: Thomas Schneider <qsx@chaotikum.eu>
---
arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi
index 5ab0b9edfc88..d42c75c6dcbd 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi
@@ -36,6 +36,13 @@ power {
};
};
+ ir-receiver {
+ compatible = "gpio-ir-receiver";
+ gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_LOW>;
+ pinctrl-0 = <&ir_int>;
+ pinctrl-names = "default";
+ };
+
leds {
compatible = "gpio-leds";
pinctrl-names = "default";
@@ -604,6 +611,12 @@ fusb0_int: fusb0-int {
};
};
+ ir {
+ ir_int: ir-int {
+ rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
+ };
+ };
+
leds {
work_led_pin: work-led-pin {
rockchip,pins = <0 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
--
2.30.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] arm64: dts: rockchip: add infrared receiver node to rockpro64
2021-03-10 12:28 ` Thomas Schneider
(?)
@ 2021-03-21 20:14 ` Heiko Stuebner
-1 siblings, 0 replies; 6+ messages in thread
From: Heiko Stuebner @ 2021-03-21 20:14 UTC (permalink / raw)
To: linux-rockchip, Thomas Schneider
Cc: Heiko Stuebner, linux-arm-kernel, linux-kernel
On Wed, 10 Mar 2021 13:28:21 +0100, Thomas Schneider wrote:
> This adds the RockPro64’s infrared receiver to its dtsi. The configuration is
> almost the same as on rk3328-rock64, except for the GPIO pins, and thus adapted
> from there.
Applied, thanks!
[1/1] arm64: dts: rockchip: add infrared receiver node to rockpro64
commit: 7c7f041309f73b05d21980f88f29305255e126ee
Best regards,
--
Heiko Stuebner <heiko@sntech.de>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] arm64: dts: rockchip: add infrared receiver node to rockpro64
@ 2021-03-21 20:14 ` Heiko Stuebner
0 siblings, 0 replies; 6+ messages in thread
From: Heiko Stuebner @ 2021-03-21 20:14 UTC (permalink / raw)
To: linux-rockchip, Thomas Schneider
Cc: Heiko Stuebner, linux-arm-kernel, linux-kernel
On Wed, 10 Mar 2021 13:28:21 +0100, Thomas Schneider wrote:
> This adds the RockPro64’s infrared receiver to its dtsi. The configuration is
> almost the same as on rk3328-rock64, except for the GPIO pins, and thus adapted
> from there.
Applied, thanks!
[1/1] arm64: dts: rockchip: add infrared receiver node to rockpro64
commit: 7c7f041309f73b05d21980f88f29305255e126ee
Best regards,
--
Heiko Stuebner <heiko@sntech.de>
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] arm64: dts: rockchip: add infrared receiver node to rockpro64
@ 2021-03-21 20:14 ` Heiko Stuebner
0 siblings, 0 replies; 6+ messages in thread
From: Heiko Stuebner @ 2021-03-21 20:14 UTC (permalink / raw)
To: linux-rockchip, Thomas Schneider
Cc: Heiko Stuebner, linux-arm-kernel, linux-kernel
On Wed, 10 Mar 2021 13:28:21 +0100, Thomas Schneider wrote:
> This adds the RockPro64’s infrared receiver to its dtsi. The configuration is
> almost the same as on rk3328-rock64, except for the GPIO pins, and thus adapted
> from there.
Applied, thanks!
[1/1] arm64: dts: rockchip: add infrared receiver node to rockpro64
commit: 7c7f041309f73b05d21980f88f29305255e126ee
Best regards,
--
Heiko Stuebner <heiko@sntech.de>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-03-21 20:17 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-10 12:28 [PATCH] arm64: dts: rockchip: add infrared receiver node to rockpro64 Thomas Schneider
2021-03-10 12:28 ` Thomas Schneider
2021-03-10 12:28 ` Thomas Schneider
2021-03-21 20:14 ` Heiko Stuebner
2021-03-21 20:14 ` Heiko Stuebner
2021-03-21 20:14 ` Heiko Stuebner
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.