From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?=27Ond=C5=99ej_Jirman=27_via_linux=2Dsunxi?= Subject: Re: [PATCH v3 10/12] arm64: dts: allwinner: h6: Add IR receiver node Date: Thu, 30 May 2019 16:55:50 +0200 Message-ID: <20190530145550.amalnxmx7kpokykv@core.my.home> References: <20190528161440.27172-1-peron.clem@gmail.com> <20190528161440.27172-11-peron.clem@gmail.com> Reply-To: megous-5qf/QAjKc83QT0dZR+AlfA@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <20190528161440.27172-11-peron.clem-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: =?utf-8?B?Q2zDqW1lbnQgUMOpcm9u?= Cc: Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-media-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org Hello Cl=C3=A9ment, On Tue, May 28, 2019 at 06:14:38PM +0200, Cl=C3=A9ment P=C3=A9ron wrote: > Allwinner H6 IR is similar to A31 and can use same driver. >=20 > Add support for it. >=20 > Signed-off-by: Cl=C3=A9ment P=C3=A9ron > --- > arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) >=20 > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/bo= ot/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"; > }; Please make a comment here, that this is known broken on some boards and ma= y result IRQ flood if enabled. Otherwise noone will know. thanks, o. > r_i2c: i2c@7081400 { > --=20 > 2.20.1 >=20 >=20 > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --=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/20190530145550.amalnxmx7kpokykv%40core.my.home. For more options, visit https://groups.google.com/d/optout.