Home Home > GIT Browse > SLE15-AZURE
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-02-14 12:09:56 +0100
committerTakashi Iwai <tiwai@suse.de>2019-02-14 12:10:12 +0100
commit85939137f902d86e98d5bca9b6d65d43a54fb56f (patch)
treee240e6fc99b93061f4f65018bf52d98119d0d050
parentf2f115774c2cb90b1974c284b8aef7fb3e5ac461 (diff)
pinctrl: sunxi: a64: Rename function ts0 to ts (bsc#1051510).
-rw-r--r--patches.drivers/pinctrl-sunxi-a64-Rename-function-ts0-to-ts.patch105
-rw-r--r--series.conf1
2 files changed, 106 insertions, 0 deletions
diff --git a/patches.drivers/pinctrl-sunxi-a64-Rename-function-ts0-to-ts.patch b/patches.drivers/pinctrl-sunxi-a64-Rename-function-ts0-to-ts.patch
new file mode 100644
index 0000000000..ac9d32effa
--- /dev/null
+++ b/patches.drivers/pinctrl-sunxi-a64-Rename-function-ts0-to-ts.patch
@@ -0,0 +1,105 @@
+From 4f45f45b081eb37b9f8b627cc14cff67838968ab Mon Sep 17 00:00:00 2001
+From: Chen-Yu Tsai <wens@csie.org>
+Date: Mon, 3 Dec 2018 23:41:00 +0800
+Subject: [PATCH] pinctrl: sunxi: a64: Rename function ts0 to ts
+Git-commit: 4f45f45b081eb37b9f8b627cc14cff67838968ab
+Patch-mainline: v5.0-rc1
+References: bsc#1051510
+
+The A64 only has one TS (transport stream) controller. The datasheet
+also lists the function as TS_XXX instead of TS0_XXX.
+
+Rename the function names now before any there are any users.
+
+Fixes: 96851d391d02 ("drivers: pinctrl: add driver for Allwinner A64 SoC")
+Signed-off-by: Chen-Yu Tsai <wens@csie.org>
+Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
+Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
+Acked-by: Takashi Iwai <tiwai@suse.de>
+
+---
+ drivers/pinctrl/sunxi/pinctrl-sun50i-a64.c | 24 ++++++++++++------------
+ 1 file changed, 12 insertions(+), 12 deletions(-)
+
+diff --git a/drivers/pinctrl/sunxi/pinctrl-sun50i-a64.c b/drivers/pinctrl/sunxi/pinctrl-sun50i-a64.c
+index 8b974b2a2486..7b83d3755a0e 100644
+--- a/drivers/pinctrl/sunxi/pinctrl-sun50i-a64.c
++++ b/drivers/pinctrl/sunxi/pinctrl-sun50i-a64.c
+@@ -324,62 +324,62 @@ static const struct sunxi_desc_pin a64_pins[] = {
+ SUNXI_FUNCTION(0x0, "gpio_in"),
+ SUNXI_FUNCTION(0x1, "gpio_out"),
+ SUNXI_FUNCTION(0x2, "csi"), /* PCK */
+- SUNXI_FUNCTION(0x4, "ts0")), /* CLK */
++ SUNXI_FUNCTION(0x4, "ts")), /* CLK */
+ SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 1),
+ SUNXI_FUNCTION(0x0, "gpio_in"),
+ SUNXI_FUNCTION(0x1, "gpio_out"),
+ SUNXI_FUNCTION(0x2, "csi"), /* CK */
+- SUNXI_FUNCTION(0x4, "ts0")), /* ERR */
++ SUNXI_FUNCTION(0x4, "ts")), /* ERR */
+ SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 2),
+ SUNXI_FUNCTION(0x0, "gpio_in"),
+ SUNXI_FUNCTION(0x1, "gpio_out"),
+ SUNXI_FUNCTION(0x2, "csi"), /* HSYNC */
+- SUNXI_FUNCTION(0x4, "ts0")), /* SYNC */
++ SUNXI_FUNCTION(0x4, "ts")), /* SYNC */
+ SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 3),
+ SUNXI_FUNCTION(0x0, "gpio_in"),
+ SUNXI_FUNCTION(0x1, "gpio_out"),
+ SUNXI_FUNCTION(0x2, "csi"), /* VSYNC */
+- SUNXI_FUNCTION(0x4, "ts0")), /* DVLD */
++ SUNXI_FUNCTION(0x4, "ts")), /* DVLD */
+ SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 4),
+ SUNXI_FUNCTION(0x0, "gpio_in"),
+ SUNXI_FUNCTION(0x1, "gpio_out"),
+ SUNXI_FUNCTION(0x2, "csi"), /* D0 */
+- SUNXI_FUNCTION(0x4, "ts0")), /* D0 */
++ SUNXI_FUNCTION(0x4, "ts")), /* D0 */
+ SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 5),
+ SUNXI_FUNCTION(0x0, "gpio_in"),
+ SUNXI_FUNCTION(0x1, "gpio_out"),
+ SUNXI_FUNCTION(0x2, "csi"), /* D1 */
+- SUNXI_FUNCTION(0x4, "ts0")), /* D1 */
++ SUNXI_FUNCTION(0x4, "ts")), /* D1 */
+ SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 6),
+ SUNXI_FUNCTION(0x0, "gpio_in"),
+ SUNXI_FUNCTION(0x1, "gpio_out"),
+ SUNXI_FUNCTION(0x2, "csi"), /* D2 */
+- SUNXI_FUNCTION(0x4, "ts0")), /* D2 */
++ SUNXI_FUNCTION(0x4, "ts")), /* D2 */
+ SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 7),
+ SUNXI_FUNCTION(0x0, "gpio_in"),
+ SUNXI_FUNCTION(0x1, "gpio_out"),
+ SUNXI_FUNCTION(0x2, "csi"), /* D3 */
+- SUNXI_FUNCTION(0x4, "ts0")), /* D3 */
++ SUNXI_FUNCTION(0x4, "ts")), /* D3 */
+ SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 8),
+ SUNXI_FUNCTION(0x0, "gpio_in"),
+ SUNXI_FUNCTION(0x1, "gpio_out"),
+ SUNXI_FUNCTION(0x2, "csi"), /* D4 */
+- SUNXI_FUNCTION(0x4, "ts0")), /* D4 */
++ SUNXI_FUNCTION(0x4, "ts")), /* D4 */
+ SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 9),
+ SUNXI_FUNCTION(0x0, "gpio_in"),
+ SUNXI_FUNCTION(0x1, "gpio_out"),
+ SUNXI_FUNCTION(0x2, "csi"), /* D5 */
+- SUNXI_FUNCTION(0x4, "ts0")), /* D5 */
++ SUNXI_FUNCTION(0x4, "ts")), /* D5 */
+ SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 10),
+ SUNXI_FUNCTION(0x0, "gpio_in"),
+ SUNXI_FUNCTION(0x1, "gpio_out"),
+ SUNXI_FUNCTION(0x2, "csi"), /* D6 */
+- SUNXI_FUNCTION(0x4, "ts0")), /* D6 */
++ SUNXI_FUNCTION(0x4, "ts")), /* D6 */
+ SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 11),
+ SUNXI_FUNCTION(0x0, "gpio_in"),
+ SUNXI_FUNCTION(0x1, "gpio_out"),
+ SUNXI_FUNCTION(0x2, "csi"), /* D7 */
+- SUNXI_FUNCTION(0x4, "ts0")), /* D7 */
++ SUNXI_FUNCTION(0x4, "ts")), /* D7 */
+ SUNXI_PIN(SUNXI_PINCTRL_PIN(E, 12),
+ SUNXI_FUNCTION(0x0, "gpio_in"),
+ SUNXI_FUNCTION(0x1, "gpio_out"),
+--
+2.16.4
+
diff --git a/series.conf b/series.conf
index dd8afd21ea..af8d25f1e1 100644
--- a/series.conf
+++ b/series.conf
@@ -20125,6 +20125,7 @@
patches.fixes/watchdog-docs-kernel-api-don-t-reference-removed-fun.patch
patches.drivers/pinctrl-sx150x-handle-failure-case-of-devm_kstrdup.patch
patches.drivers/pinctrl-sunxi-a64-Rename-function-csi0-to-csi.patch
+ patches.drivers/pinctrl-sunxi-a64-Rename-function-ts0-to-ts.patch
patches.drivers/pinctrl-sh-pfc-r8a7740-Add-missing-REF125CK-pin-to-g.patch
patches.drivers/pinctrl-sh-pfc-r8a7740-Add-missing-LCD0-marks-to-lcd.patch
patches.drivers/pinctrl-sh-pfc-r8a7791-Remove-bogus-ctrl-marks-from-.patch