diff for duplicates of <5123B719.2080300@gmail.com> diff --git a/a/1.txt b/N1/1.txt index 83bc425..3fe427b 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -16,7 +16,7 @@ On 19.02.2013 18:22, Mike Turquette wrote: >>>> clock-frequency = <25000000>; >>>> }; >>>> ->>>> clock-generator at 0 { +>>>> clock-generator@0 { >>>> /* ... */ >>>> #clock-cells = <1>; >>>> clocks = <&ref25>; @@ -67,11 +67,3 @@ strings have to be passed explicitly from generic code feels wrong. Thanks, Daniel - --------------- next part -------------- -A non-text attachment was scrubbed... -Name: 0001-ARM-OMAP-generic-add-call-to-of_clk_init.patch -Type: text/x-patch -Size: 1336 bytes -Desc: not available -URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130219/9fd02682/attachment.bin> diff --git a/N1/2.hdr b/N1/2.hdr new file mode 100644 index 0000000..5ca9d00 --- /dev/null +++ b/N1/2.hdr @@ -0,0 +1,5 @@ +Content-Type: text/x-patch; + name="0001-ARM-OMAP-generic-add-call-to-of_clk_init.patch" +Content-Transfer-Encoding: 7bit +Content-Disposition: attachment; + filename="0001-ARM-OMAP-generic-add-call-to-of_clk_init.patch" diff --git a/N1/2.txt b/N1/2.txt new file mode 100644 index 0000000..61d13f3 --- /dev/null +++ b/N1/2.txt @@ -0,0 +1,46 @@ +>From 850120371830ffb5e2146aeb2d21c724d6ded09e Mon Sep 17 00:00:00 2001 +From: Daniel Mack <zonque@gmail.com> +Date: Tue, 19 Feb 2013 12:05:25 +0100 +Subject: [PATCH] ARM: OMAP: generic: add call to of_clk_init() + +This is needed to instanciate fixed clocks in the DT. + +Signed-off-by: Daniel Mack <zonque@gmail.com> +--- + arch/arm/mach-omap2/board-generic.c | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generic.c +index 0274ff7..3580f16 100644 +--- a/arch/arm/mach-omap2/board-generic.c ++++ b/arch/arm/mach-omap2/board-generic.c +@@ -15,6 +15,7 @@ + #include <linux/of_irq.h> + #include <linux/of_platform.h> + #include <linux/irqdomain.h> ++#include <linux/clk-provider.h> + + #include <asm/mach/arch.h> + +@@ -35,6 +36,11 @@ static struct of_device_id omap_dt_match_table[] __initdata = { + { } + }; + ++static const __initconst struct of_device_id clk_match[] = { ++ { .compatible = "fixed-clock", .data = of_fixed_clk_setup, }, ++ {} ++}; ++ + static void __init omap_generic_init(void) + { + omap_sdrc_init(NULL, NULL); +@@ -49,6 +55,7 @@ static void __init omap_generic_init(void) + omap4_panda_display_init_of(); + else if (of_machine_is_compatible("ti,omap4-sdp")) + omap_4430sdp_display_init_of(); ++ of_clk_init(clk_match); + } + + #ifdef CONFIG_SOC_OMAP2420 +-- +1.8.1.2 diff --git a/a/content_digest b/N1/content_digest index 7abb59e..5784f0f 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,11 +2,18 @@ "ref\0CAOMZO5BXVX8=QOV4+tN_w27ztSVkHAnOG2ifbS_Jpd=-cPnAdw@mail.gmail.com\0" "ref\051234B8E.2000504@gmail.com\0" "ref\020130219172246.11471.14635@quantum\0" - "From\0zonque@gmail.com (Daniel Mack)\0" - "Subject\0Question about fixed-clock\0" + "From\0Daniel Mack <zonque@gmail.com>\0" + "Subject\0Re: Question about fixed-clock\0" "Date\0Tue, 19 Feb 2013 18:32:09 +0100\0" - "To\0linux-arm-kernel@lists.infradead.org\0" - "\00:1\0" + "To\0Mike Turquette <mturquette@linaro.org>\0" + "Cc\0Fabio Estevam <festevam@gmail.com>" + Russell King <linux@arm.linux.org.uk> + LKML <linux-kernel@vger.kernel.org> + linux-arm-kernel@lists.infradead.org <linux-arm-kernel@lists.infradead.org> + Afzal Mohammed <x0148406@ti.com> + paul@pwsan.com + " rnayak@ti.com\0" + "\01:1\0" "b\0" "On 19.02.2013 18:22, Mike Turquette wrote:\n" "> Quoting Daniel Mack (2013-02-19 01:53:18)\n" @@ -26,7 +33,7 @@ ">>>> clock-frequency = <25000000>;\n" ">>>> };\n" ">>>>\n" - ">>>> clock-generator at 0 {\n" + ">>>> clock-generator@0 {\n" ">>>> /* ... */\n" ">>>> #clock-cells = <1>;\n" ">>>> clocks = <&ref25>;\n" @@ -76,14 +83,55 @@ "\n" "\n" "Thanks,\n" - "Daniel\n" + Daniel + "\01:2\0" + "fn\00001-ARM-OMAP-generic-add-call-to-of_clk_init.patch\0" + "b\0" + ">From 850120371830ffb5e2146aeb2d21c724d6ded09e Mon Sep 17 00:00:00 2001\n" + "From: Daniel Mack <zonque@gmail.com>\n" + "Date: Tue, 19 Feb 2013 12:05:25 +0100\n" + "Subject: [PATCH] ARM: OMAP: generic: add call to of_clk_init()\n" + "\n" + "This is needed to instanciate fixed clocks in the DT.\n" + "\n" + "Signed-off-by: Daniel Mack <zonque@gmail.com>\n" + "---\n" + " arch/arm/mach-omap2/board-generic.c | 7 +++++++\n" + " 1 file changed, 7 insertions(+)\n" "\n" - "-------------- next part --------------\n" - "A non-text attachment was scrubbed...\n" - "Name: 0001-ARM-OMAP-generic-add-call-to-of_clk_init.patch\n" - "Type: text/x-patch\n" - "Size: 1336 bytes\n" - "Desc: not available\n" - URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130219/9fd02682/attachment.bin> + "diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generic.c\n" + "index 0274ff7..3580f16 100644\n" + "--- a/arch/arm/mach-omap2/board-generic.c\n" + "+++ b/arch/arm/mach-omap2/board-generic.c\n" + "@@ -15,6 +15,7 @@\n" + " #include <linux/of_irq.h>\n" + " #include <linux/of_platform.h>\n" + " #include <linux/irqdomain.h>\n" + "+#include <linux/clk-provider.h>\n" + " \n" + " #include <asm/mach/arch.h>\n" + " \n" + "@@ -35,6 +36,11 @@ static struct of_device_id omap_dt_match_table[] __initdata = {\n" + " \t{ }\n" + " };\n" + " \n" + "+static const __initconst struct of_device_id clk_match[] = {\n" + "+\t{ .compatible = \"fixed-clock\", .data = of_fixed_clk_setup, },\n" + "+\t{}\n" + "+};\n" + "+\n" + " static void __init omap_generic_init(void)\n" + " {\n" + " \tomap_sdrc_init(NULL, NULL);\n" + "@@ -49,6 +55,7 @@ static void __init omap_generic_init(void)\n" + " \t\tomap4_panda_display_init_of();\n" + " \telse if (of_machine_is_compatible(\"ti,omap4-sdp\"))\n" + " \t\tomap_4430sdp_display_init_of();\n" + "+\tof_clk_init(clk_match);\n" + " }\n" + " \n" + " #ifdef CONFIG_SOC_OMAP2420\n" + "-- \n" + 1.8.1.2 -1dc9749ac8472f8707a842766ef1f4b30022e3c289ce2cbd1077351cfc7922d4 +71fb16459c344793c6875710b507ec14890057a0178c0beb378c234f4e8a0f9c
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.