[U-Boot] [PATCH v3] spi: kirkwood_spi: Add support for multiple chip-selects on MVEBU

Stefan Roese sr at denx.de
Wed Apr 6 15:43:23 CEST 2016


On 06.04.2016 15:31, Jagan Teki wrote:
>
> On Apr 6, 2016 6:01 PM, "Stefan Roese" <sr at denx.de <mailto:sr at denx.de>>
> wrote:
>  >
>  > On 06.04.2016 14:25, Jagan Teki wrote:
>  >>
>  >> On 6 April 2016 at 17:24, Stefan Roese <sr at denx.de
> <mailto:sr at denx.de>> wrote:
>  >>>
>  >>> Currently only chip-select 0 is supported by the kirkwood SPI driver.
>  >>> The Armada XP / 38x SoCs also use this driver and support multiple chip
>  >>> selects. This patch adds support for multiple CS on MVEBU.
>  >>>
>  >>> The register definitions are restructured a bit with this patch.
> Grouping
>  >>> them to the corresponding registers.
>  >>>
>  >>> Signed-off-by: Stefan Roese <sr at denx.de <mailto:sr at denx.de>>
>  >>> Cc: Luka Perkov <luka.perkov at sartura.hr
> <mailto:luka.perkov at sartura.hr>>
>  >>> Cc: Jagan Teki <jteki at openedev.com <mailto:jteki at openedev.com>>
>  >>> ---
>  >>> v3:
>  >>> - Remove unnecessary #ifdef
>  >>
>  >>
>  >> Does this mean dm for this driver will operate only for MVEBU now?
>  >
>  >
>  > Not sure. The Kirkwood platform has not been ported to DM yet. But
>  > I can't see anything right now that should prevent Kirkwood to
>  > using this driver also once its ported to DM. Not sure why I had
>  > this #ifdef in this patch - its been a while since I first started
>  > this patch.
>  >
>
> Reviewed-by: Jagan Teki <jteki at openedev.com <mailto:jteki at openedev.com>>
>
>  > Are you okay with this patch now? If yes, should I push it via the
>  > Marvell repository?
>
> Ok.

Applied to u-boot-marvell/master.

Thanks,
Stefan



More information about the U-Boot mailing list