linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] dt-bindings: iio: st,lsm6dsx: reference common schema for mount-matrix
@ 2023-05-07 17:39 Krzysztof Kozlowski
  2023-05-07 17:39 ` [PATCH 2/3] dt-bindings: iio: semtech,sx9310: reference common schema for label Krzysztof Kozlowski
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2023-05-07 17:39 UTC (permalink / raw)
  To: Lorenzo Bianconi, Jonathan Cameron, Lars-Peter Clausen,
	Rob Herring, Krzysztof Kozlowski, Daniel Campello,
	Gwendal Grignou, linux-iio, devicetree, linux-kernel
  Cc: Krzysztof Kozlowski

Reference iio.yaml schema from dtschema to allow already used
mount-matrix property:

  msm8953-xiaomi-daisy.dtb: imu@6a: Unevaluated properties are not allowed ('mount-matrix' was unexpected)

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml b/Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml
index b39f5217d8ff..ee8724ad33ab 100644
--- a/Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml
+++ b/Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml
@@ -98,6 +98,7 @@ required:
   - reg
 
 allOf:
+  - $ref: /schemas/iio/iio.yaml#
   - $ref: /schemas/spi/spi-peripheral-props.yaml#
 
 unevaluatedProperties: false
-- 
2.34.1


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

* [PATCH 2/3] dt-bindings: iio: semtech,sx9310: reference common schema for label
  2023-05-07 17:39 [PATCH 1/3] dt-bindings: iio: st,lsm6dsx: reference common schema for mount-matrix Krzysztof Kozlowski
@ 2023-05-07 17:39 ` Krzysztof Kozlowski
  2023-06-08 18:14   ` Rob Herring
  2023-05-07 17:39 ` [PATCH 3/3] dt-bindings: iio: semtech,sx9324: " Krzysztof Kozlowski
  2023-05-07 21:06 ` [PATCH 1/3] dt-bindings: iio: st,lsm6dsx: reference common schema for mount-matrix Conor Dooley
  2 siblings, 1 reply; 9+ messages in thread
From: Krzysztof Kozlowski @ 2023-05-07 17:39 UTC (permalink / raw)
  To: Lorenzo Bianconi, Jonathan Cameron, Lars-Peter Clausen,
	Rob Herring, Krzysztof Kozlowski, Daniel Campello,
	Gwendal Grignou, linux-iio, devicetree, linux-kernel
  Cc: Krzysztof Kozlowski

Reference iio.yaml schema from dtschema to allow already used
label property:

  sc7180-trogdor-homestar-r4.dtb: proximity@28: 'label' does not match any of the regexes: 'pinctrl-[0-9]+'

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

---

Patch for dtschema:
https://lore.kernel.org/linux-devicetree/20230507171219.232216-1-krzk@kernel.org/T/#u
---
 .../devicetree/bindings/iio/proximity/semtech,sx9310.yaml    | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/iio/proximity/semtech,sx9310.yaml b/Documentation/devicetree/bindings/iio/proximity/semtech,sx9310.yaml
index 5de0bb2180e6..775555d147bf 100644
--- a/Documentation/devicetree/bindings/iio/proximity/semtech,sx9310.yaml
+++ b/Documentation/devicetree/bindings/iio/proximity/semtech,sx9310.yaml
@@ -15,6 +15,9 @@ description: |
   Specifications about the devices can be found at:
   https://www.semtech.com/products/smart-sensing/sar-sensors/sx9310
 
+allOf:
+  - $ref: /schemas/iio/iio.yaml#
+
 properties:
   compatible:
     enum:
@@ -102,7 +105,7 @@ required:
   - reg
   - "#io-channel-cells"
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |
-- 
2.34.1


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

* [PATCH 3/3] dt-bindings: iio: semtech,sx9324: reference common schema for label
  2023-05-07 17:39 [PATCH 1/3] dt-bindings: iio: st,lsm6dsx: reference common schema for mount-matrix Krzysztof Kozlowski
  2023-05-07 17:39 ` [PATCH 2/3] dt-bindings: iio: semtech,sx9310: reference common schema for label Krzysztof Kozlowski
@ 2023-05-07 17:39 ` Krzysztof Kozlowski
  2023-06-08 18:14   ` Rob Herring
  2023-05-07 21:06 ` [PATCH 1/3] dt-bindings: iio: st,lsm6dsx: reference common schema for mount-matrix Conor Dooley
  2 siblings, 1 reply; 9+ messages in thread
From: Krzysztof Kozlowski @ 2023-05-07 17:39 UTC (permalink / raw)
  To: Lorenzo Bianconi, Jonathan Cameron, Lars-Peter Clausen,
	Rob Herring, Krzysztof Kozlowski, Daniel Campello,
	Gwendal Grignou, linux-iio, devicetree, linux-kernel
  Cc: Krzysztof Kozlowski

Reference iio.yaml schema from dtschema to allow already used
label property:

  sc7180-trogdor-pazquel360-lte.dtb: proximity@28: 'label' does not match any of the regexes: 'pinctrl-[0-9]+'

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

---

Patch for dtschema:
https://lore.kernel.org/linux-devicetree/20230507171219.232216-1-krzk@kernel.org/T/#u
---
 .../devicetree/bindings/iio/proximity/semtech,sx9324.yaml    | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/iio/proximity/semtech,sx9324.yaml b/Documentation/devicetree/bindings/iio/proximity/semtech,sx9324.yaml
index b3aa2ebf9661..48f221463166 100644
--- a/Documentation/devicetree/bindings/iio/proximity/semtech,sx9324.yaml
+++ b/Documentation/devicetree/bindings/iio/proximity/semtech,sx9324.yaml
@@ -13,6 +13,9 @@ maintainers:
 description: |
   Semtech's SX9324 proximity sensor.
 
+allOf:
+  - $ref: /schemas/iio/iio.yaml#
+
 properties:
   compatible:
     const: semtech,sx9324
@@ -167,7 +170,7 @@ required:
   - reg
   - "#io-channel-cells"
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |
-- 
2.34.1


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

* Re: [PATCH 1/3] dt-bindings: iio: st,lsm6dsx: reference common schema for mount-matrix
  2023-05-07 17:39 [PATCH 1/3] dt-bindings: iio: st,lsm6dsx: reference common schema for mount-matrix Krzysztof Kozlowski
  2023-05-07 17:39 ` [PATCH 2/3] dt-bindings: iio: semtech,sx9310: reference common schema for label Krzysztof Kozlowski
  2023-05-07 17:39 ` [PATCH 3/3] dt-bindings: iio: semtech,sx9324: " Krzysztof Kozlowski
@ 2023-05-07 21:06 ` Conor Dooley
  2023-05-13 18:13   ` Jonathan Cameron
  2 siblings, 1 reply; 9+ messages in thread
From: Conor Dooley @ 2023-05-07 21:06 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Lorenzo Bianconi, Jonathan Cameron, Lars-Peter Clausen,
	Rob Herring, Krzysztof Kozlowski, Daniel Campello,
	Gwendal Grignou, linux-iio, devicetree, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 427 bytes --]

On Sun, May 07, 2023 at 07:39:21PM +0200, Krzysztof Kozlowski wrote:
> Reference iio.yaml schema from dtschema to allow already used
> mount-matrix property:
> 
>   msm8953-xiaomi-daisy.dtb: imu@6a: Unevaluated properties are not allowed ('mount-matrix' was unexpected)
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Reviewed-by: Conor Dooley <conor.dooley@microchip.com>

Thanks,
Conor.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

* Re: [PATCH 1/3] dt-bindings: iio: st,lsm6dsx: reference common schema for mount-matrix
  2023-05-13 18:13   ` Jonathan Cameron
@ 2023-05-13 18:10     ` Krzysztof Kozlowski
  2023-05-14 17:13       ` Jonathan Cameron
  0 siblings, 1 reply; 9+ messages in thread
From: Krzysztof Kozlowski @ 2023-05-13 18:10 UTC (permalink / raw)
  To: Jonathan Cameron, Conor Dooley
  Cc: Lorenzo Bianconi, Lars-Peter Clausen, Rob Herring,
	Krzysztof Kozlowski, Daniel Campello, Gwendal Grignou, linux-iio,
	devicetree, linux-kernel

On 13/05/2023 20:13, Jonathan Cameron wrote:
> On Sun, 7 May 2023 22:06:56 +0100
> Conor Dooley <conor@kernel.org> wrote:
> 
>> On Sun, May 07, 2023 at 07:39:21PM +0200, Krzysztof Kozlowski wrote:
>>> Reference iio.yaml schema from dtschema to allow already used
>>> mount-matrix property:
>>>
>>>   msm8953-xiaomi-daisy.dtb: imu@6a: Unevaluated properties are not allowed ('mount-matrix' was unexpected)
>>>
>>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>  
>>
>> Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
>>
>> Thanks,
>> Conor.
> 
> Krzysztof,
> 
> These look fine to me, but I guess I should wait for the
> dt-schema patch to land before taking them?

You can grab first patch independently. #2 and #3 should indeed wait a
bit for Rob's ack. They do not have any conflicts but they will fix
nothing without dtschema patch.

Best regards,
Krzysztof


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

* Re: [PATCH 1/3] dt-bindings: iio: st,lsm6dsx: reference common schema for mount-matrix
  2023-05-07 21:06 ` [PATCH 1/3] dt-bindings: iio: st,lsm6dsx: reference common schema for mount-matrix Conor Dooley
@ 2023-05-13 18:13   ` Jonathan Cameron
  2023-05-13 18:10     ` Krzysztof Kozlowski
  0 siblings, 1 reply; 9+ messages in thread
From: Jonathan Cameron @ 2023-05-13 18:13 UTC (permalink / raw)
  To: Conor Dooley
  Cc: Krzysztof Kozlowski, Lorenzo Bianconi, Lars-Peter Clausen,
	Rob Herring, Krzysztof Kozlowski, Daniel Campello,
	Gwendal Grignou, linux-iio, devicetree, linux-kernel

On Sun, 7 May 2023 22:06:56 +0100
Conor Dooley <conor@kernel.org> wrote:

> On Sun, May 07, 2023 at 07:39:21PM +0200, Krzysztof Kozlowski wrote:
> > Reference iio.yaml schema from dtschema to allow already used
> > mount-matrix property:
> > 
> >   msm8953-xiaomi-daisy.dtb: imu@6a: Unevaluated properties are not allowed ('mount-matrix' was unexpected)
> > 
> > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>  
> 
> Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
> 
> Thanks,
> Conor.

Krzysztof,

These look fine to me, but I guess I should wait for the
dt-schema patch to land before taking them?

Jonathan

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

* Re: [PATCH 1/3] dt-bindings: iio: st,lsm6dsx: reference common schema for mount-matrix
  2023-05-13 18:10     ` Krzysztof Kozlowski
@ 2023-05-14 17:13       ` Jonathan Cameron
  0 siblings, 0 replies; 9+ messages in thread
From: Jonathan Cameron @ 2023-05-14 17:13 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Conor Dooley, Lorenzo Bianconi, Lars-Peter Clausen, Rob Herring,
	Krzysztof Kozlowski, Daniel Campello, Gwendal Grignou, linux-iio,
	devicetree, linux-kernel

On Sat, 13 May 2023 20:10:40 +0200
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote:

> On 13/05/2023 20:13, Jonathan Cameron wrote:
> > On Sun, 7 May 2023 22:06:56 +0100
> > Conor Dooley <conor@kernel.org> wrote:
> >   
> >> On Sun, May 07, 2023 at 07:39:21PM +0200, Krzysztof Kozlowski wrote:  
> >>> Reference iio.yaml schema from dtschema to allow already used
> >>> mount-matrix property:
> >>>
> >>>   msm8953-xiaomi-daisy.dtb: imu@6a: Unevaluated properties are not allowed ('mount-matrix' was unexpected)
> >>>
> >>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>    
> >>
> >> Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
> >>
> >> Thanks,
> >> Conor.  
> > 
> > Krzysztof,
> > 
> > These look fine to me, but I guess I should wait for the
> > dt-schema patch to land before taking them?  
> 
> You can grab first patch independently. #2 and #3 should indeed wait a
> bit for Rob's ack. They do not have any conflicts but they will fix
> nothing without dtschema patch.
Applied patch 1.  Thanks,

J
> 
> Best regards,
> Krzysztof
> 


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

* Re: [PATCH 2/3] dt-bindings: iio: semtech,sx9310: reference common schema for label
  2023-05-07 17:39 ` [PATCH 2/3] dt-bindings: iio: semtech,sx9310: reference common schema for label Krzysztof Kozlowski
@ 2023-06-08 18:14   ` Rob Herring
  0 siblings, 0 replies; 9+ messages in thread
From: Rob Herring @ 2023-06-08 18:14 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Jonathan Cameron, Gwendal Grignou, linux-iio, Lars-Peter Clausen,
	Rob Herring, Lorenzo Bianconi, Krzysztof Kozlowski, devicetree,
	linux-kernel, Daniel Campello


On Sun, 07 May 2023 19:39:22 +0200, Krzysztof Kozlowski wrote:
> Reference iio.yaml schema from dtschema to allow already used
> label property:
> 
>   sc7180-trogdor-homestar-r4.dtb: proximity@28: 'label' does not match any of the regexes: 'pinctrl-[0-9]+'
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> 
> ---
> 
> Patch for dtschema:
> https://lore.kernel.org/linux-devicetree/20230507171219.232216-1-krzk@kernel.org/T/#u
> ---
>  .../devicetree/bindings/iio/proximity/semtech,sx9310.yaml    | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 

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


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

* Re: [PATCH 3/3] dt-bindings: iio: semtech,sx9324: reference common schema for label
  2023-05-07 17:39 ` [PATCH 3/3] dt-bindings: iio: semtech,sx9324: " Krzysztof Kozlowski
@ 2023-06-08 18:14   ` Rob Herring
  0 siblings, 0 replies; 9+ messages in thread
From: Rob Herring @ 2023-06-08 18:14 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Gwendal Grignou, Jonathan Cameron, linux-kernel,
	Lars-Peter Clausen, Daniel Campello, Rob Herring, linux-iio,
	Krzysztof Kozlowski, devicetree, Lorenzo Bianconi


On Sun, 07 May 2023 19:39:23 +0200, Krzysztof Kozlowski wrote:
> Reference iio.yaml schema from dtschema to allow already used
> label property:
> 
>   sc7180-trogdor-pazquel360-lte.dtb: proximity@28: 'label' does not match any of the regexes: 'pinctrl-[0-9]+'
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> 
> ---
> 
> Patch for dtschema:
> https://lore.kernel.org/linux-devicetree/20230507171219.232216-1-krzk@kernel.org/T/#u
> ---
>  .../devicetree/bindings/iio/proximity/semtech,sx9324.yaml    | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 

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


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

end of thread, other threads:[~2023-06-08 18:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-07 17:39 [PATCH 1/3] dt-bindings: iio: st,lsm6dsx: reference common schema for mount-matrix Krzysztof Kozlowski
2023-05-07 17:39 ` [PATCH 2/3] dt-bindings: iio: semtech,sx9310: reference common schema for label Krzysztof Kozlowski
2023-06-08 18:14   ` Rob Herring
2023-05-07 17:39 ` [PATCH 3/3] dt-bindings: iio: semtech,sx9324: " Krzysztof Kozlowski
2023-06-08 18:14   ` Rob Herring
2023-05-07 21:06 ` [PATCH 1/3] dt-bindings: iio: st,lsm6dsx: reference common schema for mount-matrix Conor Dooley
2023-05-13 18:13   ` Jonathan Cameron
2023-05-13 18:10     ` Krzysztof Kozlowski
2023-05-14 17:13       ` Jonathan Cameron

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).