summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/spi/amlogic,meson-gx-spicc.yaml
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2020-03-12 14:31:30 +0100
committerMark Brown <broonie@kernel.org>2020-03-12 17:22:56 +0000
commit9ea7db818d9dcbbde581925b82bbe259e1926e20 (patch)
tree0fa1264358b568f4bc68d75c4a320c689c00e4b2 /Documentation/devicetree/bindings/spi/amlogic,meson-gx-spicc.yaml
parent4e3d322058a5e5afda100005a94ec7f0bf509d43 (diff)
spi: dt-bindings: amlogic, meson-gx-spicc: add Amlogic G12A compatible
The Amlogic G12A SPICC controllers uses a secondary clock used to feed the baud rate generator and the delay control logic. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Link: https://lore.kernel.org/r/20200312133131.26430-9-narmstrong@baylibre.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/spi/amlogic,meson-gx-spicc.yaml')
-rw-r--r--Documentation/devicetree/bindings/spi/amlogic,meson-gx-spicc.yaml22
1 files changed, 22 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/spi/amlogic,meson-gx-spicc.yaml b/Documentation/devicetree/bindings/spi/amlogic,meson-gx-spicc.yaml
index 49b617c98ae7..9147df29022a 100644
--- a/Documentation/devicetree/bindings/spi/amlogic,meson-gx-spicc.yaml
+++ b/Documentation/devicetree/bindings/spi/amlogic,meson-gx-spicc.yaml
@@ -22,6 +22,7 @@ properties:
enum:
- amlogic,meson-gx-spicc # SPICC controller on Amlogic GX and compatible SoCs
- amlogic,meson-axg-spicc # SPICC controller on Amlogic AXG and compatible SoCs
+ - amlogic,meson-g12a-spicc # SPICC controller on Amlogic G12A and compatible SoCs
interrupts:
maxItems: 1
@@ -40,6 +41,27 @@ properties:
items:
- const: core
+if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - amlogic,meson-g12a-spicc
+
+then:
+ properties:
+ clocks:
+ contains:
+ items:
+ - description: controller register bus clock
+ - description: baud rate generator and delay control clock
+
+ clock-names:
+ minItems: 2
+ items:
+ - const: core
+ - const: pclk
+
required:
- compatible
- reg