|
14 | 14 |
|
15 | 15 | #include <zephyr/devicetree.h> |
16 | 16 | #include <zephyr/dt-bindings/pinctrl/nrf-pinctrl.h> |
17 | | -#include <zephyr/dt-bindings/power/nordic-nrf-gpd.h> |
18 | 17 | #include <zephyr/types.h> |
19 | 18 |
|
20 | 19 | #ifdef __cplusplus |
@@ -56,16 +55,6 @@ typedef uint32_t pinctrl_soc_pin_t; |
56 | 55 | (), NRF_GET_FUN(DT_PROP_BY_IDX(node_id, prop, idx))) \ |
57 | 56 | 0)), (0)) |
58 | 57 |
|
59 | | -/** |
60 | | - * @brief Utility macro to get the GPD_FAST_ACTIVE1 flag |
61 | | - * |
62 | | - * @param p_node_id Parent node identifier. |
63 | | - */ |
64 | | -#define Z_GET_GPD_FAST_ACTIVE1(p_node_id) \ |
65 | | - COND_CODE_1(DT_NODE_HAS_PROP(p_node_id, power_domains), \ |
66 | | - ((DT_PHA(p_node_id, power_domains, id) == \ |
67 | | - NRF_GPD_FAST_ACTIVE1) << NRF_GPD_FAST_ACTIVE1_POS), (0)) |
68 | | - |
69 | 58 | /** |
70 | 59 | * @brief Utility macro to check if instance is fast by node, expands to 1 or 0. |
71 | 60 | * |
@@ -152,14 +141,6 @@ typedef uint32_t pinctrl_soc_pin_t; |
152 | 141 | #define NRF_GET_CLOCKPIN_ENABLE(pincfg) \ |
153 | 142 | (((pincfg) >> NRF_CLOCKPIN_ENABLE_POS) & NRF_CLOCKPIN_ENABLE_MSK) |
154 | 143 |
|
155 | | -/** |
156 | | - * @brief Utility macro to obtain GPD_FAST_ACTIVE1 flag |
157 | | - * |
158 | | - * @param pincfg Pin configuration bit field. |
159 | | - */ |
160 | | -#define NRF_GET_GPD_FAST_ACTIVE1(pincfg) \ |
161 | | - (((pincfg) >> NRF_GPD_FAST_ACTIVE1_POS) & NRF_GPD_FAST_ACTIVE1_MSK) |
162 | | - |
163 | 144 | /** |
164 | 145 | * @brief Utility macro to obtain pin inversion flag. |
165 | 146 | * |
|
0 commit comments