linux/drivers/staging/wfx
Linus Walleij 354d6ca9d9 staging: wfx: Get descriptors for GPIOs
The code has the functionality to insert the GPIO lines using
the global GPIO numbers through module parameters.

As we are clearly deprecating the use of global GPIO numbers
look up the GPIO descriptors from the device instead. This
usually falls back to device hardware descriptions using e.g.
device tree or ACPI. This device clearly supports device
tree when used over SPI for example.

For example, this can be supplied in the device tree like so:

  wfx@0x01 {
      compatible = "silabs,wf200";
      reset-gpios = <&gpio0 1>;
      wakeup-gpios = <&gpio0 2>;
  };

Cc: Jérôme Pouiller <jerome.pouiller@silabs.com>
Reviewed-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20200703130756.514868-1-linus.walleij@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-07-10 13:51:22 +02:00
..
Documentation/devicetree/bindings/net/wireless Merge 5.6-rc7 into staging-next 2020-03-23 08:01:20 +01:00
bh.c staging: wfx: improve protection against malformed HIF messages 2020-07-03 10:33:07 +02:00
bh.h staging: wfx: introduce a way to poll IRQ 2020-05-13 13:26:41 +02:00
bus_sdio.c staging: wfx: apply 80-columns rule to strings 2020-05-15 15:50:39 +02:00
bus_spi.c staging: wfx: Get descriptors for GPIOs 2020-07-10 13:51:22 +02:00
bus.h staging: wfx: poll IRQ during init 2020-05-13 13:26:41 +02:00
data_rx.c staging: wfx: fix CCMP/TKIP replay protection 2020-07-03 10:33:07 +02:00
data_rx.h staging: wfx: remove useless header inclusions 2020-05-13 13:26:42 +02:00
data_tx.c staging: wfx: fix CCMP/TKIP replay protection 2020-07-03 10:33:07 +02:00
data_tx.h staging: wfx: drop counter of buffered frames 2020-07-03 10:33:07 +02:00
debug.c staging: wfx: add a debugfs entry to force ps_timeout 2020-07-03 10:33:08 +02:00
debug.h
fwio.c staging: wfx: fix uninitialized variable bytes_done 2020-07-10 13:48:43 +02:00
fwio.h
hif_api_cmd.h staging: wfx: fix endianness of the field 'channel_number' 2020-05-13 13:49:45 +02:00
hif_api_general.h staging: wfx: add support for tx_power_loop 2020-05-27 10:18:08 +02:00
hif_api_mib.h staging: wfx: dual CTS is never necessary 2020-04-23 13:26:03 +02:00
hif_rx.c staging: wfx: always enable FastPs in combo with new firmwares 2020-07-03 10:33:08 +02:00
hif_rx.h
hif_tx_mib.c staging: wfx: check pointers returned by allocations 2020-05-15 15:50:39 +02:00
hif_tx_mib.h staging: wfx: use kernel types instead of c99 ones 2020-05-13 13:26:43 +02:00
hif_tx.c staging: wfx: fix coherency of hif_scan() prototype 2020-06-16 21:22:51 +02:00
hif_tx.h staging: wfx: fix coherency of hif_scan() prototype 2020-06-16 21:22:51 +02:00
hwio.c staging: wfx: fix use of cpu_to_le32 instead of le32_to_cpu 2020-05-13 13:49:42 +02:00
hwio.h staging: wfx: use meaningful names for CFG_BYTE_ORDER_* 2019-12-18 15:56:00 +01:00
Kconfig
key.c staging: wfx: remove spaces after cast operator 2020-05-13 13:26:43 +02:00
key.h staging: wfx: keys are kept during whole firmware life 2020-04-23 13:26:05 +02:00
main.c staging: wfx: Get descriptors for GPIOs 2020-07-10 13:51:22 +02:00
main.h staging: wfx: Get descriptors for GPIOs 2020-07-10 13:51:22 +02:00
Makefile staging: wfx: place hif_tx_mib functions into a .c file 2020-04-13 14:32:38 +02:00
queue.c staging: wfx: add tracepoint "queues_stats" 2020-07-03 10:33:07 +02:00
queue.h staging: wfx: correctly retrieve vif ID from Tx confirmation 2020-07-03 10:33:07 +02:00
scan.c staging: wfx: fix coherency of hif_scan() prototype 2020-06-16 21:22:51 +02:00
scan.h staging: wfx: simplify wfx_scan_complete() 2020-01-16 20:59:50 +01:00
secure_link.h staging: wfx: ensure that received hif messages are never modified 2019-12-18 15:56:04 +01:00
sta.c staging: wfx: always enable FastPs in combo with new firmwares 2020-07-03 10:33:08 +02:00
sta.h staging: wfx: add a debugfs entry to force ps_timeout 2020-07-03 10:33:08 +02:00
TODO staging: wfx: update TODO 2020-05-13 13:49:45 +02:00
traces.h staging: wfx: add tracepoint "queues_stats" 2020-07-03 10:33:07 +02:00
wfx.h staging: wfx: always enable FastPs in combo with new firmwares 2020-07-03 10:33:08 +02:00