1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/clock/fixed 4 $id: http://devicetree.org/schemas/clock/fixed-factor-clock.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Simple fixed factor rate clock sources !! 7 title: Binding for simple fixed factor rate clock sources 8 8 9 maintainers: 9 maintainers: 10 - Michael Turquette <mturquette@baylibre.com> 10 - Michael Turquette <mturquette@baylibre.com> 11 - Stephen Boyd <sboyd@kernel.org> 11 - Stephen Boyd <sboyd@kernel.org> 12 12 13 properties: 13 properties: 14 $nodename: << 15 anyOf: << 16 - description: << 17 If the frequency is fixed, the prefe << 18 <freq> being the output frequency. << 19 pattern: "^clock-([0-9]+|[0-9a-z-]+)$" << 20 - description: Any name allowed << 21 deprecated: true << 22 << 23 compatible: 14 compatible: 24 enum: 15 enum: 25 - fixed-factor-clock 16 - fixed-factor-clock 26 17 27 "#clock-cells": 18 "#clock-cells": 28 const: 0 19 const: 0 29 20 30 clocks: 21 clocks: 31 maxItems: 1 22 maxItems: 1 32 23 33 clock-div: 24 clock-div: 34 description: Fixed divider 25 description: Fixed divider 35 $ref: /schemas/types.yaml#/definitions/uin 26 $ref: /schemas/types.yaml#/definitions/uint32 36 minimum: 1 27 minimum: 1 37 28 38 clock-mult: 29 clock-mult: 39 description: Fixed multiplier 30 description: Fixed multiplier 40 $ref: /schemas/types.yaml#/definitions/uin 31 $ref: /schemas/types.yaml#/definitions/uint32 41 32 42 clock-output-names: 33 clock-output-names: 43 maxItems: 1 34 maxItems: 1 44 35 45 required: 36 required: 46 - compatible 37 - compatible 47 - clocks 38 - clocks 48 - "#clock-cells" 39 - "#clock-cells" 49 - clock-div 40 - clock-div 50 - clock-mult 41 - clock-mult 51 42 52 additionalProperties: false 43 additionalProperties: false 53 44 54 examples: 45 examples: 55 - | 46 - | 56 clock { 47 clock { 57 compatible = "fixed-factor-clock"; 48 compatible = "fixed-factor-clock"; 58 clocks = <&parentclk>; 49 clocks = <&parentclk>; 59 #clock-cells = <0>; 50 #clock-cells = <0>; 60 clock-div = <2>; 51 clock-div = <2>; 61 clock-mult = <1>; 52 clock-mult = <1>; 62 }; 53 }; 63 ... 54 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.