Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp2168318rwn; Fri, 9 Sep 2022 09:25:01 -0700 (PDT) X-Google-Smtp-Source: AA6agR6e/v5MRCmmAmfpd9/KLAu4eRZXpITzF0JxHrjVGigFMNtM3mYbU37ZiRl41RCqhTiwICyO X-Received: by 2002:a05:6402:1ccb:b0:446:4346:8597 with SMTP id ds11-20020a0564021ccb00b0044643468597mr12208406edb.177.1662740701531; Fri, 09 Sep 2022 09:25:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662740701; cv=none; d=google.com; s=arc-20160816; b=lHa0C0fPt8TwpLvQLq0IOyMRrkhkT7KK/I03WrJnU9XHlpAfynsYjjEde3Fm55FCsX mRMiLid6CjU/pKM9LRr+2GtcuE8f+A+m+KFycwetWNXsyLssot4ws390fR7wN8OVF+54 Xgz0LQ0Cx11lNhX7fTnCxe7QS+hnw2n21rYs0AHaz3QQa38JJar5uvAoKxA20hK7Nsi6 mBplVo6V+LqEykOjvtTM8piPRDWrb9fhku/afwby8nEOOSRGPofDF8X3iaADW1Z6drHx aBGKWFfwfHem7UxRcWzSWGEgzRhnZOPld9uFPZfJM/RQFNPtNxz5yNxXSrubnsB4+DXP z1TQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=KQ7mx//Yg3b2on5K+GcpEYxceEeGkrI8LOMH1KIOtyM=; b=01IfJFR+U2bLisoLLJVr6gRg+5gwkRY1AdFyqVoqR70Nj9sRjmggCrT+qs3nqEkK0Z oUiJh/EMfLLkOgIUBiriVQvsJvTZYIv8fVFOXRSIw8Dpw+3H59f8FV1mLb25rXJfxO1H sgeQI/WjG/B8yCpoFxP4Y02amG4wyb/ckgoM7vgvSQdI6MdJbHXfgeLproIoc/zUU+WH RuEKmFUB0SWrIOd/PjleuB77l9rWuiLjGXTKCEsDuWQb+oh+QkRKsiVwKBIY3bkxSW9o nDcLopRmPHK2MRu55R6WrFIZ2jDy+nb7jzGmT4CswArkSywk9n7LR3dnPExbCR3Y/ZHH 0MSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gateworks-com.20210112.gappssmtp.com header.s=20210112 header.b=apSZrIUd; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id rp9-20020a170906d96900b00730babc11e3si614188ejb.640.2022.09.09.09.24.24; Fri, 09 Sep 2022 09:25:01 -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=@gateworks-com.20210112.gappssmtp.com header.s=20210112 header.b=apSZrIUd; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232114AbiIIP1E (ORCPT + 99 others); Fri, 9 Sep 2022 11:27:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232358AbiIIPZt (ORCPT ); Fri, 9 Sep 2022 11:25:49 -0400 Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE1DEE72EA for ; Fri, 9 Sep 2022 08:25:47 -0700 (PDT) Received: by mail-pj1-x102e.google.com with SMTP id fs14so1829294pjb.5 for ; Fri, 09 Sep 2022 08:25:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gateworks-com.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=KQ7mx//Yg3b2on5K+GcpEYxceEeGkrI8LOMH1KIOtyM=; b=apSZrIUd0edt1e799SLrlrQR3GXfeVcUUKtqogNKmO7yvEgyM+r5QdzvwENRWZsvi4 wYUC4Llu/OW541iIwi2uuN+0LvpCKCnIhDLiy6LD7cXmeko44lBKFLIJb8g4o+1kv88j nIgBmeaeoiVlluHT3HvfbgN3Jvq1Kwr30az76zrtzPPlIanPcBoHZ8Yo4hLq2CIYXuUF ci9NkrxM6NVa26MZxzaG9luuGMzvyRho8O3DSuIPcsG2RhjNsfSQvettqeZ1qzVQIxO7 8y0Oeoxh+F8E3Krunu/YzI+bMe8eyYVA498tjMRJ1WbOKZuo/KVMNLIYVq9CEyHuACp5 0hUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=KQ7mx//Yg3b2on5K+GcpEYxceEeGkrI8LOMH1KIOtyM=; b=W21eDn8+2x6BD/F92RaiASoyGGQOn2zNaahgI6g/zNvMn6+FYxsH3aDS+tiTMxngDF SPvePPAFyI6YIXNetlM4hW/Db115egz2ZauDqxh/B3J656cYRq/F8TYzTIHPXwrND1Nw VeH+oM5kFQnl32NASXeRYWQShDpGoTC1Lv7Es5TmFWi2TAaD3N22uCgFP0Sg5mmmxgrZ +kC7HaElwXjf78ZlsjBQdIH0lzQF4SDlemnsvqG/lBlAeDru0LoD6RSWss+8Rwrv3tZk RotZfzYjlM3cKrSWUflkwrF+F7f5kYdawauoyORhAnpoD+q8miBMfU1JrdYneb9DwKFx TVjQ== X-Gm-Message-State: ACgBeo2jJYU52Zqrt14zqYNIGV5kMO13w8E6dzFU/F0gcJM/AURnIcw4 nAC7sdbuSXIceL/gCgmST2MIIQD04D6AJoaFvAzmJw== X-Received: by 2002:a17:903:41c6:b0:174:3acf:8294 with SMTP id u6-20020a17090341c600b001743acf8294mr14185533ple.118.1662737147158; Fri, 09 Sep 2022 08:25:47 -0700 (PDT) MIME-Version: 1.0 References: <20220902230500.2624739-1-tharvey@gateworks.com> <20220908211916.GA3348959-robh@kernel.org> In-Reply-To: From: Tim Harvey Date: Fri, 9 Sep 2022 08:25:35 -0700 Message-ID: Subject: Re: [PATCH 1/2] dt-bindings: arm: Add i.MX8M Mini Gateworks GW7904 board To: Krzysztof Kozlowski Cc: Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 Fri, Sep 9, 2022 at 1:03 AM Krzysztof Kozlowski wrote: > > On 08/09/2022 23:44, Tim Harvey wrote: > > On Thu, Sep 8, 2022 at 2:19 PM Rob Herring wrote: > >> > >> On Fri, Sep 02, 2022 at 04:04:59PM -0700, Tim Harvey wrote: > >>> Add DT compatible string for i.MX8M Mini based Gateworks GW7904 board. > >>> > >>> Signed-off-by: Tim Harvey > >>> Cc: Rob Herring > >>> Cc: Krzysztof Kozlowski > >>> Cc: Shawn Guo > >>> Cc: Sascha Hauer > >>> Cc: Pengutronix Kernel Team > >>> Cc: Fabio Estevam > >>> Cc: NXP Linux Team > >>> --- > >>> Documentation/devicetree/bindings/arm/fsl.yaml | 1 + > >>> 1 file changed, 1 insertion(+) > >>> > >>> diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml > >>> index 7431579ab0e8..ce89fac1898e 100644 > >>> --- a/Documentation/devicetree/bindings/arm/fsl.yaml > >>> +++ b/Documentation/devicetree/bindings/arm/fsl.yaml > >>> @@ -831,6 +831,7 @@ properties: > >>> - gw,imx8mm-gw7901 # i.MX8MM Gateworks Board > >>> - gw,imx8mm-gw7902 # i.MX8MM Gateworks Board > >>> - gw,imx8mm-gw7903 # i.MX8MM Gateworks Board > >>> + - gateworks,imx8mm-gw7904 # i.MX8MM Gateworks Board > >> > >> A useful comment would be ones that distuiguish these boards. It's > >> obvious from the compatible it's a i.MX8MM board from Gateworks. > > > > But isn't it clear that you need to go to the device-tree itself to > > understand the details? > > > > As far as basic features go sometimes there is very little difference > > in these board models. It would be a struggle to list all the board > > details (which I do in the dts commit) in a way that doesn't take up > > too much space in fsl.yaml. > > > > But then the comment you added is useless. So either add useful comment > or no comment. :) > > > Best regards, > Krzysztof Krzysztof, so are you saying that no comment is fine here as well? It seems to me that most of the comments in that file look just like mine which I agree are about just as descriptive as the compatible string. For discussion purposes here is for example the commit log for the GW7904 dts: The GW7904 is based on the i.MX 8M Mini SoC featuring: - LPDDR4 DRAM - eMMC FLASH - microSD connector with UHS support - LIS2DE12 3-axis accelerometer - Gateworks System Controller - IMX8M FEC - 2x RS232 off-board connectors - PMIC - 10x bi-color LED's - 1x miniPCIe socket with PCIe and USB2.0 - 802.3at Class 4 PoE - 10-30VDC input via barrel-jack And the comit log for the very similar GW7903 dts: The GW7903 is based on the i.MX 8M Mini SoC featuring: - LPDDR4 DRAM - eMMC FLASH - microSD connector with UHS support - LIS2DE12 3-axis accelerometer - Gateworks System Controller - IMX8M FEC - software selectable RS232/RS485/RS422 serial transceiver - PMIC - 2x off-board bi-directional opto-isolated digital I/O - 1x M.2 A-E Key Socket and 1x MiniPCIe socket with USB2.0 and PCIe (resistor loading to route PCIe/USB2 between M.2 and MiniPCIe socket) Best Regards, Tim