diff --git a/bindings/clock/qcom,gx_clkctl.yaml b/bindings/clock/qcom,gx_clkctl.yaml new file mode 100644 index 00000000..0790d60d --- /dev/null +++ b/bindings/clock/qcom,gx_clkctl.yaml @@ -0,0 +1,58 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,gx_clkctl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Technologies, Inc. GPU GX_CLKCTL controller + +maintainers: + - Jagadeesh Kona + +description: | + Graphics GX_CLKCTL clock controller binding which supports + GX_CLKCTL GDSC power domain. + + See also: + dt-bindings/clock/qcom,gxclkctl-sun.h + +properties: + compatible: + enum: + - qcom,sun-gx_clkctl + + reg: + maxItems: 1 + + power-domains: + description: + A phandle and PM domain specifier for the GPU CX GDSC power domain. + maxItems: 1 + + vdd_gx-supply: + description: Phandle pointer to the parent logic rail supply + + '#power-domain-cells': + const: 1 + +required: + - compatible + - reg + - power-domains + - vdd_gx-supply + - '#power-domain-cells' + +additionalProperties: false + +examples: + - | + #include + gxclkctl: clock-controller@3d68024 { + compatible = "qcom,sun-gx_clkctl"; + reg = <0x3d68024 0x8>; + reg-name = "cc_base"; + power-domains = <&gpucc GPU_CC_CX_GDSC>; + vdd_gx-supply = <&VDD_GFX_GFX_MXC_VOTER_LEVEL>; + #power-domain-cells = <1>; + }; +...