summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/clock/qcom,dispcc-sm6125.yaml
diff options
context:
space:
mode:
authorMarijn Suijten <marijn.suijten@somainline.org>2023-07-23 18:08:44 +0200
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>2023-07-27 15:33:44 +0200
commit3a06fa8e518568e9fb0252b53c89d2d66d5037ad (patch)
tree6f07274d4b3d1bc4def1ff5f31fb81d78a34c8fb /Documentation/devicetree/bindings/clock/qcom,dispcc-sm6125.yaml
parentdt-bindings: clock: qcom, dispcc-sm6125: Require GCC PLL0 DIV clock (diff)
downloadlinux-3a06fa8e518568e9fb0252b53c89d2d66d5037ad.tar.xz
linux-3a06fa8e518568e9fb0252b53c89d2d66d5037ad.zip
dt-bindings: clock: qcom, dispcc-sm6125: Allow power-domains property
On SM6125 the dispcc block is gated behind VDDCX: allow this domain to be configured. Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org> Patchwork: https://patchwork.freedesktop.org/patch/548970/ Link: https://lore.kernel.org/r/20230723-sm6125-dpu-v4-6-a3f287dd6c07@somainline.org Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/clock/qcom,dispcc-sm6125.yaml')
-rw-r--r--Documentation/devicetree/bindings/clock/qcom,dispcc-sm6125.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/clock/qcom,dispcc-sm6125.yaml b/Documentation/devicetree/bindings/clock/qcom,dispcc-sm6125.yaml
index 8fd29915bf2c..0a3ef7fd03fa 100644
--- a/Documentation/devicetree/bindings/clock/qcom,dispcc-sm6125.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,dispcc-sm6125.yaml
@@ -48,6 +48,16 @@ properties:
'#power-domain-cells':
const: 1
+ power-domains:
+ description:
+ A phandle and PM domain specifier for the CX power domain.
+ maxItems: 1
+
+ required-opps:
+ description:
+ A phandle to an OPP node describing the power domain's performance point.
+ maxItems: 1
+
reg:
maxItems: 1
@@ -65,9 +75,11 @@ examples:
- |
#include <dt-bindings/clock/qcom,rpmcc.h>
#include <dt-bindings/clock/qcom,gcc-sm6125.h>
+ #include <dt-bindings/power/qcom-rpmpd.h>
clock-controller@5f00000 {
compatible = "qcom,sm6125-dispcc";
reg = <0x5f00000 0x20000>;
+
clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
<&dsi0_phy 0>,
<&dsi0_phy 1>,
@@ -84,6 +96,10 @@ examples:
"dp_phy_pll_vco_div_clk",
"cfg_ahb_clk",
"gcc_disp_gpll0_div_clk_src";
+
+ required-opps = <&rpmhpd_opp_ret>;
+ power-domains = <&rpmpd SM6125_VDDCX>;
+
#clock-cells = <1>;
#power-domain-cells = <1>;
};