Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <dmitry.baryshkov@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20210829154757.784699-2-dmitry.baryshkov@linaro.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Dmitry Baryshkov and committed by
Stephen Boyd
730d688f aeca6ac1

+13
+13
Documentation/devicetree/bindings/clock/qcom,dispcc-sm8x50.yaml
··· 56 56 reg: 57 57 maxItems: 1 58 58 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 + 59 69 required: 60 70 - compatible 61 71 - reg ··· 80 70 examples: 81 71 - | 82 72 #include <dt-bindings/clock/qcom,rpmh.h> 73 + #include <dt-bindings/power/qcom-rpmpd.h> 83 74 clock-controller@af00000 { 84 75 compatible = "qcom,sm8250-dispcc"; 85 76 reg = <0x0af00000 0x10000>; ··· 101 90 #clock-cells = <1>; 102 91 #reset-cells = <1>; 103 92 #power-domain-cells = <1>; 93 + power-domains = <&rpmhpd SM8250_MMCX>; 94 + required-opps = <&rpmhpd_opp_low_svs>; 104 95 }; 105 96 ...