brintos

brintos / linux-shallow public Read only

0
0
Text · 1.9 KiB · d9dd479 Raw
76 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/clock/qcom,sm6375-gpucc.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Qualcomm Graphics Clock & Reset Controller on SM63758 9maintainers:10  - Konrad Dybcio <konradybcio@kernel.org>11 12description: |13  Qualcomm graphics clock control module provides clocks, resets and power14  domains on Qualcomm SoCs.15 16  See also:: include/dt-bindings/clock/qcom,sm6375-gpucc.h17 18properties:19  compatible:20    enum:21      - qcom,sm6375-gpucc22 23  clocks:24    items:25      - description: Board XO source26      - description: GPLL0 main branch source27      - description: GPLL0 div branch source28      - description: SNoC DVM GFX source29 30  power-domains:31    description:32      A phandle and PM domain specifier for the VDD_GX power rail33    maxItems: 134 35  required-opps:36    description:37      A phandle to an OPP node describing required VDD_GX performance point.38    maxItems: 139 40required:41  - compatible42  - clocks43  - power-domains44  - required-opps45 46allOf:47  - $ref: qcom,gcc.yaml#48 49unevaluatedProperties: false50 51examples:52  - |53    #include <dt-bindings/clock/qcom,sm6375-gcc.h>54    #include <dt-bindings/clock/qcom,rpmcc.h>55    #include <dt-bindings/power/qcom-rpmpd.h>56 57    soc {58        #address-cells = <2>;59        #size-cells = <2>;60 61        clock-controller@5990000 {62            compatible = "qcom,sm6375-gpucc";63            reg = <0 0x05990000 0 0x9000>;64            clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,65                     <&gcc GCC_GPU_GPLL0_CLK_SRC>,66                     <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>,67                     <&gcc GCC_GPU_SNOC_DVM_GFX_CLK>;68            power-domains = <&rpmpd SM6375_VDDGX>;69            required-opps = <&rpmpd_opp_low_svs>;70            #clock-cells = <1>;71            #reset-cells = <1>;72            #power-domain-cells = <1>;73        };74    };75...76