* [PATCH] ARM: dts: rockchip: Add IR receiver to Radxa Rock 2 Square
@ 2015-11-23 14:36 Sjoerd Simons
2015-11-23 16:20 ` Heiko Stübner
0 siblings, 1 reply; 2+ messages in thread
From: Sjoerd Simons @ 2015-11-23 14:36 UTC (permalink / raw)
To: Heiko Stuebner
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
Add support for the IR receiver as present on the Radxa Rock 2 Square
board.
Signed-off-by: Sjoerd Simons <sjoerd.simons-ZGY8ohtN/8pPYcu2f3hruQ@public.gmane.org>
---
arch/arm/boot/dts/rk3288-rock2-square.dts | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm/boot/dts/rk3288-rock2-square.dts b/arch/arm/boot/dts/rk3288-rock2-square.dts
index 0ef065d..1dada8c 100644
--- a/arch/arm/boot/dts/rk3288-rock2-square.dts
+++ b/arch/arm/boot/dts/rk3288-rock2-square.dts
@@ -49,6 +49,13 @@
stdout-path = "serial2:115200n8";
};
+ ir: ir-receiver {
+ compatible = "gpio-ir-receiver";
+ gpios = <&gpio8 1 GPIO_ACTIVE_LOW>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&ir_int>;
+ };
+
sound {
compatible = "simple-audio-card";
simple-audio-card,name = "SPDIF";
@@ -183,6 +190,12 @@
};
&pinctrl {
+ ir {
+ ir_int: ir-int {
+ rockchip,pins = <8 1 RK_FUNC_GPIO &pcfg_pull_up>;
+ };
+ };
+
pmic {
pmic_int: pmic-int {
rockchip,pins = <0 4 RK_FUNC_GPIO &pcfg_pull_up>;
--
2.6.2
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: dts: rockchip: Add IR receiver to Radxa Rock 2 Square
2015-11-23 14:36 [PATCH] ARM: dts: rockchip: Add IR receiver to Radxa Rock 2 Square Sjoerd Simons
@ 2015-11-23 16:20 ` Heiko Stübner
0 siblings, 0 replies; 2+ messages in thread
From: Heiko Stübner @ 2015-11-23 16:20 UTC (permalink / raw)
To: Sjoerd Simons; +Cc: devicetree, linux-kernel, linux-arm-kernel, linux-rockchip
Am Montag, 23. November 2015, 15:36:28 schrieb Sjoerd Simons:
> Add support for the IR receiver as present on the Radxa Rock 2 Square
> board.
>
> Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
applied to my dts32 branch for 4.5.
Thanks
Heiko
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-11-23 16:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-23 14:36 [PATCH] ARM: dts: rockchip: Add IR receiver to Radxa Rock 2 Square Sjoerd Simons
2015-11-23 16:20 ` Heiko Stübner
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).