diff for duplicates of <52FF8528.2020404@elopez.com.ar> diff --git a/a/1.txt b/N1/1.txt index b944ed1..5862685 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,6 +1,6 @@ Hello Stephen, -El 14/02/14 03:16, Stephen Warren escribi?: +El 14/02/14 03:16, Stephen Warren escribió: > clk-fixed-rate currently names clocks according to a node's name without > the unit address. When faced with the legal and technically correct DT > structure below, this causes rgistration attempts for 3 clocks with the @@ -11,21 +11,21 @@ El 14/02/14 03:16, Stephen Warren escribi?: > #address-cells = <1>; > #size-cells = <0>; > -> clk_mmc: clock at 0 { +> clk_mmc: clock@0 { > compatible = "fixed-clock"; > reg = <0>; > ... -> clk_i2c: clock at 1 { +> clk_i2c: clock@1 { > compatible = "fixed-clock"; > reg = <1>; > ... -> clk_spi: clock at 2 { +> clk_spi: clock@2 { > compatible = "fixed-clock"; > reg = <2>; > ... > > Solve this by naming the clocks after the full node name rather than the -> short version (e.g. /clocks/clock at 0). +> short version (e.g. /clocks/clock@0). An alternative that doesn't require any change in the driver would be to use the optional but recommended clock-output-names property from the @@ -34,15 +34,15 @@ common clock binding. Your DT would then look something like the following > ... - > clk_mmc: clk at 0 { + > clk_mmc: clk@0 { > compatible = "fixed-clock"; > clock-output-names = "mmc"; > ... - > clk_i2c: clk at 1 { + > clk_i2c: clk@1 { > compatible = "fixed-clock"; > clock-output-names = "i2c"; > ... - > clk_spi: clk at 2 { + > clk_spi: clk@2 { > compatible = "fixed-clock"; > clock-output-names = "spi"; > ... @@ -50,3 +50,7 @@ Your DT would then look something like the following Cheers, Emilio +-- +To unsubscribe from this list: send the line "unsubscribe devicetree" in +the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org +More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/a/content_digest b/N1/content_digest index 2281a31..70bab57 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,13 +1,18 @@ "ref\01392358613-19962-1-git-send-email-swarren@wwwdotorg.org\0" - "From\0emilio@elopez.com.ar (Emilio L\303\263pez)\0" - "Subject\0[PATCH 1/2] clk: fixed-rate: use full DT node name\0" + "ref\01392358613-19962-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org\0" + "From\0Emilio L\303\263pez <emilio-0Z03zUJReD5OxF6Tv1QG9Q@public.gmane.org>\0" + "Subject\0Re: [PATCH 1/2] clk: fixed-rate: use full DT node name\0" "Date\0Sat, 15 Feb 2014 12:18:00 -0300\0" - "To\0linux-arm-kernel@lists.infradead.org\0" + "To\0Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>" + " Mike Turquette <mturquette-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>\0" + "Cc\0devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" + linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org + " linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org\0" "\00:1\0" "b\0" "Hello Stephen,\n" "\n" - "El 14/02/14 03:16, Stephen Warren escribi?:\n" + "El 14/02/14 03:16, Stephen Warren escribi\303\263:\n" "> clk-fixed-rate currently names clocks according to a node's name without\n" "> the unit address. When faced with the legal and technically correct DT\n" "> structure below, this causes rgistration attempts for 3 clocks with the\n" @@ -18,21 +23,21 @@ "> \t\t#address-cells = <1>;\n" "> \t\t#size-cells = <0>;\n" ">\n" - "> \t\tclk_mmc: clock at 0 {\n" + "> \t\tclk_mmc: clock@0 {\n" "> \t\t\tcompatible = \"fixed-clock\";\n" "> \t\t\treg = <0>;\n" "> ...\n" - "> \t\tclk_i2c: clock at 1 {\n" + "> \t\tclk_i2c: clock@1 {\n" "> \t\t\tcompatible = \"fixed-clock\";\n" "> \t\t\treg = <1>;\n" "> ...\n" - "> \t\tclk_spi: clock at 2 {\n" + "> \t\tclk_spi: clock@2 {\n" "> \t\t\tcompatible = \"fixed-clock\";\n" "> \t\t\treg = <2>;\n" "> ...\n" ">\n" "> Solve this by naming the clocks after the full node name rather than the\n" - "> short version (e.g. /clocks/clock at 0).\n" + "> short version (e.g. /clocks/clock@0).\n" "\n" "An alternative that doesn't require any change in the driver would be to \n" "use the optional but recommended clock-output-names property from the \n" @@ -41,21 +46,25 @@ "Your DT would then look something like the following\n" "\n" " > ...\n" - " > \t\tclk_mmc: clk at 0 {\n" + " > \t\tclk_mmc: clk@0 {\n" " > \t\t\tcompatible = \"fixed-clock\";\n" " > \t\t\tclock-output-names = \"mmc\";\n" " > ...\n" - " > \t\tclk_i2c: clk at 1 {\n" + " > \t\tclk_i2c: clk@1 {\n" " > \t\t\tcompatible = \"fixed-clock\";\n" " > \t\t\tclock-output-names = \"i2c\";\n" " > ...\n" - " > \t\tclk_spi: clk at 2 {\n" + " > \t\tclk_spi: clk@2 {\n" " > \t\t\tcompatible = \"fixed-clock\";\n" " > \t\t\tclock-output-names = \"spi\";\n" " > ...\n" "\n" "Cheers,\n" "\n" - Emilio + "Emilio\n" + "--\n" + "To unsubscribe from this list: send the line \"unsubscribe devicetree\" in\n" + "the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org\n" + More majordomo info at http://vger.kernel.org/majordomo-info.html -34c6c6d846bde3c8030014d40df7bc8e79504686d7b2dbbe46532d0a5b2ba6c5 +31b56c4bbd556914b30506c72aecf9b8275424c3f4cc3f6283384e2f61672683
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.