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

dt-bindings: clock: sm6375-gpucc: Add VDD_GX

The GPUCC block on SM6375 is powered by VDD_CX and VDD_GX. If the latter
rail is not online, GX_GDSC will never turn on. Describe the missing
handles.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230529-topic-sm6375gpuccpd-v1-1-8d57c41a6066@linaro.org

authored by

Konrad Dybcio and committed by
Bjorn Andersson
2f138c66 e88c533d

+15
+15
Documentation/devicetree/bindings/clock/qcom,sm6375-gpucc.yaml
··· 27 27 - description: GPLL0 div branch source 28 28 - description: SNoC DVM GFX source 29 29 30 + power-domains: 31 + description: 32 + A phandle and PM domain specifier for the VDD_GX power rail 33 + maxItems: 1 34 + 35 + required-opps: 36 + description: 37 + A phandle to an OPP node describing required VDD_GX performance point. 38 + maxItems: 1 39 + 30 40 required: 31 41 - compatible 32 42 - clocks 43 + - power-domains 44 + - required-opps 33 45 34 46 allOf: 35 47 - $ref: qcom,gcc.yaml# ··· 52 40 - | 53 41 #include <dt-bindings/clock/qcom,sm6375-gcc.h> 54 42 #include <dt-bindings/clock/qcom,rpmcc.h> 43 + #include <dt-bindings/power/qcom-rpmpd.h> 55 44 56 45 soc { 57 46 #address-cells = <2>; ··· 65 52 <&gcc GCC_GPU_GPLL0_CLK_SRC>, 66 53 <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>, 67 54 <&gcc GCC_GPU_SNOC_DVM_GFX_CLK>; 55 + power-domains = <&rpmpd SM6375_VDDGX>; 56 + required-opps = <&rpmpd_opp_low_svs>; 68 57 #clock-cells = <1>; 69 58 #reset-cells = <1>; 70 59 #power-domain-cells = <1>;