summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/power/amlogic,meson-ee-pwrc.yaml
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2020-09-17 08:47:01 +0200
committerKevin Hilman <khilman@baylibre.com>2020-09-18 13:22:14 -0700
commit97de44c5ecd413d3da3d4ace74272a1ad6a409ca (patch)
tree04329ed63a37643f316147d6a98d5d84ac096854 /Documentation/devicetree/bindings/power/amlogic,meson-ee-pwrc.yaml
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 (diff)
dt-bindings: power: amlogic, meson-ee-pwrc: add Amlogic AXG power controller bindings
This add the bindings of the Power Controller found in the Amlogic AXG SoCs. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com> Reviewed-by: Rob Herring <robh@kernel.org> Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Link: https://lore.kernel.org/r/20200917064702.1459-2-narmstrong@baylibre.com
Diffstat (limited to 'Documentation/devicetree/bindings/power/amlogic,meson-ee-pwrc.yaml')
-rw-r--r--Documentation/devicetree/bindings/power/amlogic,meson-ee-pwrc.yaml23
1 files changed, 21 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/power/amlogic,meson-ee-pwrc.yaml b/Documentation/devicetree/bindings/power/amlogic,meson-ee-pwrc.yaml
index 4f524f822e84..d30f85cc395e 100644
--- a/Documentation/devicetree/bindings/power/amlogic,meson-ee-pwrc.yaml
+++ b/Documentation/devicetree/bindings/power/amlogic,meson-ee-pwrc.yaml
@@ -27,6 +27,7 @@ properties:
- amlogic,meson8b-pwrc
- amlogic,meson8m2-pwrc
- amlogic,meson-gxbb-pwrc
+ - amlogic,meson-axg-pwrc
- amlogic,meson-g12a-pwrc
- amlogic,meson-sm1-pwrc
@@ -42,11 +43,11 @@ properties:
- const: vapb
resets:
- minItems: 11
+ minItems: 5
maxItems: 12
reset-names:
- minItems: 11
+ minItems: 5
maxItems: 12
"#power-domain-cells":
@@ -111,6 +112,24 @@ allOf:
properties:
compatible:
enum:
+ - amlogic,meson-axg-pwrc
+ then:
+ properties:
+ reset-names:
+ items:
+ - const: viu
+ - const: venc
+ - const: vcbus
+ - const: vencl
+ - const: vid_lock
+ required:
+ - resets
+ - reset-names
+
+ - if:
+ properties:
+ compatible:
+ enum:
- amlogic,meson-g12a-pwrc
- amlogic,meson-sm1-pwrc
then: