Alphascale Clock Controller

Schema identifier ($id): "http://devicetree.org/schemas/clock/alphascale,asm9260-clock-controller.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Oleksij Rempel <linux@rempel-privat.de>"

The ACC (Alphascale Clock Controller) is responsible for choosing proper clock source, setting dividers and clock gates.

Simple one-cell clock specifier format is used, where the only cell is used as an index of the clock inside the provider. It is encouraged to use dt-binding for clock index definitions. SoC specific dt-binding should be included to the device tree descriptor. For example Alphascale ASM9260:

#include <dt-bindings/clock/alphascale,asm9260.h>

This binding contains two types of clock providers:

  _AHB_ - AHB gate;
  _SYS_ - adjustable clock source. Not all peripheral have _SYS_ clock provider.

All clock specific details can be found in the SoC documentation.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "alphascale,asm9260-clock-controller"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "#clock-cells"

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-only OR BSD-2-Clause)

Edit this page