| 1 |
# SPDX-License-Identifier: GPL-2.0-only |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/clock/qcom,gcc-apq8064.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Qualcomm Global Clock & Reset Controller on APQ8064/MSM8960 |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Stephen Boyd <[email protected]> |
| 11 |
- Taniya Das <[email protected]> |
| 12 |
|
| 13 |
description: | |
| 14 |
Qualcomm global clock control module provides the clocks, resets and power |
| 15 |
domains on APQ8064. |
| 16 |
|
| 17 |
See also:: |
| 18 |
include/dt-bindings/clock/qcom,gcc-msm8960.h |
| 19 |
include/dt-bindings/reset/qcom,gcc-msm8960.h |
| 20 |
|
| 21 |
allOf: |
| 22 |
- $ref: qcom,gcc.yaml# |
| 23 |
|
| 24 |
properties: |
| 25 |
compatible: |
| 26 |
oneOf: |
| 27 |
- items: |
| 28 |
- enum: |
| 29 |
- qcom,gcc-apq8064 |
| 30 |
- qcom,gcc-msm8960 |
| 31 |
- const: syscon |
| 32 |
- enum: |
| 33 |
- qcom,gcc-apq8064 |
| 34 |
- qcom,gcc-msm8960 |
| 35 |
deprecated: true |
| 36 |
|
| 37 |
thermal-sensor: |
| 38 |
description: child tsens device |
| 39 |
$ref: /schemas/thermal/qcom-tsens.yaml# |
| 40 |
|
| 41 |
clocks: |
| 42 |
maxItems: 3 |
| 43 |
|
| 44 |
clock-names: |
| 45 |
items: |
| 46 |
- const: cxo |
| 47 |
- const: pxo |
| 48 |
- const: pll4 |
| 49 |
|
| 50 |
nvmem-cells: |
| 51 |
minItems: 1 |
| 52 |
maxItems: 2 |
| 53 |
deprecated: true |
| 54 |
description: |
| 55 |
Qualcomm TSENS (thermal sensor device) on some devices can |
| 56 |
be part of GCC and hence the TSENS properties can also be part |
| 57 |
of the GCC/clock-controller node. |
| 58 |
For more details on the TSENS properties please refer |
| 59 |
Documentation/devicetree/bindings/thermal/qcom-tsens.yaml |
| 60 |
|
| 61 |
nvmem-cell-names: |
| 62 |
minItems: 1 |
| 63 |
deprecated: true |
| 64 |
items: |
| 65 |
- const: calib |
| 66 |
- const: calib_backup |
| 67 |
|
| 68 |
'#thermal-sensor-cells': |
| 69 |
const: 1 |
| 70 |
deprecated: true |
| 71 |
|
| 72 |
'#power-domain-cells': false |
| 73 |
|
| 74 |
required: |
| 75 |
- compatible |
| 76 |
|
| 77 |
unevaluatedProperties: false |
| 78 |
|
| 79 |
examples: |
| 80 |
- | |
| 81 |
clock-controller@900000 { |
| 82 |
compatible = "qcom,gcc-apq8064", "syscon"; |
| 83 |
reg = <0x00900000 0x4000>; |
| 84 |
#clock-cells = <1>; |
| 85 |
#reset-cells = <1>; |
| 86 |
|
| 87 |
thermal-sensor { |
| 88 |
compatible = "qcom,msm8960-tsens"; |
| 89 |
|
| 90 |
nvmem-cells = <&tsens_calib>, <&tsens_backup>; |
| 91 |
nvmem-cell-names = "calib", "calib_backup"; |
| 92 |
interrupts = <0 178 4>; |
| 93 |
interrupt-names = "uplow"; |
| 94 |
|
| 95 |
#qcom,sensors = <11>; |
| 96 |
#thermal-sensor-cells = <1>; |
| 97 |
}; |
| 98 |
}; |
| 99 |
... |