zephyr,clock-controller-emul-rcar-cpg-mssr

Description

Renesas CPG/MSSR emulation

The subsystem selector is a pointer to a struct rcar_cpg_clk holding both
cells, as declared in
include/zephyr/drivers/clock_control/renesas_cpg_mssr.h. A consumer keeps
the descriptor alive for the duration of the call:

    struct rcar_cpg_clk clk = {
            .domain = DT_CLOCKS_CELL(node, domain),
            .module = DT_CLOCKS_CELL(node, module),
    };

    clock_control_on(dev, (clock_control_subsys_t)&clk);

The driver dereferences it and matches domain and module against one
clock-ids entry. Its rate member is not read; set_rate takes the rate
through clock_control_subsys_rate_t instead.

Properties

Properties not inherited from the base binding file.

Name

Type

Details

#clock-cells

int

Number of items to expect in a Clock specifier

This property is required.

Constant value: 2

clock-ids

array

Clock identifiers supported by the controller. Each identifier consists
of #clock-cells values, laid out in the same order as the clock-cells
of a clocks phandle-array entry. How those cells reach the driver as a
clock_control_subsys_t is described by each compatible.

clock-initial-values

array

Initial rate in Hz for each identifier in clock-ids.

loose-check

boolean

A flag indicating not to check the validity of the operation (for example,
the presence or absence of a clock ID) and not return an error response.

Specifier cell names

  • clock cells: domain, module