diff for duplicates of <561D287C.9010400@mleia.com> diff --git a/a/1.txt b/N1/1.txt index 45f0f83..a312135 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -9,7 +9,7 @@ On 13.10.2015 15:44, Arnd Bergmann wrote: >> of ranges property in subnodes (e.g. for defining flash partitions) >> can not be done. >> ->> Signed-off-by: Vladimir Zapolskiy <vz@mleia.com> +>> Signed-off-by: Vladimir Zapolskiy <vz-ChpfBGZJDbMAvxtiuMwx3w@public.gmane.org> >> > @@ -30,7 +30,7 @@ Below are my declarations, similar to one found in lpc18xx.dtsi. lpc32xx.dtsi change common for all LPC32xx boards: -emc: emc at 31080000 { +emc: emc@31080000 { compatible = "arm,pl175", "arm,primecell"; reg = <0x31080000 0x1000>; clocks = <&scf LPC32XX_CLK_DDRAM>; @@ -50,7 +50,7 @@ myboard.dts declaration: &emc { status = "okay"; - cs at 0 { + cs@0 { #address-cells = <1>; #size-cells = <1>; ranges; @@ -66,7 +66,7 @@ myboard.dts declaration: mpmc,write-access-delay = <22>; mpmc,turn-round-delay = <8>; - nor at 0 { + nor@0 { #address-cells = <1>; #size-cells = <1>; @@ -80,10 +80,10 @@ myboard.dts declaration: The problem with non-empty ranges is that NOR device is not mapped to 0xe0000000, because da > (cp + s): - OF: ** translation for device /ahb/emc at 31080000/cs at 0/nor at 0 ** - OF: bus is default (na=1, ns=1) on /ahb/emc at 31080000/cs at 0 + OF: ** translation for device /ahb/emc@31080000/cs@0/nor@0 ** + OF: bus is default (na=1, ns=1) on /ahb/emc@31080000/cs@0 OF: translating address: 00000000 - OF: parent bus is default (na=1, ns=1) on /ahb/emc at 31080000 + OF: parent bus is default (na=1, ns=1) on /ahb/emc@31080000 OF: empty ranges; 1:1 translation OF: parent translation for: 00000000 OF: with offset: 0 @@ -101,10 +101,10 @@ The problem with non-empty ranges is that NOR device is not mapped to This proposed 2/5 change fixes the problem for me: - OF: ** translation for device /ahb/emc at 31080000/cs at 0/nor at 0 ** - OF: bus is default (na=1, ns=1) on /ahb/emc at 31080000/cs at 0 + OF: ** translation for device /ahb/emc@31080000/cs@0/nor@0 ** + OF: bus is default (na=1, ns=1) on /ahb/emc@31080000/cs@0 OF: translating address: 00000000 - OF: parent bus is default (na=1, ns=1) on /ahb/emc at 31080000 + OF: parent bus is default (na=1, ns=1) on /ahb/emc@31080000 OF: empty ranges; 1:1 translation OF: parent translation for: 00000000 OF: with offset: 0 @@ -129,7 +129,7 @@ moreover boot time delay is slightly faster. Original address translation for a device: -[ 0.259969] OF: ** translation for device /ahb/fab/watchdog at 4003C000 ** +[ 0.259969] OF: ** translation for device /ahb/fab/watchdog@4003C000 ** [ 0.260050] OF: bus is default (na=1, ns=1) on /ahb/fab [ 0.260084] OF: translating address: 4003c000 [ 0.260156] OF: parent bus is default (na=1, ns=1) on /ahb @@ -148,7 +148,7 @@ Original address translation for a device: With this proposed change applied address translation looks simpler: -[ 0.253194] OF: ** translation for device /ahb/fab/watchdog at 4003C000 ** +[ 0.253194] OF: ** translation for device /ahb/fab/watchdog@4003C000 ** [ 0.253281] OF: bus is default (na=1, ns=1) on /ahb/fab [ 0.253314] OF: translating address: 4003c000 [ 0.253386] OF: parent bus is default (na=1, ns=1) on /ahb @@ -169,3 +169,7 @@ of problem is fixed. -- With best wishes, Vladimir +-- +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 823de68..cb59043 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,10 +1,17 @@ "ref\01444694045-22000-1-git-send-email-vz@mleia.com\0" "ref\01444694045-22000-3-git-send-email-vz@mleia.com\0" "ref\07277011.vmOGiecsKn@wuerfel\0" - "From\0vz@mleia.com (Vladimir Zapolskiy)\0" - "Subject\0[PATCH 2/5] arm: dts: lpc32xx: fix improper usage of ranges property\0" + "From\0Vladimir Zapolskiy <vz-ChpfBGZJDbMAvxtiuMwx3w@public.gmane.org>\0" + "Subject\0Re: [PATCH 2/5] arm: dts: lpc32xx: fix improper usage of ranges property\0" "Date\0Tue, 13 Oct 2015 18:51:24 +0300\0" - "To\0linux-arm-kernel@lists.infradead.org\0" + "To\0Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org>\0" + "Cc\0Roland Stigge <stigge-uj/7R2tJ6VmzQB+pC5nmwQ@public.gmane.org>" + Russell King <linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org> + Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> + Grant Likely <grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> + devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org + linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org + " Joachim Eastwood <manabian-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>\0" "\00:1\0" "b\0" "Arnd,\n" @@ -18,7 +25,7 @@ ">> of ranges property in subnodes (e.g. for defining flash partitions)\n" ">> can not be done.\n" ">>\n" - ">> Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>\n" + ">> Signed-off-by: Vladimir Zapolskiy <vz-ChpfBGZJDbMAvxtiuMwx3w@public.gmane.org>\n" ">>\n" "> \n" "\n" @@ -39,7 +46,7 @@ "\n" "lpc32xx.dtsi change common for all LPC32xx boards:\n" "\n" - "emc: emc at 31080000 {\n" + "emc: emc@31080000 {\n" "\tcompatible = \"arm,pl175\", \"arm,primecell\";\n" "\treg = <0x31080000 0x1000>;\n" "\tclocks = <&scf LPC32XX_CLK_DDRAM>;\n" @@ -59,7 +66,7 @@ "&emc {\n" "\tstatus = \"okay\";\n" "\n" - "\tcs at 0 {\n" + "\tcs@0 {\n" "\t\t#address-cells = <1>;\n" "\t\t#size-cells = <1>;\n" "\t\tranges;\n" @@ -75,7 +82,7 @@ "\t\tmpmc,write-access-delay = <22>;\n" "\t\tmpmc,turn-round-delay = <8>;\n" "\n" - "\t\tnor at 0 {\n" + "\t\tnor@0 {\n" "\t\t\t#address-cells = <1>;\n" "\t\t\t#size-cells = <1>;\n" "\n" @@ -89,10 +96,10 @@ "The problem with non-empty ranges is that NOR device is not mapped to\n" "0xe0000000, because da > (cp + s):\n" "\n" - "\tOF: ** translation for device /ahb/emc at 31080000/cs at 0/nor at 0 **\n" - "\tOF: bus is default (na=1, ns=1) on /ahb/emc at 31080000/cs at 0\n" + "\tOF: ** translation for device /ahb/emc@31080000/cs@0/nor@0 **\n" + "\tOF: bus is default (na=1, ns=1) on /ahb/emc@31080000/cs@0\n" "\tOF: translating address: 00000000\n" - "\tOF: parent bus is default (na=1, ns=1) on /ahb/emc at 31080000\n" + "\tOF: parent bus is default (na=1, ns=1) on /ahb/emc@31080000\n" "\tOF: empty ranges; 1:1 translation\n" "\tOF: parent translation for: 00000000\n" "\tOF: with offset: 0\n" @@ -110,10 +117,10 @@ "\n" "This proposed 2/5 change fixes the problem for me:\n" "\n" - "\tOF: ** translation for device /ahb/emc at 31080000/cs at 0/nor at 0 **\n" - "\tOF: bus is default (na=1, ns=1) on /ahb/emc at 31080000/cs at 0\n" + "\tOF: ** translation for device /ahb/emc@31080000/cs@0/nor@0 **\n" + "\tOF: bus is default (na=1, ns=1) on /ahb/emc@31080000/cs@0\n" "\tOF: translating address: 00000000\n" - "\tOF: parent bus is default (na=1, ns=1) on /ahb/emc at 31080000\n" + "\tOF: parent bus is default (na=1, ns=1) on /ahb/emc@31080000\n" "\tOF: empty ranges; 1:1 translation\n" "\tOF: parent translation for: 00000000\n" "\tOF: with offset: 0\n" @@ -138,7 +145,7 @@ "\n" "Original address translation for a device:\n" "\n" - "[ 0.259969] OF: ** translation for device /ahb/fab/watchdog at 4003C000 **\n" + "[ 0.259969] OF: ** translation for device /ahb/fab/watchdog@4003C000 **\n" "[ 0.260050] OF: bus is default (na=1, ns=1) on /ahb/fab\n" "[ 0.260084] OF: translating address: 4003c000\n" "[ 0.260156] OF: parent bus is default (na=1, ns=1) on /ahb\n" @@ -157,7 +164,7 @@ "\n" "With this proposed change applied address translation looks simpler:\n" "\n" - "[ 0.253194] OF: ** translation for device /ahb/fab/watchdog at 4003C000 **\n" + "[ 0.253194] OF: ** translation for device /ahb/fab/watchdog@4003C000 **\n" "[ 0.253281] OF: bus is default (na=1, ns=1) on /ahb/fab\n" "[ 0.253314] OF: translating address: 4003c000\n" "[ 0.253386] OF: parent bus is default (na=1, ns=1) on /ahb\n" @@ -177,6 +184,10 @@ "\n" "--\n" "With best wishes,\n" - Vladimir + "Vladimir\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 -c2cccfe808bfd458e42ac560c5229134eb5f7e58e78944af1ae1d62797045322 +493a01dca0bc0d339a024528f7f82e71ac1b3207b6dc05f7a3edec0e6cd5bcd8
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.