summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-toradex-mainline-4.14/0023-apalis-tk1-mfd-k20-update-api-header-for-fw-version-.patch
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2018-07-11 15:57:59 +0200
committerStefan Agner <stefan.agner@toradex.com>2018-07-27 16:40:07 +0200
commit4447176b61afe3cb9a4868671ec95c9fbfe92e34 (patch)
tree41f749e820c5dbb2f19aeb3fb34f658ae8b5d769 /recipes-kernel/linux/linux-toradex-mainline-4.14/0023-apalis-tk1-mfd-k20-update-api-header-for-fw-version-.patch
parentb34fa66b4159cb6b0952a6821e73fdb93ae7714f (diff)
apalis-t30/tk1-mainline: update patchset
Latest additions: - 0024-apalis_t30-enable-broken-hpi-on-emmc.patch Avoid a rare soft lockup upon installing an image from within Tezi. - 0025-tegra_defconfig-disable-sound-in-tezi-configuration.patch Avoid keyboard/mouse being unresponsive for 10-15 Seconds. - 0026-apalis_t30-fix-mmc1-cmd-pull-up.patch Avoid issues with higher speed SD cards. - 0027-apalis_t30-pull-up-sd-card-detect-pins.patch Avoid floating SD card detect pins. - 0028-Revert-mmc-tegra-Disable-UHS-I-modes-for-Tegra124.patch Allow for UHS-I modes on TK1. - 0029-mmc-tegra-fix-eMMC-DDR-mode.patch Fix eMMC DDR mode. - 0030-apalis-tk1-enable-ddr52-mode-on-emmc.patch Enable eMMC DDR mode. - 0031-apalis-tk1-force-fixed-ids-for-sdmmc-controllers.patch Avoid re-ordering of SDMMC controller instances. - 0032-apalis-tk1-fix-pcie-reset-for-reliable-gigabit-ether.patch Fix PCIe gigabit bring-up issue on Apalis TK1. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'recipes-kernel/linux/linux-toradex-mainline-4.14/0023-apalis-tk1-mfd-k20-update-api-header-for-fw-version-.patch')
-rw-r--r--recipes-kernel/linux/linux-toradex-mainline-4.14/0023-apalis-tk1-mfd-k20-update-api-header-for-fw-version-.patch48
1 files changed, 48 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-toradex-mainline-4.14/0023-apalis-tk1-mfd-k20-update-api-header-for-fw-version-.patch b/recipes-kernel/linux/linux-toradex-mainline-4.14/0023-apalis-tk1-mfd-k20-update-api-header-for-fw-version-.patch
new file mode 100644
index 0000000..940476a
--- /dev/null
+++ b/recipes-kernel/linux/linux-toradex-mainline-4.14/0023-apalis-tk1-mfd-k20-update-api-header-for-fw-version-.patch
@@ -0,0 +1,48 @@
+From dbef03b4e18e548eeeaf62133af3591e4cc1ce95 Mon Sep 17 00:00:00 2001
+Message-Id: <dbef03b4e18e548eeeaf62133af3591e4cc1ce95.1531317141.git.marcel.ziswiler@toradex.com>
+In-Reply-To: <6654e1bd342708a683daf47e7558455f709a3e7e.1531317141.git.marcel.ziswiler@toradex.com>
+References: <6654e1bd342708a683daf47e7558455f709a3e7e.1531317141.git.marcel.ziswiler@toradex.com>
+From: Marcel Ziswiler <marcel.ziswiler@toradex.com>
+Date: Fri, 22 Jun 2018 10:23:41 +0200
+Subject: [PATCH 23/33] apalis-tk1: mfd: k20: update api header for fw version
+ 1.1 support
+
+Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
+---
+ include/linux/mfd/apalis-tk1-k20-api.h | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/include/linux/mfd/apalis-tk1-k20-api.h b/include/linux/mfd/apalis-tk1-k20-api.h
+index 85bbf9f28ca4..199b433c3d96 100644
+--- a/include/linux/mfd/apalis-tk1-k20-api.h
++++ b/include/linux/mfd/apalis-tk1-k20-api.h
+@@ -48,7 +48,7 @@
+ #define APALIS_TK1_K20_CAN_DEV_OFFSET(x) (x ? APALIS_TK1_K20_CAN_OFFSET : 0)
+
+ /* 0x30-0x3F Reserved */
+-/* 0x40-0x62 CAN1 registers same layout as CAN0*/
++/* 0x40-0x62 CAN1 registers same layout as CAN0 */
+ /* 0x63-0x6F Reserved */
+
+ /* ADC Registers */
+@@ -104,7 +104,8 @@
+ #define APALIS_TK1_K20_TSC_IRQ 4
+ #define APALIS_TK1_K20_GPIO_IRQ 5
+
+-#define APALIS_TK1_K20_FW_VER 0x10
++#define APALIS_TK1_K20_FW_VER 0x11
++#define APALIS_TK1_K20_TESTER_FW_VER 0xFE
+
+ #define FW_MINOR (APALIS_TK1_K20_FW_VER & 0x0F)
+ #define FW_MAJOR ((APALIS_TK1_K20_FW_VER & 0xF0) >> 4)
+@@ -112,7 +113,6 @@
+ #define TK1_K20_SENTINEL 0x55
+ #define TK1_K20_INVAL 0xAA
+
+-#define APALIS_TK1_K20_NUMREGS 0x3f
+ #define APALIS_TK1_K20_IRQ_REG_CNT 1
+ #define APALIS_TK1_K20_IRQ_PER_REG 8
+
+--
+2.14.4
+