aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ieee802154/Kconfig
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2015-09-21 11:24:30 +0200
committerMarcel Holtmann <marcel@holtmann.org>2015-09-22 11:51:22 +0200
commitb0156792001b7a19bc115dcc32aebb9b9a0b6a01 (patch)
tree1a1a812770288c0bc73a2f1b63f5179069c5d0e2 /drivers/net/ieee802154/Kconfig
parentmrf24j40: add more register defines (diff)
downloadlinux-dev-b0156792001b7a19bc115dcc32aebb9b9a0b6a01.tar.xz
linux-dev-b0156792001b7a19bc115dcc32aebb9b9a0b6a01.zip
mrf24j40: add regmap support
This patch introduce regmap support for short and long address space of mrf24j40. It's only possible to use regmap_read/write/update_bits for long address range. This is because I added lowlevel bus operation because the write operation need to set the 12th bit to mark a register write, but regmap only supports to set bits for register write access in the first byte. We use other regmap register functions than read/write/update_bits, so this should be fine. Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com> Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/net/ieee802154/Kconfig')
-rw-r--r--drivers/net/ieee802154/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ieee802154/Kconfig b/drivers/net/ieee802154/Kconfig
index 5a614b2d0767..ce5f1a21e6d7 100644
--- a/drivers/net/ieee802154/Kconfig
+++ b/drivers/net/ieee802154/Kconfig
@@ -43,6 +43,7 @@ config IEEE802154_MRF24J40
tristate "Microchip MRF24J40 transceiver driver"
depends on IEEE802154_DRIVERS && MAC802154
depends on SPI
+ select REGMAP_SPI
---help---
Say Y here to enable the MRF24J20 SPI 802.15.4 wireless
controller.