[PATCH 1/4] dt-bindings: spi: amlogic,a1-spifc: make power-domains required
From: George Stark
Date: Mon Jul 08 2024 - 15:48:56 EST
SPI Flash Controller has dedicated power domain so make the
corresponding property required.
Signed-off-by: George Stark <gnstark@xxxxxxxxxxxxxxxxx>
---
Documentation/devicetree/bindings/spi/amlogic,a1-spifc.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/spi/amlogic,a1-spifc.yaml b/Documentation/devicetree/bindings/spi/amlogic,a1-spifc.yaml
index 043879b434ac..e704aff8a862 100644
--- a/Documentation/devicetree/bindings/spi/amlogic,a1-spifc.yaml
+++ b/Documentation/devicetree/bindings/spi/amlogic,a1-spifc.yaml
@@ -30,15 +30,19 @@ required:
- compatible
- reg
- clocks
+ - power-domains
unevaluatedProperties: false
examples:
- |
+ #include <dt-bindings/power/meson-a1-power.h>
+
spi@fd000400 {
compatible = "amlogic,a1-spifc";
reg = <0xfd000400 0x290>;
clocks = <&clkc_clkid_spifc>;
#address-cells = <1>;
#size-cells = <0>;
+ power-domains = <&pwrc PWRC_SPIFC_ID>;
};
--
2.25.1