ccdaeb2b17
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>
28 lines
724 B
C
28 lines
724 B
C
/*
|
|
* AT86RF230/RF231 driver
|
|
*
|
|
* Copyright (C) 2009-2012 Siemens AG
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2
|
|
* as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* Written by:
|
|
* Dmitry Eremin-Solenikov <dmitry.baryshkov@siemens.com>
|
|
*/
|
|
#ifndef AT86RF230_H
|
|
#define AT86RF230_H
|
|
|
|
struct at86rf230_platform_data {
|
|
int rstn;
|
|
int slp_tr;
|
|
int dig2;
|
|
u8 xtal_trim;
|
|
};
|
|
|
|
#endif
|