mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
dt-bindings: net: rfkill-gpio: enable booting in blocked state
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> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://patch.msgid.link/20250116084702.3473176-1-catalin.popescu@leica-geosystems.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
5f60a40ee5
commit
7951e8099c
@ -32,6 +32,10 @@ properties:
|
|||||||
shutdown-gpios:
|
shutdown-gpios:
|
||||||
maxItems: 1
|
maxItems: 1
|
||||||
|
|
||||||
|
default-blocked:
|
||||||
|
$ref: /schemas/types.yaml#/definitions/flag
|
||||||
|
description: configure rfkill state as blocked at boot
|
||||||
|
|
||||||
required:
|
required:
|
||||||
- compatible
|
- compatible
|
||||||
- radio-type
|
- radio-type
|
||||||
@ -48,4 +52,5 @@ examples:
|
|||||||
label = "rfkill-pcie-wlan";
|
label = "rfkill-pcie-wlan";
|
||||||
radio-type = "wlan";
|
radio-type = "wlan";
|
||||||
shutdown-gpios = <&gpio2 25 GPIO_ACTIVE_HIGH>;
|
shutdown-gpios = <&gpio2 25 GPIO_ACTIVE_HIGH>;
|
||||||
|
default-blocked;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user