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

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 <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-3-dmitry.baryshkov@linaro.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Dmitry Baryshkov and committed by
Stephen Boyd
a3bb8a70 730d688f

+13
+13
Documentation/devicetree/bindings/clock/qcom,videocc.yaml
··· 49 49 reg: 50 50 maxItems: 1 51 51 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 + 52 62 required: 53 63 - compatible 54 64 - reg ··· 73 63 examples: 74 64 - | 75 65 #include <dt-bindings/clock/qcom,rpmh.h> 66 + #include <dt-bindings/power/qcom-rpmpd.h> 76 67 clock-controller@ab00000 { 77 68 compatible = "qcom,sdm845-videocc"; 78 69 reg = <0x0ab00000 0x10000>; ··· 82 71 #clock-cells = <1>; 83 72 #reset-cells = <1>; 84 73 #power-domain-cells = <1>; 74 + power-domains = <&rpmhpd SM8250_MMCX>; 75 + required-opps = <&rpmhpd_opp_low_svs>; 85 76 }; 86 77 ...