|
| 1 | +From 00bad68c943c8cea837fd5a862c55dd06289d641 Mon Sep 17 00:00:00 2001 |
| 2 | +From: Marcin Niestroj <m.niestroj@emb.dev> |
| 3 | +Date: Thu, 12 Feb 2026 09:44:44 +0100 |
| 4 | +Subject: [PATCH] dts: bindings: modem: add common 'autostarts' property |
| 5 | + |
| 6 | +This property can be used by various modems. Used it successfully with |
| 7 | +nRF91-SLM when waiting for "Ready" signal after automatic power-on. |
| 8 | + |
| 9 | +Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev> |
| 10 | +--- |
| 11 | + dts/bindings/modem/quectel,bg95.yaml | 8 -------- |
| 12 | + dts/bindings/modem/zephyr,cellular-modem-device.yaml | 7 +++++++ |
| 13 | + 2 files changed, 7 insertions(+), 8 deletions(-) |
| 14 | + |
| 15 | +diff --git a/dts/bindings/modem/quectel,bg95.yaml b/dts/bindings/modem/quectel,bg95.yaml |
| 16 | +index 940cd41ea27..8011dd05fbf 100644 |
| 17 | +--- a/dts/bindings/modem/quectel,bg95.yaml |
| 18 | ++++ b/dts/bindings/modem/quectel,bg95.yaml |
| 19 | +@@ -10,11 +10,3 @@ include: zephyr,cellular-modem-device.yaml |
| 20 | + properties: |
| 21 | + mdm-power-gpios: |
| 22 | + type: phandle-array |
| 23 | +- |
| 24 | +- autostarts: |
| 25 | +- type: boolean |
| 26 | +- description: | |
| 27 | +- Set for modem variants or carrier boards that start the module |
| 28 | +- automatically when supply voltage is applied—that is, the modem |
| 29 | +- asserts PWRKEY internally and does not require an external PWRKEY |
| 30 | +- pulse. |
| 31 | +diff --git a/dts/bindings/modem/zephyr,cellular-modem-device.yaml b/dts/bindings/modem/zephyr,cellular-modem-device.yaml |
| 32 | +index d2ab0056841..205c0d3e0fb 100644 |
| 33 | +--- a/dts/bindings/modem/zephyr,cellular-modem-device.yaml |
| 34 | ++++ b/dts/bindings/modem/zephyr,cellular-modem-device.yaml |
| 35 | +@@ -44,6 +44,13 @@ properties: |
| 36 | + When runtime power management is enabled, this closes the UART. |
| 37 | + This requires modem to support waking up the UART using RING signal. |
| 38 | + |
| 39 | ++ autostarts: |
| 40 | ++ type: boolean |
| 41 | ++ description: | |
| 42 | ++ Set when the modem starts automatically at power-on without requiring |
| 43 | ++ an external power or reset pulse. When set, the host waits for a ready |
| 44 | ++ indication from the modem before sending AT commands. |
| 45 | ++ |
| 46 | + cmux-idle-timeout-ms: |
| 47 | + type: int |
| 48 | + description: Time in milliseconds after which CMUX will enter power save mode. |
| 49 | +-- |
| 50 | +2.53.0 |
| 51 | + |
0 commit comments