12#ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_RENESAS_RCAR_GENERIC_H_
13#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_RENESAS_RCAR_GENERIC_H_
16#ifdef CONFIG_CLOCK_CONTROL_ARM_SCMI
26#define RCAR_DT_INST_CLOCKS_CELL_BY_IDX(inst, idx) \
28 .subsys = (clock_control_subsys_t)DT_INST_CLOCKS_CELL_BY_IDX(inst, idx, name) \
36#define RCAR_CLOCK_SUBSYS(clk) (clk).subsys
39struct rcar_generic_clk {
57#define RCAR_DT_INST_CLOCKS_CELL_BY_IDX(inst, idx) \
59 .module = DT_INST_CLOCKS_CELL_BY_IDX(inst, idx, module), \
60 .domain = DT_INST_CLOCKS_CELL_BY_IDX(inst, idx, domain) \
68#define RCAR_CLOCK_SUBSYS(clk) (clock_control_subsys_t)&(clk)
Main header file for clock control driver API.
void * clock_control_subsys_t
clock_control_subsys_t is a type to identify a clock controller sub-system.
Definition clock_control.h:59
struct rcar_cpg_clk rcar_generic_clk_t
Abstract the clock type used by the implementation.
Definition renesas_rcar_generic.h:71
Definition renesas_cpg_mssr.h:15