From dcbfc72a884f6243bc3d80ae756abc508be52b41 Mon Sep 17 00:00:00 2001 From: Zoltan HERPAI Date: Sun, 21 Sep 2014 15:42:36 +0000 Subject: sunxi: remove 3.13 support Signed-off-by: Zoltan HERPAI git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42628 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../121-clk-sunxi-better-factor-dt-nodes.patch | 47 ---------------------- 1 file changed, 47 deletions(-) delete mode 100644 target/linux/sunxi/patches-3.13/121-clk-sunxi-better-factor-dt-nodes.patch (limited to 'target/linux/sunxi/patches-3.13/121-clk-sunxi-better-factor-dt-nodes.patch') diff --git a/target/linux/sunxi/patches-3.13/121-clk-sunxi-better-factor-dt-nodes.patch b/target/linux/sunxi/patches-3.13/121-clk-sunxi-better-factor-dt-nodes.patch deleted file mode 100644 index 5f4d738ccd..0000000000 --- a/target/linux/sunxi/patches-3.13/121-clk-sunxi-better-factor-dt-nodes.patch +++ /dev/null @@ -1,47 +0,0 @@ -From 7d47b009bf287bf5e0817f47c40e32b7ec0e8151 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Emilio=20L=C3=B3pez?= -Date: Mon, 23 Dec 2013 00:32:40 -0300 -Subject: [PATCH] clk: sunxi: support better factor DT nodes -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -The DT nodes should look like - - abc_clk: clk@deadbeef { - ... - clock-output-names = "abc"; - } - -But our old DT nodes look like - - abc: abc@deadbeef { - ... - } - -So, let's support both formats, until we can transition everything -to the new, correct one. - -Signed-off-by: Emilio López ---- - drivers/clk/sunxi/clk-sunxi.c | 9 +++++++++ - 1 file changed, 9 insertions(+) - ---- a/drivers/clk/sunxi/clk-sunxi.c -+++ b/drivers/clk/sunxi/clk-sunxi.c -@@ -441,6 +441,15 @@ static struct clk * __init sunxi_factors - (parents[i] = of_clk_get_parent_name(node, i)) != NULL) - i++; - -+ /* Nodes should be providing the name via clock-output-names -+ * but originally our dts didn't, and so we used node->name. -+ * The new, better nodes look like clk@deadbeef, so we pull the -+ * name just in this case */ -+ if (!strcmp("clk", clk_name)) { -+ of_property_read_string_index(node, "clock-output-names", -+ 0, &clk_name); -+ } -+ - factors = kzalloc(sizeof(struct clk_factors), GFP_KERNEL); - if (!factors) - return NULL; -- cgit v1.2.3