[U-Boot] [PATCH 3/3] spi: omap3: Convert to driver model

Simon Glass sjg at chromium.org
Tue Feb 16 17:00:28 CET 2016


On 11 February 2016 at 12:00, Jagan Teki <jteki at 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 <trini at konsulko.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Christophe Ricard <christophe-h.ricard at st.com>
> Signed-off-by: Jagan Teki <jteki at openedev.com>
> ---
>  drivers/spi/omap3_spi.c | 678 +++++++++++++++++++++++++++++-------------------
>  1 file changed, 407 insertions(+), 271 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>

Can CONFIG_OMAP3_SPI_D0_D1_SWAPPED be moved to device tree for the DM version?

- Simon


More information about the U-Boot mailing list