summaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/tps65910.h
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2012-06-28 12:20:21 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2012-07-09 00:16:14 +0200
commit712db99df155eeef7bbab8677d8a02d0eff50d11 (patch)
treea3fad6d54e08614df20385818702568afa9eed0f /include/linux/mfd/tps65910.h
parent54210c97c8bfff67a4c5ec09ff797543bf291d6b (diff)
downloadop-kernel-dev-712db99df155eeef7bbab8677d8a02d0eff50d11.zip
op-kernel-dev-712db99df155eeef7bbab8677d8a02d0eff50d11.tar.gz
mfd: Add support for enabling tps65910 external 32-kHz oscillator
Add flag to platform data to enable external 32-kHz crystal oscillator (or square wave) input. The tps6591x can use either an internal 32-kHz RC oscillator or an external crystal (or square wave) to generate the 32-kHz clock. The default setting depends on the selected boot mode. In boot mode 00 the internal RC oscillator is used at power-on, but the external crystal oscillator (or square wave) can be enabled by clearing the ck32k_ctrl flag in the device control register. Note that there is no way to switch from the external crystal oscillator to the internal RC oscillator. Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd/tps65910.h')
-rw-r--r--include/linux/mfd/tps65910.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/tps65910.h b/include/linux/mfd/tps65910.h
index dd8dc0a..a989d2b 100644
--- a/include/linux/mfd/tps65910.h
+++ b/include/linux/mfd/tps65910.h
@@ -807,6 +807,7 @@ struct tps65910_board {
int irq_base;
int vmbch_threshold;
int vmbch2_threshold;
+ bool en_ck32k_xtal;
bool en_dev_slp;
struct tps65910_sleep_keepon_data *slp_keepon;
bool en_gpio_sleep[TPS6591X_MAX_NUM_GPIO];
OpenPOWER on IntegriCloud