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

dt-bindings: clock: Convert qcom,krait-cc to DT schema

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20250630232617.3699954-1-robh@kernel.org
[sboyd@kernel.org: Update to korg]
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Rob Herring (Arm) and committed by
Stephen Boyd
1eef76f4 e51c16f9

+43 -34
-34
Documentation/devicetree/bindings/clock/qcom,krait-cc.txt
··· 1 - Krait Clock Controller 2 - 3 - PROPERTIES 4 - 5 - - compatible: 6 - Usage: required 7 - Value type: <string> 8 - Definition: must be one of: 9 - "qcom,krait-cc-v1" 10 - "qcom,krait-cc-v2" 11 - 12 - - #clock-cells: 13 - Usage: required 14 - Value type: <u32> 15 - Definition: must be 1 16 - 17 - - clocks: 18 - Usage: required 19 - Value type: <prop-encoded-array> 20 - Definition: reference to the clock parents of hfpll, secondary muxes. 21 - 22 - - clock-names: 23 - Usage: required 24 - Value type: <stringlist> 25 - Definition: must be "hfpll0", "hfpll1", "acpu0_aux", "acpu1_aux", "qsb". 26 - 27 - Example: 28 - 29 - kraitcc: clock-controller { 30 - compatible = "qcom,krait-cc-v1"; 31 - clocks = <&hfpll0>, <&hfpll1>, <&acpu0_aux>, <&acpu1_aux>, <qsb>; 32 - clock-names = "hfpll0", "hfpll1", "acpu0_aux", "acpu1_aux", "qsb"; 33 - #clock-cells = <1>; 34 - };
+43
Documentation/devicetree/bindings/clock/qcom,krait-cc.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,krait-cc.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Krait Clock Controller 8 + 9 + maintainers: 10 + - Stephen Boyd <sboyd@kernel.org> 11 + 12 + properties: 13 + compatible: 14 + enum: 15 + - qcom,krait-cc-v1 16 + - qcom,krait-cc-v2 17 + 18 + '#clock-cells': 19 + const: 1 20 + 21 + clocks: 22 + items: 23 + - description: Parent clock phandle for hfpll0 24 + - description: Parent clock phandle for hfpll1 25 + - description: Parent clock phandle for acpu0_aux 26 + - description: Parent clock phandle for acpu1_aux 27 + - description: Parent clock phandle for qsb 28 + 29 + clock-names: 30 + items: 31 + - const: hfpll0 32 + - const: hfpll1 33 + - const: acpu0_aux 34 + - const: acpu1_aux 35 + - const: qsb 36 + 37 + required: 38 + - compatible 39 + - '#clock-cells' 40 + - clocks 41 + - clock-names 42 + 43 + additionalProperties: false