Dpll bindings
Single-page view · as markdown
Digital Phase-Locked Loop (DPLL) Device
Peios Kernel / Hardware and drivers / Device-tree binding reference / Dpll bindings
Schema identifier ($id): "http://devicetree.org/schemas/dpll/dpll-device.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Ivan Vecera <ivecera@redhat.com>"
Digital Phase-Locked Loop (DPLL) device is used for precise clock synchronization in networking and telecom hardware. The device can have one or more channels (DPLLs) and one or more physical input and output pins. Each DPLL channel can either produce pulse-per-clock signal or drive ethernet equipment clock. The type of each channel can be indicated by dpll-types property.
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^dpll(@.*)?$"
#address-cells — not listed as required here #
Exact value (const): 0
#size-cells — not listed as required here #
Exact value (const): 0
dpll-types — not listed as required here #
List of DPLL channel types, one per DPLL instance.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/non-unique-string-array
Array item rules (items) #
input-pins — not listed as required here #
Value type (type): "object"
DPLL input pins
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
#address-cells — required here
Exact value (const): 1
#size-cells — required here
Exact value (const): 0
Properties matching a name pattern (patternProperties) #
^pin@[0-9a-f]+$ — name matches this regular expression
Shared schema rule ($ref): /schemas/dpll/dpll-pin.yaml
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Required in this object (required): "#address-cells", "#size-cells"
output-pins — not listed as required here #
Value type (type): "object"
DPLL output pins
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
#address-cells — required here
Exact value (const): 1
#size-cells — required here
Exact value (const): 0
Properties matching a name pattern (patternProperties) #
^pin@[0-9]+$ — name matches this regular expression
Shared schema rule ($ref): /schemas/dpll/dpll-pin.yaml
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Required in this object (required): "#address-cells", "#size-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
DPLL Pin
Peios Kernel / Hardware and drivers / Device-tree binding reference / Dpll bindings
Schema identifier ($id): "http://devicetree.org/schemas/dpll/dpll-pin.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Ivan Vecera <ivecera@redhat.com>"
The DPLL pin is either a physical input or output pin that is provided by a DPLL( Digital Phase-Locked Loop) device. The pin is identified by its physical order number that is stored in reg property and can have an additional set of properties like supported (allowed) frequencies, label, type and may support embedded sync.
Note that the pin in this context has nothing to do with pinctrl.
Properties and child nodes (properties) #
reg — required here #
Hardware index of the DPLL pin.
Maximum number of items (maxItems): 1
connection-type — not listed as required here #
Connection type of the pin
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "ext", "gnss", "int", "mux", "synce"
esync-control — not listed as required here #
Indicates whether the pin supports embedded sync functionality.
Value type (type): "boolean"
label — not listed as required here #
String exposed as the pin board label
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
supported-frequencies-hz — not listed as required here #
List of supported frequencies for this pin, expressed in Hz.
Required in this object (required): "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Microchip Azurite DPLL device
Peios Kernel / Hardware and drivers / Device-tree binding reference / Dpll bindings
Schema identifier ($id): "http://devicetree.org/schemas/dpll/microchip,zl30731.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Ivan Vecera <ivecera@redhat.com>"
Microchip Azurite DPLL (ZL3073x) is a family of DPLL devices that provides up to 5 independent DPLL channels, up to 10 differential or single-ended inputs and 10 differential or 20 single-ended outputs. These devices support both I2C and SPI interfaces.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "microchip,zl30731", "microchip,zl30732", "microchip,zl30733", "microchip,zl30734", "microchip,zl30735"
reg — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/dpll/dpll-device.yaml#
Rule 2 #
Shared schema rule (
$ref):/schemas/spi/spi-peripheral-props.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
dpll@70 {
compatible = "microchip,zl30732";
reg = <0x70>;
dpll-types = "pps", "eec";
input-pins {
#address-cells = <1>;
#size-cells = <0>;
pin@0 { /* REF0P */
reg = <0>;
connection-type = "ext";
label = "Input 0";
supported-frequencies-hz = /bits/ 64 <1 1000>;
};
};
output-pins {
#address-cells = <1>;
#size-cells = <0>;
pin@3 { /* OUT1N */
reg = <3>;
connection-type = "gnss";
esync-control;
label = "Output 1";
supported-frequencies-hz = /bits/ 64 <1 10000>;
};
};
};
};
spi {
#address-cells = <1>;
#size-cells = <0>;
dpll@70 {
compatible = "microchip,zl30731";
reg = <0x70>;
spi-max-frequency = <12500000>;
dpll-types = "pps";
input-pins {
#address-cells = <1>;
#size-cells = <0>;
pin@0 { /* REF0P */
reg = <0>;
connection-type = "ext";
label = "Input 0";
supported-frequencies-hz = /bits/ 64 <1 1000>;
};
};
output-pins {
#address-cells = <1>;
#size-cells = <0>;
pin@3 { /* OUT1N */
reg = <3>;
connection-type = "gnss";
esync-control;
label = "Output 1";
supported-frequencies-hz = /bits/ 64 <1 10000>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)