Skip to content

Commit 730d688

Browse files
lumagbebarino
authored andcommitted
dt-bindings: clock: qcom,dispcc-sm8x50: add mmcx power domain
On sm8250 dispcc requires MMCX power domain to be powered up before clock controller's registers become available. For now sm8250 was using external regulator driven by the power domain to describe this relationship. Switch into specifying power-domain and required opp-state directly. Signed-off-by: Dmitry Baryshkov <[email protected]> Reviewed-by: Bjorn Andersson <[email protected]> Reviewed-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent aeca6ac commit 730d688

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Documentation/devicetree/bindings/clock/qcom,dispcc-sm8x50.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,16 @@ properties:
5656
reg:
5757
maxItems: 1
5858

59+
power-domains:
60+
description:
61+
A phandle and PM domain specifier for the MMCX power domain.
62+
maxItems: 1
63+
64+
required-opps:
65+
description:
66+
A phandle to an OPP node describing required MMCX performance point.
67+
maxItems: 1
68+
5969
required:
6070
- compatible
6171
- reg
@@ -70,6 +80,7 @@ additionalProperties: false
7080
examples:
7181
- |
7282
#include <dt-bindings/clock/qcom,rpmh.h>
83+
#include <dt-bindings/power/qcom-rpmpd.h>
7384
clock-controller@af00000 {
7485
compatible = "qcom,sm8250-dispcc";
7586
reg = <0x0af00000 0x10000>;
@@ -90,5 +101,7 @@ examples:
90101
#clock-cells = <1>;
91102
#reset-cells = <1>;
92103
#power-domain-cells = <1>;
104+
power-domains = <&rpmhpd SM8250_MMCX>;
105+
required-opps = <&rpmhpd_opp_low_svs>;
93106
};
94107
...

0 commit comments

Comments
 (0)