summaryrefslogtreecommitdiff
path: root/target/linux/ipq806x/patches/0149-pinctrl-qcom-Add-BUS_HOLD-Keeper-bias.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-02-11 10:09:23 +0000
committerJohn Crispin <john@openwrt.org>2015-02-11 10:09:23 +0000
commit88ddb3746188037afd38d631f7a893587fa8bdf0 (patch)
treedf4684db63441435126c4b6ff1fda4ce615e1ff0 /target/linux/ipq806x/patches/0149-pinctrl-qcom-Add-BUS_HOLD-Keeper-bias.patch
parentddcbef5766fa18f52e7a7d1928b25edc63e73937 (diff)
downloadmtk-20170518-88ddb3746188037afd38d631f7a893587fa8bdf0.zip
mtk-20170518-88ddb3746188037afd38d631f7a893587fa8bdf0.tar.gz
mtk-20170518-88ddb3746188037afd38d631f7a893587fa8bdf0.tar.bz2
ipq806x: update target to v3.18
Patches in the ipq806x/patches folder were out of tree in v3.14. The newest patch at the time was from June, so we can safely assume that either the patches have been merged, or they have been rejected for a good reason. If patches are seen missing, we'll cherry-pick them on a per-needed basis. This new kernel have been tested on AP148, which seems to works fine. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 44386
Diffstat (limited to 'target/linux/ipq806x/patches/0149-pinctrl-qcom-Add-BUS_HOLD-Keeper-bias.patch')
-rw-r--r--target/linux/ipq806x/patches/0149-pinctrl-qcom-Add-BUS_HOLD-Keeper-bias.patch50
1 files changed, 0 insertions, 50 deletions
diff --git a/target/linux/ipq806x/patches/0149-pinctrl-qcom-Add-BUS_HOLD-Keeper-bias.patch b/target/linux/ipq806x/patches/0149-pinctrl-qcom-Add-BUS_HOLD-Keeper-bias.patch
deleted file mode 100644
index 8b2e18a..0000000
--- a/target/linux/ipq806x/patches/0149-pinctrl-qcom-Add-BUS_HOLD-Keeper-bias.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From b1325bfad3ad0e543ce90a6b08d74500dc96f4b9 Mon Sep 17 00:00:00 2001
-From: Andy Gross <agross@codeaurora.org>
-Date: Mon, 16 Jun 2014 16:52:55 -0500
-Subject: [PATCH 149/182] pinctrl: qcom: Add BUS_HOLD/Keeper bias
-
-This patch adds the bus_hold bias option for pins.
-
-Signed-off-by: Andy Gross <agross@codeaurora.org>
----
- drivers/pinctrl/pinctrl-msm.c | 8 ++++++++
- 1 file changed, 8 insertions(+)
-
---- a/drivers/pinctrl/pinctrl-msm.c
-+++ b/drivers/pinctrl/pinctrl-msm.c
-@@ -207,6 +207,7 @@ static int msm_config_reg(struct msm_pin
- case PIN_CONFIG_BIAS_DISABLE:
- case PIN_CONFIG_BIAS_PULL_DOWN:
- case PIN_CONFIG_BIAS_PULL_UP:
-+ case PIN_CONFIG_BIAS_BUS_HOLD:
- *bit = g->pull_bit;
- *mask = 3;
- break;
-@@ -243,6 +244,7 @@ static int msm_config_set(struct pinctrl
-
- #define MSM_NO_PULL 0
- #define MSM_PULL_DOWN 1
-+#define MSM_KEEPER 2
- #define MSM_PULL_UP 3
-
- static unsigned msm_regval_to_drive(u32 val)
-@@ -280,6 +282,9 @@ static int msm_config_group_get(struct p
- case PIN_CONFIG_BIAS_PULL_DOWN:
- arg = arg == MSM_PULL_DOWN;
- break;
-+ case PIN_CONFIG_BIAS_BUS_HOLD:
-+ arg = arg == MSM_KEEPER;
-+ break;
- case PIN_CONFIG_BIAS_PULL_UP:
- arg = arg == MSM_PULL_UP;
- break;
-@@ -339,6 +344,9 @@ static int msm_config_group_set(struct p
- case PIN_CONFIG_BIAS_PULL_DOWN:
- arg = MSM_PULL_DOWN;
- break;
-+ case PIN_CONFIG_BIAS_BUS_HOLD:
-+ arg = MSM_KEEPER;
-+ break;
- case PIN_CONFIG_BIAS_PULL_UP:
- arg = MSM_PULL_UP;
- break;