From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Subject: Re: [PATCH v2 02/10] media: rc: sunxi: Add A31 compatible Date: Mon, 27 May 2019 11:59:07 +0200 Message-ID: <20190527095907.s2ubq3xos5hqef5p@flea> References: <20190526222536.10917-1-peron.clem@gmail.com> <20190526222536.10917-3-peron.clem@gmail.com> <20190527074700.rvhqua44ixudt52z@flea> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="m4jzlbt2jcbegnyb" Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: =?utf-8?B?Q2zDqW1lbnQgUMOpcm9u?= Cc: Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Chen-Yu Tsai , linux-media@vger.kernel.org, devicetree , linux-arm-kernel , linux-kernel , linux-sunxi List-Id: devicetree@vger.kernel.org --m4jzlbt2jcbegnyb Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 27, 2019 at 10:20:05AM +0200, Cl=E9ment P=E9ron wrote: > Hi Maxime, > > On Mon, 27 May 2019 at 09:47, Maxime Ripard w= rote: > > > > Hi, > > > > On Mon, May 27, 2019 at 12:25:28AM +0200, Cl=E9ment P=E9ron wrote: > > > Allwiner A31 has a different memory mapping so add the compatible > > > we will need it later. > > > > > > Signed-off-by: Cl=E9ment P=E9ron > > > --- > > > drivers/media/rc/sunxi-cir.c | 1 + > > > 1 file changed, 1 insertion(+) > > > > > > diff --git a/drivers/media/rc/sunxi-cir.c b/drivers/media/rc/sunxi-ci= r.c > > > index 307e44714ea0..29ac33b68596 100644 > > > --- a/drivers/media/rc/sunxi-cir.c > > > +++ b/drivers/media/rc/sunxi-cir.c > > > @@ -319,6 +319,7 @@ static int sunxi_ir_remove(struct platform_device= *pdev) > > > static const struct of_device_id sunxi_ir_match[] =3D { > > > { .compatible =3D "allwinner,sun4i-a10-ir", }, > > > { .compatible =3D "allwinner,sun5i-a13-ir", }, > > > + { .compatible =3D "allwinner,sun6i-a31-ir", }, > > > > We should also move from reset_get_optional to the non optional > > variant for the A31, and ignore it otherwise. > > Should this be done in this series ? Yep, please Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --m4jzlbt2jcbegnyb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXOu06wAKCRDj7w1vZxhR xT6eAP9HYOS4/YL7nDIyH8X1cRrNbqpJMWDjdFnOep5zfx8jjwD/Qcw/3E8rl/S+ gHsm5kr92Rx4StTFdWA00FbyFkAjMQU= =xrzq -----END PGP SIGNATURE----- --m4jzlbt2jcbegnyb--