* [PATCH] dt-bindings: More cleanup of standard unit properties
@ 2021-03-16 19:48 Rob Herring
2021-03-16 20:24 ` Dmitry Baryshkov
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: Rob Herring @ 2021-03-16 19:48 UTC (permalink / raw)
To: devicetree
Cc: linux-kernel, Luca Ceresoli, Jonathan Cameron, Dmitry Torokhov,
Bjorn Andersson, Zhang Rui, Daniel Lezcano, Linus Walleij,
Kevin Tsai, Dmitry Baryshkov, Sebastian Reichel, Mark Brown,
linux-iio, linux-input, linux-pm
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 <luca@lucaceresoli.net>
Cc: Jonathan Cameron <jic23@kernel.org>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Kevin Tsai <ktsai@capellamicro.com>
Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Cc: Sebastian Reichel <sre@kernel.org>
Cc: Mark Brown <broonie@kernel.org>
Cc: linux-iio@vger.kernel.org
Cc: linux-input@vger.kernel.org
Cc: linux-pm@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
---
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
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] dt-bindings: More cleanup of standard unit properties
2021-03-16 19:48 [PATCH] dt-bindings: More cleanup of standard unit properties Rob Herring
@ 2021-03-16 20:24 ` Dmitry Baryshkov
2021-03-16 20:51 ` Mark Brown
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Dmitry Baryshkov @ 2021-03-16 20:24 UTC (permalink / raw)
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,
linux-input, linux-pm
On Tue, 16 Mar 2021 at 22:48, Rob Herring <robh@kernel.org> 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 <luca@lucaceresoli.net>
> Cc: Jonathan Cameron <jic23@kernel.org>
> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
> Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
> Cc: Zhang Rui <rui.zhang@intel.com>
> Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
> Cc: Linus Walleij <linus.walleij@linaro.org>
> Cc: Kevin Tsai <ktsai@capellamicro.com>
> Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> Cc: Sebastian Reichel <sre@kernel.org>
> Cc: Mark Brown <broonie@kernel.org>
> Cc: linux-iio@vger.kernel.org
> Cc: linux-input@vger.kernel.org
> Cc: linux-pm@vger.kernel.org
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
For the qcom-spmi-adc-tm5.yaml:
Acked-by: Dmity Baryshkov <dmitry.baryshkov@linaro.org>
> 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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] dt-bindings: More cleanup of standard unit properties
2021-03-16 19:48 [PATCH] dt-bindings: More cleanup of standard unit properties Rob Herring
2021-03-16 20:24 ` Dmitry Baryshkov
@ 2021-03-16 20:51 ` Mark Brown
2021-03-16 21:31 ` Luca Ceresoli
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Mark Brown @ 2021-03-16 20:51 UTC (permalink / raw)
To: Rob Herring
Cc: devicetree, linux-kernel, Luca Ceresoli, Jonathan Cameron,
Dmitry Torokhov, Bjorn Andersson, Zhang Rui, Daniel Lezcano,
Linus Walleij, Kevin Tsai, Dmitry Baryshkov, Sebastian Reichel,
linux-iio, linux-input, linux-pm
[-- Attachment #1: Type: text/plain, Size: 245 bytes --]
On Tue, Mar 16, 2021 at 01:48:24PM -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.
Acked-by: Mark Brown <broonie@kernel.org>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] dt-bindings: More cleanup of standard unit properties
2021-03-16 19:48 [PATCH] dt-bindings: More cleanup of standard unit properties Rob Herring
2021-03-16 20:24 ` Dmitry Baryshkov
2021-03-16 20:51 ` Mark Brown
@ 2021-03-16 21:31 ` Luca Ceresoli
2021-03-17 9:39 ` Sebastian Reichel
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Luca Ceresoli @ 2021-03-16 21:31 UTC (permalink / raw)
To: Rob Herring, devicetree
Cc: linux-kernel, Jonathan Cameron, Dmitry Torokhov, Bjorn Andersson,
Zhang Rui, Daniel Lezcano, Linus Walleij, Kevin Tsai,
Dmitry Baryshkov, Sebastian Reichel, Mark Brown, linux-iio,
linux-input, linux-pm
On 16/03/21 20: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 <luca@lucaceresoli.net>
> Cc: Jonathan Cameron <jic23@kernel.org>
> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
> Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
> Cc: Zhang Rui <rui.zhang@intel.com>
> Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
> Cc: Linus Walleij <linus.walleij@linaro.org>
> Cc: Kevin Tsai <ktsai@capellamicro.com>
> Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> Cc: Sebastian Reichel <sre@kernel.org>
> Cc: Mark Brown <broonie@kernel.org>
> Cc: linux-iio@vger.kernel.org
> Cc: linux-input@vger.kernel.org
> Cc: linux-pm@vger.kernel.org
> Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net>
--
Luca
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] dt-bindings: More cleanup of standard unit properties
2021-03-16 19:48 [PATCH] dt-bindings: More cleanup of standard unit properties Rob Herring
` (2 preceding siblings ...)
2021-03-16 21:31 ` Luca Ceresoli
@ 2021-03-17 9:39 ` Sebastian Reichel
2021-03-20 13:51 ` Jonathan Cameron
2021-03-21 22:54 ` Dmitry Torokhov
5 siblings, 0 replies; 7+ messages in thread
From: Sebastian Reichel @ 2021-03-17 9:39 UTC (permalink / raw)
To: Rob Herring
Cc: devicetree, linux-kernel, Luca Ceresoli, Jonathan Cameron,
Dmitry Torokhov, Bjorn Andersson, Zhang Rui, Daniel Lezcano,
Linus Walleij, Kevin Tsai, Dmitry Baryshkov, Mark Brown,
linux-iio, linux-input, linux-pm
[-- Attachment #1: Type: text/plain, Size: 5382 bytes --]
Hi,
On Tue, Mar 16, 2021 at 01:48:24PM -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 <luca@lucaceresoli.net>
> Cc: Jonathan Cameron <jic23@kernel.org>
> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
> Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
> Cc: Zhang Rui <rui.zhang@intel.com>
> Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
> Cc: Linus Walleij <linus.walleij@linaro.org>
> Cc: Kevin Tsai <ktsai@capellamicro.com>
> Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> Cc: Sebastian Reichel <sre@kernel.org>
> Cc: Mark Brown <broonie@kernel.org>
> Cc: linux-iio@vger.kernel.org
> Cc: linux-input@vger.kernel.org
> Cc: linux-pm@vger.kernel.org
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
Acked-by: Sebastian Reichel <sre@kernel.org>
-- Sebastian
> 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
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] dt-bindings: More cleanup of standard unit properties
2021-03-16 19:48 [PATCH] dt-bindings: More cleanup of standard unit properties Rob Herring
` (3 preceding siblings ...)
2021-03-17 9:39 ` Sebastian Reichel
@ 2021-03-20 13:51 ` Jonathan Cameron
2021-03-21 22:54 ` Dmitry Torokhov
5 siblings, 0 replies; 7+ messages in thread
From: Jonathan Cameron @ 2021-03-20 13:51 UTC (permalink / raw)
To: Rob Herring
Cc: devicetree, linux-kernel, Luca Ceresoli, Dmitry Torokhov,
Bjorn Andersson, Zhang Rui, Daniel Lezcano, Linus Walleij,
Kevin Tsai, Dmitry Baryshkov, Sebastian Reichel, Mark Brown,
linux-iio, linux-input, linux-pm
On Tue, 16 Mar 2021 13:48:24 -0600
Rob Herring <robh@kernel.org> 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 <luca@lucaceresoli.net>
> Cc: Jonathan Cameron <jic23@kernel.org>
> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
> Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
> Cc: Zhang Rui <rui.zhang@intel.com>
> Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
> Cc: Linus Walleij <linus.walleij@linaro.org>
> Cc: Kevin Tsai <ktsai@capellamicro.com>
> Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> Cc: Sebastian Reichel <sre@kernel.org>
> Cc: Mark Brown <broonie@kernel.org>
> Cc: linux-iio@vger.kernel.org
> Cc: linux-input@vger.kernel.org
> Cc: linux-pm@vger.kernel.org
> Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> ---
> 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]
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] dt-bindings: More cleanup of standard unit properties
2021-03-16 19:48 [PATCH] dt-bindings: More cleanup of standard unit properties Rob Herring
` (4 preceding siblings ...)
2021-03-20 13:51 ` Jonathan Cameron
@ 2021-03-21 22:54 ` Dmitry Torokhov
5 siblings, 0 replies; 7+ messages in thread
From: Dmitry Torokhov @ 2021-03-21 22:54 UTC (permalink / raw)
To: Rob Herring
Cc: devicetree, linux-kernel, Luca Ceresoli, Jonathan Cameron,
Bjorn Andersson, Zhang Rui, Daniel Lezcano, Linus Walleij,
Kevin Tsai, Dmitry Baryshkov, Sebastian Reichel, Mark Brown,
linux-iio, linux-input, linux-pm
On Tue, Mar 16, 2021 at 01:48:24PM -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 <luca@lucaceresoli.net>
> Cc: Jonathan Cameron <jic23@kernel.org>
> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
> Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
> Cc: Zhang Rui <rui.zhang@intel.com>
> Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
> Cc: Linus Walleij <linus.walleij@linaro.org>
> Cc: Kevin Tsai <ktsai@capellamicro.com>
> Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> Cc: Sebastian Reichel <sre@kernel.org>
> Cc: Mark Brown <broonie@kernel.org>
> Cc: linux-iio@vger.kernel.org
> Cc: linux-input@vger.kernel.org
> Cc: linux-pm@vger.kernel.org
> Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Thanks.
--
Dmitry
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-03-21 22:55 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-16 19:48 [PATCH] dt-bindings: More cleanup of standard unit properties Rob Herring
2021-03-16 20:24 ` Dmitry Baryshkov
2021-03-16 20:51 ` Mark Brown
2021-03-16 21:31 ` Luca Ceresoli
2021-03-17 9:39 ` Sebastian Reichel
2021-03-20 13:51 ` Jonathan Cameron
2021-03-21 22:54 ` Dmitry Torokhov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).