On Tue, Feb 16, 2016 at 09:00:28AM -0700, Simon Glass wrote:
> On 11 February 2016 at 12:00, Jagan Teki <jt...@openedev.com> 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 <tr...@konsulko.com>
> > Cc: Simon Glass <s...@chromium.org>
> > Cc: Christophe Ricard <christophe-h.ric...@st.com>
> > Signed-off-by: Jagan Teki <jt...@openedev.com>
> > ---
> >  drivers/spi/omap3_spi.c | 678 
> > +++++++++++++++++++++++++++++-------------------
> >  1 file changed, 407 insertions(+), 271 deletions(-)
> 
> Reviewed-by: Simon Glass <s...@chromium.org>
> 
> 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

Attachment: signature.asc
Description: Digital signature

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to