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:
scottp committed 2026-10-21 22:38:00 +11:00
1 parent 97affae86c
commit 509b9b5b6d
5 files changed
+54 -22

No files matched your search

+14
View File
@@ -1,5 +1,19 @@
# Changes
## Unreleased
- `CONFIG_RB9704_POWER` now defaults on when the devicetree node has
`power-gpios`, as documented. The Kconfig default referred to a compat
variable nothing defined, so the pins were never driven unless the
option was set by hand.
- A request whose own result was `-ETIMEDOUT`, such as a begin whose modem
never signalled booted, lost the request slot for good and every later
call returned `-EAGAIN`. The caller's abandonment of a request is now
reported apart from the request's result.
- When the booted pin does not rise in time, the supply and enable pins are
dropped again, so the next attempt starts from off.
- `rb9704`: paths in its messages that belonged to the tree it came from.
## 0.1.0, 2026-10-09
The first release.