OSDN Git Service

staging: wfx: add support for I/O access
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Thu, 19 Sep 2019 14:25:37 +0000 (14:25 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2019 08:28:16 +0000 (10:28 +0200)
commit0096214a59a72b3c3c943e27bd03307324d3ce0f
tree9fda1fc789777965584cb3369cf7651f02d3898d
parenta7a91ca5a23dbcc68f04d18ef7e765b1e4f64c7f
staging: wfx: add support for I/O access

Introduce bus level communication layer. At this level, 7 registers can
be addressed.

Notice that SPI driver is able to manage chip reset. SDIO mode relies
on an external driver (`mmc-pwrseq`) to reset chip.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20190919142527.31797-3-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/bus.h
drivers/staging/wfx/bus_sdio.c
drivers/staging/wfx/bus_spi.c
drivers/staging/wfx/hwio.h [new file with mode: 0644]
drivers/staging/wfx/main.c
drivers/staging/wfx/main.h [new file with mode: 0644]
drivers/staging/wfx/wfx.h [new file with mode: 0644]