From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= Subject: [PATCH v4 11/13] arm64: dts: allwinner: h6: Add IR receiver node Date: Tue, 4 Jun 2019 18:29:57 +0200 Message-ID: <20190604162959.29199-12-peron.clem@gmail.com> References: <20190604162959.29199-1-peron.clem@gmail.com> Reply-To: peron.clem-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org In-Reply-To: <20190604162959.29199-1-peron.clem-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai Cc: linux-media-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= , Sean Young List-Id: devicetree@vger.kernel.org Allwinner H6 IR is similar to A31 and can use same driver. Add support for it. Signed-off-by: Cl=C3=A9ment P=C3=A9ron Acked-by: Sean Young --- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot= /dts/allwinner/sun50i-h6.dtsi index 16c5c3d0fd81..649cbdfe452e 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi @@ -647,6 +647,25 @@ pins =3D "PL0", "PL1"; function =3D "s_i2c"; }; + + r_ir_rx_pin: r-ir-rx-pin { + pins =3D "PL9"; + function =3D "s_cir_rx"; + }; + }; + + r_ir: ir@7040000 { + compatible =3D "allwinner,sun50i-h6-ir", + "allwinner,sun6i-a31-ir"; + reg =3D <0x07040000 0x400>; + interrupts =3D ; + clocks =3D <&r_ccu CLK_R_APB1_IR>, + <&r_ccu CLK_IR>; + clock-names =3D "apb", "ir"; + resets =3D <&r_ccu RST_R_APB1_IR>; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&r_ir_rx_pin>; + status =3D "disabled"; }; =20 r_i2c: i2c@7081400 { --=20 2.20.1 --=20 You received this message because you are subscribed to the Google Groups "= linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web, visit https://groups.google.com/d/msgid= /linux-sunxi/20190604162959.29199-12-peron.clem%40gmail.com. For more options, visit https://groups.google.com/d/optout.