From mboxrd@z Thu Jan 1 00:00:00 1970 From: lee.jones@linaro.org (Lee Jones) Date: Thu, 18 Apr 2013 12:09:18 +0100 Subject: [PATCH 07/32] ARM: ux500: Supply address location names for the DMA40 DMA controller In-Reply-To: <201304181248.36597.arnd@arndb.de> References: <1366279934-30761-1-git-send-email-lee.jones@linaro.org> <1366279934-30761-8-git-send-email-lee.jones@linaro.org> <201304181248.36597.arnd@arndb.de> Message-ID: <20130418110918.GC27903@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, 18 Apr 2013, Arnd Bergmann wrote: > On Thursday 18 April 2013, Lee Jones wrote: > > The DMA40 controller uses two sets of base addresses. In order to have > > them automatically setup as resources by the Open Format framework we > > have to set names for them. The names have to be the same as the ones > > used to fetch them back out of the resource structure. > > > > Signed-off-by: Lee Jones > > Typo: s/Open Format/Open Firmware/ > > To be more specific, just write of_platform framework. Note that we > still get resources without passing the names, they are just not > named in that case and have to be retrieved by index. Changed to: The DMA40 controller uses two sets of base addresses. In order to have the resources setup by the of_platform framework so they are searchable by name instead of index, we have to set names for them. The names have to be the same as the ones used to fetch them back out of the resource structure. > You should also document the strings in the binding document. Done. -- Lee Jones Linaro ST-Ericsson Landing Team Lead Linaro.org ? Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog