diff for duplicates of <20140321012640.21989.58819@quantum> diff --git a/a/1.txt b/N1/1.txt index a4ee4dc..bcec79c 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -13,7 +13,7 @@ Quoting Wolfram Sang (2014-03-07 08:00:37) > * added docs > * preparation for usb_x1 support by documenting two input clocks > * static-consted frqcr_tab -> * bail out if num_clks = 0 +> * bail out if num_clks == 0 > * cosmetic fixes > > Mike: if you are fine with this driver, it would be good if you could apply it. @@ -61,7 +61,7 @@ Mike > +Example > +------- > + -> + cpg_clocks: cpg_clocks@fcfe0000 { +> + cpg_clocks: cpg_clocks at fcfe0000 { > + #clock-cells = <1>; > + compatible = "renesas,r7s72100-cpg-clocks", > + "renesas,rz-cpg-clocks"; @@ -122,7 +122,7 @@ Mike > + unsigned mult; > + static const unsigned frqcr_tab[4] = { 3, 2, 0, 1 }; > + -> + if (strcmp(name, "pll") = 0) { +> + if (strcmp(name, "pll") == 0) { > + /* FIXME: cpg_mode should be read from GPIO. But no GPIO support yet */ > + unsigned cpg_mode = 0; /* hardcoded to EXTAL for now */ > + const char *parent_name = of_clk_get_parent_name(np, cpg_mode); @@ -140,9 +140,9 @@ Mike > + * and the constraint that always g <= i. To get the rz platform started, > + * let them run at fixed current speed and implement the details later. > + */ -> + if (strcmp(name, "i") = 0) +> + if (strcmp(name, "i") == 0) > + val = (clk_readl(cpg->reg + CPG_FRQCR) >> 8) & 3; -> + else if (strcmp(name, "g") = 0) +> + else if (strcmp(name, "g") == 0) > + val = clk_readl(cpg->reg + CPG_FRQCR2) & 3; > + else > + return ERR_PTR(-EINVAL); diff --git a/a/content_digest b/N1/content_digest index 41d6d9b..9adf82a 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,8 +1,8 @@ "ref\01394208048-32495-1-git-send-email-wsa@the-dreams.de\0" "ref\01394208048-32495-2-git-send-email-wsa@the-dreams.de\0" - "From\0Mike Turquette <mturquette@linaro.org>\0" - "Subject\0Re: [PATCH V3 01/12] clk: shmobile: add CPG driver for rz-platforms\0" - "Date\0Fri, 21 Mar 2014 01:26:40 +0000\0" + "From\0mturquette@linaro.org (Mike Turquette)\0" + "Subject\0[PATCH V3 01/12] clk: shmobile: add CPG driver for rz-platforms\0" + "Date\0Thu, 20 Mar 2014 18:26:40 -0700\0" "To\0linux-arm-kernel@lists.infradead.org\0" "\00:1\0" "b\0" @@ -21,7 +21,7 @@ "> * added docs\n" "> * preparation for usb_x1 support by documenting two input clocks\n" "> * static-consted frqcr_tab\n" - "> * bail out if num_clks = 0\n" + "> * bail out if num_clks == 0\n" "> * cosmetic fixes\n" "> \n" "> Mike: if you are fine with this driver, it would be good if you could apply it.\n" @@ -69,7 +69,7 @@ "> +Example\n" "> +-------\n" "> +\n" - "> + cpg_clocks: cpg_clocks@fcfe0000 {\n" + "> + cpg_clocks: cpg_clocks at fcfe0000 {\n" "> + #clock-cells = <1>;\n" "> + compatible = \"renesas,r7s72100-cpg-clocks\",\n" "> + \"renesas,rz-cpg-clocks\";\n" @@ -130,7 +130,7 @@ "> + unsigned mult;\n" "> + static const unsigned frqcr_tab[4] = { 3, 2, 0, 1 };\n" "> +\n" - "> + if (strcmp(name, \"pll\") = 0) {\n" + "> + if (strcmp(name, \"pll\") == 0) {\n" "> + /* FIXME: cpg_mode should be read from GPIO. But no GPIO support yet */\n" "> + unsigned cpg_mode = 0; /* hardcoded to EXTAL for now */\n" "> + const char *parent_name = of_clk_get_parent_name(np, cpg_mode);\n" @@ -148,9 +148,9 @@ "> + * and the constraint that always g <= i. To get the rz platform started,\n" "> + * let them run at fixed current speed and implement the details later.\n" "> + */\n" - "> + if (strcmp(name, \"i\") = 0)\n" + "> + if (strcmp(name, \"i\") == 0)\n" "> + val = (clk_readl(cpg->reg + CPG_FRQCR) >> 8) & 3;\n" - "> + else if (strcmp(name, \"g\") = 0)\n" + "> + else if (strcmp(name, \"g\") == 0)\n" "> + val = clk_readl(cpg->reg + CPG_FRQCR2) & 3;\n" "> + else\n" "> + return ERR_PTR(-EINVAL);\n" @@ -200,4 +200,4 @@ "> 1.9.0\n" > -b8ceea581cc374bb513eb6feadf94c808af64e50c3589314a24e7e31c62b02ea +3c042d15bb876931b6b3ab4cbd844e9048f908c32a87f986c9c0613ee66552fc
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.