@@ -31,6 +31,7 @@ properties:
3131 - mediatek,mt8183-mmsys
3232 - mediatek,mt8186-mmsys
3333 - mediatek,mt8192-mmsys
34+ - mediatek,mt8195-mmsys
3435 - mediatek,mt8365-mmsys
3536 - const : syscon
3637 - items :
@@ -41,6 +42,30 @@ properties:
4142 reg :
4243 maxItems : 1
4344
45+ power-domains :
46+ description :
47+ A phandle and PM domain specifier as defined by bindings
48+ of the power controller specified by phandle. See
49+ Documentation/devicetree/bindings/power/power-domain.yaml for details.
50+
51+ mboxes :
52+ description :
53+ Using mailbox to communicate with GCE, it should have this
54+ property and list of phandle, mailbox specifiers. See
55+ Documentation/devicetree/bindings/mailbox/mtk-gce.txt for details.
56+ $ref : /schemas/types.yaml#/definitions/phandle-array
57+
58+ mediatek,gce-client-reg :
59+ description :
60+ The register of client driver can be configured by gce with 4 arguments
61+ defined in this property, such as phandle of gce, subsys id,
62+ register offset and size.
63+ Each subsys id is mapping to a base address of display function blocks
64+ register which is defined in the gce header
65+ include/dt-bindings/gce/<chip>-gce.h.
66+ $ref : /schemas/types.yaml#/definitions/phandle-array
67+ maxItems : 1
68+
4469 " #clock-cells " :
4570 const : 1
4671
@@ -56,9 +81,16 @@ additionalProperties: false
5681
5782examples :
5883 - |
84+ #include <dt-bindings/power/mt8173-power.h>
85+ #include <dt-bindings/gce/mt8173-gce.h>
86+
5987 mmsys: syscon@14000000 {
6088 compatible = "mediatek,mt8173-mmsys", "syscon";
6189 reg = <0x14000000 0x1000>;
90+ power-domains = <&spm MT8173_POWER_DOMAIN_MM>;
6291 #clock-cells = <1>;
6392 #reset-cells = <1>;
93+ mboxes = <&gce 0 CMDQ_THR_PRIO_HIGHEST>,
94+ <&gce 1 CMDQ_THR_PRIO_HIGHEST>;
95+ mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0 0x1000>;
6496 };
0 commit comments