xref: /linux/Documentation/devicetree/bindings/clock/qcom,milos-gxclkctl.yaml (revision 2ed2e359dea752e7758d29a423033031a0b96584)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/qcom,milos-gxclkctl.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Graphics Power Domain Controller on Milos
8
9maintainers:
10  - Luca Weiss <luca.weiss@fairphone.com>
11
12description: |
13  Qualcomm GX(graphics) is a clock controller which has PLLs, clocks and
14  Power domains (GDSC). This module provides the power domains control
15  of gxclkctl on Qualcomm SoCs which helps the recovery of Graphics subsystem.
16
17  See also:
18    include/dt-bindings/clock/qcom,kaanapali-gxclkctl.h
19
20properties:
21  compatible:
22    enum:
23      - qcom,milos-gxclkctl
24
25  reg:
26    maxItems: 1
27
28  power-domains:
29    description:
30      Power domains required for the clock controller to operate
31    items:
32      - description: GFX power domain
33      - description: GPUCC(CX) power domain
34
35  '#power-domain-cells':
36    const: 1
37
38required:
39  - compatible
40  - reg
41  - power-domains
42  - '#power-domain-cells'
43
44additionalProperties: false
45
46examples:
47  - |
48    #include <dt-bindings/power/qcom,rpmhpd.h>
49    soc {
50        #address-cells = <2>;
51        #size-cells = <2>;
52
53        clock-controller@3d64000 {
54            compatible = "qcom,milos-gxclkctl";
55            reg = <0x0 0x03d64000 0x0 0x6000>;
56            power-domains = <&rpmhpd RPMHPD_GFX>,
57                            <&gpucc 0>;
58            #power-domain-cells = <1>;
59        };
60    };
61...
62