aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/patches-3.8/0013-PINCTRL-lantiq-add-functionality-to-falcon_pinconf_d.patch
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-09-17 21:46:10 +0000
committerJohn Crispin <blogic@openwrt.org>2013-09-17 21:46:10 +0000
commit718e5fe27e81d84b1e08ac57486433e4267ae74c (patch)
treebc305784e92a261300f79b3999710bc635e947c3 /target/linux/lantiq/patches-3.8/0013-PINCTRL-lantiq-add-functionality-to-falcon_pinconf_d.patch
parente032c312184f85253ca93a46f47cfae2f3f64f00 (diff)
downloadmaster-187ad058-718e5fe27e81d84b1e08ac57486433e4267ae74c.tar.gz
master-187ad058-718e5fe27e81d84b1e08ac57486433e4267ae74c.tar.bz2
master-187ad058-718e5fe27e81d84b1e08ac57486433e4267ae74c.zip
lantiq: add v3.10 patches
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38031 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/patches-3.8/0013-PINCTRL-lantiq-add-functionality-to-falcon_pinconf_d.patch')
-rw-r--r--target/linux/lantiq/patches-3.8/0013-PINCTRL-lantiq-add-functionality-to-falcon_pinconf_d.patch55
1 files changed, 0 insertions, 55 deletions
diff --git a/target/linux/lantiq/patches-3.8/0013-PINCTRL-lantiq-add-functionality-to-falcon_pinconf_d.patch b/target/linux/lantiq/patches-3.8/0013-PINCTRL-lantiq-add-functionality-to-falcon_pinconf_d.patch
deleted file mode 100644
index cc1f478d74..0000000000
--- a/target/linux/lantiq/patches-3.8/0013-PINCTRL-lantiq-add-functionality-to-falcon_pinconf_d.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-From 98d06bc9e2a2f534aaaf4229aaf871e394234d20 Mon Sep 17 00:00:00 2001
-From: John Crispin <blogic@openwrt.org>
-Date: Wed, 30 Jan 2013 20:13:09 +0100
-Subject: [PATCH 13/40] PINCTRL: lantiq: add functionality to
- falcon_pinconf_dbg_show
-
-The current code only has a stub for falcon_pinconf_dbg_show. This patch adds
-proper functionality.
-
-Signed-off-by: Thomas Langer <thomas.langer@lantiq.com>
-Signed-off-by: John Crispin <blogic@openwrt.org>
----
- drivers/pinctrl/pinctrl-falcon.c | 31 +++++++++++++++++++++++++++++++
- 1 file changed, 31 insertions(+)
-
---- a/drivers/pinctrl/pinctrl-falcon.c
-+++ b/drivers/pinctrl/pinctrl-falcon.c
-@@ -315,6 +315,37 @@ static int falcon_pinconf_set(struct pin
- static void falcon_pinconf_dbg_show(struct pinctrl_dev *pctrldev,
- struct seq_file *s, unsigned offset)
- {
-+ unsigned long config;
-+ struct pin_desc *desc;
-+
-+ struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctrldev);
-+ int port = PORT(offset);
-+
-+ seq_printf(s, " (port %d) mux %d -- ", port,
-+ pad_r32(info->membase[port], LTQ_PADC_MUX(PORT_PIN(offset))));
-+
-+ config = LTQ_PINCONF_PACK(LTQ_PINCONF_PARAM_PULL, 0);
-+ if (!falcon_pinconf_get(pctrldev, offset, &config))
-+ seq_printf(s, "pull %d ",
-+ (int)LTQ_PINCONF_UNPACK_ARG(config));
-+
-+ config = LTQ_PINCONF_PACK(LTQ_PINCONF_PARAM_DRIVE_CURRENT, 0);
-+ if (!falcon_pinconf_get(pctrldev, offset, &config))
-+ seq_printf(s, "drive-current %d ",
-+ (int)LTQ_PINCONF_UNPACK_ARG(config));
-+
-+ config = LTQ_PINCONF_PACK(LTQ_PINCONF_PARAM_SLEW_RATE, 0);
-+ if (!falcon_pinconf_get(pctrldev, offset, &config))
-+ seq_printf(s, "slew-rate %d ",
-+ (int)LTQ_PINCONF_UNPACK_ARG(config));
-+
-+ desc = pin_desc_get(pctrldev, offset);
-+ if (desc) {
-+ if (desc->gpio_owner)
-+ seq_printf(s, " owner: %s", desc->gpio_owner);
-+ } else {
-+ seq_printf(s, " not registered");
-+ }
- }
-
- static void falcon_pinconf_group_dbg_show(struct pinctrl_dev *pctrldev,