Skip to content

Commit 2f138c6

Browse files
konradybcioandersson
authored andcommitted
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
1 parent e88c533 commit 2f138c6

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

Documentation/devicetree/bindings/clock/qcom,sm6375-gpucc.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,21 @@ properties:
2727
- description: GPLL0 div branch source
2828
- description: SNoC DVM GFX source
2929

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+
3040
required:
3141
- compatible
3242
- clocks
43+
- power-domains
44+
- required-opps
3345

3446
allOf:
3547
- $ref: qcom,gcc.yaml#
@@ -40,6 +52,7 @@ examples:
4052
- |
4153
#include <dt-bindings/clock/qcom,sm6375-gcc.h>
4254
#include <dt-bindings/clock/qcom,rpmcc.h>
55+
#include <dt-bindings/power/qcom-rpmpd.h>
4356
4457
soc {
4558
#address-cells = <2>;
@@ -52,6 +65,8 @@ examples:
5265
<&gcc GCC_GPU_GPLL0_CLK_SRC>,
5366
<&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>,
5467
<&gcc GCC_GPU_SNOC_DVM_GFX_CLK>;
68+
power-domains = <&rpmpd SM6375_VDDGX>;
69+
required-opps = <&rpmpd_opp_low_svs>;
5570
#clock-cells = <1>;
5671
#reset-cells = <1>;
5772
#power-domain-cells = <1>;

0 commit comments

Comments
 (0)