[PATCH 1/3] dt-bindings: power: mediatek: Document phandle to SCPSYS syscon node

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Mon Jul 11 05:25:01 PDT 2022


Add a phandle to the syscon block providing access to SCPSYS registers:
this allows us to avoid using simple-mfd for the SCPSYS node and
nesting the System Power Manager node inside.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
---
 .../devicetree/bindings/power/mediatek,power-controller.yaml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml b/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml
index 135c6f722091..848fdff7c9d8 100644
--- a/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml
+++ b/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml
@@ -39,6 +39,11 @@ properties:
   '#size-cells':
     const: 0
 
+  syscon:
+    $ref: /schemas/types.yaml#/definitions/phandle
+    description:
+      Phandle to the syscon block providing access to SCPSYS registers
+
 patternProperties:
   "^power-domain@[0-9a-f]+$":
     type: object
-- 
2.35.1




More information about the linux-arm-kernel mailing list