Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758124AbdLRHrn (ORCPT ); Mon, 18 Dec 2017 02:47:43 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:41669 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757839AbdLRHrl (ORCPT ); Mon, 18 Dec 2017 02:47:41 -0500 Date: Mon, 18 Dec 2017 08:47:14 +0100 From: Maxime Ripard To: Philipp Rossak Cc: mchehab@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, wens@csie.org, linux@armlinux.org.uk, sean@mess.org, p.zabel@pengutronix.de, andi.shyti@samsung.com, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: Re: [PATCH 4/5] arm: dts: sun8i: a83t: Add support for the ir interface Message-ID: <20171218074714.ei4cuvl3ydc72zev@flea.lan> References: <20171217224547.21481-1-embed3d@gmail.com> <20171217224547.21481-5-embed3d@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2a2bt6rf4xkmfrxc" Content-Disposition: inline In-Reply-To: <20171217224547.21481-5-embed3d@gmail.com> User-Agent: NeoMutt/20171208 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2203 Lines: 63 --2a2bt6rf4xkmfrxc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 17, 2017 at 11:45:46PM +0100, Philipp Rossak wrote: > The ir interface is like on the H3 located at 0x01f02000 and is exactly > the same. This patch adds support for the ir interface on the A83T. >=20 > Signed-off-by: Philipp Rossak > --- > arch/arm/boot/dts/sun8i-a83t.dtsi | 10 ++++++++++ > 1 file changed, 10 insertions(+) >=20 > diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-= a83t.dtsi > index 954c2393325f..9e7ed3b9a6b8 100644 > --- a/arch/arm/boot/dts/sun8i-a83t.dtsi > +++ b/arch/arm/boot/dts/sun8i-a83t.dtsi > @@ -503,6 +503,16 @@ > #reset-cells =3D <1>; > }; > =20 > + ir: ir@01f02000 { > + compatible =3D "allwinner,sun5i-a13-ir"; > + clocks =3D <&r_ccu CLK_APB0_IR>, <&r_ccu CLK_IR>; > + clock-names =3D "apb", "ir"; > + resets =3D <&r_ccu RST_APB0_IR>; > + interrupts =3D ; > + reg =3D <0x01f02000 0x40>; The size should be the size of the whole memory block, not just the registers you need. Maxime --=20 Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com --2a2bt6rf4xkmfrxc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE0VqZU19dR2zEVaqr0rTAlCFNr3QFAlo3cn4ACgkQ0rTAlCFN r3TdQw/+LOU8KwRDTCJhkvri2pXWNexLbAAsvlxfU2qNmsb6wlLW+A8RRoso2byo oqUXyWoYy0ynKhxPofbzKHwMPirXrp4dzY8Lt5WEtwTWeT1FGC5h1ND02XODFb0Q 6F0sOpim+m8YWw5M9uAh/hjoAFYKJ+Dr7OXN2AEUJodL50rrmLi2/Wk1wMrWkhQ/ BGaqH8AJs6X/D6vhYyNTJ3i9pqIuYq4CElcyojWtAaO4VdB1LxI+xYnTHl0lXC+V JV7hyzQCOnlufsqgnr2lQQhLPS7OxFWfquQ84yrrFR+Xqpm0xoWPxQbYEPnKI+qg 4OyH3GdyFyJXhX93zh8D+F/ew1hGoAs4RQyXw6kcyuyMYW8q5vt0n+fvfWZeGx7r fvcZ7as9MATHdT4+OXFP5Wg9sTZ7JhnjqIdylaKbWWvfeIjiFl1dHkSRzduLSz5q LOScA2JdA1rQukns7iseYXs1ziVDHwK7RQ74iXM4YMZZsoQ5L6OSSfBBJ+3xvt+F sfGHM0LJo0uJ7qCbU6Y0ru9mtcemrNvwIwT3KYx/o8fBY7EgeFTc3ZHYN12fpslk xo/LA2GOD0m6sRBPnBF2pC4CHiD4BHvOvim7vL+VxelhzzLtHzHE5q4K5eht+Org DnT1HDKt6rDntZM/y+PcRwtnLgVABpT4BqJPglEq9x+Tk9Eb4go= =OlBX -----END PGP SIGNATURE----- --2a2bt6rf4xkmfrxc--