12a8aa18cSDouglas Anderson# SPDX-License-Identifier: GPL-2.0-only 22a8aa18cSDouglas Anderson%YAML 1.2 32a8aa18cSDouglas Anderson--- 42a8aa18cSDouglas Anderson$id: http://devicetree.org/schemas/clock/qcom,gcc-apq8064.yaml# 52a8aa18cSDouglas Anderson$schema: http://devicetree.org/meta-schemas/core.yaml# 62a8aa18cSDouglas Anderson 7ece3c319SKrzysztof Kozlowskititle: Qualcomm Global Clock & Reset Controller on APQ8064/MSM8960 8a469bf89SAnsuel Smith 92a8aa18cSDouglas Andersonmaintainers: 102a8aa18cSDouglas Anderson - Stephen Boyd <sboyd@kernel.org> 11*60838878STaniya Das - Taniya Das <quic_tdas@quicinc.com> 122a8aa18cSDouglas Anderson 132a8aa18cSDouglas Andersondescription: | 14ece3c319SKrzysztof Kozlowski Qualcomm global clock control module provides the clocks, resets and power 15ece3c319SKrzysztof Kozlowski domains on APQ8064. 162a8aa18cSDouglas Anderson 17ece3c319SKrzysztof Kozlowski See also:: 18ece3c319SKrzysztof Kozlowski include/dt-bindings/clock/qcom,gcc-msm8960.h 19ece3c319SKrzysztof Kozlowski include/dt-bindings/reset/qcom,gcc-msm8960.h 20ece3c319SKrzysztof Kozlowski 21ece3c319SKrzysztof KozlowskiallOf: 22ece3c319SKrzysztof Kozlowski - $ref: qcom,gcc.yaml# 232a8aa18cSDouglas Anderson 242a8aa18cSDouglas Andersonproperties: 252a8aa18cSDouglas Anderson compatible: 26621f9848SDmitry Baryshkov oneOf: 27621f9848SDmitry Baryshkov - items: 28621f9848SDmitry Baryshkov - enum: 2991a4cbf9SDmitry Baryshkov - qcom,gcc-apq8064 3091a4cbf9SDmitry Baryshkov - qcom,gcc-msm8960 31621f9848SDmitry Baryshkov - const: syscon 32621f9848SDmitry Baryshkov - enum: 33621f9848SDmitry Baryshkov - qcom,gcc-apq8064 34621f9848SDmitry Baryshkov - qcom,gcc-msm8960 35621f9848SDmitry Baryshkov deprecated: true 36621f9848SDmitry Baryshkov 37621f9848SDmitry Baryshkov thermal-sensor: 38621f9848SDmitry Baryshkov description: child tsens device 39621f9848SDmitry Baryshkov $ref: /schemas/thermal/qcom-tsens.yaml# 402a8aa18cSDouglas Anderson 41e18e181cSDmitry Baryshkov clocks: 42e18e181cSDmitry Baryshkov maxItems: 3 43e18e181cSDmitry Baryshkov 44e18e181cSDmitry Baryshkov clock-names: 45e18e181cSDmitry Baryshkov items: 46e18e181cSDmitry Baryshkov - const: cxo 47e18e181cSDmitry Baryshkov - const: pxo 48e18e181cSDmitry Baryshkov - const: pll4 49e18e181cSDmitry Baryshkov 502a8aa18cSDouglas Anderson nvmem-cells: 512a8aa18cSDouglas Anderson minItems: 1 522a8aa18cSDouglas Anderson maxItems: 2 53621f9848SDmitry Baryshkov deprecated: true 542a8aa18cSDouglas Anderson description: 552a8aa18cSDouglas Anderson Qualcomm TSENS (thermal sensor device) on some devices can 562a8aa18cSDouglas Anderson be part of GCC and hence the TSENS properties can also be part 572a8aa18cSDouglas Anderson of the GCC/clock-controller node. 582a8aa18cSDouglas Anderson For more details on the TSENS properties please refer 5954b3719dSMauro Carvalho Chehab Documentation/devicetree/bindings/thermal/qcom-tsens.yaml 602a8aa18cSDouglas Anderson 612a8aa18cSDouglas Anderson nvmem-cell-names: 622a8aa18cSDouglas Anderson minItems: 1 63621f9848SDmitry Baryshkov deprecated: true 642a8aa18cSDouglas Anderson items: 652a8aa18cSDouglas Anderson - const: calib 662a8aa18cSDouglas Anderson - const: calib_backup 672a8aa18cSDouglas Anderson 682a8aa18cSDouglas Anderson '#thermal-sensor-cells': 692a8aa18cSDouglas Anderson const: 1 70621f9848SDmitry Baryshkov deprecated: true 712a8aa18cSDouglas Anderson 722a8aa18cSDouglas Andersonrequired: 732a8aa18cSDouglas Anderson - compatible 742a8aa18cSDouglas Anderson 75a469bf89SAnsuel SmithunevaluatedProperties: false 767f464532SRob Herring 772a8aa18cSDouglas Andersonexamples: 782a8aa18cSDouglas Anderson - | 792a8aa18cSDouglas Anderson clock-controller@900000 { 80621f9848SDmitry Baryshkov compatible = "qcom,gcc-apq8064", "syscon"; 812a8aa18cSDouglas Anderson reg = <0x00900000 0x4000>; 822a8aa18cSDouglas Anderson #clock-cells = <1>; 832a8aa18cSDouglas Anderson #reset-cells = <1>; 842a8aa18cSDouglas Anderson #power-domain-cells = <1>; 85621f9848SDmitry Baryshkov 86621f9848SDmitry Baryshkov thermal-sensor { 87621f9848SDmitry Baryshkov compatible = "qcom,msm8960-tsens"; 88621f9848SDmitry Baryshkov 89621f9848SDmitry Baryshkov nvmem-cells = <&tsens_calib>, <&tsens_backup>; 90621f9848SDmitry Baryshkov nvmem-cell-names = "calib", "calib_backup"; 91621f9848SDmitry Baryshkov interrupts = <0 178 4>; 92621f9848SDmitry Baryshkov interrupt-names = "uplow"; 93621f9848SDmitry Baryshkov 94621f9848SDmitry Baryshkov #qcom,sensors = <11>; 952a8aa18cSDouglas Anderson #thermal-sensor-cells = <1>; 962a8aa18cSDouglas Anderson }; 97621f9848SDmitry Baryshkov }; 982a8aa18cSDouglas Anderson... 99