summaryrefslogtreecommitdiffstats
path: root/include/linux/spi
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2015-02-27 09:58:26 +0100
committerMarcel Holtmann <marcel@holtmann.org>2015-02-27 18:42:44 +0100
commitccdaeb2b176f7db491a6f8e8b1c51f9393525f7d (patch)
tree5c7b8e5af1c70b0008fe37257acdee8e3122db81 /include/linux/spi
parentaaa1c4d226e4cd730075d3dac99a6d599a0190c7 (diff)
downloadop-kernel-dev-ccdaeb2b176f7db491a6f8e8b1c51f9393525f7d.zip
op-kernel-dev-ccdaeb2b176f7db491a6f8e8b1c51f9393525f7d.tar.gz
at86rf230: add support for external xtal trim
This patch adds support for setting the xtal trim register. Some at86rf2xx transceiver boards needs fine tuning the xtal capacitor. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/linux/spi')
-rw-r--r--include/linux/spi/at86rf230.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/spi/at86rf230.h b/include/linux/spi/at86rf230.h
index cd519a1..b63fe6f 100644
--- a/include/linux/spi/at86rf230.h
+++ b/include/linux/spi/at86rf230.h
@@ -22,6 +22,7 @@ struct at86rf230_platform_data {
int rstn;
int slp_tr;
int dig2;
+ u8 xtal_trim;
};
#endif
OpenPOWER on IntegriCloud