Skip to content

Commit b7542f1

Browse files
JordanYateskartben
authored andcommitted
wifi: nrf70: configurable IOVDD settling delay
Make the IOVDD settling delay configurable, instead of hardcoding a delay that happens to work for the dev kits. For example, the nPM1300 load switches have a soft-start time of 1.8 ms. Signed-off-by: Jordan Yates <jordan@embeint.com>
1 parent b639573 commit b7542f1

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

dts/bindings/wifi/nordic,nrf70.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,10 @@ properties:
2222
description: |
2323
GPIO of the RF Switch to control SR RF output to either SR Antenna
2424
or shared Antenna with Wi-Fi
25+
26+
iovdd-power-up-delay-ms:
27+
type: int
28+
default: 1
29+
description: |
30+
Duration to wait after enabling IOVDD before attempting communications.
31+
Default value of 1 comes from the nRF7002 DK/EK switch (TCK106AG): ~600us

modules/nrf_wifi/bus/rpu_hw_if.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,8 @@ static int rpu_pwron(void)
239239
gpio_pin_set_dt(&bucken_spec, 0);
240240
return ret;
241241
}
242-
/* Settling time for iovdd nRF7002 DK/EK - switch (TCK106AG): ~600us */
243-
k_msleep(1);
242+
/* Settling time for IOVDD */
243+
k_msleep(DT_PROP(NRF7002_NODE, iovdd_power_up_delay_ms));
244244

245245
if ((bucken_spec.port == iovdd_ctrl_spec.port) &&
246246
(bucken_spec.pin == iovdd_ctrl_spec.pin)) {

0 commit comments

Comments
 (0)