Skip to contentSkip to conversation

ieee802154: Add support for Cascoda CA8210

PATCH Superseded [email protected] 2 participants 4 messages Nov 23, 2016

Subsystems (4)

v4 of 9 Superseded Latest is v9 →

lore
Share & tools
lore
#0 lore raw

v4 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/

v4:
Added allowable tx_powers and cca_ed_levels Changed power units to mbm (tx_power & cca_ed_level)

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                    | 3665 ++++++++++++++++++++
 6 files changed, 3722 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/ieee802154/ca8210.txt
 create mode 100644 drivers/net/ieee802154/ca8210.c

--
2.9.3.windows.1

#1 lore raw

PATCH v4 2/3 ieee802154: Add device tree documentation for CA8210

From: 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
new file mode 100644
index 0000000..0297ce8
@@ -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:             Requires inverted 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
index 24c6f65..6c5609f 100644
@@ -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.

--
2.9.3.windows.1

#2 lore raw

PATCH v4 3/3 ieee802154: Add entry in MAINTAINTERS for CA8210 driver

In reply to [email protected]

From: Harry Morris <[email protected]>

---
 MAINTAINERS | 9 +++++++++
 1 file changed, 9 insertions(+)
MAINTAINERS +9 -0
index 5e925a2..cb3428f 100644
@@ -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
#3 lore raw
In reply to [email protected]

Hi Harry,

Quoted 20 lines

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/

v4:
Added allowable tx_powers and cca_ed_levels Changed power units to mbm (tx_power & cca_ed_level)

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                    | 3665 ++++++++++++++++++++
6 files changed, 3722 insertions(+)
Quoted 2 lines

create mode 100644 Documentation/devicetree/bindings/net/ieee802154/ca8210.txt create mode 100644 drivers/net/ieee802154/ca8210.c

can you send a v5 and include me on CC. I am always missing the actual driver patch. I guess it is too large for the mailing list.

Regards

Marcel