From: Tom Rini Date: Tue, 16 Feb 2016 11:28:45 -0500 Subject: [U-Boot] [PATCH 3/3] spi: omap3: Convert to driver model In-Reply-To: References: <1455217239-31416-1-git-send-email-jteki@openedev.com> <1455217239-31416-3-git-send-email-jteki@openedev.com> Message-ID: <20160216162845.GU23166@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Feb 16, 2016 at 09:00:28AM -0700, Simon Glass wrote: > On 11 February 2016 at 12:00, Jagan Teki wrote: > > After this conversion the driver will able to support > > both dm and non-dm and code is more extensible like we > > can remove the non-dm part simply without touching anycode > > if all the boards which are using this driver become dm driven. > > > > Cc: Tom Rini > > Cc: Simon Glass > > Cc: Christophe Ricard > > Signed-off-by: Jagan Teki > > --- > > drivers/spi/omap3_spi.c | 678 +++++++++++++++++++++++++++++------------------- > > 1 file changed, 407 insertions(+), 271 deletions(-) > > Reviewed-by: Simon Glass > > Can CONFIG_OMAP3_SPI_D0_D1_SWAPPED be moved to device tree for the DM version? Yes, there is already a binding for this: - ti,pindir-d0-out-d1-in: Select the D0 pin as output and D1 as input. The default is D0 as input and D1 as output. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: