Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: clock: document qcom,gcc-ipq8064 binding

Document qcom,gcc-ipq8064 binding needed to declare pxo and cxo source
clocks. The gcc node is also used by the tsens driver, already documented,
to get the calib nvmem cells and the base reg from gcc. Use
qcom,gcc.yaml as a template and remove the compatible from
generic qcom,gcc-other.yaml

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Tested-by: Jonathan McDowell <noodles@earth.li>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220226135235.10051-4-ansuelsmth@gmail.com

authored by

Ansuel Smith and committed by
Bjorn Andersson
85e12587 a469bf89

+76 -3
+76
Documentation/devicetree/bindings/clock/qcom,gcc-ipq8064.yaml
··· 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,gcc-ipq8064.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Qualcomm Global Clock & Reset Controller Binding for IPQ8064 8 + 9 + allOf: 10 + - $ref: qcom,gcc.yaml# 11 + 12 + maintainers: 13 + - Ansuel Smith <ansuelsmth@gmail.com> 14 + 15 + description: | 16 + Qualcomm global clock control module which supports the clocks, resets and 17 + power domains on IPQ8064. 18 + 19 + See also: 20 + - dt-bindings/clock/qcom,gcc-ipq806x.h (qcom,gcc-ipq8064) 21 + - dt-bindings/reset/qcom,gcc-ipq806x.h (qcom,gcc-ipq8064) 22 + 23 + properties: 24 + compatible: 25 + items: 26 + - const: qcom,gcc-ipq8064 27 + - const: syscon 28 + 29 + clocks: 30 + items: 31 + - description: PXO source 32 + - description: CXO source 33 + 34 + clock-names: 35 + items: 36 + - const: pxo 37 + - const: cxo 38 + 39 + thermal-sensor: 40 + type: object 41 + 42 + allOf: 43 + - $ref: /schemas/thermal/qcom-tsens.yaml# 44 + 45 + required: 46 + - compatible 47 + - clocks 48 + - clock-names 49 + 50 + unevaluatedProperties: false 51 + 52 + examples: 53 + - | 54 + #include <dt-bindings/interrupt-controller/arm-gic.h> 55 + 56 + gcc: clock-controller@900000 { 57 + compatible = "qcom,gcc-ipq8064", "syscon"; 58 + reg = <0x00900000 0x4000>; 59 + clocks = <&pxo_board>, <&cxo_board>; 60 + clock-names = "pxo", "cxo"; 61 + #clock-cells = <1>; 62 + #reset-cells = <1>; 63 + #power-domain-cells = <1>; 64 + 65 + tsens: thermal-sensor { 66 + compatible = "qcom,ipq8064-tsens"; 67 + 68 + nvmem-cells = <&tsens_calib>, <&tsens_calib_backup>; 69 + nvmem-cell-names = "calib", "calib_backup"; 70 + interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>; 71 + interrupt-names = "uplow"; 72 + 73 + #qcom,sensors = <11>; 74 + #thermal-sensor-cells = <1>; 75 + }; 76 + };
-3
Documentation/devicetree/bindings/clock/qcom,gcc-other.yaml
··· 18 18 - dt-bindings/clock/qcom,gcc-ipq4019.h 19 19 - dt-bindings/clock/qcom,gcc-ipq6018.h 20 20 - dt-bindings/reset/qcom,gcc-ipq6018.h 21 - - dt-bindings/clock/qcom,gcc-ipq806x.h (qcom,gcc-ipq8064) 22 - - dt-bindings/reset/qcom,gcc-ipq806x.h (qcom,gcc-ipq8064) 23 21 - dt-bindings/clock/qcom,gcc-msm8939.h 24 22 - dt-bindings/clock/qcom,gcc-msm8953.h 25 23 - dt-bindings/reset/qcom,gcc-msm8939.h ··· 38 40 enum: 39 41 - qcom,gcc-ipq4019 40 42 - qcom,gcc-ipq6018 41 - - qcom,gcc-ipq8064 42 43 - qcom,gcc-mdm9607 43 44 - qcom,gcc-msm8226 44 45 - qcom,gcc-msm8660