From: Conor Dooley <conor@kernel.org>
To: Catalin Popescu <catalin.popescu@leica-geosystems.com>
Cc: andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com,
kuba@kernel.org, pabeni@redhat.com, robh@kernel.org,
netdev@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org,
m.felsch@pengutronix.de,
bsp-development.geo@leica-geosystems.com
Subject: Re: [PATCH net-next 1/2] dt-bindings: net: rfkill-gpio: enable booting in blocked state
Date: Mon, 13 Jan 2025 18:32:06 +0000 [thread overview]
Message-ID: <20250113-skater-surrogate-4c72df770dbf@spud> (raw)
In-Reply-To: <20250110081902.1846296-1-catalin.popescu@leica-geosystems.com>
[-- Attachment #1: Type: text/plain, Size: 1344 bytes --]
On Fri, Jan 10, 2025 at 09:19:01AM +0100, Catalin Popescu wrote:
> 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 <catalin.popescu@leica-geosystems.com>
> ---
> 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..22f26f1a3856 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:
> + description: configure rfkill state as blocked at boot
> + type: boolean
type here should be flag, not boolean.
> +
> required:
> - compatible
> - radio-type
> @@ -48,4 +52,5 @@ examples:
> label = "rfkill-pcie-wlan";
> radio-type = "wlan";
> shutdown-gpios = <&gpio2 25 GPIO_ACTIVE_HIGH>;
> + default-blocked;
> };
>
> base-commit: 25cc469d6d344f5772e9fb6a5cf9d82a690afe68
> prerequisite-patch-id: 0000000000000000000000000000000000000000
> --
> 2.34.1
>
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
prev parent reply other threads:[~2025-01-13 18:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-10 8:19 [PATCH net-next 1/2] dt-bindings: net: rfkill-gpio: enable booting in blocked state Catalin Popescu
2025-01-10 8:19 ` [PATCH net-next 2/2] net: rfkill: gpio: allow " Catalin Popescu
2025-01-10 8:32 ` POPESCU Catalin
2025-01-10 8:31 ` [PATCH net-next 1/2] dt-bindings: net: rfkill-gpio: enable " POPESCU Catalin
2025-01-10 9:14 ` Kalle Valo
2025-01-13 18:32 ` Conor Dooley [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250113-skater-surrogate-4c72df770dbf@spud \
--to=conor@kernel.org \
--cc=andrew+netdev@lunn.ch \
--cc=bsp-development.geo@leica-geosystems.com \
--cc=catalin.popescu@leica-geosystems.com \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=m.felsch@pengutronix.de \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox