Samsung S5P6442/S5PC110/S5PV210 SoC clock controller
Schema identifier ($id): "http://devicetree.org/schemas/clock/samsung,s5pv210-clock.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chanwoo Choi <cw00.choi@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>", "Sylwester Nawrocki <s.nawrocki@samsung.com>", "Tomasz Figa <tomasz.figa@gmail.com>"
Expected external clocks, defined in DTS as fixed-rate clocks with a matching
name::
- "xxti" - external crystal oscillator connected to XXTI and XXTO pins of
the SoC,
- "xusbxti" - external crystal oscillator connected to XUSBXTI and XUSBXTO
pins of the SoC,
All available clocks are defined as preprocessor macros in include/dt-bindings/clock/s5pv210.h header.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "samsung,s5pv210-clock", "samsung,s5p6442-clock"
clocks — not listed as required here #
Array item rules (items) #
Item 1
xxti clock
Item 2
xusbxti clock
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"xxti"
Item 2
Exact value (
const):"xusbxti"
#clock-cells — required here #
Exact value (const): 1
reg — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "#clock-cells", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/s5pv210.h>
xxti: clock-0 {
compatible = "fixed-clock";
clock-frequency = <0>;
clock-output-names = "xxti";
#clock-cells = <0>;
};
xusbxti: clock-1 {
compatible = "fixed-clock";
clock-frequency = <0>;
clock-output-names = "xusbxti";
#clock-cells = <0>;
};
clock-controller@e0100000 {
compatible = "samsung,s5pv210-clock";
reg = <0xe0100000 0x10000>;
clock-names = "xxti", "xusbxti";
clocks = <&xxti>, <&xusbxti>;
#clock-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)