From: Stefan Roese Date: Tue, 23 Aug 2016 08:57:13 +0200 Subject: [U-Boot] [PATCH v1 2/2] arm: mvebu: Define NAND interface pins for A-38x In-Reply-To: <20160822003840.16992-2-judge.packham@gmail.com> References: <20160822003840.16992-1-judge.packham@gmail.com> <20160822003840.16992-2-judge.packham@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Chris, On 22.08.2016 02:38, Chris Packham wrote: > From: Chris Packham > > Add pin control settings for the NAND flash interface. This interface > is multiplexed with the device bus interface to the function is "dev" > not "nand" as one might expect. > > Signed-off-by: Chris Packham > Cc: Luka Perkov > Cc: Dirk Eibach > --- > I don't think this is strictly necessary. A quick scan of boards that > use this family of processor all seem to set their MPP configurations > manually. Correct. Unfortunately we don't have a pin-ctrl driver for AXP / A38x in U-Boot yet. Such a driver would be very welcome though. ;) > Another issue is that technically on the Armada-385 there are 4 possible > CE pins. The board I'm looking at happens to use CE#0 (mpp25) but mpp26, > mpp27 and mpp6 are all potentially available. I guess if any boards > actually use them they can add them to their pin specification. At the > very least such boards would need to update the num-cs property anyway. How is this handled in the kernel? I would very much like to see these changes in the dts in sync with the kernel as much as possible. Does the kernel also use "dev" instead of "nand" here? Thanks, Stefan