[PATCH v3 1/2] dt-bindings: spi: add reference file to YAML

From: William Qiu
Date: Mon Jul 24 2023 - 06:20:18 EST


In JH7110 SoC, the spi module needs to use "arm,primecell-periphid" to
override the h/w ID value to correctly init "spi_dev", so add
"primecell.yaml" as the reference file for YAML.

Signed-off-by: William Qiu <william.qiu@xxxxxxxxxxxxxxxx>
---
Documentation/devicetree/bindings/spi/spi-pl022.yaml | 1 +
1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/spi/spi-pl022.yaml b/Documentation/devicetree/bindings/spi/spi-pl022.yaml
index 91e540a92faf..5e5a704a766e 100644
--- a/Documentation/devicetree/bindings/spi/spi-pl022.yaml
+++ b/Documentation/devicetree/bindings/spi/spi-pl022.yaml
@@ -11,6 +11,7 @@ maintainers:

allOf:
- $ref: spi-controller.yaml#
+ - $ref: /schemas/arm/primecell.yaml#

# We need a select here so we don't match all nodes with 'arm,primecell'
select:
--
2.34.1