mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 03:23:53 -04:00
Qualcomm GX(graphics) is a clock controller which has PLLs, clocks and Power domains (GDSC), but the requirement from the SW driver is to use the GDSC power domain from the clock controller to recover the GPU firmware in case of any failure/hangs. The rest of the resources of the clock controller are being used by the firmware of GPU. This module exposes the GDSC power domains which helps the recovery of Graphics subsystem. Add bindings documentation for the Kaanapali Graphics Clock and Graphics power domain Controller for Kaanapali SoC. Signed-off-by: Jingyi Wang <jingyi.wang@oss.qualcomm.com> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Signed-off-by: Taniya Das <taniya.das@oss.qualcomm.com> Link: https://lore.kernel.org/r/20260107-kaanapali-mmcc-v3-v3-7-8e10adc236a8@oss.qualcomm.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
64 lines
1.5 KiB
YAML
64 lines
1.5 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/clock/qcom,kaanapali-gxclkctl.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Qualcomm Graphics power domain Controller on Kaanapali
|
|
|
|
maintainers:
|
|
- Taniya Das <taniya.das@oss.qualcomm.com>
|
|
|
|
description: |
|
|
Qualcomm GX(graphics) is a clock controller which has PLLs, clocks and
|
|
Power domains (GDSC). This module provides the power domains control
|
|
of gxclkctl on Qualcomm SoCs which helps the recovery of Graphics subsystem.
|
|
|
|
See also:
|
|
include/dt-bindings/clock/qcom,kaanapali-gxclkctl.h
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- qcom,kaanapali-gxclkctl
|
|
|
|
power-domains:
|
|
description:
|
|
Power domains required for the clock controller to operate
|
|
items:
|
|
- description: GFX power domain
|
|
- description: GMXC power domain
|
|
- description: GPUCC(CX) power domain
|
|
|
|
'#power-domain-cells':
|
|
const: 1
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- power-domains
|
|
- '#power-domain-cells'
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/power/qcom,rpmhpd.h>
|
|
soc {
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
|
|
clock-controller@3d64000 {
|
|
compatible = "qcom,kaanapali-gxclkctl";
|
|
reg = <0x0 0x03d64000 0x0 0x6000>;
|
|
power-domains = <&rpmhpd RPMHPD_GFX>,
|
|
<&rpmhpd RPMHPD_GMXC>,
|
|
<&gpucc 0>;
|
|
#power-domain-cells = <1>;
|
|
};
|
|
};
|
|
...
|