public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: iio: honeywell,mprls0025pa: drop ref from pressure properties
@ 2023-11-29 11:10 Krzysztof Kozlowski
  2023-11-29 12:27 ` Rob Herring
  2023-12-01 22:35 ` Rob Herring
  0 siblings, 2 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2023-11-29 11:10 UTC (permalink / raw)
  To: Andreas Klinger, Jonathan Cameron, Lars-Peter Clausen,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-iio,
	devicetree, linux-kernel
  Cc: Krzysztof Kozlowski

The dtschema treats now properties with '-pascal' suffix as standard one
and already defines $ref for them, thus the $ref should be dropped from
the bindings.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

---

dtschema change was merged:
https://github.com/devicetree-org/dt-schema/commit/2a1708dcf4ff0b25c4ec46304d6d6cc655c3e635
but not yet released as new dtschema version.

This change should be applied once new dtschema version is released or
Rob says otherwise.
---
 .../devicetree/bindings/iio/pressure/honeywell,mprls0025pa.yaml | 2 --
 1 file changed, 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/iio/pressure/honeywell,mprls0025pa.yaml b/Documentation/devicetree/bindings/iio/pressure/honeywell,mprls0025pa.yaml
index b31f8120f14e..d9e903fbfd99 100644
--- a/Documentation/devicetree/bindings/iio/pressure/honeywell,mprls0025pa.yaml
+++ b/Documentation/devicetree/bindings/iio/pressure/honeywell,mprls0025pa.yaml
@@ -53,12 +53,10 @@ properties:
   honeywell,pmin-pascal:
     description:
       Minimum pressure value the sensor can measure in pascal.
-    $ref: /schemas/types.yaml#/definitions/uint32
 
   honeywell,pmax-pascal:
     description:
       Maximum pressure value the sensor can measure in pascal.
-    $ref: /schemas/types.yaml#/definitions/uint32
 
   honeywell,transfer-function:
     description: |
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] dt-bindings: iio: honeywell,mprls0025pa: drop ref from pressure properties
  2023-11-29 11:10 [PATCH] dt-bindings: iio: honeywell,mprls0025pa: drop ref from pressure properties Krzysztof Kozlowski
@ 2023-11-29 12:27 ` Rob Herring
  2023-11-29 12:29   ` Krzysztof Kozlowski
  2023-12-01 22:35 ` Rob Herring
  1 sibling, 1 reply; 6+ messages in thread
From: Rob Herring @ 2023-11-29 12:27 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: devicetree, Lars-Peter Clausen, Jonathan Cameron, Rob Herring,
	Conor Dooley, linux-kernel, Andreas Klinger, Krzysztof Kozlowski,
	linux-iio


On Wed, 29 Nov 2023 12:10:41 +0100, Krzysztof Kozlowski wrote:
> The dtschema treats now properties with '-pascal' suffix as standard one
> and already defines $ref for them, thus the $ref should be dropped from
> the bindings.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> 
> ---
> 
> dtschema change was merged:
> https://github.com/devicetree-org/dt-schema/commit/2a1708dcf4ff0b25c4ec46304d6d6cc655c3e635
> but not yet released as new dtschema version.
> 
> This change should be applied once new dtschema version is released or
> Rob says otherwise.
> ---
>  .../devicetree/bindings/iio/pressure/honeywell,mprls0025pa.yaml | 2 --
>  1 file changed, 2 deletions(-)
> 

My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check'
on your patch (DT_CHECKER_FLAGS is new in v5.13):

yamllint warnings/errors:

dtschema/dtc warnings/errors:
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/iio/pressure/honeywell,mprls0025pa.yaml: honeywell,pmin-pascal: missing type definition
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/iio/pressure/honeywell,mprls0025pa.yaml: honeywell,pmax-pascal: missing type definition

doc reference errors (make refcheckdocs):

See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20231129111041.26782-1-krzysztof.kozlowski@linaro.org

The base for the series is generally the latest rc1. A different dependency
should be noted in *this* patch.

If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure 'yamllint' is installed and dt-schema is up to
date:

pip3 install dtschema --upgrade

Please check and re-submit after running the above command yourself. Note
that DT_SCHEMA_FILES can be set to your schema file to speed up checking
your schema. However, it must be unset to test all examples with your schema.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] dt-bindings: iio: honeywell,mprls0025pa: drop ref from pressure properties
  2023-11-29 12:27 ` Rob Herring
@ 2023-11-29 12:29   ` Krzysztof Kozlowski
  2023-11-29 14:20     ` Rob Herring
  0 siblings, 1 reply; 6+ messages in thread
From: Krzysztof Kozlowski @ 2023-11-29 12:29 UTC (permalink / raw)
  To: Rob Herring
  Cc: devicetree, Lars-Peter Clausen, Jonathan Cameron, Rob Herring,
	Conor Dooley, linux-kernel, Andreas Klinger, Krzysztof Kozlowski,
	linux-iio

On 29/11/2023 13:27, Rob Herring wrote:
> 
> On Wed, 29 Nov 2023 12:10:41 +0100, Krzysztof Kozlowski wrote:
>> The dtschema treats now properties with '-pascal' suffix as standard one
>> and already defines $ref for them, thus the $ref should be dropped from
>> the bindings.
>>
>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>>
>> ---
>>
>> dtschema change was merged:
>> https://github.com/devicetree-org/dt-schema/commit/2a1708dcf4ff0b25c4ec46304d6d6cc655c3e635
>> but not yet released as new dtschema version.
>>
>> This change should be applied once new dtschema version is released or
>> Rob says otherwise.
>> ---
>>  .../devicetree/bindings/iio/pressure/honeywell,mprls0025pa.yaml | 2 --
>>  1 file changed, 2 deletions(-)
>>
> 
> My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check'
> on your patch (DT_CHECKER_FLAGS is new in v5.13):
> 
> yamllint warnings/errors:
> 
> dtschema/dtc warnings/errors:
> /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/iio/pressure/honeywell,mprls0025pa.yaml: honeywell,pmin-pascal: missing type definition
> /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/iio/pressure/honeywell,mprls0025pa.yaml: honeywell,pmax-pascal: missing type definition
> 

That's expected, depends on the dtschema change.

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] dt-bindings: iio: honeywell,mprls0025pa: drop ref from pressure properties
  2023-11-29 12:29   ` Krzysztof Kozlowski
@ 2023-11-29 14:20     ` Rob Herring
  0 siblings, 0 replies; 6+ messages in thread
From: Rob Herring @ 2023-11-29 14:20 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: devicetree, Lars-Peter Clausen, Jonathan Cameron, Conor Dooley,
	linux-kernel, Andreas Klinger, Krzysztof Kozlowski, linux-iio

On Wed, Nov 29, 2023 at 6:29 AM Krzysztof Kozlowski
<krzysztof.kozlowski@linaro.org> wrote:
>
> On 29/11/2023 13:27, Rob Herring wrote:
> >
> > On Wed, 29 Nov 2023 12:10:41 +0100, Krzysztof Kozlowski wrote:
> >> The dtschema treats now properties with '-pascal' suffix as standard one
> >> and already defines $ref for them, thus the $ref should be dropped from
> >> the bindings.
> >>
> >> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> >>
> >> ---
> >>
> >> dtschema change was merged:
> >> https://github.com/devicetree-org/dt-schema/commit/2a1708dcf4ff0b25c4ec46304d6d6cc655c3e635
> >> but not yet released as new dtschema version.
> >>
> >> This change should be applied once new dtschema version is released or
> >> Rob says otherwise.
> >> ---
> >>  .../devicetree/bindings/iio/pressure/honeywell,mprls0025pa.yaml | 2 --
> >>  1 file changed, 2 deletions(-)
> >>
> >
> > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check'
> > on your patch (DT_CHECKER_FLAGS is new in v5.13):
> >
> > yamllint warnings/errors:
> >
> > dtschema/dtc warnings/errors:
> > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/iio/pressure/honeywell,mprls0025pa.yaml: honeywell,pmin-pascal: missing type definition
> > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/iio/pressure/honeywell,mprls0025pa.yaml: honeywell,pmax-pascal: missing type definition
> >
>
> That's expected, depends on the dtschema change.

Well, it wasn't because dtschema version used is git tree. However,
the CI job was using master rather than main branch. master falls
behind when I use the web interface... Now fixed the CI job to use
main.

Rob

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] dt-bindings: iio: honeywell,mprls0025pa: drop ref from pressure properties
  2023-11-29 11:10 [PATCH] dt-bindings: iio: honeywell,mprls0025pa: drop ref from pressure properties Krzysztof Kozlowski
  2023-11-29 12:27 ` Rob Herring
@ 2023-12-01 22:35 ` Rob Herring
  2023-12-04 12:19   ` Jonathan Cameron
  1 sibling, 1 reply; 6+ messages in thread
From: Rob Herring @ 2023-12-01 22:35 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Andreas Klinger, Jonathan Cameron, Lars-Peter Clausen,
	Krzysztof Kozlowski, Conor Dooley, linux-iio, devicetree,
	linux-kernel

On Wed, Nov 29, 2023 at 12:10:41PM +0100, Krzysztof Kozlowski wrote:
> The dtschema treats now properties with '-pascal' suffix as standard one
> and already defines $ref for them, thus the $ref should be dropped from
> the bindings.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> 
> ---
> 
> dtschema change was merged:
> https://github.com/devicetree-org/dt-schema/commit/2a1708dcf4ff0b25c4ec46304d6d6cc655c3e635
> but not yet released as new dtschema version.
> 
> This change should be applied once new dtschema version is released or
> Rob says otherwise.

I've made a release, so go ahead and apply this.

Acked-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] dt-bindings: iio: honeywell,mprls0025pa: drop ref from pressure properties
  2023-12-01 22:35 ` Rob Herring
@ 2023-12-04 12:19   ` Jonathan Cameron
  0 siblings, 0 replies; 6+ messages in thread
From: Jonathan Cameron @ 2023-12-04 12:19 UTC (permalink / raw)
  To: Rob Herring
  Cc: Krzysztof Kozlowski, Andreas Klinger, Lars-Peter Clausen,
	Krzysztof Kozlowski, Conor Dooley, linux-iio, devicetree,
	linux-kernel

On Fri, 1 Dec 2023 16:35:47 -0600
Rob Herring <robh@kernel.org> wrote:

> On Wed, Nov 29, 2023 at 12:10:41PM +0100, Krzysztof Kozlowski wrote:
> > The dtschema treats now properties with '-pascal' suffix as standard one
> > and already defines $ref for them, thus the $ref should be dropped from
> > the bindings.
> > 
> > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> > 
> > ---
> > 
> > dtschema change was merged:
> > https://github.com/devicetree-org/dt-schema/commit/2a1708dcf4ff0b25c4ec46304d6d6cc655c3e635
> > but not yet released as new dtschema version.
> > 
> > This change should be applied once new dtschema version is released or
> > Rob says otherwise.  
> 
> I've made a release, so go ahead and apply this.
> 
> Acked-by: Rob Herring <robh@kernel.org>

Applied to the togreg branch of iio.git and initially pushed out as testing for 0-day
etc to poke at it

Thanks,

Jonathan

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-12-04 12:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-29 11:10 [PATCH] dt-bindings: iio: honeywell,mprls0025pa: drop ref from pressure properties Krzysztof Kozlowski
2023-11-29 12:27 ` Rob Herring
2023-11-29 12:29   ` Krzysztof Kozlowski
2023-11-29 14:20     ` Rob Herring
2023-12-01 22:35 ` Rob Herring
2023-12-04 12:19   ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox