From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5F35BC43461 for ; Tue, 11 May 2021 09:11:41 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 88A8761400 for ; Tue, 11 May 2021 09:11:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 88A8761400 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=Huawei.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id AC0481794; Tue, 11 May 2021 11:10:48 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz AC0481794 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1620724298; bh=1GXq2fJM7o2MW30aHNAmkRGqdRhv22Mr566UGJaEmP0=; h=Date:From:To:Subject:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=iGptoCDuesfdA5RbW+GMsLVdiOixzj3VrKkEnGuvLzfnu0Rhs9kXbVxjFYfxhCQWl Mil739lLPoqmrO+02+RHfOS+9/2Qq2t74O/6yslzmm0FLgIqUsK/XSwFy+W96InDT5 idWXyDRjMuR7x8jDBA5HdowntHSRmv7/+n3Rtz6g= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 51EECF804B0; Tue, 11 May 2021 11:08:28 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id C9845F80163; Tue, 11 May 2021 09:52:38 +0200 (CEST) Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 68177F80129 for ; Tue, 11 May 2021 09:52:26 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 68177F80129 Received: from fraeml704-chm.china.huawei.com (unknown [172.18.147.207]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4FfVNg53Pnz6wm4T; Tue, 11 May 2021 15:46:27 +0800 (CST) Received: from lhreml710-chm.china.huawei.com (10.201.108.61) by fraeml704-chm.china.huawei.com (10.206.15.53) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Tue, 11 May 2021 09:52:24 +0200 Received: from localhost (10.52.125.126) by lhreml710-chm.china.huawei.com (10.201.108.61) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Tue, 11 May 2021 08:52:23 +0100 Date: Tue, 11 May 2021 08:50:41 +0100 From: Jonathan Cameron To: Rob Herring Subject: Re: [PATCH] dt-bindings: More removals of type references on common properties Message-ID: <20210511085041.00000d39@Huawei.com> In-Reply-To: <20210510204524.617390-1-robh@kernel.org> References: <20210510204524.617390-1-robh@kernel.org> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; i686-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.52.125.126] X-ClientProxiedBy: lhreml730-chm.china.huawei.com (10.201.108.81) To lhreml710-chm.china.huawei.com (10.201.108.61) X-CFilter-Loop: Reflected X-Mailman-Approved-At: Tue, 11 May 2021 11:08:23 +0200 Cc: alsa-devel@alsa-project.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Lars-Peter Clausen , Chunyan Zhang , Olivier Moysan , linux-input@vger.kernel.org, Jakub Kicinski , Arnaud Pouliquen , devicetree@vger.kernel.org, Odelu Kukatla , linux-pm@vger.kernel.org, Luca Ceresoli , Mark Brown , Orson Zhai , Fabrice Gasnier , linux-arm-kernel@lists.infradead.org, Alex Elder , Stephen Boyd , netdev@vger.kernel.org, Shengjiu Wang , Dmitry Torokhov , Liam Girdwood , Bjorn Andersson , Sebastian Reichel , Baolin Wang , Georgi Djakov , "David S. Miller" , Jonathan Cameron X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Mon, 10 May 2021 15:45:24 -0500 Rob Herring wrote: > Users of common properties shouldn't have a type definition as the > common schemas already have one. A few new ones slipped in and > *-names was missed in the last clean-up pass. Drop all the unnecessary > type references in the tree. > > A meta-schema update to catch these is pending. > > Cc: Luca Ceresoli > Cc: Stephen Boyd > Cc: Olivier Moysan > Cc: Arnaud Pouliquen > Cc: Jonathan Cameron > Cc: Lars-Peter Clausen > Cc: Dmitry Torokhov > Cc: Bjorn Andersson > Cc: Georgi Djakov > Cc: "David S. Miller" > Cc: Jakub Kicinski > Cc: Sebastian Reichel > Cc: Orson Zhai > Cc: Baolin Wang > Cc: Chunyan Zhang > Cc: Liam Girdwood > Cc: Mark Brown > Cc: Fabrice Gasnier > Cc: Odelu Kukatla > Cc: Alex Elder > Cc: Shengjiu Wang > Cc: linux-clk@vger.kernel.org > Cc: alsa-devel@alsa-project.org > Cc: linux-iio@vger.kernel.org > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-input@vger.kernel.org > Cc: linux-pm@vger.kernel.org > Cc: netdev@vger.kernel.org > Signed-off-by: Rob Herring Acked-by: Jonathan Cameron > --- > Documentation/devicetree/bindings/clock/idt,versaclock5.yaml | 2 -- > .../devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml | 1 - > Documentation/devicetree/bindings/input/input.yaml | 1 - > Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml | 1 - > Documentation/devicetree/bindings/net/qcom,ipa.yaml | 1 - > .../devicetree/bindings/power/supply/sc2731-charger.yaml | 2 +- > Documentation/devicetree/bindings/sound/fsl,rpmsg.yaml | 2 +- > 7 files changed, 2 insertions(+), 8 deletions(-) > > diff --git a/Documentation/devicetree/bindings/clock/idt,versaclock5.yaml b/Documentation/devicetree/bindings/clock/idt,versaclock5.yaml > index c268debe5b8d..28675b0b80f1 100644 > --- a/Documentation/devicetree/bindings/clock/idt,versaclock5.yaml > +++ b/Documentation/devicetree/bindings/clock/idt,versaclock5.yaml > @@ -60,7 +60,6 @@ properties: > maxItems: 2 > > idt,xtal-load-femtofarads: > - $ref: /schemas/types.yaml#/definitions/uint32 > minimum: 9000 > maximum: 22760 > description: Optional load capacitor for XTAL1 and XTAL2 > @@ -84,7 +83,6 @@ patternProperties: > enum: [ 1800000, 2500000, 3300000 ] > idt,slew-percent: > description: The Slew rate control for CMOS single-ended. > - $ref: /schemas/types.yaml#/definitions/uint32 > enum: [ 80, 85, 90, 100 ] > > required: > diff --git a/Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml b/Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml > index 6f2398cdc82d..1e7894e524f9 100644 > --- a/Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml > +++ b/Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml > @@ -102,7 +102,6 @@ patternProperties: > > st,adc-channel-names: > description: List of single-ended channel names. > - $ref: /schemas/types.yaml#/definitions/string-array > > st,filter-order: > description: | > diff --git a/Documentation/devicetree/bindings/input/input.yaml b/Documentation/devicetree/bindings/input/input.yaml > index 74244d21d2b3..d41d8743aad4 100644 > --- a/Documentation/devicetree/bindings/input/input.yaml > +++ b/Documentation/devicetree/bindings/input/input.yaml > @@ -38,6 +38,5 @@ properties: > Duration in seconds which the key should be kept pressed for device to > reset automatically. Device with key pressed reset feature can specify > this property. > - $ref: /schemas/types.yaml#/definitions/uint32 > > additionalProperties: true > diff --git a/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml b/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml > index cb6498108b78..36c955965d90 100644 > --- a/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml > +++ b/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml > @@ -92,7 +92,6 @@ properties: > this interconnect to send RPMh commands. > > qcom,bcm-voter-names: > - $ref: /schemas/types.yaml#/definitions/string-array > description: | > Names for each of the qcom,bcm-voters specified. > > diff --git a/Documentation/devicetree/bindings/net/qcom,ipa.yaml b/Documentation/devicetree/bindings/net/qcom,ipa.yaml > index 7443490d4cc6..5fe6d3dceb08 100644 > --- a/Documentation/devicetree/bindings/net/qcom,ipa.yaml > +++ b/Documentation/devicetree/bindings/net/qcom,ipa.yaml > @@ -105,7 +105,6 @@ properties: > - description: Whether the IPA clock is enabled (if valid) > > qcom,smem-state-names: > - $ref: /schemas/types.yaml#/definitions/string-array > description: The names of the state bits used for SMP2P output > items: > - const: ipa-clock-enabled-valid > diff --git a/Documentation/devicetree/bindings/power/supply/sc2731-charger.yaml b/Documentation/devicetree/bindings/power/supply/sc2731-charger.yaml > index db1aa238cda5..b62c2431f94e 100644 > --- a/Documentation/devicetree/bindings/power/supply/sc2731-charger.yaml > +++ b/Documentation/devicetree/bindings/power/supply/sc2731-charger.yaml > @@ -20,7 +20,7 @@ properties: > maxItems: 1 > > phys: > - $ref: /schemas/types.yaml#/definitions/phandle > + maxItems: 1 > description: phandle to the USB phy > > monitored-battery: > diff --git a/Documentation/devicetree/bindings/sound/fsl,rpmsg.yaml b/Documentation/devicetree/bindings/sound/fsl,rpmsg.yaml > index b4c190bddd84..61802a11baf4 100644 > --- a/Documentation/devicetree/bindings/sound/fsl,rpmsg.yaml > +++ b/Documentation/devicetree/bindings/sound/fsl,rpmsg.yaml > @@ -49,7 +49,7 @@ properties: > maxItems: 1 > > memory-region: > - $ref: /schemas/types.yaml#/definitions/phandle > + maxItems: 1 > description: > phandle to a node describing reserved memory (System RAM memory) > The M core can't access all the DDR memory space on some platform, From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8ECB4C433B4 for ; Tue, 11 May 2021 07:52:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5116C6192C for ; Tue, 11 May 2021 07:52:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229995AbhEKHxg (ORCPT ); Tue, 11 May 2021 03:53:36 -0400 Received: from frasgout.his.huawei.com ([185.176.79.56]:3059 "EHLO frasgout.his.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229917AbhEKHxd (ORCPT ); Tue, 11 May 2021 03:53:33 -0400 Received: from fraeml704-chm.china.huawei.com (unknown [172.18.147.207]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4FfVNg53Pnz6wm4T; Tue, 11 May 2021 15:46:27 +0800 (CST) Received: from lhreml710-chm.china.huawei.com (10.201.108.61) by fraeml704-chm.china.huawei.com (10.206.15.53) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Tue, 11 May 2021 09:52:24 +0200 Received: from localhost (10.52.125.126) by lhreml710-chm.china.huawei.com (10.201.108.61) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Tue, 11 May 2021 08:52:23 +0100 Date: Tue, 11 May 2021 08:50:41 +0100 From: Jonathan Cameron To: Rob Herring CC: , , "Luca Ceresoli" , Stephen Boyd , "Olivier Moysan" , Arnaud Pouliquen , Jonathan Cameron , Lars-Peter Clausen , Dmitry Torokhov , Bjorn Andersson , Georgi Djakov , "David S. Miller" , Jakub Kicinski , Sebastian Reichel , "Orson Zhai" , Baolin Wang , "Chunyan Zhang" , Liam Girdwood , Mark Brown , Fabrice Gasnier , Odelu Kukatla , Alex Elder , Shengjiu Wang , , , , , , , Subject: Re: [PATCH] dt-bindings: More removals of type references on common properties Message-ID: <20210511085041.00000d39@Huawei.com> In-Reply-To: <20210510204524.617390-1-robh@kernel.org> References: <20210510204524.617390-1-robh@kernel.org> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; i686-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.52.125.126] X-ClientProxiedBy: lhreml730-chm.china.huawei.com (10.201.108.81) To lhreml710-chm.china.huawei.com (10.201.108.61) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org On Mon, 10 May 2021 15:45:24 -0500 Rob Herring wrote: > Users of common properties shouldn't have a type definition as the > common schemas already have one. A few new ones slipped in and > *-names was missed in the last clean-up pass. Drop all the unnecessary > type references in the tree. > > A meta-schema update to catch these is pending. > > Cc: Luca Ceresoli > Cc: Stephen Boyd > Cc: Olivier Moysan > Cc: Arnaud Pouliquen > Cc: Jonathan Cameron > Cc: Lars-Peter Clausen > Cc: Dmitry Torokhov > Cc: Bjorn Andersson > Cc: Georgi Djakov > Cc: "David S. Miller" > Cc: Jakub Kicinski > Cc: Sebastian Reichel > Cc: Orson Zhai > Cc: Baolin Wang > Cc: Chunyan Zhang > Cc: Liam Girdwood > Cc: Mark Brown > Cc: Fabrice Gasnier > Cc: Odelu Kukatla > Cc: Alex Elder > Cc: Shengjiu Wang > Cc: linux-clk@vger.kernel.org > Cc: alsa-devel@alsa-project.org > Cc: linux-iio@vger.kernel.org > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-input@vger.kernel.org > Cc: linux-pm@vger.kernel.org > Cc: netdev@vger.kernel.org > Signed-off-by: Rob Herring Acked-by: Jonathan Cameron > --- > Documentation/devicetree/bindings/clock/idt,versaclock5.yaml | 2 -- > .../devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml | 1 - > Documentation/devicetree/bindings/input/input.yaml | 1 - > Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml | 1 - > Documentation/devicetree/bindings/net/qcom,ipa.yaml | 1 - > .../devicetree/bindings/power/supply/sc2731-charger.yaml | 2 +- > Documentation/devicetree/bindings/sound/fsl,rpmsg.yaml | 2 +- > 7 files changed, 2 insertions(+), 8 deletions(-) > > diff --git a/Documentation/devicetree/bindings/clock/idt,versaclock5.yaml b/Documentation/devicetree/bindings/clock/idt,versaclock5.yaml > index c268debe5b8d..28675b0b80f1 100644 > --- a/Documentation/devicetree/bindings/clock/idt,versaclock5.yaml > +++ b/Documentation/devicetree/bindings/clock/idt,versaclock5.yaml > @@ -60,7 +60,6 @@ properties: > maxItems: 2 > > idt,xtal-load-femtofarads: > - $ref: /schemas/types.yaml#/definitions/uint32 > minimum: 9000 > maximum: 22760 > description: Optional load capacitor for XTAL1 and XTAL2 > @@ -84,7 +83,6 @@ patternProperties: > enum: [ 1800000, 2500000, 3300000 ] > idt,slew-percent: > description: The Slew rate control for CMOS single-ended. > - $ref: /schemas/types.yaml#/definitions/uint32 > enum: [ 80, 85, 90, 100 ] > > required: > diff --git a/Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml b/Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml > index 6f2398cdc82d..1e7894e524f9 100644 > --- a/Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml > +++ b/Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml > @@ -102,7 +102,6 @@ patternProperties: > > st,adc-channel-names: > description: List of single-ended channel names. > - $ref: /schemas/types.yaml#/definitions/string-array > > st,filter-order: > description: | > diff --git a/Documentation/devicetree/bindings/input/input.yaml b/Documentation/devicetree/bindings/input/input.yaml > index 74244d21d2b3..d41d8743aad4 100644 > --- a/Documentation/devicetree/bindings/input/input.yaml > +++ b/Documentation/devicetree/bindings/input/input.yaml > @@ -38,6 +38,5 @@ properties: > Duration in seconds which the key should be kept pressed for device to > reset automatically. Device with key pressed reset feature can specify > this property. > - $ref: /schemas/types.yaml#/definitions/uint32 > > additionalProperties: true > diff --git a/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml b/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml > index cb6498108b78..36c955965d90 100644 > --- a/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml > +++ b/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml > @@ -92,7 +92,6 @@ properties: > this interconnect to send RPMh commands. > > qcom,bcm-voter-names: > - $ref: /schemas/types.yaml#/definitions/string-array > description: | > Names for each of the qcom,bcm-voters specified. > > diff --git a/Documentation/devicetree/bindings/net/qcom,ipa.yaml b/Documentation/devicetree/bindings/net/qcom,ipa.yaml > index 7443490d4cc6..5fe6d3dceb08 100644 > --- a/Documentation/devicetree/bindings/net/qcom,ipa.yaml > +++ b/Documentation/devicetree/bindings/net/qcom,ipa.yaml > @@ -105,7 +105,6 @@ properties: > - description: Whether the IPA clock is enabled (if valid) > > qcom,smem-state-names: > - $ref: /schemas/types.yaml#/definitions/string-array > description: The names of the state bits used for SMP2P output > items: > - const: ipa-clock-enabled-valid > diff --git a/Documentation/devicetree/bindings/power/supply/sc2731-charger.yaml b/Documentation/devicetree/bindings/power/supply/sc2731-charger.yaml > index db1aa238cda5..b62c2431f94e 100644 > --- a/Documentation/devicetree/bindings/power/supply/sc2731-charger.yaml > +++ b/Documentation/devicetree/bindings/power/supply/sc2731-charger.yaml > @@ -20,7 +20,7 @@ properties: > maxItems: 1 > > phys: > - $ref: /schemas/types.yaml#/definitions/phandle > + maxItems: 1 > description: phandle to the USB phy > > monitored-battery: > diff --git a/Documentation/devicetree/bindings/sound/fsl,rpmsg.yaml b/Documentation/devicetree/bindings/sound/fsl,rpmsg.yaml > index b4c190bddd84..61802a11baf4 100644 > --- a/Documentation/devicetree/bindings/sound/fsl,rpmsg.yaml > +++ b/Documentation/devicetree/bindings/sound/fsl,rpmsg.yaml > @@ -49,7 +49,7 @@ properties: > maxItems: 1 > > memory-region: > - $ref: /schemas/types.yaml#/definitions/phandle > + maxItems: 1 > description: > phandle to a node describing reserved memory (System RAM memory) > The M core can't access all the DDR memory space on some platform, From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_2 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 870FDC433B4 for ; Tue, 11 May 2021 11:57:40 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EC29E613BC for ; Tue, 11 May 2021 11:57:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EC29E613BC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=Huawei.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-ID: Subject:CC:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=JB0m3KuDWRwLFC+c6zkMGYapFSf0yho3KCxZp8VCW6w=; b=QHhEzqmNxDQ70YYPthL23UUCv 5Tg/DjUwSMmQ+us7JXzn2aGXp3T+Op45k2+jI/s34wS3xW4pNl0LmKvmVo6RaAPJ7SrT8FM8qo9X1 PPaOYi3MJHmHxeyATGS886I3K0hq4vgCe3LMW37OO2rjyPiLa8mwJTCa5ATS6N7MS6qKMxsnsaiJf fWXhI7BtZd5rTZH+WEOIf1+qwdrhz2yqex+TeM1FaXE1RxB5r16JrClpxZnC4jS5HeAq2fTd1C6f3 oYqdocGU3ok0umZiO1oja1i/zztpqMi6DRuCQY2734+R1nKLg98TnjZAmVRudrHVhNdAN8e+/eFU5 ZLNrNgHqQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lgQzq-00HFKb-KM; Tue, 11 May 2021 11:56:19 +0000 Received: from [2607:7c80:54:e::133] (helo=bombadil.infradead.org) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lgNC5-00GXyL-F0 for linux-arm-kernel@desiato.infradead.org; Tue, 11 May 2021 07:52:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:CC:To: From:Date:Sender:Reply-To:Content-ID:Content-Description; bh=wJy0lNa3mVn9x3GMsVJJUSmRTMFGckEhxthqYbaHnak=; b=WuNazXrzBboioamNGr5zf93ycP +ocvkrpiJk4IgTbDXTtO6yzDfvFoPtHwdp/Cevo+iqgqRswnbPom/WQsDZq9zL6XP+07dfSToofam AR+NDBQtzrTsQTBnN7stQg5KWw29wu5oBY9uvoA/o9G/5YsmZkC5KDdAmjvXl8NoPB8RQ4tBrEfWw wCMSr8lBqJeqmBvqgIi6nCjjhVPaRSamAfHHatTjCLYK2kK+NZ3WWVOefm/HBqQe67Eply88w9UEj UUsvfQ72j2kcggLEaIgSzuyj5QlZtK0Pqf8yqNkLSsiq0zGlG3znEtmyF+c/YHL+Ebkfd75KHAiM6 R9/UKToA==; Received: from frasgout.his.huawei.com ([185.176.79.56]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lgNBt-009NHu-E5 for linux-arm-kernel@lists.infradead.org; Tue, 11 May 2021 07:52:31 +0000 Received: from fraeml704-chm.china.huawei.com (unknown [172.18.147.207]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4FfVNg53Pnz6wm4T; Tue, 11 May 2021 15:46:27 +0800 (CST) Received: from lhreml710-chm.china.huawei.com (10.201.108.61) by fraeml704-chm.china.huawei.com (10.206.15.53) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Tue, 11 May 2021 09:52:24 +0200 Received: from localhost (10.52.125.126) by lhreml710-chm.china.huawei.com (10.201.108.61) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Tue, 11 May 2021 08:52:23 +0100 Date: Tue, 11 May 2021 08:50:41 +0100 From: Jonathan Cameron To: Rob Herring CC: , , "Luca Ceresoli" , Stephen Boyd , "Olivier Moysan" , Arnaud Pouliquen , Jonathan Cameron , Lars-Peter Clausen , Dmitry Torokhov , Bjorn Andersson , Georgi Djakov , "David S. Miller" , Jakub Kicinski , Sebastian Reichel , "Orson Zhai" , Baolin Wang , "Chunyan Zhang" , Liam Girdwood , Mark Brown , Fabrice Gasnier , Odelu Kukatla , Alex Elder , Shengjiu Wang , , , , , , , Subject: Re: [PATCH] dt-bindings: More removals of type references on common properties Message-ID: <20210511085041.00000d39@Huawei.com> In-Reply-To: <20210510204524.617390-1-robh@kernel.org> References: <20210510204524.617390-1-robh@kernel.org> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; i686-w64-mingw32) MIME-Version: 1.0 X-Originating-IP: [10.52.125.126] X-ClientProxiedBy: lhreml730-chm.china.huawei.com (10.201.108.81) To lhreml710-chm.china.huawei.com (10.201.108.61) X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210511_005229_809382_A803C933 X-CRM114-Status: GOOD ( 21.24 ) /bin/ln: failed to access 'reaver_cache/texts/20210511_005229_809382_A803C933': No such file or directory X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210511_005229_809382_A803C933 X-CRM114-Status: GOOD ( 16.01 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 10 May 2021 15:45:24 -0500 Rob Herring wrote: > Users of common properties shouldn't have a type definition as the > common schemas already have one. A few new ones slipped in and > *-names was missed in the last clean-up pass. Drop all the unnecessary > type references in the tree. > > A meta-schema update to catch these is pending. > > Cc: Luca Ceresoli > Cc: Stephen Boyd > Cc: Olivier Moysan > Cc: Arnaud Pouliquen > Cc: Jonathan Cameron > Cc: Lars-Peter Clausen > Cc: Dmitry Torokhov > Cc: Bjorn Andersson > Cc: Georgi Djakov > Cc: "David S. Miller" > Cc: Jakub Kicinski > Cc: Sebastian Reichel > Cc: Orson Zhai > Cc: Baolin Wang > Cc: Chunyan Zhang > Cc: Liam Girdwood > Cc: Mark Brown > Cc: Fabrice Gasnier > Cc: Odelu Kukatla > Cc: Alex Elder > Cc: Shengjiu Wang > Cc: linux-clk@vger.kernel.org > Cc: alsa-devel@alsa-project.org > Cc: linux-iio@vger.kernel.org > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-input@vger.kernel.org > Cc: linux-pm@vger.kernel.org > Cc: netdev@vger.kernel.org > Signed-off-by: Rob Herring Acked-by: Jonathan Cameron > --- > Documentation/devicetree/bindings/clock/idt,versaclock5.yaml | 2 -- > .../devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml | 1 - > Documentation/devicetree/bindings/input/input.yaml | 1 - > Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml | 1 - > Documentation/devicetree/bindings/net/qcom,ipa.yaml | 1 - > .../devicetree/bindings/power/supply/sc2731-charger.yaml | 2 +- > Documentation/devicetree/bindings/sound/fsl,rpmsg.yaml | 2 +- > 7 files changed, 2 insertions(+), 8 deletions(-) > > diff --git a/Documentation/devicetree/bindings/clock/idt,versaclock5.yaml b/Documentation/devicetree/bindings/clock/idt,versaclock5.yaml > index c268debe5b8d..28675b0b80f1 100644 > --- a/Documentation/devicetree/bindings/clock/idt,versaclock5.yaml > +++ b/Documentation/devicetree/bindings/clock/idt,versaclock5.yaml > @@ -60,7 +60,6 @@ properties: > maxItems: 2 > > idt,xtal-load-femtofarads: > - $ref: /schemas/types.yaml#/definitions/uint32 > minimum: 9000 > maximum: 22760 > description: Optional load capacitor for XTAL1 and XTAL2 > @@ -84,7 +83,6 @@ patternProperties: > enum: [ 1800000, 2500000, 3300000 ] > idt,slew-percent: > description: The Slew rate control for CMOS single-ended. > - $ref: /schemas/types.yaml#/definitions/uint32 > enum: [ 80, 85, 90, 100 ] > > required: > diff --git a/Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml b/Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml > index 6f2398cdc82d..1e7894e524f9 100644 > --- a/Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml > +++ b/Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml > @@ -102,7 +102,6 @@ patternProperties: > > st,adc-channel-names: > description: List of single-ended channel names. > - $ref: /schemas/types.yaml#/definitions/string-array > > st,filter-order: > description: | > diff --git a/Documentation/devicetree/bindings/input/input.yaml b/Documentation/devicetree/bindings/input/input.yaml > index 74244d21d2b3..d41d8743aad4 100644 > --- a/Documentation/devicetree/bindings/input/input.yaml > +++ b/Documentation/devicetree/bindings/input/input.yaml > @@ -38,6 +38,5 @@ properties: > Duration in seconds which the key should be kept pressed for device to > reset automatically. Device with key pressed reset feature can specify > this property. > - $ref: /schemas/types.yaml#/definitions/uint32 > > additionalProperties: true > diff --git a/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml b/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml > index cb6498108b78..36c955965d90 100644 > --- a/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml > +++ b/Documentation/devicetree/bindings/interconnect/qcom,rpmh.yaml > @@ -92,7 +92,6 @@ properties: > this interconnect to send RPMh commands. > > qcom,bcm-voter-names: > - $ref: /schemas/types.yaml#/definitions/string-array > description: | > Names for each of the qcom,bcm-voters specified. > > diff --git a/Documentation/devicetree/bindings/net/qcom,ipa.yaml b/Documentation/devicetree/bindings/net/qcom,ipa.yaml > index 7443490d4cc6..5fe6d3dceb08 100644 > --- a/Documentation/devicetree/bindings/net/qcom,ipa.yaml > +++ b/Documentation/devicetree/bindings/net/qcom,ipa.yaml > @@ -105,7 +105,6 @@ properties: > - description: Whether the IPA clock is enabled (if valid) > > qcom,smem-state-names: > - $ref: /schemas/types.yaml#/definitions/string-array > description: The names of the state bits used for SMP2P output > items: > - const: ipa-clock-enabled-valid > diff --git a/Documentation/devicetree/bindings/power/supply/sc2731-charger.yaml b/Documentation/devicetree/bindings/power/supply/sc2731-charger.yaml > index db1aa238cda5..b62c2431f94e 100644 > --- a/Documentation/devicetree/bindings/power/supply/sc2731-charger.yaml > +++ b/Documentation/devicetree/bindings/power/supply/sc2731-charger.yaml > @@ -20,7 +20,7 @@ properties: > maxItems: 1 > > phys: > - $ref: /schemas/types.yaml#/definitions/phandle > + maxItems: 1 > description: phandle to the USB phy > > monitored-battery: > diff --git a/Documentation/devicetree/bindings/sound/fsl,rpmsg.yaml b/Documentation/devicetree/bindings/sound/fsl,rpmsg.yaml > index b4c190bddd84..61802a11baf4 100644 > --- a/Documentation/devicetree/bindings/sound/fsl,rpmsg.yaml > +++ b/Documentation/devicetree/bindings/sound/fsl,rpmsg.yaml > @@ -49,7 +49,7 @@ properties: > maxItems: 1 > > memory-region: > - $ref: /schemas/types.yaml#/definitions/phandle > + maxItems: 1 > description: > phandle to a node describing reserved memory (System RAM memory) > The M core can't access all the DDR memory space on some platform, _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel