Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4630722imw; Tue, 19 Jul 2022 10:07:17 -0700 (PDT) X-Google-Smtp-Source: AGRyM1szCPBTc0ctvZYXFamiws4Q/d8fYoiIm3b3Eyv5a7abpKYj7dFgITjsOs3SXqc8n67oGZ+t X-Received: by 2002:a17:906:93fa:b0:72b:146f:71b7 with SMTP id yl26-20020a17090693fa00b0072b146f71b7mr30897488ejb.413.1658250437542; Tue, 19 Jul 2022 10:07:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658250437; cv=none; d=google.com; s=arc-20160816; b=VkHnEBy2nd3yoi5UKsGfGY6AW4XHhIjkXCiWVhzGbvj1AjhIH29t0nXBhKma5QKT65 osPHxE2JN/ih2iyv6vnX1Gjov2FWm1ljZQ2OA4XBQIx2pyUcO5gnrQqNburHdOuJIdc2 4D66SkkX/PM4kBe7XnimfGevV7ViFjLoDPlkqnMKKU2+obs6tq6SrzP+SlRT7grSzE6H L6c5P4Cu1p+JECuLLYjhGg8I+JoZUX0sT1YMVeUykNnofZ2t00pM812hbVngBtYXTDNF RzZl9WWGp0hrHdkNK3Yr6aBr7B6PKDuu+vcZYsHse/JKDc3xLhGBU7pg3GQJMEIxC5Bt WP6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:organization:references:in-reply-to:date :cc:to:from:subject:message-id:dkim-signature; bh=11/5f3QiTrKxQeGlw8XCXzuwEMJEiL9GlI4UH76Eh1A=; b=Q5F6G7Ks8eTVcc/efZOmSdyTOx3sHcVyWHOAlp1iNblV3S/lgqYgz0b5ViVEEkAQvp KX2T+GWrTqDTPSULEehtdsQxvKhvvZB9Nvp/oVSFjER6+jeuNYEuDSn6bErrOVE+ZlKx pJhoQB0gZCjvMg/uIyTxYw21+mziVIVKKUB8N/0I3Zd/sevE52tGBjtXRJ6FobWrTpXZ fK3pk/tRuSi7v5FvM8rytEzzfJGTGRogqeV/1c3YEkUITY+P6aOpDrwubiJtDIHWLBvj X118UYecYhGDiP6fPbv5Mk8nf835VGIrc0IpWUK5Dsv3QyOsA+YaXugmtIIaZvrD6IqQ p4+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=U9qK059O; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g13-20020a056402090d00b0043b753b1e70si5308109edz.514.2022.07.19.10.06.52; Tue, 19 Jul 2022 10:07:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=U9qK059O; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233316AbiGSQhy (ORCPT + 99 others); Tue, 19 Jul 2022 12:37:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230171AbiGSQhx (ORCPT ); Tue, 19 Jul 2022 12:37:53 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B28CA326F8; Tue, 19 Jul 2022 09:37:52 -0700 (PDT) Received: from [IPv6:2a00:23c6:c30a:1501:8302:3eab:dcff:989c] (unknown [IPv6:2a00:23c6:c30a:1501:8302:3eab:dcff:989c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: martyn) by madras.collabora.co.uk (Postfix) with ESMTPSA id D153D6601955; Tue, 19 Jul 2022 17:37:50 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1658248671; bh=11/5f3QiTrKxQeGlw8XCXzuwEMJEiL9GlI4UH76Eh1A=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=U9qK059OU1UzCPkdqK4IU2O3ZAq+ElkbtBUVAzt1Mf2tJZQorzdXzH89bLB0n0SnN r1/TPY+7LZ0Ie7xYtr76uWSZ33DATOp13fjx1CsqsABcK+qpOruyVFfbYut0n/CMio 9SyTz7ILy1ysZHGjMXvgNM9ZzLzo3KwZ7QRzQfRYUZKxVI0rzPo54iRx40M4PzYsS/ 8fU0FmM2XhoTlG1sM75go7xaTJ/wCoOw6eRvgbnbBozgd9SrKCve/iu8QcFSBilXfQ 1s9cx7FAXtvVMWJiDmjCiHnlyh6BnIEWohsr9jgUvT/j4n7a+WWqtzMA451msl/VYe E2lqCVufxwe7w== Message-ID: Subject: Re: [PATCH] arm64: dts: Add device trees for MSC SM2S-IMX8PLUS SoM and carrier board From: Martyn Welch To: Krzysztof Kozlowski , Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@collabora.com Date: Tue, 19 Jul 2022 17:37:48 +0100 In-Reply-To: <4473378f-1c14-3ec7-5380-12f49f3b1e3b@linaro.org> References: <20220718152310.1937899-1-martyn.welch@collabora.com> <4473378f-1c14-3ec7-5380-12f49f3b1e3b@linaro.org> Organization: Collabora Ltd. Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.2-1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2022-07-19 at 12:01 +0200, Krzysztof Kozlowski wrote: > On 18/07/2022 17:23, Martyn Welch wrote: > > Add device trees for one of a number of MSCs variants of the SM2S- > > IMX8PLUS > > system on module along with the compatible SM2S-SK-AL-EP1 carrier > > board. > > As the name suggests, this family of SoMs use the NXP i.MX8MP SoC > > and > > provide the SMARC module interface. > >=20 > > Signed-off-by: Martyn Welch >=20 > Use subject prefix matching subsystem. I expect other folks in > Collabora > help you in that, so you do not need our advices for such trivial > stuff. :) >=20 Hi Krzysztof, Thanks for the review. I picked that based on the last 20-30 commits under arch/arm64/boot/dts/. Would you prefer something starting "arm64: dts: freescale: "? I see that "arm64: dts: imx8mp: " is typically being used for changes to the more generic imx8mp device trees... > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0extcon_usb0: extcon_usb0 { >=20 > No underscores, extcon is Linux term, so use node name describing > device. >=20 I note that the device binding file lists an example using "extcon_usb1". I also note that existing users seem to broadly use a variation of "extcon-XXXX", would "extcon-usb0" be acceptable in this case? >=20 > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0dsi_lvds_bridge: sn65dsi84@2= d { >=20 > Node names should be generic. > https://devicetree-specification.readthedocs.io/en/latest/chapter2-device= tree-basics.html#generic-names-recommendation >=20 My apologies - I thought I'd got all of these... >=20 > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0qspi_flash: qspi_flash@0 { >=20 > You didn't test the bindings (dtbs_check), did you? There is no way > this > passess... >=20 No, despite having written device tree bindings on and off for something approaching 18 years (though admittedly more off than on), I was unaware of this tool. I'll run this before resubmitting. > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0reg =3D <0>; > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0#address-cells =3D <1>; > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0#size-cells =3D <1>; > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0compatible =3D "jedec,spi-nor"; >=20 > Eh? Now compatible in the middle? Sorry, this are trivial code > quality > comments. Please use internal review or base your work on some > upstreamed existing board. >=20 Sorry - I missed that one. I'd moved most of the compatible strings to the top of nodes. Martyn > Best regards, > Krzysztof