@@ -19,14 +19,13 @@ BUILD_ASSERT(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) == 1,
19
19
20
20
#define LFCLK_HFXO_NODE DT_INST_PHANDLE_BY_NAME(0, clocks, hfxo)
21
21
22
- #define LFCLK_LFLPRC_ACCURACY DT_INST_PROP(0, lflprc_accuracy_ppm)
23
22
#define LFCLK_LFRC_ACCURACY DT_INST_PROP(0, lfrc_accuracy_ppm)
24
23
#define LFCLK_HFXO_ACCURACY DT_PROP(LFCLK_HFXO_NODE, accuracy_ppm)
25
24
#define LFCLK_LFLPRC_STARTUP_TIME_US DT_INST_PROP(0, lflprc_startup_time_us)
26
25
#define LFCLK_LFRC_STARTUP_TIME_US DT_INST_PROP(0, lfrc_startup_time_us)
27
26
28
- #define LFCLK_MAX_OPTS 5
29
- #define LFCLK_DEF_OPTS 3
27
+ #define LFCLK_MAX_OPTS 4
28
+ #define LFCLK_DEF_OPTS 2
30
29
31
30
#define NRFS_CLOCK_TIMEOUT K_MSEC(CONFIG_CLOCK_CONTROL_NRF2_NRFS_CLOCK_TIMEOUT_MS)
32
31
@@ -35,7 +34,6 @@ BUILD_ASSERT(DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) == 1,
35
34
/* Clock options sorted from highest to lowest power consumption.
36
35
* - Clock synthesized from a high frequency clock
37
36
* - Internal RC oscillator
38
- * - Internal low power RC oscillator
39
37
* - External clock. These are inserted into the list at driver initialization.
40
38
* Set to one of the following:
41
39
* - XTAL. Low or High precision
@@ -57,12 +55,6 @@ static struct clock_options {
57
55
.precision = 0 ,
58
56
.src = NRFS_CLOCK_SRC_LFCLK_LFRC ,
59
57
},
60
- {
61
- /* NRFS will request FLL16M use HFXO in bypass mode if SYNTH src is used */
62
- .accuracy = LFCLK_LFLPRC_ACCURACY ,
63
- .precision = 0 ,
64
- .src = NRFS_CLOCK_SRC_LFCLK_LFLPRC ,
65
- },
66
58
/* Remaining options are populated on lfclk_init */
67
59
};
68
60
0 commit comments