Tony Lindgren
eda080eabf
drivers: bus: simple-pm-bus: Fix compatibility with simple-bus for auxdata
...
After converting am335x to probe devices with simple-pm-bus I noticed
that we are not passing auxdata for of_platform_populate() like we do
with simple-bus.
While device tree using SoCs should no longer need platform data, there
are still quite a few drivers that still need it as can be seen with
git grep OF_DEV_AUXDATA. We want to have simple-pm-bus be usable as a
replacement for simple-bus also for cases where OF_DEV_AUXDATA is still
needed.
Let's fix the issue by passing auxdata as platform data to simple-pm-bus.
That way the SoCs needing this can pass the auxdata with OF_DEV_AUXDATA.
And let's pass the auxdata for omaps to fix the issue for am335x.
As an alternative solution, adding simple-pm-bus handling directly to
drivers/of/platform.c was considered, but we would still need simple-pm-bus
device driver. So passing auxdata as platform data seems like the simplest
solution.
Fixes: 5a230524f879 ("ARM: dts: Use simple-pm-bus for genpd for am3 l4_wkup")
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2021-01-15 12:50:49 +02:00
..
2015-07-25 15:28:16 +01:00
2020-03-25 11:50:48 +01:00
2019-06-19 17:09:55 +02:00
2020-08-19 10:19:13 +03:00
2020-08-19 10:19:13 +03:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2020-11-19 11:44:46 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-10-16 08:23:26 -07:00
2019-06-19 17:09:55 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-01-23 09:12:54 -08:00
2020-08-19 10:05:39 +03:00
2019-12-12 09:42:34 -08:00
2020-05-05 11:16:06 -07:00
2020-05-05 11:16:06 -07:00
2020-08-19 10:05:39 +03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-08-19 10:19:13 +03:00
2019-06-19 17:09:55 +02:00
2020-08-19 10:19:13 +03:00
2020-08-19 10:19:13 +03:00
2019-06-19 17:09:55 +02:00
2020-08-19 10:19:13 +03:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2020-08-19 10:19:13 +03:00
2020-08-19 10:19:13 +03:00
2019-06-19 17:09:55 +02:00
2020-08-19 10:19:13 +03:00
2019-06-19 17:09:55 +02:00
2020-08-19 10:19:13 +03:00
2019-06-19 17:09:55 +02:00
2020-08-19 10:19:13 +03:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2020-08-19 10:19:13 +03:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2017-11-02 11:10:55 +01:00
2019-06-19 17:09:55 +02:00
2020-05-19 09:38:05 -07:00
2019-10-21 10:30:54 -07:00
2019-10-16 07:51:15 -07:00
2020-03-09 10:24:01 +01:00
2021-01-15 12:48:07 +02:00
2019-06-19 17:09:55 +02:00
2019-08-12 13:17:39 -03:00
2020-11-19 11:45:42 +02:00
2019-06-19 17:09:07 +02:00
2020-08-19 10:19:13 +03:00
2019-05-30 11:26:35 -07:00
2019-06-19 17:09:55 +02:00
2019-06-05 17:37:07 +02:00
2019-06-05 17:37:07 +02:00
2019-06-05 17:37:07 +02:00
2019-06-05 17:37:07 +02:00
2020-08-23 17:36:59 -05:00
2019-06-19 17:09:55 +02:00
2020-11-27 08:13:25 +02:00
2015-07-16 00:06:05 -07:00
2021-01-15 12:49:42 +02:00
2020-08-19 10:19:13 +03:00
2020-08-19 10:19:13 +03:00
2020-08-19 10:19:13 +03:00
2019-05-30 11:26:32 -07:00
2020-11-16 13:11:17 +02:00
2019-06-19 17:09:55 +02:00
2020-07-13 12:18:26 +02:00
2019-06-05 17:37:07 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-08-13 03:40:10 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:35 -07:00
2019-05-30 11:26:35 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2021-01-15 12:48:43 +02:00
2019-12-30 09:47:21 -08:00
2019-06-19 17:09:55 +02:00
2020-05-19 09:38:04 -07:00
2020-05-19 09:38:04 -07:00
2020-06-29 10:22:47 -07:00
2020-11-19 15:09:01 +02:00
2020-11-19 14:26:47 +02:00
2020-09-13 11:17:42 -07:00
2020-08-19 10:05:43 +03:00
2020-05-19 09:38:04 -07:00
2020-05-19 09:38:04 -07:00
2019-06-19 17:09:55 +02:00
2020-05-19 09:38:04 -07:00
2019-06-19 17:09:55 +02:00
2019-12-17 08:17:47 -08:00
2020-11-16 12:57:18 +02:00
2019-12-17 08:17:47 -08:00
2020-08-19 10:19:13 +03:00
2020-08-19 10:19:13 +03:00
2019-10-16 07:51:15 -07:00
2019-07-19 17:05:08 -07:00
2019-06-19 17:09:55 +02:00
2020-10-24 10:33:08 -07:00
2020-08-07 11:33:26 -07:00
2020-04-10 15:36:22 -07:00
2020-04-10 15:36:22 -07:00
2020-04-10 15:36:22 -07:00
2020-05-12 08:35:56 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2017-11-02 11:10:55 +01:00
2020-08-19 10:19:13 +03:00
2020-08-19 10:19:13 +03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2021-01-15 12:50:49 +02:00
2019-12-30 09:46:34 -08:00
2020-09-13 11:17:42 -07:00
2020-10-03 13:15:05 -07:00
2019-10-16 07:51:16 -07:00
2018-07-09 23:01:34 -07:00
2020-09-24 14:26:20 +03:00
2020-09-24 14:26:20 +03:00
2020-09-24 14:26:20 +03:00
2020-12-08 15:56:24 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2020-08-19 10:19:13 +03:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2020-08-19 10:19:13 +03:00
2019-06-19 17:09:55 +02:00
2020-08-19 10:19:13 +03:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2020-08-19 10:19:13 +03:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-28 08:37:04 +08:00
2019-06-19 17:09:55 +02:00
2020-08-19 10:05:33 +03:00
2020-08-19 10:05:33 +03:00
2020-08-19 10:05:33 +03:00
2019-06-19 17:09:55 +02:00
2019-10-21 10:36:27 -07:00
2019-06-19 17:09:55 +02:00
2020-08-19 10:05:33 +03:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2020-08-19 10:05:33 +03:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2020-08-19 10:19:13 +03:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:35 -07:00
2020-08-19 10:19:13 +03:00
2020-04-21 09:41:53 -07:00
2020-08-19 10:19:13 +03:00
2019-07-19 17:05:08 -07:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:35 -07:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:35 -07:00
2019-05-30 11:26:35 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2020-08-19 10:19:13 +03:00
2020-06-02 19:14:21 +02:00
2019-06-19 17:09:55 +02:00
2017-11-02 11:10:55 +01:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-10-18 15:09:54 -07:00
2019-10-18 07:56:51 -07:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2020-08-19 10:19:13 +03:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2017-11-02 11:10:55 +01:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00