Some wireless chips react only to the state change in the GPIO, instead
of the value itself. Support this mode operation in the rfkill-gpio.
Change-Id: If52a0f707eae8ab3d89918007dba83ce3e4e5060
Signed-off-by: Michal Wilczynski <m.wilczynski@samsung.com>
shutdown-gpios:
maxItems: 1
+ edge-triggered:
+ type: boolean
+ description: |
+ Support for an edge-triggered GPIO operation where the GPIO state is
+ toggled (LOW to HIGH or HIGH to LOW) to activate the device.
+
required:
- compatible
- radio-type
radio-type = "wlan";
shutdown-gpios = <&gpio2 25 GPIO_ACTIVE_HIGH>;
};
+
+ rfkill-bluetooth {
+ compatible = "rfkill-gpio";
+ label = "rfkill-bluetooth";
+ radio-type = "bluetooth";
+ shutdown-gpios = <&gpio2 4 GPIO_ACTIVE_HIGH>;
+ edge-triggered;
+ };