* [PATCH v2] dt-bindings: serial: samsung: include generic dtschema to match bluetooth child
@ 2021-04-05 17:21 Krzysztof Kozlowski
2021-04-09 16:09 ` Rob Herring
0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Kozlowski @ 2021-04-05 17:21 UTC (permalink / raw)
To: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski,
linux-serial, devicetree, linux-kernel
From: Krzysztof Kozlowski <krzk@kernel.org>
Include the generic serial.yaml dtschema so the child node like
"bluetooh" will be properly matched:
arch/arm/boot/dts/exynos4210-universal_c210.dt.yaml:
serial@13800000: 'bluetooth' does not match any of the regexes: 'pinctrl-[0-9]+'
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
Changes since v1:
1. Drop the new example, as Rob suggested.
---
Documentation/devicetree/bindings/serial/samsung_uart.yaml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/serial/samsung_uart.yaml b/Documentation/devicetree/bindings/serial/samsung_uart.yaml
index 4f98a3896b3a..97ec8a093bf3 100644
--- a/Documentation/devicetree/bindings/serial/samsung_uart.yaml
+++ b/Documentation/devicetree/bindings/serial/samsung_uart.yaml
@@ -79,9 +79,11 @@ required:
- interrupts
- reg
-additionalProperties: false
+unevaluatedProperties: false
allOf:
+ - $ref: /schemas/serial.yaml#
+
- if:
properties:
compatible:
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2] dt-bindings: serial: samsung: include generic dtschema to match bluetooth child
2021-04-05 17:21 [PATCH v2] dt-bindings: serial: samsung: include generic dtschema to match bluetooth child Krzysztof Kozlowski
@ 2021-04-09 16:09 ` Rob Herring
2021-04-09 17:19 ` Krzysztof Kozlowski
0 siblings, 1 reply; 3+ messages in thread
From: Rob Herring @ 2021-04-09 16:09 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Greg Kroah-Hartman, Krzysztof Kozlowski, linux-serial,
devicetree, linux-kernel
On Mon, Apr 05, 2021 at 07:21:19PM +0200, Krzysztof Kozlowski wrote:
> From: Krzysztof Kozlowski <krzk@kernel.org>
>
> Include the generic serial.yaml dtschema so the child node like
> "bluetooh" will be properly matched:
typo
>
> arch/arm/boot/dts/exynos4210-universal_c210.dt.yaml:
> serial@13800000: 'bluetooth' does not match any of the regexes: 'pinctrl-[0-9]+'
>
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
>
> ---
>
> Changes since v1:
> 1. Drop the new example, as Rob suggested.
> ---
> Documentation/devicetree/bindings/serial/samsung_uart.yaml | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
Otherwise,
Reviewed-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] dt-bindings: serial: samsung: include generic dtschema to match bluetooth child
2021-04-09 16:09 ` Rob Herring
@ 2021-04-09 17:19 ` Krzysztof Kozlowski
0 siblings, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2021-04-09 17:19 UTC (permalink / raw)
To: Rob Herring
Cc: Greg Kroah-Hartman, Krzysztof Kozlowski, linux-serial,
devicetree, linux-kernel
On 09/04/2021 18:09, Rob Herring wrote:
> On Mon, Apr 05, 2021 at 07:21:19PM +0200, Krzysztof Kozlowski wrote:
>> From: Krzysztof Kozlowski <krzk@kernel.org>
>>
>> Include the generic serial.yaml dtschema so the child node like
>> "bluetooh" will be properly matched:
>
> typo
>
>>
>> arch/arm/boot/dts/exynos4210-universal_c210.dt.yaml:
>> serial@13800000: 'bluetooth' does not match any of the regexes: 'pinctrl-[0-9]+'
>>
>> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
>>
>> ---
>>
>> Changes since v1:
>> 1. Drop the new example, as Rob suggested.
>> ---
>> Documentation/devicetree/bindings/serial/samsung_uart.yaml | 4 +++-
>> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> Otherwise,
>
> Reviewed-by: Rob Herring <robh@kernel.org>
Thanks, I'll send with fixed typo.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-04-09 17:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-05 17:21 [PATCH v2] dt-bindings: serial: samsung: include generic dtschema to match bluetooth child Krzysztof Kozlowski
2021-04-09 16:09 ` Rob Herring
2021-04-09 17:19 ` Krzysztof Kozlowski
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).