Linus Walleij
7ad3a049a4
regulator: qcom_rpm: Fix circular deferral regression
...
commit 8478ed5844588703a1a4c96a004b1525fbdbdd5e upstream.
On recent kernels, the PM8058 L16 (or any other PM8058 LDO-regulator)
does not come up if they are supplied by an SMPS-regulator. This
is not very strange since the regulators are registered in a long
array and the L-regulators are registered before the S-regulators,
and if an L-regulator defers, it will never get around to registering
the S-regulator that it needs.
See arch/arm/boot/dts/qcom-apq8060-dragonboard.dts:
pm8058-regulators {
(...)
vdd_l13_l16-supply = <&pm8058_s4>;
(...)
Ooops.
Fix this by moving the PM8058 S-regulators first in the array.
Do the same for the PM8901 S-regulators (though this is currently
not causing any problems with out device trees) so that the pattern
of registration order is the same on all PMnnnn chips.
Fixes: 087a1b5cdd55 ("regulator: qcom: Rework to single platform device")
Cc: stable@vger.kernel.org
Cc: Andy Gross <agross@kernel.org>
Cc: Bjorn Andersson <andersson@kernel.org>
Cc: Konrad Dybcio <konrad.dybcio@somainline.org>
Cc: linux-arm-msm@vger.kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20220909112529.239143-1-linus.walleij@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-10-21 12:37:38 +02:00
..
2020-08-21 17:28:09 +01:00
2020-05-08 18:18:13 +01:00
2019-06-19 17:09:55 +02:00
2019-06-05 17:37:07 +02:00
2021-01-13 11:36:19 +00:00
2021-01-13 11:36:19 +00:00
2020-05-08 18:18:13 +01:00
2020-05-08 18:18:13 +01:00
2019-05-30 11:25:18 -07:00
2020-06-18 13:47:31 +01:00
2020-05-08 18:18:13 +01:00
2020-05-08 18:18:13 +01:00
2020-05-08 18:18:13 +01:00
2020-11-23 18:46:31 +00:00
2022-04-04 08:59:43 +01:00
2021-01-20 18:48:20 +00:00
2020-05-08 18:18:13 +01:00
2021-11-18 13:57:49 +00:00
2021-03-15 15:42:12 +00:00
2021-07-01 14:50:30 +01:00
2021-10-04 15:31:36 +01:00
2021-04-14 10:19:59 +01:00
2022-09-08 12:56:20 -04:00
2022-06-10 14:51:35 +02:00
2022-06-08 08:14:53 +00:00
2020-06-25 15:29:21 +01:00
2021-06-23 12:34:40 +01:00
2020-09-07 18:35:25 +01:00
2020-09-07 18:35:25 +01:00
2021-07-15 17:24:50 +01:00
2022-04-21 14:18:04 +01:00
2021-11-30 13:08:18 +00:00
2020-09-07 18:35:25 +01:00
2019-05-03 15:07:39 +09:00
2020-09-07 18:35:25 +01:00
2019-05-03 15:07:39 +09:00
2020-05-06 15:16:59 +01:00
2021-07-11 23:50:43 +01:00
2019-05-30 11:29:22 -07:00
2022-07-27 13:47:30 +01:00
2021-09-27 13:01:20 +01:00
2019-05-30 11:26:32 -07:00
2021-06-04 15:27:10 +01:00
2021-06-23 16:56:31 +01:00
2018-09-17 14:32:22 -07:00
2022-04-04 08:48:30 +01:00
2020-07-20 16:31:54 +01:00
2021-05-19 14:31:43 +01:00
2021-06-21 13:02:05 +01:00
2021-07-11 23:44:37 +01:00
2020-07-22 14:43:48 +01:00
2021-10-05 08:56:08 +01:00
2021-06-21 13:08:39 +01:00
2021-11-24 12:57:30 +00:00
2022-06-10 14:51:35 +02:00
2020-01-13 15:03:06 +00:00
2022-07-07 12:23:44 +01:00
2019-07-22 13:18:13 +01:00
2020-09-07 18:49:13 +01:00
2021-10-21 14:17:49 +01:00
2022-06-10 14:51:36 +02:00
2020-01-13 15:03:06 +00:00
2019-06-19 17:09:55 +02:00
2021-06-01 14:05:23 +01:00
2020-05-08 18:18:13 +01:00
2019-09-09 10:53:48 +01:00
2021-05-19 13:34:00 +01:00
2021-06-08 13:37:45 +01:00
2020-09-07 18:35:25 +01:00
2022-07-05 14:25:19 +01:00
2022-07-14 19:17:14 +01:00
2020-08-21 17:28:14 +01:00
2019-06-19 17:09:55 +02:00
2019-08-15 15:09:21 +01:00
2021-06-21 13:07:44 +01:00
2020-06-18 13:47:34 +01:00
2019-06-19 17:09:55 +02:00
2019-06-18 19:12:47 +01:00
2022-06-10 14:51:36 +02:00
2020-06-18 13:47:35 +01:00
2020-06-26 15:34:18 +01:00
2021-09-17 13:16:38 +01:00
2022-01-19 16:47:39 +00:00
2021-05-24 09:50:20 +01:00
2020-05-08 18:18:13 +01:00
2021-06-07 16:24:07 +01:00
2018-08-08 10:52:50 +01:00
2021-06-03 14:04:51 +01:00
2020-08-21 17:28:15 +01:00
2019-03-04 00:01:08 +00:00
2019-05-30 11:26:32 -07:00
2019-03-04 00:01:08 +00:00
2020-12-11 13:23:07 +00:00
2021-06-01 14:05:26 +01:00
2021-05-25 16:45:09 +01:00
2022-06-07 17:21:36 +01:00
2020-05-08 18:18:13 +01:00
2020-01-14 15:25:00 +00:00
2020-01-17 15:34:31 +00:00
2020-01-13 15:03:06 +00:00
2019-04-26 10:38:23 +01:00
2021-06-23 16:56:31 +01:00
2020-05-08 18:18:13 +01:00
2022-04-04 15:16:10 +01:00
2021-07-11 23:50:36 +01:00
2021-03-24 19:50:21 +00:00
2022-06-29 16:31:42 +01:00
2022-07-27 13:14:46 +01:00
2021-07-11 23:50:37 +01:00
2021-07-07 12:01:32 +01:00
2022-07-15 12:35:14 +01:00
2020-05-08 18:18:13 +01:00
2020-07-22 14:43:48 +01:00
2022-05-03 13:47:44 +01:00
2019-10-01 12:46:37 +01:00
2019-05-30 11:26:32 -07:00
2021-03-10 12:47:46 +00:00
2022-08-25 12:29:26 +01:00
2020-09-07 18:35:25 +01:00
2019-05-03 15:05:52 +09:00
2020-09-07 18:35:25 +01:00
2019-05-03 15:05:52 +09:00
2020-09-07 18:35:25 +01:00
2019-05-03 15:05:52 +09:00
2021-09-27 13:01:19 +01:00
2022-10-21 12:37:38 +02:00
2022-06-30 14:31:05 +01:00
2022-07-11 12:06:34 +01:00
2021-05-10 13:06:50 +01:00
2021-12-24 14:07:02 +00:00
2022-03-18 16:05:06 +00:00
2019-05-30 11:29:52 -07:00
2021-05-26 19:22:09 +01:00
2019-12-17 13:08:41 -08:00
2021-11-18 13:57:47 +00:00
2022-06-13 13:28:27 +01:00
2022-04-25 14:00:47 +01:00
2022-03-25 16:09:31 +00:00
2021-07-11 23:50:39 +01:00
2022-06-23 13:07:50 +01:00
2022-06-06 12:39:10 +01:00
2022-04-04 08:48:13 +01:00
2021-06-16 15:41:16 +01:00
2021-07-15 17:24:49 +01:00
2021-07-11 23:45:15 +01:00
2022-04-04 08:38:57 +01:00
2021-09-15 13:12:39 +01:00
2021-04-21 15:51:42 +01:00
2021-04-21 15:51:43 +01:00
2021-10-08 17:24:30 +01:00
2022-03-07 13:15:01 +00:00
2022-06-30 13:25:37 +01:00
2020-05-08 18:18:13 +01:00
2020-09-17 18:25:39 +01:00
2019-05-13 11:07:43 +01:00
2022-04-26 15:13:48 +01:00
2020-08-21 17:28:20 +01:00
2020-08-21 17:28:17 +01:00
2022-04-19 12:04:10 +01:00
2021-06-21 13:08:41 +01:00
2020-09-14 14:24:38 +01:00
2022-02-08 09:27:28 +00:00
2020-08-21 17:28:19 +01:00
2021-08-03 18:27:18 +01:00
2021-08-03 18:27:19 +01:00
2022-08-04 12:12:54 -07:00
2020-09-01 15:48:52 +01:00
2022-02-08 13:38:10 +00:00
2022-06-10 14:51:35 +02:00
2019-04-15 09:44:41 +01:00
2020-09-01 15:48:56 +01:00
2022-06-10 14:51:36 +02:00
2022-06-10 14:51:36 +02:00
2022-06-10 14:51:35 +02:00
2022-06-10 14:51:36 +02:00
2020-09-01 15:48:55 +01:00
2020-01-13 15:03:06 +00:00
2022-06-10 14:51:35 +02:00
2022-06-10 14:51:36 +02:00
2021-07-11 23:50:38 +01:00
2022-06-10 14:51:36 +02:00
2021-12-15 22:16:53 +00:00
2020-08-23 17:36:59 -05:00
2021-12-13 19:35:43 +00:00
2021-10-21 16:08:07 +01:00
2021-06-02 12:03:37 +01:00
2022-03-15 12:03:51 +00:00
2019-11-18 12:58:24 +00:00
2022-03-02 13:45:31 +00:00
2021-09-13 01:59:24 +01:00
2020-09-07 18:35:25 +01:00
2020-09-07 18:35:25 +01:00
2020-09-07 18:35:25 +01:00
2022-03-07 13:15:01 +00:00
2020-06-26 15:34:24 +01:00
2022-04-04 08:38:56 +01:00