Patrice Chotard 61708bb0a2 spi: spi-uclass: Add new spi_get_bus_and_cs() implementation
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@foss.st.com>

Cc: Marek Behun <marek.behun@nic.cz>
Cc: Jagan Teki <jagan@amarulasolutions.com>
Cc: Vignesh R <vigneshr@ti.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Ramon Fried <rfried.dev@gmail.com>
Cc: Lukasz Majewski <lukma@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Stefan Roese <sr@denx.de>
Cc: "Pali Rohár" <pali@kernel.org>
Cc: Konstantin Porotchkin <kostap@marvell.com>
Cc: Igal Liberman <igall@marvell.com>
Cc: Bin Meng <bmeng.cn@gmail.com>
Cc: Pratyush Yadav <p.yadav@ti.com>
Cc: Sean Anderson <seanga2@gmail.com>
Cc: Anji J <anji.jagarlmudi@nxp.com>
Cc: Biwen Li <biwen.li@nxp.com>
Cc: Priyanka Jain <priyanka.jain@nxp.com>
Cc: Chaitanya Sakinam <chaitanya.sakinam@nxp.com>
2022-05-23 09:33:10 -04:00
..
2022-03-07 11:36:12 -05:00
2022-05-23 09:25:39 -04:00
2021-11-07 18:36:55 +01:00
2021-09-07 16:22:30 -04:00
2022-04-28 09:26:44 -04:00
2021-10-27 16:38:26 -04:00
2021-09-04 11:42:41 -04:00
2022-04-28 09:26:44 -04:00
2021-09-07 16:22:30 -04:00
2022-04-28 09:26:44 -04:00
2022-04-28 09:26:44 -04:00
2021-12-20 17:12:04 -05:00
2022-04-08 09:05:20 -04:00
2022-05-02 09:58:13 -04:00
2022-04-28 09:26:44 -04:00
2022-03-28 20:16:46 +02:00
2022-05-10 13:56:12 +02:00
2022-04-12 15:36:18 +02:00
2022-01-08 11:16:03 -05:00