TI fixed factor rate clock sources
Schema identifier ($id): "http://devicetree.org/schemas/clock/ti/ti,fixed-factor-clock.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Tero Kristo <kristo@kernel.org>", "Sukrut Bellary <sbellary@baylibre.com>"
This consists of a divider and a multiplier used to generate a fixed rate clock. This also uses the autoidle support from TI autoidle clock.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):ti,autoidle.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ti,fixed-factor-clock"
#clock-cells — required here #
Exact value (const): 0
reg — not listed as required here #
Maximum number of items (maxItems): 1
ti,clock-div — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Fixed divider
Minimum value (minimum): 1
ti,clock-mult — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Fixed multiplier
Minimum value (minimum): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-output-names — not listed as required here #
Maximum number of items (maxItems): 1
ti,set-rate-parent — not listed as required here #
Propagate to parent clock
Value type (type): "boolean"
Required in this object (required): "compatible", "clocks", "#clock-cells", "ti,clock-mult", "ti,clock-div"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
bus{
#address-cells = <1>;
#size-cells = <0>;
clock@1b4 {
compatible = "ti,fixed-factor-clock";
reg = <0x1b4>;
clocks = <&dpll_usb_ck>;
#clock-cells = <0>;
ti,clock-mult = <1>;
ti,clock-div = <1>;
ti,autoidle-shift = <8>;
ti,invert-autoidle-bit;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)