summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGuenter Roeck2012-08-18 18:06:27 +0200
committerMark Brown2012-08-22 20:34:51 +0200
commit3ce8859e2e72713d3619285cab609d05c3591fc4 (patch)
treec5ac44e96198137f34559e1fd493c9d6b02960b1 /include
parentspi/mpc512x-psc: Avoid access to freed memory in device remove function (diff)
downloadkernel-qcow2-linux-3ce8859e2e72713d3619285cab609d05c3591fc4.tar.gz
kernel-qcow2-linux-3ce8859e2e72713d3619285cab609d05c3591fc4.tar.xz
kernel-qcow2-linux-3ce8859e2e72713d3619285cab609d05c3591fc4.zip
spi: Master driver for NXP SC18IS602/603
This driver adds support for NXP SC18IS602/603 I2C to SPI bus bridge. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/platform_data/sc18is602.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/linux/platform_data/sc18is602.h b/include/linux/platform_data/sc18is602.h
new file mode 100644
index 000000000000..997b06634152
--- /dev/null
+++ b/include/linux/platform_data/sc18is602.h
@@ -0,0 +1,19 @@
+/*
+ * Platform data for NXP SC18IS602/603
+ *
+ * Copyright (C) 2012 Guenter Roeck <linux@roeck-us.net>
+ *
+ * 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.
+ *
+ * For further information, see the Documentation/spi/sc18is602 file.
+ */
+
+/**
+ * struct sc18is602_platform_data - sc18is602 info
+ * @clock_frequency SC18IS603 oscillator frequency
+ */
+struct sc18is602_platform_data {
+ u32 clock_frequency;
+};