summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDominik Sliwa <dominik.sliwa@toradex.com>2018-01-31 17:43:22 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2018-03-28 18:11:50 +0200
commite57a938d023cdf933731a77a350cfacadc37d3c4 (patch)
treea6c6ce33fd8c131af6207a7c928de9502b0087ea /include
parent877a32308600b065f376f8cf41e1bf9093aff64f (diff)
can: mfd: apalis-tk1-k20:increased clock speed, zero copy
Increased SPI speed for transfers and peripheral speed. Switch to cleaning IRQ flags on read, instead of separate write. Switched to zero-copy on SPI reads. Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mfd/apalis-tk1-k20.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mfd/apalis-tk1-k20.h b/include/linux/mfd/apalis-tk1-k20.h
index 1d0fdacac5b7..ca9025d63cb1 100644
--- a/include/linux/mfd/apalis-tk1-k20.h
+++ b/include/linux/mfd/apalis-tk1-k20.h
@@ -106,7 +106,7 @@
#define APALIS_TK1_K20_TSC_IRQ 4
#define APALIS_TK1_K20_GPIO_IRQ 5
-#define APALIS_TK1_K20_FW_VER 0x0B
+#define APALIS_TK1_K20_FW_VER 0x0C
#define FW_MINOR (APALIS_TK1_K20_FW_VER & 0x0F)
#define FW_MAJOR ((APALIS_TK1_K20_FW_VER & 0xF0) >> 4)
@@ -120,7 +120,7 @@
#define APALIS_TK1_CAN_CLK_UNIT 6250
-#define APALIS_TK1_K20_MAX_SPI_SPEED 6000000
+#define APALIS_TK1_K20_MAX_SPI_SPEED 12000000
struct apalis_tk1_k20_regmap {
struct regmap *regmap;