Power pins on by default, and a request slot that came back
CONFIG_RB9704_POWER's default read a DT_COMPAT_ variable nothing defined, so it was never y on its own and the pins went undriven; define it. A request that ended in -ETIMEDOUT of its own accord, a begin whose modem never signalled booted, looked to the caller like one it had abandoned, so neither side gave the slot back and every later call got -EAGAIN. submit() now reports abandonment apart from the result. On that boot timeout the supply and enable pins are dropped again, so the next attempt starts from off. The CLI's messages named paths from the tree it was carried over from. Checked on native_sim: the suite against the fake, and begin twice with the pins on the GPIO emulator, where the second begin now times out instead of returning EAGAIN.
This commit is contained in:
1 parent
97affae86c
commit
509b9b5b6d
5 files changed
+54
-22
No files matched your search
@@ -26,6 +26,8 @@ config RB9704_MESSAGE_MAX
|
||||
this module for the copy rb9704_send takes. 2 kB is three buffers of
|
||||
2 kB; raise it as far as the RAM allows.
|
||||
|
||||
DT_COMPAT_ROCK7_ROCKBLOCK_9704 := rock7,rockblock-9704
|
||||
|
||||
config RB9704_POWER
|
||||
bool "Drive the power pins from devicetree"
|
||||
default y if $(dt_compat_any_has_prop,$(DT_COMPAT_ROCK7_ROCKBLOCK_9704),power-gpios)
|
||||
|
||||
Reference in new issue
Block a user