Skip to content

Commit a3bb8a7

Browse files
lumagbebarino
authored andcommitted
dt-bindings: clock: qcom,videocc: add mmcx power domain
On sm8250 videocc 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 730d688 commit a3bb8a7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Documentation/devicetree/bindings/clock/qcom,videocc.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,16 @@ properties:
4949
reg:
5050
maxItems: 1
5151

52+
power-domains:
53+
description:
54+
A phandle and PM domain specifier for the MMCX power domain.
55+
maxItems: 1
56+
57+
required-opps:
58+
description:
59+
A phandle to an OPP node describing required MMCX performance point.
60+
maxItems: 1
61+
5262
required:
5363
- compatible
5464
- reg
@@ -63,6 +73,7 @@ additionalProperties: false
6373
examples:
6474
- |
6575
#include <dt-bindings/clock/qcom,rpmh.h>
76+
#include <dt-bindings/power/qcom-rpmpd.h>
6677
clock-controller@ab00000 {
6778
compatible = "qcom,sdm845-videocc";
6879
reg = <0x0ab00000 0x10000>;
@@ -71,5 +82,7 @@ examples:
7182
#clock-cells = <1>;
7283
#reset-cells = <1>;
7384
#power-domain-cells = <1>;
85+
power-domains = <&rpmhpd SM8250_MMCX>;
86+
required-opps = <&rpmhpd_opp_low_svs>;
7487
};
7588
...

0 commit comments

Comments
 (0)