Re: [PATCH net-next v2 1/2] dt-bindings: net: rfkill-gpio: enable booting in blocked state

From
Krzysztof Kozlowski <krzk@kernel.org>
Date
2025-01-17 08:56:33
Also in
linux-devicetree, linux-wireless, lkml
Reply to
Catalin Popescu, 2025-01-16
On Thu, Jan 16, 2025 at 09:47:01AM +0100, Catalin Popescu wrote:
quoted hunk ↗ jump to hunk
By default, rfkill state is set to unblocked. Sometimes, we want to boot
in blocked state and let the application unblock the rfkill.

Signed-off-by: Catalin Popescu <redacted>
---
Changes in v2:
 - change "default-blocked" type from boolean to flag
---
 Documentation/devicetree/bindings/net/rfkill-gpio.yaml | 5 +++++
 1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/rfkill-gpio.yaml b/Documentation/devicetree/bindings/net/rfkill-gpio.yaml
index 9630c8466fac..4a706a41ab38 100644
--- a/Documentation/devicetree/bindings/net/rfkill-gpio.yaml
+++ b/Documentation/devicetree/bindings/net/rfkill-gpio.yaml
@@ -32,6 +32,10 @@ properties:
   shutdown-gpios:
     maxItems: 1
 
+  default-blocked:
+    $ref: /schemas/types.yaml#/definitions/flag
+    description: configure rfkill state as blocked at boot
I am assuming rfkill does not have third state possible, so it is only
off or on.

Reviewed-by: Krzysztof Kozlowski <redacted>

Best regards,
Krzysztof
Thread (4 messages) 4 messages, 2 authors, last reply 2025-01-17
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help