2022-03-31 19:08:30

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH v2 2/2] dt-bindings: qcom: qcom,geni-se: refer to dtschema for SPI

After adding DT schema for the SPI controller, the Qualcomm GENI Serial
Engine QUP Wrapper Controller bindings can reference it directly for
full schema validation.

Signed-off-by: Krzysztof Kozlowski <[email protected]>

---

Changes since v1:
1. None

Patch depends on previous patch (DT schema conversion).
---
.../bindings/soc/qcom/qcom,geni-se.yaml | 22 +------------------
1 file changed, 1 insertion(+), 21 deletions(-)

diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml
index 690ce6a355de..1bc12b6a7e01 100644
--- a/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml
+++ b/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml
@@ -103,27 +103,7 @@ patternProperties:
supports up to 50MHz, up to four chip selects, programmable
data path from 4 bits to 32 bits and numerous protocol
variants.
- $ref: /spi/spi-controller.yaml#
-
- properties:
- compatible:
- enum:
- - qcom,geni-spi
-
- interrupts:
- maxItems: 1
-
- "#address-cells":
- const: 1
-
- "#size-cells":
- const: 0
-
- required:
- - compatible
- - interrupts
- - "#address-cells"
- - "#size-cells"
+ $ref: /schemas/spi/qcom,spi-geni-qcom.yaml#

"i2c@[0-9a-f]+$":
type: object
--
2.32.0


2022-04-01 20:27:58

by Kuldeep Singh

[permalink] [raw]
Subject: Re: [PATCH v2 2/2] dt-bindings: qcom: qcom,geni-se: refer to dtschema for SPI

On Thu, Mar 31, 2022 at 06:02:48PM +0200, Krzysztof Kozlowski wrote:
> After adding DT schema for the SPI controller, the Qualcomm GENI Serial
> Engine QUP Wrapper Controller bindings can reference it directly for
> full schema validation.
>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>

Reviewed-by: Kuldeep Singh <[email protected]>

>
> ---
>
> Changes since v1:
> 1. None
>
> Patch depends on previous patch (DT schema conversion).
> ---
> .../bindings/soc/qcom/qcom,geni-se.yaml | 22 +------------------
> 1 file changed, 1 insertion(+), 21 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml
> index 690ce6a355de..1bc12b6a7e01 100644
> --- a/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml
> +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml
> @@ -103,27 +103,7 @@ patternProperties:
> supports up to 50MHz, up to four chip selects, programmable
> data path from 4 bits to 32 bits and numerous protocol
> variants.
> - $ref: /spi/spi-controller.yaml#
> -
> - properties:
> - compatible:
> - enum:
> - - qcom,geni-spi
> -
> - interrupts:
> - maxItems: 1
> -
> - "#address-cells":
> - const: 1
> -
> - "#size-cells":
> - const: 0
> -
> - required:
> - - compatible
> - - interrupts
> - - "#address-cells"
> - - "#size-cells"
> + $ref: /schemas/spi/qcom,spi-geni-qcom.yaml#
>
> "i2c@[0-9a-f]+$":
> type: object
> --
> 2.32.0
>