| 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,kaanapali-gxclkctl.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Qualcomm Graphics power domain Controller on Kaanapali |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Taniya Das <[email protected]> |
| 11 |
|
| 12 |
description: | |
| 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 |
|
| 20 |
properties: |
| 21 |
compatible: |
| 22 |
enum: |
| 23 |
- qcom,kaanapali-gxclkctl |
| 24 |
|
| 25 |
power-domains: |
| 26 |
description: |
| 27 |
Power domains required for the clock controller to operate |
| 28 |
items: |
| 29 |
- description: GFX power domain |
| 30 |
- description: GMXC power domain |
| 31 |
- description: GPUCC(CX) power domain |
| 32 |
|
| 33 |
'#power-domain-cells': |
| 34 |
const: 1 |
| 35 |
|
| 36 |
reg: |
| 37 |
maxItems: 1 |
| 38 |
|
| 39 |
required: |
| 40 |
- compatible |
| 41 |
- reg |
| 42 |
- power-domains |
| 43 |
- '#power-domain-cells' |
| 44 |
|
| 45 |
unevaluatedProperties: false |
| 46 |
|
| 47 |
examples: |
| 48 |
- | |
| 49 |
#include <dt-bindings/power/qcom,rpmhpd.h> |
| 50 |
soc { |
| 51 |
#address-cells = <2>; |
| 52 |
#size-cells = <2>; |
| 53 |
|
| 54 |
clock-controller@3d64000 { |
| 55 |
compatible = "qcom,kaanapali-gxclkctl"; |
| 56 |
reg = <0x0 0x03d64000 0x0 0x6000>; |
| 57 |
power-domains = <&rpmhpd RPMHPD_GFX>, |
| 58 |
<&rpmhpd RPMHPD_GMXC>, |
| 59 |
<&gpucc 0>; |
| 60 |
#power-domain-cells = <1>; |
| 61 |
}; |
| 62 |
}; |
| 63 |
... |