1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/clock/qcom, 4 $id: http://devicetree.org/schemas/clock/qcom,spmi-clkdiv.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Qualcomm SPMI PMIC clock divider 7 title: Qualcomm SPMI PMIC clock divider 8 8 9 maintainers: 9 maintainers: 10 - Bjorn Andersson <andersson@kernel.org> 10 - Bjorn Andersson <andersson@kernel.org> 11 - Stephen Boyd <sboyd@kernel.org> 11 - Stephen Boyd <sboyd@kernel.org> 12 12 13 description: | 13 description: | 14 Qualcomm SPMI PMIC clock divider configures 14 Qualcomm SPMI PMIC clock divider configures the clock frequency of a set of 15 outputs on the PMIC. These clocks are typic 15 outputs on the PMIC. These clocks are typically wired through alternate 16 functions on GPIO pins. 16 functions on GPIO pins. 17 17 18 properties: 18 properties: 19 compatible: 19 compatible: 20 const: qcom,spmi-clkdiv 20 const: qcom,spmi-clkdiv 21 21 22 reg: 22 reg: 23 maxItems: 1 23 maxItems: 1 24 24 25 clocks: 25 clocks: 26 items: 26 items: 27 - description: Board XO source 27 - description: Board XO source 28 28 29 clock-names: 29 clock-names: 30 items: 30 items: 31 - const: xo 31 - const: xo 32 32 33 "#clock-cells": 33 "#clock-cells": 34 const: 1 34 const: 1 35 35 36 qcom,num-clkdivs: 36 qcom,num-clkdivs: 37 $ref: /schemas/types.yaml#/definitions/uin 37 $ref: /schemas/types.yaml#/definitions/uint32 38 description: Number of CLKDIV peripherals. 38 description: Number of CLKDIV peripherals. 39 39 40 required: 40 required: 41 - compatible 41 - compatible 42 - reg 42 - reg 43 - clocks 43 - clocks 44 - clock-names 44 - clock-names 45 - "#clock-cells" 45 - "#clock-cells" 46 - qcom,num-clkdivs 46 - qcom,num-clkdivs 47 47 48 additionalProperties: false 48 additionalProperties: false 49 49 50 examples: 50 examples: 51 - | 51 - | 52 pmic { 52 pmic { 53 #address-cells = <1>; 53 #address-cells = <1>; 54 #size-cells = <0>; 54 #size-cells = <0>; 55 55 56 clock-controller@5b00 { 56 clock-controller@5b00 { 57 compatible = "qcom,spmi-clkdiv"; 57 compatible = "qcom,spmi-clkdiv"; 58 reg = <0x5b00>; 58 reg = <0x5b00>; 59 clocks = <&xo_board>; 59 clocks = <&xo_board>; 60 clock-names = "xo"; 60 clock-names = "xo"; 61 #clock-cells = <1>; 61 #clock-cells = <1>; 62 qcom,num-clkdivs = <3>; 62 qcom,num-clkdivs = <3>; 63 63 64 assigned-clocks = <&pm8998_clk_div 64 assigned-clocks = <&pm8998_clk_divs 1>, 65 <&pm8998_clk_div 65 <&pm8998_clk_divs 2>, 66 <&pm8998_clk_div 66 <&pm8998_clk_divs 3>; 67 assigned-clock-rates = <9600000>, 67 assigned-clock-rates = <9600000>, 68 <9600000>, 68 <9600000>, 69 <9600000>; 69 <9600000>; 70 }; 70 }; 71 }; 71 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.