Message ID | 20230616035813.255062-1-jaswinder.singh@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1078947vqr; Thu, 15 Jun 2023 21:17:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7dTzD4inThopVtAl9AY2ZABpKEMPN5VWvt5xotn87KO5DmSz5JJQWTRvcau+R77x4bhojl X-Received: by 2002:a17:902:ecc6:b0:1ae:8fa:cd4c with SMTP id a6-20020a170902ecc600b001ae08facd4cmr10486837plh.7.1686889046316; Thu, 15 Jun 2023 21:17:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686889046; cv=none; d=google.com; s=arc-20160816; b=QAk6q9obyg2onO7og2WsXU+MN0VRKT3rSHa1VVhQBsoPSoFMFEfk3nL/iVNDtMVxKv ob7m/uYbZ3Mjcgm4z/bqxwJ6cb7JZHUlclAoyvEqoVpFfMGWLRGEUtKQabVh+ls+1YhS YdU6tFCL4PWcDNzHSzMRvofsGkXJgY0B8cUB0hJw9O/NPVoAF3s4r9etjcYR16WiQgGX 6PE9a8Bjr0+Xwz/yqE9n69YuzSJ9DPxkPeQZodvLDvcn9YjkBcow1eAwR+YFxhzvdCsv R6SwoyNG1oASY41JZLf4jL5cNCp8k8DJleiDAXpTv1skBZPm7eU6sdUqvanEs+Nq8qtA k/HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=WL3FF42nwWh3OMYwzk9c4nXRoeF4q2OJGc9h4GflMBo=; b=IMnTSLF+nYspucpB2OwMyowBkxHPOEpB67I7auJLGjJNRpZxrRRf7EhG35DmdIcbQ8 HvfLiDq8FSdNiBFt7fD3OpvcM7HlqfCvMQLwdR2L0gk3ogYAYqv8U83/bxTisg6ve4BD vA2XVnO9J/+9feFVddTgxHTT+pzfdaT8fuvwclwTPqgJ7jbIXAdtpJ/TEQP7jJyd+vLK VQiZ0BV1Vc6WjsJUxf9/LrN4YfxOAkFph+0nxrzzyP4esKlb7NBPV/2Unf6JxXHR3t2/ Kla6R/iRH4MjbURBtNCharRtWLz/qdmyKdP+HK0JlP5FOkYJy6fH7KCo/xrahdRmUrmE vjoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ymo9ZN1D; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v62-20020a638941000000b0054ff0049d08si3130206pgd.404.2023.06.15.21.17.14; Thu, 15 Jun 2023 21:17:26 -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=@linaro.org header.s=google header.b=Ymo9ZN1D; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238285AbjFPD6W (ORCPT <rfc822;maxin.john@gmail.com> + 99 others); Thu, 15 Jun 2023 23:58:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229680AbjFPD6T (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 15 Jun 2023 23:58:19 -0400 Received: from mail-yb1-xb32.google.com (mail-yb1-xb32.google.com [IPv6:2607:f8b0:4864:20::b32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20CF0271E for <linux-kernel@vger.kernel.org>; Thu, 15 Jun 2023 20:58:18 -0700 (PDT) Received: by mail-yb1-xb32.google.com with SMTP id 3f1490d57ef6-bad0c4f6f50so597961276.1 for <linux-kernel@vger.kernel.org>; Thu, 15 Jun 2023 20:58:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686887897; x=1689479897; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=WL3FF42nwWh3OMYwzk9c4nXRoeF4q2OJGc9h4GflMBo=; b=Ymo9ZN1DWuIkMBfzSHTCI9s7zU7imvVe7u/jDlAi6IDrpzrA0y/+xKrwT9xoNpplS4 +9po0CHkMX/IGfUCkWXvTwCgZFqkYwBKRIL1Q48jnJxZjyKZhHF0q5VM05tEXdGfUl/f 4IsA3TsRSRCdTKICcyKWsN8qlLhzpUJyFkR3yru0d185i8G3h71F91B3KZFway4227bW +JZzcx1RXOSHNAzvqWKJLH6omfAe07YN56yUEWwm95OqEkRHOrlwyXrVa7JqjU49jfwE ej9p/VhM203AQ7QXZCl9nmYdDoKfevFbOyGAYTuYztx6JDeGPTodIoEO3dWxoul61BUD jvlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686887897; x=1689479897; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=WL3FF42nwWh3OMYwzk9c4nXRoeF4q2OJGc9h4GflMBo=; b=Nvh2gUZMpJ6pHOCB/xkqTMRrT16EAWnsFcTC6tg2CzK+hz64CSicedetUzkTufw+LD CtNRpz+Ir1SKA8cQKT5JqmvF9I0QLFOZKJ5Awb4ZeGO2ok7xD8KjsWRyyxxz/ju6ZOQx 4O0DY05uXk5Ps6W2FMjqLeDqe9zi1nRL3yrN3XR53+npO+nRkWW+475saLZ6mLWky4Rp ndAJ7qWAMht2F2DA8ggS3XQrGrBNCNP50wifn4n/w7pWAns+8oOHEaj67wYmZzWv4dTf gQQyOVX45cdMRRgJFchNjztj4Pf280xC1XBGOehszemevYF+XuUDEW8YT87iddMrWTeE BZmg== X-Gm-Message-State: AC+VfDxzIH0Hc83KQPcTpF/NrYKZiuXihbix1oLO6VnU615V/PmRLj8Q M5PTS508ZCQID8fIQTOvh2d9IA== X-Received: by 2002:a25:e752:0:b0:ba7:a55f:9091 with SMTP id e79-20020a25e752000000b00ba7a55f9091mr840829ybh.6.1686887897294; Thu, 15 Jun 2023 20:58:17 -0700 (PDT) Received: from jassi-Alienware-x17-R2.. (wnpgmb0311w-ds01-45-177-228.dynamic.bellmts.net. [206.45.177.228]) by smtp.gmail.com with ESMTPSA id k126-20020a252484000000b00bca782fcd6esm2513487ybk.55.2023.06.15.20.58.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Jun 2023 20:58:17 -0700 (PDT) From: jaswinder.singh@linaro.org To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: krzysztof.kozlowski+dt@linaro.org, robh@kernel.org, ilias.apalodimas@linaro.org, masahisa.kojima@linaro.org, Jassi Brar <jaswinder.singh@linaro.org> Subject: [PATCH] dt-bindings: arm: socionext: add bindings for the Synquacer platform Date: Thu, 15 Jun 2023 22:58:13 -0500 Message-Id: <20230616035813.255062-1-jaswinder.singh@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768831368384259692?= X-GMAIL-MSGID: =?utf-8?q?1768831368384259692?= |
Series |
dt-bindings: arm: socionext: add bindings for the Synquacer platform
|
|
Commit Message
Jassi Brar
June 16, 2023, 3:58 a.m. UTC
From: Jassi Brar <jaswinder.singh@linaro.org> Socionext's DeveloperBox is based on the SC2A11B SoC (Synquacer). Specify bindings for the platform and boards based on that. Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org> --- .../bindings/arm/socionext/synquacer.yaml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/socionext/synquacer.yaml
Comments
On 16/06/2023 05:58, jaswinder.singh@linaro.org wrote: > From: Jassi Brar <jaswinder.singh@linaro.org> > > Socionext's DeveloperBox is based on the SC2A11B SoC (Synquacer). > Specify bindings for the platform and boards based on that. > > Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org> > --- > .../bindings/arm/socionext/synquacer.yaml | 28 +++++++++++++++++++ > 1 file changed, 28 insertions(+) > create mode 100644 Documentation/devicetree/bindings/arm/socionext/synquacer.yaml > > diff --git a/Documentation/devicetree/bindings/arm/socionext/synquacer.yaml b/Documentation/devicetree/bindings/arm/socionext/synquacer.yaml > new file mode 100644 > index 000000000000..72554a4f1c92 > --- /dev/null > +++ b/Documentation/devicetree/bindings/arm/socionext/synquacer.yaml > @@ -0,0 +1,28 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/arm/socionext/synquacer.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Socionext Synquacer platform > + > +maintainers: > + - Masahisa Kojima <masahisa.kojima@linaro.org> > + - Jassi Brar <jaswinder.singh@linaro.org> > + > +description: > + Socionext SC2A11B (Synquacer) SoC based boards > + > +properties: > + $nodename: > + const: '/' > + compatible: > + oneOf: > + - items: > + - enum: > + - socionext,developer-box > + - const: socionext,synquacer Last compatible looks very generic. Too generic. Are you sure it uniquely identifies one specific SoC (not family, not generation, not series)? Best regards, Krzysztof
On 16/06/2023 05:58, jaswinder.singh@linaro.org wrote: > From: Jassi Brar <jaswinder.singh@linaro.org> > > Socionext's DeveloperBox is based on the SC2A11B SoC (Synquacer). > Specify bindings for the platform and boards based on that. A nit, subject: drop second/last, redundant "bindings". The "dt-bindings" prefix is already stating that these are bindings. > Binding without it's user is usually useless. Where is the user? Best regards, Krzysztof
On Fri, 16 Jun 2023 at 05:15, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote: > > On 16/06/2023 05:58, jaswinder.singh@linaro.org wrote: > > From: Jassi Brar <jaswinder.singh@linaro.org> > > > > Socionext's DeveloperBox is based on the SC2A11B SoC (Synquacer). > > Specify bindings for the platform and boards based on that. > > > > Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org> > > --- > > .../bindings/arm/socionext/synquacer.yaml | 28 +++++++++++++++++++ > > 1 file changed, 28 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/arm/socionext/synquacer.yaml > > > > diff --git a/Documentation/devicetree/bindings/arm/socionext/synquacer.yaml b/Documentation/devicetree/bindings/arm/socionext/synquacer.yaml > > new file mode 100644 > > index 000000000000..72554a4f1c92 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/arm/socionext/synquacer.yaml > > @@ -0,0 +1,28 @@ > > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/arm/socionext/synquacer.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Socionext Synquacer platform > > + > > +maintainers: > > + - Masahisa Kojima <masahisa.kojima@linaro.org> > > + - Jassi Brar <jaswinder.singh@linaro.org> > > + > > +description: > > + Socionext SC2A11B (Synquacer) SoC based boards > > + > > +properties: > > + $nodename: > > + const: '/' > > + compatible: > > + oneOf: > > + - items: > > + - enum: > > + - socionext,developer-box > > + - const: socionext,synquacer > > Last compatible looks very generic. Too generic. Are you sure it > uniquely identifies one specific SoC (not family, not generation, not > series)? > Yeah it does sound generic, but Synquacer and SC2A11B are interchangeably used in s/w. And the dts in u-boot use this. Kojima-san may have the final opinion. thanks.
On Fri, 16 Jun 2023 at 05:15, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote: > > On 16/06/2023 05:58, jaswinder.singh@linaro.org wrote: > > From: Jassi Brar <jaswinder.singh@linaro.org> > > > > Socionext's DeveloperBox is based on the SC2A11B SoC (Synquacer). > > Specify bindings for the platform and boards based on that. > > A nit, subject: drop second/last, redundant "bindings". The > "dt-bindings" prefix is already stating that these are bindings. > I can remove it, but I see many mentions like "Fix bindings for" "Add binding for" etc in the subject line. > > Binding without it's user is usually useless. Where is the user? > It is required for SystemReady-2.0 certification. thanks
On 16/06/2023 18:23, Jassi Brar wrote: > On Fri, 16 Jun 2023 at 05:15, Krzysztof Kozlowski > <krzysztof.kozlowski@linaro.org> wrote: >> >> On 16/06/2023 05:58, jaswinder.singh@linaro.org wrote: >>> From: Jassi Brar <jaswinder.singh@linaro.org> >>> >>> Socionext's DeveloperBox is based on the SC2A11B SoC (Synquacer). >>> Specify bindings for the platform and boards based on that. >> >> A nit, subject: drop second/last, redundant "bindings". The >> "dt-bindings" prefix is already stating that these are bindings. >> > I can remove it, but I see many mentions like "Fix bindings for" "Add > binding for" etc in the subject line. Can we fix them as well? > >> >> Binding without it's user is usually useless. Where is the user? >> > It is required for SystemReady-2.0 certification. For what? If there is no user, it is not required for SR. We don't document compatibles for something which does not exist in the projects. Best regards, Krzysztof
On Fri, 16 Jun 2023 at 11:47, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote: > > On 16/06/2023 18:23, Jassi Brar wrote: > > On Fri, 16 Jun 2023 at 05:15, Krzysztof Kozlowski > > <krzysztof.kozlowski@linaro.org> wrote: > >> > >> On 16/06/2023 05:58, jaswinder.singh@linaro.org wrote: > >>> From: Jassi Brar <jaswinder.singh@linaro.org> > >>> > >>> Socionext's DeveloperBox is based on the SC2A11B SoC (Synquacer). > >>> Specify bindings for the platform and boards based on that. > >> > >> A nit, subject: drop second/last, redundant "bindings". The > >> "dt-bindings" prefix is already stating that these are bindings. > >> > > I can remove it, but I see many mentions like "Fix bindings for" "Add > > binding for" etc in the subject line. > > Can we fix them as well? > ?? > > > >> > >> Binding without it's user is usually useless. Where is the user? > >> > > It is required for SystemReady-2.0 certification. > > For what? If there is no user, it is not required for SR. We don't > document compatibles for something which does not exist in the projects. > The dts/dtsi for synquacer will be added later. I am sure you are aware that there are countless bindings without actual use in any dts/dtsi. When exactly did it become mandatory to have dts/dtsi for the bindings to be merged upstream? -j
On 16/06/2023 22:06, Jassi Brar wrote: > On Fri, 16 Jun 2023 at 11:47, Krzysztof Kozlowski > <krzysztof.kozlowski@linaro.org> wrote: >> >> On 16/06/2023 18:23, Jassi Brar wrote: >>> On Fri, 16 Jun 2023 at 05:15, Krzysztof Kozlowski >>> <krzysztof.kozlowski@linaro.org> wrote: >>>> >>>> On 16/06/2023 05:58, jaswinder.singh@linaro.org wrote: >>>>> From: Jassi Brar <jaswinder.singh@linaro.org> >>>>> >>>>> Socionext's DeveloperBox is based on the SC2A11B SoC (Synquacer). >>>>> Specify bindings for the platform and boards based on that. >>>> >>>> A nit, subject: drop second/last, redundant "bindings". The >>>> "dt-bindings" prefix is already stating that these are bindings. >>>> >>> I can remove it, but I see many mentions like "Fix bindings for" "Add >>> binding for" etc in the subject line. >> >> Can we fix them as well? >> > ?? What else I can say to such argument? > > >>> >>>> >>>> Binding without it's user is usually useless. Where is the user? >>>> >>> It is required for SystemReady-2.0 certification. >> >> For what? If there is no user, it is not required for SR. We don't >> document compatibles for something which does not exist in the projects. >> > The dts/dtsi for synquacer will be added later. > I am sure you are aware that there are countless bindings without > actual use in any dts/dtsi. Bindings without user (so no DTSI and no driver)? Just few, not countless. > When exactly did it become mandatory to > have dts/dtsi for the bindings to be merged upstream? It was always. We do not want/need to document downstream stuff or anything just because it is somewhere there. Best regards, Krzysztof
On Fri, 16 Jun 2023 at 15:34, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote: > > On 16/06/2023 22:06, Jassi Brar wrote: > > On Fri, 16 Jun 2023 at 11:47, Krzysztof Kozlowski > > <krzysztof.kozlowski@linaro.org> wrote: > >> > >> On 16/06/2023 18:23, Jassi Brar wrote: > >>> On Fri, 16 Jun 2023 at 05:15, Krzysztof Kozlowski > >>> <krzysztof.kozlowski@linaro.org> wrote: > >>>> > >>>> On 16/06/2023 05:58, jaswinder.singh@linaro.org wrote: > >>>>> From: Jassi Brar <jaswinder.singh@linaro.org> > >>>>> > >>>>> Socionext's DeveloperBox is based on the SC2A11B SoC (Synquacer). > >>>>> Specify bindings for the platform and boards based on that. > >>>> > >>>> A nit, subject: drop second/last, redundant "bindings". The > >>>> "dt-bindings" prefix is already stating that these are bindings. > >>>> > >>> I can remove it, but I see many mentions like "Fix bindings for" "Add > >>> binding for" etc in the subject line. > >> > >> Can we fix them as well? > >> > > ?? > What else I can say to such argument? > It was not an argument, I agreed to remove it. I just observed that the nit-pick was arbitrary. And frankly "dt-bindings: arm: socionext: add Synquacer" is as misleading as "dt-bindings: arm: socionext: add bindings for the Synquacer" is improper. > >>>> > >>>> Binding without it's user is usually useless. Where is the user? > >>>> > >>> It is required for SystemReady-2.0 certification. > >> > >> For what? If there is no user, it is not required for SR. We don't > >> document compatibles for something which does not exist in the projects. > >> > > The dts/dtsi for synquacer will be added later. > > I am sure you are aware that there are countless bindings without > > actual use in any dts/dtsi. > > Bindings without user (so no DTSI and no driver)? Just few, not countless. > I disagree. But I don't have time to write a script to find compatibles/enums and properties in yaml/txt files that are not in any dts/dtsi file. By that logic synquacer's spi/netsec/i2c/exiu bindings and drivers in kernel are illegit too? Also the user may not be in Linux, but we keep "os-agnostic" bindings in Linux. The synquacer dts/dtsi are in u-boot upstream. SR testsuite looks up the underlying platform name and checks if the bindings are merged upstream. While I am not against also submitting dts/dtsi in linux, I don't think the binding should be held at ransom. > > When exactly did it become mandatory to > > have dts/dtsi for the bindings to be merged upstream? > > It was always. We do not want/need to document downstream stuff or > anything just because it is somewhere there. > I am not asking you to merge an obscure internal revision of some SoC. Synquacer is a public development platform and a "96board" already certified for SR-1.0. thnx.
On 17/06/2023 01:18, Jassi Brar wrote: > On Fri, 16 Jun 2023 at 15:34, Krzysztof Kozlowski > <krzysztof.kozlowski@linaro.org> wrote: >> >> On 16/06/2023 22:06, Jassi Brar wrote: >>> On Fri, 16 Jun 2023 at 11:47, Krzysztof Kozlowski >>> <krzysztof.kozlowski@linaro.org> wrote: >>>> >>>> On 16/06/2023 18:23, Jassi Brar wrote: >>>>> On Fri, 16 Jun 2023 at 05:15, Krzysztof Kozlowski >>>>> <krzysztof.kozlowski@linaro.org> wrote: >>>>>> >>>>>> On 16/06/2023 05:58, jaswinder.singh@linaro.org wrote: >>>>>>> From: Jassi Brar <jaswinder.singh@linaro.org> >>>>>>> >>>>>>> Socionext's DeveloperBox is based on the SC2A11B SoC (Synquacer). >>>>>>> Specify bindings for the platform and boards based on that. >>>>>> >>>>>> A nit, subject: drop second/last, redundant "bindings". The >>>>>> "dt-bindings" prefix is already stating that these are bindings. >>>>>> >>>>> I can remove it, but I see many mentions like "Fix bindings for" "Add >>>>> binding for" etc in the subject line. >>>> >>>> Can we fix them as well? >>>> >>> ?? >> What else I can say to such argument? >> > It was not an argument, I agreed to remove it. I just observed that > the nit-pick was arbitrary. > And frankly > "dt-bindings: arm: socionext: add Synquacer" is as misleading as > "dt-bindings: arm: socionext: add bindings for the Synquacer" is improper. "add Synquacer boards" it is both precise and correct. No misleading. > > >>>>>> >>>>>> Binding without it's user is usually useless. Where is the user? >>>>>> >>>>> It is required for SystemReady-2.0 certification. >>>> >>>> For what? If there is no user, it is not required for SR. We don't >>>> document compatibles for something which does not exist in the projects. >>>> >>> The dts/dtsi for synquacer will be added later. >>> I am sure you are aware that there are countless bindings without >>> actual use in any dts/dtsi. >> >> Bindings without user (so no DTSI and no driver)? Just few, not countless. >> > I disagree. But I don't have time to write a script to find > compatibles/enums and properties in yaml/txt files that are not in any > dts/dtsi file. > By that logic synquacer's spi/netsec/i2c/exiu bindings and drivers in > kernel are illegit too? Don't know which one you talk about. > > Also the user may not be in Linux, but we keep "os-agnostic" bindings in Linux. I did not say anything about Linux here. Look: "does not exist in the projects." > The synquacer dts/dtsi are in u-boot upstream. SR testsuite looks up Sure, can you point it? U-Boot upstream is a valid project. Just like many other upstream ones. > the underlying platform name and checks if the bindings are merged > upstream. > While I am not against also submitting dts/dtsi in linux, I don't > think the binding should be held at ransom. > >>> When exactly did it become mandatory to >>> have dts/dtsi for the bindings to be merged upstream? >> >> It was always. We do not want/need to document downstream stuff or >> anything just because it is somewhere there. >> > I am not asking you to merge an obscure internal revision of some SoC. > Synquacer is a public development platform and a "96board" already > certified for SR-1.0. Without any reference to any project using this, it looks like you are. Sorry. Best regards, Krzysztof
On Sat, 17 Jun 2023 at 02:18, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote: > > On 17/06/2023 01:18, Jassi Brar wrote: > > On Fri, 16 Jun 2023 at 15:34, Krzysztof Kozlowski > > <krzysztof.kozlowski@linaro.org> wrote: > >> > >> On 16/06/2023 22:06, Jassi Brar wrote: > >>> On Fri, 16 Jun 2023 at 11:47, Krzysztof Kozlowski > >>> <krzysztof.kozlowski@linaro.org> wrote: > >>>> > >>>> On 16/06/2023 18:23, Jassi Brar wrote: > >>>>> On Fri, 16 Jun 2023 at 05:15, Krzysztof Kozlowski > >>>>> <krzysztof.kozlowski@linaro.org> wrote: > >>>>>> > >>>>>> On 16/06/2023 05:58, jaswinder.singh@linaro.org wrote: > >>>>>>> From: Jassi Brar <jaswinder.singh@linaro.org> > >>>>>>> > >>>>>>> Socionext's DeveloperBox is based on the SC2A11B SoC (Synquacer). > >>>>>>> Specify bindings for the platform and boards based on that. > >>>>>> > >>>>>> A nit, subject: drop second/last, redundant "bindings". The > >>>>>> "dt-bindings" prefix is already stating that these are bindings. > >>>>>> > >>>>> I can remove it, but I see many mentions like "Fix bindings for" "Add > >>>>> binding for" etc in the subject line. > >>>> > >>>> Can we fix them as well? > >>>> > >>> ?? > >> What else I can say to such argument? > >> > > It was not an argument, I agreed to remove it. I just observed that > > the nit-pick was arbitrary. > > And frankly > > "dt-bindings: arm: socionext: add Synquacer" is as misleading as > > "dt-bindings: arm: socionext: add bindings for the Synquacer" is improper. > > "add Synquacer boards" > it is both precise and correct. No misleading. > Ok. I am going to do that. Are you going to enforce this practice for all submissions in future? > >> > >> Bindings without user (so no DTSI and no driver)? Just few, not countless. > >> > > I disagree. But I don't have time to write a script to find > > compatibles/enums and properties in yaml/txt files that are not in any > > dts/dtsi file. > > By that logic synquacer's spi/netsec/i2c/exiu bindings and drivers in > > kernel are illegit too? > > Don't know which one you talk about. > Documentation/devicetree/bindings/ { i2c/socionext,synquacer-i2c.yaml interrupt-controller/socionext,synquacer-exiu.yaml net/socionext,synquacer-netsec.yaml spi/socionext,synquacer-spi.yaml } and corresponding code in drivers/ > > The synquacer dts/dtsi are in u-boot upstream. SR testsuite looks up > > Sure, can you point it? U-Boot upstream is a valid project. Just like > many other upstream ones. > Location of dts/dtsi in u-boot upstream is https://elixir.bootlin.com/u-boot/latest/source/arch/arm/dts see { synquacer-sc2a11-caches.dtsi synquacer-sc2a11.dtsi synquacer-sc2a11-developerbox-u-boot.dtsi synquacer-sc2a11-developerbox.dts } regards.
On 19/06/2023 21:17, Jassi Brar wrote: >>>>>> Can we fix them as well? >>>>>> >>>>> ?? >>>> What else I can say to such argument? >>>> >>> It was not an argument, I agreed to remove it. I just observed that >>> the nit-pick was arbitrary. >>> And frankly >>> "dt-bindings: arm: socionext: add Synquacer" is as misleading as >>> "dt-bindings: arm: socionext: add bindings for the Synquacer" is improper. >> >> "add Synquacer boards" >> it is both precise and correct. No misleading. >> > Ok. I am going to do that. Are you going to enforce this practice for > all submissions in future? How many cases can you find that I did not enforce it? That I provided a review and accepted other subject? It's nothing new... > > >>>> >>>> Bindings without user (so no DTSI and no driver)? Just few, not countless. >>>> >>> I disagree. But I don't have time to write a script to find >>> compatibles/enums and properties in yaml/txt files that are not in any >>> dts/dtsi file. >>> By that logic synquacer's spi/netsec/i2c/exiu bindings and drivers in >>> kernel are illegit too? >> >> Don't know which one you talk about. >> > Documentation/devicetree/bindings/ > { > i2c/socionext,synquacer-i2c.yaml There is a user. What do you want to prove with this one? > interrupt-controller/socionext,synquacer-exiu.yaml > net/socionext,synquacer-netsec.yaml > spi/socionext,synquacer-spi.yaml > } > and corresponding code in drivers/ > > >>> The synquacer dts/dtsi are in u-boot upstream. SR testsuite looks up >> >> Sure, can you point it? U-Boot upstream is a valid project. Just like >> many other upstream ones. >> > Location of dts/dtsi in u-boot upstream is > https://elixir.bootlin.com/u-boot/latest/source/arch/arm/dts Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
On Thu, Jun 15, 2023 at 10:58:13PM -0500, jaswinder.singh@linaro.org wrote: > From: Jassi Brar <jaswinder.singh@linaro.org> > > Socionext's DeveloperBox is based on the SC2A11B SoC (Synquacer). > Specify bindings for the platform and boards based on that. > > Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org> > --- > .../bindings/arm/socionext/synquacer.yaml | 28 +++++++++++++++++++ > 1 file changed, 28 insertions(+) > create mode 100644 Documentation/devicetree/bindings/arm/socionext/synquacer.yaml Should I pick this up or Socionext maintainers will?
On Tue, 20 Jun 2023 at 11:50, Rob Herring <robh@kernel.org> wrote: > > On Thu, Jun 15, 2023 at 10:58:13PM -0500, jaswinder.singh@linaro.org wrote: > > From: Jassi Brar <jaswinder.singh@linaro.org> > > > > Socionext's DeveloperBox is based on the SC2A11B SoC (Synquacer). > > Specify bindings for the platform and boards based on that. > > > > Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org> > > --- > > .../bindings/arm/socionext/synquacer.yaml | 28 +++++++++++++++++++ > > 1 file changed, 28 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/arm/socionext/synquacer.yaml > > Should I pick this up or Socionext maintainers will? > Please consider Patch-v2 that changes the subject line and specifies the SoC compatible 'sc2a11b' (Synquacer is the brand name). Thanks -jassi
diff --git a/Documentation/devicetree/bindings/arm/socionext/synquacer.yaml b/Documentation/devicetree/bindings/arm/socionext/synquacer.yaml new file mode 100644 index 000000000000..72554a4f1c92 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/socionext/synquacer.yaml @@ -0,0 +1,28 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/socionext/synquacer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Socionext Synquacer platform + +maintainers: + - Masahisa Kojima <masahisa.kojima@linaro.org> + - Jassi Brar <jaswinder.singh@linaro.org> + +description: + Socionext SC2A11B (Synquacer) SoC based boards + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - items: + - enum: + - socionext,developer-box + - const: socionext,synquacer + +additionalProperties: true + +...