13#ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_RENESAS_RCAR_GENERIC_H_
14#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_RENESAS_RCAR_GENERIC_H_
23#ifdef CONFIG_CLOCK_CONTROL_ARM_SCMI
33#define RCAR_DT_INST_CLOCKS_CELL_BY_IDX(inst, idx) \
35 .subsys = (clock_control_subsys_t)DT_INST_CLOCKS_CELL_BY_IDX(inst, idx, name) \
43#define RCAR_CLOCK_SUBSYS(clk) (clk).subsys
46struct rcar_generic_clk {
64#define RCAR_DT_INST_CLOCKS_CELL_BY_IDX(inst, idx) \
66 .module = DT_INST_CLOCKS_CELL_BY_IDX(inst, idx, module), \
67 .domain = DT_INST_CLOCKS_CELL_BY_IDX(inst, idx, domain) \
75#define RCAR_CLOCK_SUBSYS(clk) (clock_control_subsys_t)&(clk)
Main header file for clock control driver API.
Clock control definitions for the Renesas R-Car CPG/MSSR controller.
void * clock_control_subsys_t
Opaque handle identifying a clock controller subsystem.
Definition clock_control.h:65
struct rcar_cpg_clk rcar_generic_clk_t
Abstract the clock type used by the implementation.
Definition renesas_rcar_generic.h:78
R-Car CPG/MSSR clock subsystem selector.
Definition renesas_cpg_mssr.h:29