Skip to content

Commit 68c33a0

Browse files
committed
drivers: clock control: Update IBRO Clock for MAX32
This commit updates ADI_MAX32_CLK_IBRO_FREQ macro because MAX32660 does not support IBRO clock. Signed-off-by: Yasin Ustuner <[email protected]>
1 parent aa110b0 commit 68c33a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/zephyr/drivers/clock_control/adi_max32_clock_control.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ struct max32_perclk {
4141

4242
#define ADI_MAX32_CLK_IPO_FREQ DT_PROP(DT_NODELABEL(clk_ipo), clock_frequency)
4343
#define ADI_MAX32_CLK_ERFO_FREQ DT_PROP_OR(DT_NODELABEL(clk_erfo), clock_frequency, 0)
44-
#define ADI_MAX32_CLK_IBRO_FREQ DT_PROP(DT_NODELABEL(clk_ibro), clock_frequency)
44+
#define ADI_MAX32_CLK_IBRO_FREQ DT_PROP_OR(DT_NODELABEL(clk_ibro), clock_frequency, 0)
4545
#define ADI_MAX32_CLK_ISO_FREQ DT_PROP_OR(DT_NODELABEL(clk_iso), clock_frequency, 0)
4646
#define ADI_MAX32_CLK_INRO_FREQ DT_PROP(DT_NODELABEL(clk_inro), clock_frequency)
4747
#define ADI_MAX32_CLK_ERTCO_FREQ DT_PROP(DT_NODELABEL(clk_ertco), clock_frequency)

0 commit comments

Comments
 (0)