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.5 required=3.0 tests=BAYES_00,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 1C256C433E0 for ; Sat, 20 Mar 2021 13:52:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D7BBA61969 for ; Sat, 20 Mar 2021 13:52:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229767AbhCTNvk (ORCPT ); Sat, 20 Mar 2021 09:51:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:44930 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229585AbhCTNvK (ORCPT ); Sat, 20 Mar 2021 09:51:10 -0400 Received: from jic23-huawei (cpc108967-cmbg20-2-0-cust86.5-4.cable.virginm.net [81.101.6.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5167C6193F; Sat, 20 Mar 2021 13:51:05 +0000 (UTC) Date: Sat, 20 Mar 2021 13:51:01 +0000 From: Jonathan Cameron To: Rob Herring Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Ceresoli , Dmitry Torokhov , Bjorn Andersson , Zhang Rui , Daniel Lezcano , Linus Walleij , Kevin Tsai , Dmitry Baryshkov , Sebastian Reichel , Mark Brown , linux-iio@vger.kernel.org, linux-input@vger.kernel.org, linux-pm@vger.kernel.org Subject: Re: [PATCH] dt-bindings: More cleanup of standard unit properties Message-ID: <20210320135101.64c5c4e1@jic23-huawei> In-Reply-To: <20210316194824.3526913-1-robh@kernel.org> References: <20210316194824.3526913-1-robh@kernel.org> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 16 Mar 2021 13:48:24 -0600 Rob Herring wrote: > Properties with standard unit suffixes already have a type and don't need > type references. Fix a few more cases which have gotten added. > > Cc: Luca Ceresoli > Cc: Jonathan Cameron > Cc: Dmitry Torokhov > Cc: Bjorn Andersson > Cc: Zhang Rui > Cc: Daniel Lezcano > Cc: Linus Walleij > Cc: Kevin Tsai > Cc: Dmitry Baryshkov > Cc: Sebastian Reichel > Cc: Mark Brown > Cc: linux-iio@vger.kernel.org > Cc: linux-input@vger.kernel.org > Cc: linux-pm@vger.kernel.org > Signed-off-by: Rob Herring Acked-by: Jonathan Cameron > --- > Documentation/devicetree/bindings/iio/light/capella,cm3605.yaml | 1 - > Documentation/devicetree/bindings/input/input.yaml | 1 - > Documentation/devicetree/bindings/power/supply/bq256xx.yaml | 1 - > Documentation/devicetree/bindings/power/supply/ltc4162-l.yaml | 2 -- > .../devicetree/bindings/regulator/qcom-labibb-regulator.yaml | 1 - > .../devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml | 1 - > 6 files changed, 7 deletions(-) > > diff --git a/Documentation/devicetree/bindings/iio/light/capella,cm3605.yaml b/Documentation/devicetree/bindings/iio/light/capella,cm3605.yaml > index 27972938b60d..c63b79c3351b 100644 > --- a/Documentation/devicetree/bindings/iio/light/capella,cm3605.yaml > +++ b/Documentation/devicetree/bindings/iio/light/capella,cm3605.yaml > @@ -48,7 +48,6 @@ properties: > vdd-supply: true > > capella,aset-resistance-ohms: > - $ref: /schemas/types.yaml#/definitions/uint32 > enum: [50000, 100000, 300000, 600000] > description: > > Sensitivity calibration resistance. Note that calibration curves > diff --git a/Documentation/devicetree/bindings/input/input.yaml b/Documentation/devicetree/bindings/input/input.yaml > index ab407f266bef..3fc37478c0c0 100644 > --- a/Documentation/devicetree/bindings/input/input.yaml > +++ b/Documentation/devicetree/bindings/input/input.yaml > @@ -32,6 +32,5 @@ properties: > Duration in seconds which the key should be kept pressed for device to > power off automatically. Device with key pressed shutdown feature can > specify this property. > - $ref: /schemas/types.yaml#/definitions/uint32 > > additionalProperties: true > diff --git a/Documentation/devicetree/bindings/power/supply/bq256xx.yaml b/Documentation/devicetree/bindings/power/supply/bq256xx.yaml > index 18b54783e11a..92ec7ed25668 100644 > --- a/Documentation/devicetree/bindings/power/supply/bq256xx.yaml > +++ b/Documentation/devicetree/bindings/power/supply/bq256xx.yaml > @@ -39,7 +39,6 @@ properties: > maxItems: 1 > > ti,watchdog-timeout-ms: > - $ref: /schemas/types.yaml#/definitions/uint32 > default: 0 > description: | > Watchdog timer in ms. 0 (default) disables the watchdog > diff --git a/Documentation/devicetree/bindings/power/supply/ltc4162-l.yaml b/Documentation/devicetree/bindings/power/supply/ltc4162-l.yaml > index 1f88c9e013f4..6d7aa97a6475 100644 > --- a/Documentation/devicetree/bindings/power/supply/ltc4162-l.yaml > +++ b/Documentation/devicetree/bindings/power/supply/ltc4162-l.yaml > @@ -29,12 +29,10 @@ properties: > description: I2C address of the charger. > > lltc,rsnsb-micro-ohms: > - $ref: /schemas/types.yaml#/definitions/uint32 > description: Battery sense resistor in microohm. > minimum: 1000 > > lltc,rsnsi-micro-ohms: > - $ref: /schemas/types.yaml#/definitions/uint32 > description: Input current sense resistor in microohm. > minimum: 1000 > > diff --git a/Documentation/devicetree/bindings/regulator/qcom-labibb-regulator.yaml b/Documentation/devicetree/bindings/regulator/qcom-labibb-regulator.yaml > index cf784bd1f5e5..1ddc1efd19e2 100644 > --- a/Documentation/devicetree/bindings/regulator/qcom-labibb-regulator.yaml > +++ b/Documentation/devicetree/bindings/regulator/qcom-labibb-regulator.yaml > @@ -23,7 +23,6 @@ properties: > > properties: > qcom,soft-start-us: > - $ref: /schemas/types.yaml#/definitions/uint32 > description: Regulator soft start time in microseconds. > enum: [200, 400, 600, 800] > default: 200 > diff --git a/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml b/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml > index 7cd364430573..95a728f4d333 100644 > --- a/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml > +++ b/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml > @@ -78,7 +78,6 @@ patternProperties: > also known as absolute calibration. > > qcom,hw-settle-time-us: > - $ref: /schemas/types.yaml#/definitions/uint32 > description: Time between AMUX getting configured and the ADC starting conversion. > enum: [15, 100, 200, 300, 400, 500, 600, 700, 1000, 2000, 4000, 8000, 16000, 32000, 64000, 128000] >