[PATCH 1/4] dt-bindings: spi: amlogic,a1-spifc: make power-domains required
George Stark
gnstark at salutedevices.com
Mon Jul 8 12:48:05 PDT 2024
SPI Flash Controller has dedicated power domain so make the
corresponding property required.
Signed-off-by: George Stark <gnstark at salutedevices.com>
---
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 at 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
More information about the linux-amlogic
mailing list