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
..
2021-03-02 14:03:02 -05:00
2022-05-20 12:36:48 +02:00
2022-05-02 07:47:26 +02:00
2021-01-15 07:55:11 -05:00
2019-12-02 18:23:11 -05:00
2022-01-20 09:50:54 +01:00
2022-04-25 16:04:05 -04:00
2022-04-28 09:26:44 -04:00
2021-08-31 17:46:37 -04:00
2022-04-08 09:05:19 -04:00
2021-01-18 15:23:06 -05:00
2021-02-02 15:33:42 -05:00
2021-09-30 08:08:56 -04:00
2022-04-26 09:50:24 +03:00
2020-05-18 21:19:18 -04:00
2022-04-12 15:36:17 +02:00
2021-09-07 16:22:30 -04:00
2020-07-09 20:58:05 +05:30
2020-04-27 13:57:17 +02:00
2022-03-25 12:01:15 +00:00
2022-05-20 12:36:48 +02:00
2022-04-10 08:44:13 +03:00
2022-03-07 11:36:12 -05:00
2022-05-20 12:36:48 +02:00
2021-02-02 15:33:42 -05:00
2022-04-01 10:28:46 -04:00
2021-06-05 10:40:47 +02:00
2021-08-02 13:32:14 -04:00
2021-12-27 16:20:18 -05:00
2021-02-02 15:33:42 -05:00
2021-08-06 08:26:48 -04:00
2022-04-18 11:25:13 +08:00
2022-02-10 07:12:16 +01:00
2021-02-02 15:33:42 -05:00
2020-05-18 21:19:18 -04:00
2022-05-20 09:30:28 +02:00
2022-03-08 08:42:43 -05:00
2022-03-14 15:20:40 +08:00
2022-03-02 13:59:29 -05:00
2021-10-06 09:16:23 -04:00
2022-05-23 09:33:10 -04:00
2021-02-02 15:33:42 -05:00
2022-05-20 09:30:28 +02:00
2021-09-27 21:38:34 -04:00
2022-02-25 11:21:24 -05:00
2022-05-23 09:25:39 -04:00
2022-02-08 23:07:58 -05:00
2022-02-28 10:33:11 -05:00
2021-11-07 18:36:55 +01:00
2021-02-02 15:33:42 -05:00
2021-02-02 15:33:42 -05:00
2021-09-04 12:26:01 -04:00
2022-04-15 10:43:18 +02:00
2021-12-24 14:56:58 +08:00
2021-08-02 13:32:14 -04:00
2021-09-25 09:46:15 -06:00
2022-05-20 12:36:47 +02:00
2021-09-07 16:22:30 -04:00
2022-04-28 09:26:44 -04:00
2022-05-20 09:30:28 +02:00
2022-04-10 08:44:13 +03:00
2022-04-01 10:28:46 -04:00
2022-04-18 11:25:13 +08:00
2021-08-31 17:47:49 -04:00
2020-07-22 20:21:23 +08:00
2021-10-27 16:38:26 -04:00
2021-09-30 08:08:56 -04:00
2021-07-28 19:30:22 -04:00
2021-02-02 15:33:42 -05:00
2021-09-04 11:42:41 -04:00
2022-03-08 08:42:43 -05:00
2021-09-07 16:22:30 -04:00
2022-02-10 07:12:16 +01:00
2021-02-02 15:33:42 -05:00
2022-04-28 09:26:44 -04:00
2022-04-01 10:28:46 -04:00
2021-03-02 14:03:02 -05:00
2021-07-31 09:59:58 +02:00
2022-04-26 17:13:57 +05:30
2022-03-28 20:17:07 +02:00
2021-09-17 12:10:44 -04:00
2021-12-27 16:20:19 -05:00
2021-02-15 10:16:45 -05:00
2021-09-07 16:22:30 -04:00
2022-02-05 13:38:39 +01:00
2022-03-10 13:57:04 -05:00
2022-05-04 07:05:51 +02:00
2021-02-02 15:33:42 -05:00
2021-09-30 08:08:56 -04:00
2022-05-23 11:37:58 +02:00
2021-12-02 16:43:52 +08:00
2021-02-02 15:33:42 -05:00
2022-04-18 11:25:13 +08:00
2022-04-28 09:26:44 -04:00
2021-02-02 15:33:42 -05:00
2020-05-18 21:19:23 -04:00
2022-05-09 13:40:24 -04:00
2022-02-08 23:07:58 -05:00
2022-05-05 09:28:47 -04:00
2021-10-13 14:18:30 -07:00
2021-04-08 23:59:50 +02:00
2021-09-30 08:08:56 -04:00
2021-07-07 20:34:02 +08:00
2022-02-08 23:07:58 -05:00
2022-04-28 09:26:44 -04:00
2022-03-10 13:57:04 -05:00
2020-05-31 22:22:07 +08:00
2021-08-31 17:47:49 -04:00
2021-09-30 08:08:56 -04:00
2022-04-18 11:25:13 +08:00
2021-02-02 15:33:42 -05:00
2021-12-20 17:12:04 -05:00
2021-12-27 16:20:18 -05:00
2022-04-18 11:25:13 +08:00
2022-04-18 11:25:13 +08:00
2022-04-08 09:05:20 -04:00
2022-04-19 14:52:34 -04:00
2022-05-02 09:58:13 -04:00
2022-02-10 07:12:16 +01:00
2021-06-09 13:34:18 +02:00
2022-04-28 09:26:44 -04:00
2022-01-07 09:30:44 -05:00
2021-07-28 19:30:22 -04:00
2022-03-15 17:43:11 +08:00
2022-05-05 09:28:48 -04:00
2022-03-28 20:16:46 +02:00
2022-02-08 23:07:58 -05:00
2022-03-04 08:38:05 +01:00
2022-02-08 23:07:58 -05:00
2020-05-18 21:19:23 -04:00
2022-05-10 13:56:12 +02:00
2022-02-28 10:33:45 -05:00
2022-02-08 23:07:58 -05:00
2022-04-21 15:27:18 -04:00
2021-09-07 19:17:32 -04:00
2021-10-08 15:53:26 -04:00
2022-04-01 10:28:46 -04:00
2022-04-12 15:36:18 +02:00
2021-08-31 17:47:49 -04:00
2022-02-08 23:07:58 -05:00
2021-09-30 08:08:56 -04:00
2021-12-19 09:50:47 +01:00
2022-01-07 09:30:44 -05:00
2022-04-21 09:08:57 -04:00
2021-07-06 14:11:50 -04:00
2020-06-24 13:11:08 +02:00
2022-05-20 12:36:48 +02:00
2021-08-31 17:47:49 -04:00
2022-02-08 23:07:58 -05:00
2022-02-01 15:04:24 +05:30
2022-01-08 11:16:03 -05:00
2020-06-02 17:27:04 -04:00
2022-02-08 23:07:58 -05:00
2020-04-27 20:30:14 +02:00
2021-08-31 17:47:49 -04:00
2021-04-08 20:29:53 +02:00
2022-02-08 23:07:58 -05:00
2022-04-12 15:36:18 +02:00
2021-09-17 12:10:44 -04:00
2021-12-27 08:41:38 -05:00
2021-12-27 16:20:18 -05:00
2022-04-21 14:32:40 -04:00
2022-05-02 07:47:26 +02:00