Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4467980pxf; Tue, 16 Mar 2021 14:26:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYCW7uymzshOgNiE2uQawV3XkETkkn0eJNjEKErh44mvTj9TNnB6WadePLWUPf//0doEN9 X-Received: by 2002:a17:906:ad85:: with SMTP id la5mr31949069ejb.37.1615930015154; Tue, 16 Mar 2021 14:26:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615930015; cv=none; d=google.com; s=arc-20160816; b=tm6he+CmIU8KFugEWNndQDgGGJeLUFjzMQrlLncTKrZ8lnPiPTAVa9lReyFYCg9ijl mU6q3LSECPbv3Gwp8YlXnXU1rBvkekOZ/l2cQ4CRzenfsYQO1wCf97p6gnu8qfSsYPRg pGN/Tn73FRHIfxIF7ggqr0t2VY3baZKXUc7GPrWZSZ+e9shPvUjytjTQEPjrxl/qrtGl 2lyDTYOzh9p8zkVJTNNCcCFWEkqNO99aEjzjncqYYmo5tvyGpFQZOtqjZ3RAJFon+6PH zc1Chm0+ireUzOnDMotwKy+Daz80WfUmOhyB+9QjDE2M5jQIfU3H7PNGvwW8gT4Zs+LR WxRA== 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=ZRTIY2VRWaUelPcwzaEI0tDQLBHGGalGScH52QJUhXk=; b=jP+KB2m7oLDkLxh9+VzzP7B4H6Ah0AGu4PMtaepTfFMWatzQ4VrscO6cpBsih5FAxq 3c0VLSmPzGa7HA71fKPvq2r5DNNXlT6gxS0vBQWDzNfaq8z2tbFM3KHlkw37DvrEsKMv vb8gQqsnqXXF7RDiGJClp/oQ7caXtxy/PBbmKUIdVtdelspTEdB2AeXbt4Ip6rEwQBmg DQ56KDJ1cYxwaFqtqTmOMXnXC9A8DJxomsM/FVtxdJ1EaYN8inOqI1Il0qk/GIPIuB4c ikPE0kNTxOCZ0i81pxhYWCl2/am1EQ2enZwCUTpJT3f+cKiQ+LpdIw0r5laxmfc3tQw0 YVog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UqJNZek9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gr12si15019052ejb.306.2021.03.16.14.26.32; Tue, 16 Mar 2021 14:26:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UqJNZek9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S230026AbhCPUZB (ORCPT + 99 others); Tue, 16 Mar 2021 16:25:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229872AbhCPUY0 (ORCPT ); Tue, 16 Mar 2021 16:24:26 -0400 Received: from mail-qv1-xf32.google.com (mail-qv1-xf32.google.com [IPv6:2607:f8b0:4864:20::f32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2DFAEC06174A for ; Tue, 16 Mar 2021 13:24:25 -0700 (PDT) Received: by mail-qv1-xf32.google.com with SMTP id 30so297294qva.9 for ; Tue, 16 Mar 2021 13:24:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ZRTIY2VRWaUelPcwzaEI0tDQLBHGGalGScH52QJUhXk=; b=UqJNZek9soDpdnk00d4/dL9psTBxWTzV+tYeYFNDQYV0BKDytCNQ69MvwYN732RSDJ 9z/KIGy53AmOoKPh/ehQ3LYc6fS8xrLN5mdpgoys0n332oG4dSirW0dLZzdy2WTTTcEV ZksLlgxEY/ENzz448sa2tG7moPeAQI1bYgDymRLCqTn29J7rMMO5z2989rzOo1SRnZg3 Ip9JszE0RmHZ1V5hAd/teTQVOV0DdYlSFK1DTUgIiqdILWASdrjQ9XhdSCC7/S5HCPT0 5/eob51MuxaEANaot2r+fRJntylbb6jEhQdJeGxjBamauXisA9J2QGE+T5GkiWjaGI94 1QZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZRTIY2VRWaUelPcwzaEI0tDQLBHGGalGScH52QJUhXk=; b=Yek7OYYxHFBNn84bsDzNqki252buzR5iPo7f6tSIaqmSC2bgZfTbfWas2TAELpcpU6 32ynCvURTUfOyhklTrbvPBcU7/SUc3mBQ/1X9+uuQbq3BdtDuc2HFrYF+Sze5CZd0+Jt IjgalkEY9b0M3R3UwhidiwuKfc6sD4qJu6KfCpJz/MCN2viw6Yo7xfvdVjYsia/ATuQ/ XeJ7bXMfTfRm48Dxk/9xnwzq3+UY2G8iaGp6laN15m+GcVA9VA89OQMTsw1ifpYbEXgU GABZpSjPYq30Dv62LArsaQyLaFZIgQiUIs11oMUhKSoVRLcXFO6wPPYvfsoTMOIbpjl4 t7pg== X-Gm-Message-State: AOAM533uUwN3T7L04uUToybghblR0zQGE98TJwI1GFCDndxPJU3UhtDC aCP1kO09KBVFrdBuS+w3CEsuO7/B/2U5mJDTuAYB4w== X-Received: by 2002:a05:6214:1bcc:: with SMTP id m12mr1656197qvc.47.1615926264430; Tue, 16 Mar 2021 13:24:24 -0700 (PDT) MIME-Version: 1.0 References: <20210316194824.3526913-1-robh@kernel.org> In-Reply-To: <20210316194824.3526913-1-robh@kernel.org> From: Dmitry Baryshkov Date: Tue, 16 Mar 2021 23:24:13 +0300 Message-ID: Subject: Re: [PATCH] dt-bindings: More cleanup of standard unit properties To: Rob Herring Cc: "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list , Luca Ceresoli , Jonathan Cameron , Dmitry Torokhov , Bjorn Andersson , Zhang Rui , Daniel Lezcano , Linus Walleij , Kevin Tsai , Sebastian Reichel , Mark Brown , linux-iio@vger.kernel.org, linux-input@vger.kernel.org, linux-pm@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 16 Mar 2021 at 22:48, 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 > --- For the qcom-spmi-adc-tm5.yaml: Acked-by: Dmity Baryshkov > 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] > > -- > 2.27.0 > -- With best wishes Dmitry