13#ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_TISCI_CLOCK_CONTROL_H_
14#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_TISCI_CLOCK_CONTROL_H_
39#define TISCI_GET_CLOCK(node_id) DEVICE_DT_GET(DT_PHANDLE(node_id, clocks))
46#define TISCI_GET_CLOCK_DETAILS(node_id) \
48 .dev_id = DT_CLOCKS_CELL(node_id, devid), \
49 .clk_id = DT_CLOCKS_CELL(node_id, clkid) \
57#define TISCI_GET_CLOCK_BY_INST(inst) TISCI_GET_CLOCK(DT_DRV_INST(inst))
64#define TISCI_GET_CLOCK_DETAILS_BY_INST(inst) TISCI_GET_CLOCK_DETAILS(DT_DRV_INST(inst))
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
Clock configuration structure.
Definition tisci_clock_control.h:29
uint32_t clk_id
Clock ID within the device.
Definition tisci_clock_control.h:31
uint32_t dev_id
Device ID associated with the clock.
Definition tisci_clock_control.h:30