Line data Source code
1 0 : /*
2 : * Copyright (c) 2025 Texas Instruments Inc.
3 : *
4 : * SPDX-License-Identifier: Apache-2.0
5 : */
6 :
7 : #ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_MSPM0_CLOCK_CONTROL
8 : #define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_MSPM0_CLOCK_CONTROL
9 :
10 : #include <zephyr/dt-bindings/clock/mspm0_clock.h>
11 :
12 0 : struct mspm0_sys_clock {
13 0 : uint32_t clk;
14 : };
15 :
16 0 : #define MSPM0_CLOCK_SUBSYS_FN(index) {.clk = DT_INST_CLOCKS_CELL(index, clk)}
17 :
18 : #endif /* ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_MSPM0_CLOCK_CONTROL */
|