Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp5568975imm; Sat, 19 May 2018 05:03:57 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoKO2nIcZkfkltRXnpmdQDxooJArgAtCQKGHmMaJaTgJwORPHk6o6VI1z8OMaLi+womLf4M X-Received: by 2002:a17:902:2c83:: with SMTP id n3-v6mr13078471plb.211.1526731437431; Sat, 19 May 2018 05:03:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526731437; cv=none; d=google.com; s=arc-20160816; b=OfYHfsgsfHd7tDl5E5yXZfRx5qJKk/YSswX2rkhVg+g1BOWLUpuB/fuhL93PBlayjX ApyO686XXODutjZlstPb8T93HWvVasc62o8GrnSav0UxfkF+Wz73rPJHctk1tAqpfnJ3 QHGrDBGozl9OX4eSxRDuyL/qRR29tE0NHylJh125bdVsCYwpBebRXXSsUTejJXGJiyCc mIQECdYUP97rWj4uiOh9MHCDZcO3abya+SYQSrDfEFXHTRRMaEwn9p9/Q91SxkSfjrUk gdpOlvykFTsCSq41Xvfig0bOj9u7epHemScAFOUtGRCC/ZEvNOo+JaE+5oJo9r+FtnXr ikCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:date :arc-authentication-results; bh=byQGj41jFfn3JqWphk44FIwPp/MZlDxc18kq//eLAhE=; b=WAtv4mcEvKMcfU4Ig2LCSw1kkn1dqwt3h+iT6Z65LERk1mbsEJjo+ucGmll2aF9mhu qt55156sdMf3Lp9s2QAQtkNSx5JBewHdB6uWayRQjZIkhDH/u+h0FYIAAth81/QiXPzG me2jYFZGxTpViQMnasDym/W73KZ4+7+DsMBK7yVN4mGZu1nE9c850xxaKftj+9NB3pyL L7EiXv6IVdcdU4stn3zXJQwGMu18/NVJXbcblR3eXhGVA3MAcXvJYKD6Qz/1y0NUEG8R xNk+FBD1V/m8rljy9YNjlJhQwRBmbpUssCljSdOMulGVZGxZOVEWDt9AMWMsnvFtPi2p wsAw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x14-v6si9384369pfn.41.2018.05.19.05.03.43; Sat, 19 May 2018 05:03:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752547AbeESMDC (ORCPT + 99 others); Sat, 19 May 2018 08:03:02 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:51127 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752175AbeESMC5 (ORCPT ); Sat, 19 May 2018 08:02:57 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 40p3Zk2Bbjz1qw06; Sat, 19 May 2018 14:02:54 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 40p3Zk1R2Cz1qvSw; Sat, 19 May 2018 14:02:54 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id sSz__gXXzd0i; Sat, 19 May 2018 14:02:52 +0200 (CEST) X-Auth-Info: z5GT91cWXU3lXgwzijGniK2UK2LHrufrUfITFoEesWQ= Received: from jawa (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Sat, 19 May 2018 14:02:52 +0200 (CEST) Date: Sat, 19 May 2018 14:02:02 +0200 From: Lukasz Majewski 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" Subject: Re: [PATCH] ARM: DTS: imx53: Add support for imx53 HSC/DDC boards from K+P Message-ID: <20180519140202.3449e3c1@jawa> In-Reply-To: References: <20180509153428.1440-1-lukma@denx.de> Organization: denx.de X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/JiPSsZOYOlL9J=a1XM0m/MN"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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--