ieee802154: Add support for Cascoda CA8210
v2 cover ieee802154: Add support for Cascoda CA8210
From: Harry Morris <[email protected]>
This patchset adds a new device driver, documentation and build support for Cascoda's CA8210 IEEE 802.15.4 radio transceiver:
http://www.cascoda.com/products/ca-821x/
Harry Morris (3):
ieee802154: Add CA8210 IEEE 802.15.4 device driver
ieee802154: Add device tree documentation for CA8210
ieee802154: Add entry in MAINTAINTERS for CA8210 driver
.../devicetree/bindings/net/ieee802154/ca8210.txt | 28 + .../devicetree/bindings/vendor-prefixes.txt | 1 + MAINTAINERS | 9 + drivers/net/ieee802154/Kconfig | 18 + drivers/net/ieee802154/Makefile | 1 + drivers/net/ieee802154/ca8210.c | 3648 ++++++++++++++++++++ 6 files changed, 3705 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/ieee802154/ca8210.txt create mode 100644 drivers/net/ieee802154/ca8210.c
--
2.9.3.windows.1
PATCH v2 2/3 ieee802154: Add device tree documentation for CA8210
From: Harry Morris <[email protected]>
Signed-off-by Harry Morris <[email protected]>
--- .../devicetree/bindings/net/ieee802154/ca8210.txt | 28 ++++++++++++++++++++++ .../devicetree/bindings/vendor-prefixes.txt | 1 + 2 files changed, 29 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/ieee802154/ca8210.txt
Documentation/devicetree/bindings/net/ieee802154/ca8210.txt new file +28 -0
@@ -0,0 +1,28 @@ +* CA8210 IEEE 802.15.4 * + +Required properties: + - compatible: should be "cascoda,ca8210" + - reg: Controlling chip select + - spi-max-frequency: Maximum clock speed, should be *less than* + 4000000 + - spi-cpol: Invert clock polarity + - reset-gpio: GPIO attached to reset + - irq-gpio: GPIO attached to IRQ +Optional properties: + - extclock-enable: Include for the ca8210 to route its 16MHz clock + to an output + - extclock-freq: Frequency in Hz of the external clock + - extclock-gpio: GPIO of the ca8210 to output the clock on + +Example: + ca8210@0 { + compatible = "cascoda,ca8210"; + reg = <0>; + spi-max-frequency = <3000000>; + spi-cpol; + reset-gpio = <&gpio1 1 GPIO_ACTIVE_HIGH>; + irq-gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>; + extclock-enable; + extclock-freq = 16000000; + extclock-gpio = 2; + };
Documentation/devicetree/bindings/vendor-prefixes.txt +1 -0
@@ -47,6 +47,7 @@ brcm Broadcom Corporation buffalo Buffalo, Inc. calxeda Calxeda capella Capella Microsystems, Inc +cascoda Cascoda, Ltd. cavium Cavium, Inc. cdns Cadence Design Systems Inc. ceva Ceva, Inc.
Signature · 1 line
2.9.3.windows.1
PATCH v2 3/3 ieee802154: Add entry in MAINTAINTERS for CA8210 driver
In reply to [email protected]From: Harry Morris <[email protected]>
Signed-off-by Harry Morris <[email protected]>
Acked-by Stefan Schmidt <[email protected]>
--- MAINTAINERS | 9 +++++++++ 1 file changed, 9 insertions(+)
MAINTAINERS +9 -0
@@ -2829,6 +2829,15 @@ W: http://www.linux-c6x.org/wiki/index.php/Main_Page S: Maintained F: arch/c6x/ +CA8210 IEEE-802.15.4 RADIO DRIVER +M: Harry Morris <[email protected]> +M: [email protected] +L: [email protected] +W: https://github.com/Cascoda/ca8210-linux.git +S: Maintained +F: drivers/net/ieee802154/ca8210.c +F: Documentation/devicetree/bindings/net/ieee802154/ca8210.txt + CACHEFILES: FS-CACHE BACKEND FOR CACHING ON MOUNTED FILESYSTEMS M: David Howells <[email protected]> L: [email protected] (moderated for non-subscribers)
Signature · 1 line
2.9.3.windows.1