staging: wfx: add I/O API
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:43:39 +0000 (10:43 +0200)
commita794e8b6fafe0dc82b2a2af32e85a859ad68a3a1
treee8b9a90f13105379fcca2b634fbe7613a007ad71
parent0096214a59a72b3c3c943e27bd03307324d3ce0f
staging: wfx: add I/O API

hwio.c provides an abstraction to access different types of register of
the chip.

Note that only data register (aka FRAME_OUT) and control register are
used normal communication. Other registers are only used during chip
start up.

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