Commit 44fde7bb authored by Michael Hennerich's avatar Michael Hennerich Committed by Stefan Schmidt

net: ieee802154: adf7242: Add support for ADF7241 devices

This adds support for ADF7241 Low Power IEEE 802.15.4
Zero-IF 2.4 GHz Transceivers
Signed-off-by: default avatarMichael Hennerich <michael.hennerich@analog.com>
Signed-off-by: default avatarStefan Schmidt <stefan@osg.samsung.com>
parent 5c7f2acc
* ADF7242 IEEE 802.15.4 * * ADF7242 IEEE 802.15.4 *
Required properties: Required properties:
- compatible: should be "adi,adf7242" - compatible: should be "adi,adf7242", "adi,adf7241"
- spi-max-frequency: maximal bus speed (12.5 MHz) - spi-max-frequency: maximal bus speed (12.5 MHz)
- reg: the chipselect index - reg: the chipselect index
- interrupts: the interrupt generated by the device via pin IRQ1. - interrupts: the interrupt generated by the device via pin IRQ1.
......
/* /*
* Analog Devices ADF7242 Low-Power IEEE 802.15.4 Transceiver * Analog Devices ADF7242 Low-Power IEEE 802.15.4 Transceiver
* *
* Copyright 2009-2015 Analog Devices Inc. * Copyright 2009-2017 Analog Devices Inc.
* *
* Licensed under the GPL-2 or later. * Licensed under the GPL-2 or later.
* *
...@@ -1257,12 +1257,14 @@ static int adf7242_remove(struct spi_device *spi) ...@@ -1257,12 +1257,14 @@ static int adf7242_remove(struct spi_device *spi)
static const struct of_device_id adf7242_of_match[] = { static const struct of_device_id adf7242_of_match[] = {
{ .compatible = "adi,adf7242", }, { .compatible = "adi,adf7242", },
{ .compatible = "adi,adf7241", },
{ }, { },
}; };
MODULE_DEVICE_TABLE(of, adf7242_of_match); MODULE_DEVICE_TABLE(of, adf7242_of_match);
static const struct spi_device_id adf7242_device_id[] = { static const struct spi_device_id adf7242_device_id[] = {
{ .name = "adf7242", }, { .name = "adf7242", },
{ .name = "adf7241", },
{ }, { },
}; };
MODULE_DEVICE_TABLE(spi, adf7242_device_id); MODULE_DEVICE_TABLE(spi, adf7242_device_id);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment