* [PATCH 1/2] dt-bindings: extcon: maxim,max77843: restrict connector properties
@ 2023-07-20 8:01 Krzysztof Kozlowski
2023-07-20 8:01 ` [PATCH 2/2] dt-bindings: extcon: siliconmitus,sm5502-muic: document connector Krzysztof Kozlowski
2023-07-23 20:14 ` [PATCH 1/2] dt-bindings: extcon: maxim,max77843: restrict connector properties Chanwoo Choi
0 siblings, 2 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2023-07-20 8:01 UTC (permalink / raw)
To: Chanwoo Choi, Krzysztof Kozlowski, MyungJoo Ham, Rob Herring,
Conor Dooley, Lee Jones, linux-kernel, devicetree
Do not allow any other properties in connector child, except what
usb-connector.yaml evaluates.
Fixes: 9729cad0278b ("dt-bindings: extcon: maxim,max77843: Add MAX77843 bindings")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Documentation/devicetree/bindings/extcon/maxim,max77843.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/extcon/maxim,max77843.yaml b/Documentation/devicetree/bindings/extcon/maxim,max77843.yaml
index 128960545640..55800fb0221d 100644
--- a/Documentation/devicetree/bindings/extcon/maxim,max77843.yaml
+++ b/Documentation/devicetree/bindings/extcon/maxim,max77843.yaml
@@ -23,6 +23,7 @@ properties:
connector:
$ref: /schemas/connector/usb-connector.yaml#
+ unevaluatedProperties: false
ports:
$ref: /schemas/graph.yaml#/properties/ports
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] dt-bindings: extcon: siliconmitus,sm5502-muic: document connector
2023-07-20 8:01 [PATCH 1/2] dt-bindings: extcon: maxim,max77843: restrict connector properties Krzysztof Kozlowski
@ 2023-07-20 8:01 ` Krzysztof Kozlowski
2023-07-23 20:18 ` Chanwoo Choi
2023-07-23 20:14 ` [PATCH 1/2] dt-bindings: extcon: maxim,max77843: restrict connector properties Chanwoo Choi
1 sibling, 1 reply; 4+ messages in thread
From: Krzysztof Kozlowski @ 2023-07-20 8:01 UTC (permalink / raw)
To: Chanwoo Choi, Krzysztof Kozlowski, MyungJoo Ham, Rob Herring,
Conor Dooley, Lee Jones, linux-kernel, devicetree
Document recently added connector for SM5502 MUIC:
qcom/msm8916-samsung-serranove.dtb: extcon@14: 'connector' does not match any of the regexes: 'pinctrl-[0-9]
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
.../devicetree/bindings/extcon/siliconmitus,sm5502-muic.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/extcon/siliconmitus,sm5502-muic.yaml b/Documentation/devicetree/bindings/extcon/siliconmitus,sm5502-muic.yaml
index 7a224b2f0977..7ef2d9bef72d 100644
--- a/Documentation/devicetree/bindings/extcon/siliconmitus,sm5502-muic.yaml
+++ b/Documentation/devicetree/bindings/extcon/siliconmitus,sm5502-muic.yaml
@@ -27,6 +27,10 @@ properties:
description: I2C slave address of the device. Usually 0x25 for SM5502
and SM5703, 0x14 for SM5504.
+ connector:
+ $ref: /schemas/connector/usb-connector.yaml#
+ unevaluatedProperties: false
+
interrupts:
maxItems: 1
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] dt-bindings: extcon: maxim,max77843: restrict connector properties
2023-07-20 8:01 [PATCH 1/2] dt-bindings: extcon: maxim,max77843: restrict connector properties Krzysztof Kozlowski
2023-07-20 8:01 ` [PATCH 2/2] dt-bindings: extcon: siliconmitus,sm5502-muic: document connector Krzysztof Kozlowski
@ 2023-07-23 20:14 ` Chanwoo Choi
1 sibling, 0 replies; 4+ messages in thread
From: Chanwoo Choi @ 2023-07-23 20:14 UTC (permalink / raw)
To: Krzysztof Kozlowski, Chanwoo Choi, MyungJoo Ham, Rob Herring,
Conor Dooley, Lee Jones, linux-kernel, devicetree
On 23. 7. 20. 17:01, Krzysztof Kozlowski wrote:
> Do not allow any other properties in connector child, except what
> usb-connector.yaml evaluates.
>
> Fixes: 9729cad0278b ("dt-bindings: extcon: maxim,max77843: Add MAX77843 bindings")
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
> Documentation/devicetree/bindings/extcon/maxim,max77843.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/extcon/maxim,max77843.yaml b/Documentation/devicetree/bindings/extcon/maxim,max77843.yaml
> index 128960545640..55800fb0221d 100644
> --- a/Documentation/devicetree/bindings/extcon/maxim,max77843.yaml
> +++ b/Documentation/devicetree/bindings/extcon/maxim,max77843.yaml
> @@ -23,6 +23,7 @@ properties:
>
> connector:
> $ref: /schemas/connector/usb-connector.yaml#
> + unevaluatedProperties: false
>
> ports:
> $ref: /schemas/graph.yaml#/properties/ports
Applied it. Thanks.
--
Best Regards,
Samsung Electronics
Chanwoo Choi
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 2/2] dt-bindings: extcon: siliconmitus,sm5502-muic: document connector
2023-07-20 8:01 ` [PATCH 2/2] dt-bindings: extcon: siliconmitus,sm5502-muic: document connector Krzysztof Kozlowski
@ 2023-07-23 20:18 ` Chanwoo Choi
0 siblings, 0 replies; 4+ messages in thread
From: Chanwoo Choi @ 2023-07-23 20:18 UTC (permalink / raw)
To: Krzysztof Kozlowski, Chanwoo Choi, MyungJoo Ham, Rob Herring,
Conor Dooley, Lee Jones, linux-kernel, devicetree
On 23. 7. 20. 17:01, Krzysztof Kozlowski wrote:
> Document recently added connector for SM5502 MUIC:
>
> qcom/msm8916-samsung-serranove.dtb: extcon@14: 'connector' does not match any of the regexes: 'pinctrl-[0-9]
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
> .../devicetree/bindings/extcon/siliconmitus,sm5502-muic.yaml | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/extcon/siliconmitus,sm5502-muic.yaml b/Documentation/devicetree/bindings/extcon/siliconmitus,sm5502-muic.yaml
> index 7a224b2f0977..7ef2d9bef72d 100644
> --- a/Documentation/devicetree/bindings/extcon/siliconmitus,sm5502-muic.yaml
> +++ b/Documentation/devicetree/bindings/extcon/siliconmitus,sm5502-muic.yaml
> @@ -27,6 +27,10 @@ properties:
> description: I2C slave address of the device. Usually 0x25 for SM5502
> and SM5703, 0x14 for SM5504.
>
> + connector:
> + $ref: /schemas/connector/usb-connector.yaml#
> + unevaluatedProperties: false
> +
> interrupts:
> maxItems: 1
>
Applied it. Thanks.
--
Best Regards,
Samsung Electronics
Chanwoo Choi
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-07-23 20:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-20 8:01 [PATCH 1/2] dt-bindings: extcon: maxim,max77843: restrict connector properties Krzysztof Kozlowski
2023-07-20 8:01 ` [PATCH 2/2] dt-bindings: extcon: siliconmitus,sm5502-muic: document connector Krzysztof Kozlowski
2023-07-23 20:18 ` Chanwoo Choi
2023-07-23 20:14 ` [PATCH 1/2] dt-bindings: extcon: maxim,max77843: restrict connector properties Chanwoo Choi
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).