From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukasz Majewski Subject: Re: [PATCH] ARM: DTS: imx53: Add support for imx53 HSC/DDC boards from K+P Date: Sat, 19 May 2018 14:02:02 +0200 Message-ID: <20180519140202.3449e3c1@jawa> References: <20180509153428.1440-1-lukma@denx.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/JiPSsZOYOlL9J=a1XM0m/MN"; protocol="application/pgp-signature" Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Fabio Estevam Cc: Rob Herring , Mark Rutland , Russell King , Shawn Guo , Sascha Hauer , Fabio Estevam , linux-kernel , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" List-Id: devicetree@vger.kernel.org --Sig_/JiPSsZOYOlL9J=a1XM0m/MN Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Fabio, Thanks for your feedback. > Hi Lukasz, >=20 > On Wed, May 9, 2018 at 12:34 PM, Lukasz Majewski > wrote: >=20 > > +&iomuxc { > > + imx53-kp-ddc { =20 >=20 > No need for keeping this imx53-kp-ddc. >=20 > > diff --git a/arch/arm/boot/dts/imx53-kp-hsc.dts > > b/arch/arm/boot/dts/imx53-kp-hsc.dts new file mode 100644 > > index 000000000000..fff358395c9d > > --- /dev/null > > +++ b/arch/arm/boot/dts/imx53-kp-hsc.dts > > @@ -0,0 +1,53 @@ > > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > > +/* > > + * Copyright 2018 > > + * Lukasz Majewski, DENX Software Engineering, lukma@denx.de > > + */ > > + > > +/dts-v1/; > > +#include "imx53-kp.dtsi" > > + > > +/ { > > + model =3D "K+P imx53 HSC"; > > + compatible =3D "kiebackpeter,imx53-hsc", "fsl,imx53"; > > + =20 >=20 > No need for this blank line. >=20 > > +}; > > + > > +&fec { > > + status =3D "okay"; =20 >=20 > We usually put the status in the last line. After moving status property to the end: Error: arch/arm/boot/dts/imx53-kp-hsc.dts:21.2-18 Properties must precede subnodes FATAL ERROR: Unable to parse input tree So I opt for leaving it as it was. >=20 > > + gpio_buttons { > > + compatible =3D "gpio-keys"; > > + #address-cells =3D <1>; > > + #size-cells =3D <0>; > > + pinctrl-names =3D "default"; > > + pinctrl-0 =3D <&pinctrl_gpiobuttons>; > > + > > + button@1 { =20 >=20 > You pass @1 without a reg property. This triggers a warning when > building with W=3D1. >=20 > You could remove the @1. >=20 > Please make sure this patch does not introduce any W=3D1 dtc warning. >=20 > > +&iomuxc { > > + pinctrl-names =3D "default"; > > + pinctrl-0 =3D <&pinctrl_kp_common>; > > + > > + imx53-kp-common { =20 >=20 > No need for this imx53-kp-common After removing imx53-kp-ddc and imx53-kp-common iomux subnodes I do see following errors in the dmesg (v4.17-rc5): imx53-pinctrl 53fa8000.iomuxc: function 'iomuxc' not supported imx53-pinctrl 53fa8000.iomuxc: invalid function iomuxc in map table Above statements are not visible when I use the v1 code of this patch. >=20 > > +&uart4 { > > + pinctrl-names =3D "default"; > > + pinctrl-0 =3D <&pinctrl_uart4>; > > + =20 >=20 > No need for this blank line. I will sent fixed version in v2. Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de --Sig_/JiPSsZOYOlL9J=a1XM0m/MN Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEgAyFJ+N6uu6+XupJAR8vZIA0zr0FAlsAEjoACgkQAR8vZIA0 zr1WPAf9FltjR0GYAkrvt9dY4X9+IhtC7+F9UHQEApuPSJEgDLJGmihT7/ExuAuy Opt0k7YyTb7WmpzKBslCzOU1MW79r0BUgxNjThbPPQdM/x1PmnwlWjbjBkbyRaA4 fRK79QDXzozJQJwi9Nf8wDCk4g/UX9LO1rcuU+3dUqxuFjT5KXcmPIyr5BcBbIlX UVCi0An6XQCtUK1dymlA14eQhgGkVdOcw1VhK+uInGC4xI/sxqInrDR3EarevBJx h5ZuhI0p0j0cVsmbEStBqglS87MHTkOhNIXRZz1259bQnKgeG97QHHIxTihX5Lss 42BOLBO8TWuXZMDmobJBR0SZ4A+nrA== =wEn3 -----END PGP SIGNATURE----- --Sig_/JiPSsZOYOlL9J=a1XM0m/MN--