On Wed, Mar 30, 2022 at 09:33:13AM +0200, Patrice Chotard wrote: > Move legacy spi_get_bus_and_cs() code to _spi_get_bus_and_cs(). > > Add new spi_get_bus_and_cs() implementation which rely on DT > for speed and mode and don't need any drv_name nor dev_name > parameters. This will prepare the ground for next patch. > > Update all callers to use _spi_get_bus_and_cs() to keep the > same behavior. > > Signed-off-by: Patrice Chotard <patrice.chot...@foss.st.com> > > Cc: Marek Behun <marek.be...@nic.cz> > Cc: Jagan Teki <ja...@amarulasolutions.com> > Cc: Vignesh R <vigne...@ti.com> > Cc: Joe Hershberger <joe.hershber...@ni.com> > Cc: Ramon Fried <rfried....@gmail.com> > Cc: Lukasz Majewski <lu...@denx.de> > Cc: Marek Vasut <ma...@denx.de> > Cc: Wolfgang Denk <w...@denx.de> > Cc: Simon Glass <s...@chromium.org> > Cc: Stefan Roese <s...@denx.de> > Cc: "Pali Rohár" <p...@kernel.org> > Cc: Konstantin Porotchkin <kos...@marvell.com> > Cc: Igal Liberman <ig...@marvell.com> > Cc: Bin Meng <bmeng...@gmail.com> > Cc: Pratyush Yadav <p.ya...@ti.com> > Cc: Sean Anderson <sean...@gmail.com> > Cc: Anji J <anji.jagarlm...@nxp.com> > Cc: Biwen Li <biwen...@nxp.com> > Cc: Priyanka Jain <priyanka.j...@nxp.com> > Cc: Chaitanya Sakinam <chaitanya.saki...@nxp.com>
Applied to u-boot/master, thanks! -- Tom
signature.asc
Description: PGP signature