Texas Instruments interface clock.
Schema identifier ($id): "http://devicetree.org/schemas/clock/ti/ti,interface-clock.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Tero Kristo <kristo@kernel.org>"
This clock is quite much similar to the basic gate-clock[1], however, it supports a number of additional features, including companion clock finding (match corresponding functional gate clock) and hardware autoidle enable / disable.
[1] Documentation/devicetree/bindings/clock/gpio-gate-clock.yaml
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,omap3-interface-clock", "ti,omap3-no-wait-interface-clock", "ti,omap3-hsotgusb-interface-clock", "ti,omap3-dss-interface-clock", "ti,omap3-ssi-interface-clock", "ti,am35xx-interface-clock", "ti,omap2430-interface-clock"
#clock-cells — required here #
Exact value (const): 0
clocks — required here #
Maximum number of items (maxItems): 1
clock-output-names — not listed as required here #
Maximum number of items (maxItems): 1
reg — required here #
Maximum number of items (maxItems): 1
ti,bit-shift — not listed as required here #
bit shift for the bit enabling/disabling the clock
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 0
Maximum value (maximum): 31
Required in this object (required): "compatible", "clocks", "#clock-cells", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
bus {
#address-cells = <1>;
#size-cells = <0>;
aes1_ick: clock-controller@3 {
#clock-cells = <0>;
compatible = "ti,omap3-interface-clock";
clocks = <&security_l4_ick2>;
reg = <3>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only
Line 23: basic OMAP3 interface clock
Line 24: interface clock which has no hardware
Line 25: capability for waiting clock to be ready
Line 26: interface clock with USB specific HW handling
Line 27: interface clock with DSS specific HW handling
Line 28: interface clock with SSI specific HW handling
Line 29: interface clock with AM35xx specific HW handling
Line 30: interface clock with OMAP2430 specific HW handling