[PATCH v4 1/3] spi: spi-uclass: Add new spi_get_bus_and_cs() implementation

Tom Rini trini at konsulko.com
Mon May 23 19:57:20 CEST 2022


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.chotard at foss.st.com>
> 
> Cc: Marek Behun <marek.behun at nic.cz>
> Cc: Jagan Teki <jagan at amarulasolutions.com>
> Cc: Vignesh R <vigneshr at ti.com>
> Cc: Joe Hershberger <joe.hershberger at ni.com>
> Cc: Ramon Fried <rfried.dev at gmail.com>
> Cc: Lukasz Majewski <lukma at denx.de>
> Cc: Marek Vasut <marex at denx.de>
> Cc: Wolfgang Denk <wd at denx.de>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Stefan Roese <sr at denx.de>
> Cc: "Pali Rohár" <pali at kernel.org>
> Cc: Konstantin Porotchkin <kostap at marvell.com>
> Cc: Igal Liberman <igall at marvell.com>
> Cc: Bin Meng <bmeng.cn at gmail.com>
> Cc: Pratyush Yadav <p.yadav at ti.com>
> Cc: Sean Anderson <seanga2 at gmail.com>
> Cc: Anji J <anji.jagarlmudi at nxp.com>
> Cc: Biwen Li <biwen.li at nxp.com>
> Cc: Priyanka Jain <priyanka.jain at nxp.com>
> Cc: Chaitanya Sakinam <chaitanya.sakinam at nxp.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220523/5bc6bd33/attachment.sig>


More information about the U-Boot mailing list