Devicetree
 help / color / mirror / Atom feed
* [RESEND PATCH 1/2] dt-bindings: iio: semtech,sx9310: reference common schema for label
@ 2023-06-17 10:36 Krzysztof Kozlowski
  2023-06-17 10:36 ` [RESEND PATCH 2/2] dt-bindings: iio: semtech,sx9324: " Krzysztof Kozlowski
  2023-06-17 12:50 ` [RESEND PATCH 1/2] dt-bindings: iio: semtech,sx9310: " Jonathan Cameron
  0 siblings, 2 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2023-06-17 10:36 UTC (permalink / raw)
  To: Jonathan Cameron, Lars-Peter Clausen, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Daniel Campello,
	Gwendal Grignou, linux-iio, devicetree, linux-kernel
  Cc: Krzysztof Kozlowski, Rob Herring

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>
Acked-by: Rob Herring <robh@kernel.org>

---

Resending with ack as dependency (dtschema patch) was applied.
---
 .../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] 3+ messages in thread

* [RESEND PATCH 2/2] dt-bindings: iio: semtech,sx9324: reference common schema for label
  2023-06-17 10:36 [RESEND PATCH 1/2] dt-bindings: iio: semtech,sx9310: reference common schema for label Krzysztof Kozlowski
@ 2023-06-17 10:36 ` Krzysztof Kozlowski
  2023-06-17 12:50 ` [RESEND PATCH 1/2] dt-bindings: iio: semtech,sx9310: " Jonathan Cameron
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2023-06-17 10:36 UTC (permalink / raw)
  To: Jonathan Cameron, Lars-Peter Clausen, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Daniel Campello,
	Gwendal Grignou, linux-iio, devicetree, linux-kernel
  Cc: Krzysztof Kozlowski, Rob Herring

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>
Acked-by: Rob Herring <robh@kernel.org>

---

Resending with ack as dependency (dtschema patch) was applied.
---
 .../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] 3+ messages in thread

* Re: [RESEND PATCH 1/2] dt-bindings: iio: semtech,sx9310: reference common schema for label
  2023-06-17 10:36 [RESEND PATCH 1/2] dt-bindings: iio: semtech,sx9310: reference common schema for label Krzysztof Kozlowski
  2023-06-17 10:36 ` [RESEND PATCH 2/2] dt-bindings: iio: semtech,sx9324: " Krzysztof Kozlowski
@ 2023-06-17 12:50 ` Jonathan Cameron
  1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2023-06-17 12:50 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Lars-Peter Clausen, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Daniel Campello, Gwendal Grignou, linux-iio,
	devicetree, linux-kernel, Rob Herring

On Sat, 17 Jun 2023 12:36:57 +0200
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 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>
> Acked-by: Rob Herring <robh@kernel.org>

Applied to the togreg branch of iio.git and pushed out as testing.
Note that these are now material for 6.6 and I'll be rebasing that
tree on rc1 once available + not pushing it out for next to pick up until
after that.

Jonathan

> 
> ---
> 
> Resending with ack as dependency (dtschema patch) was applied.
> ---
>  .../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:
>    - |


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

end of thread, other threads:[~2023-06-17 12:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-17 10:36 [RESEND PATCH 1/2] dt-bindings: iio: semtech,sx9310: reference common schema for label Krzysztof Kozlowski
2023-06-17 10:36 ` [RESEND PATCH 2/2] dt-bindings: iio: semtech,sx9324: " Krzysztof Kozlowski
2023-06-17 12:50 ` [RESEND PATCH 1/2] dt-bindings: iio: semtech,sx9310: " Jonathan Cameron

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