Chen-Yu Tsai 65bae54e08
regulator: mt6358: Merge VCN33_* regulators
The VCN33_BT and VCN33_WIFI regulators are actually the same regulator,
having the same voltage setting and output pin. There are simply two
enable bits that are ORed together to enable the regulator.

Having two regulators representing the same output pin is misleading
from a design matching standpoint, and also error-prone in driver
implementations. If consumers try to set different voltages on either
regulator, the one set later would override the one set before. There
are ways around this, such as chaining them together and having the
downstream one act as a switch. But given there's only one output pin,
such a workaround doesn't match reality.

Remove the VCN33_WIFI regulator. During the probe phase, have the driver
sync the enable status of VCN33_WIFI to VCN33_BT. Also drop the suffix
so that the regulator name matches the pin name in the datasheet.

Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Link: https://lore.kernel.org/r/20230609083009.2822259-4-wenst@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-06-14 14:25:45 +01:00
..
2023-06-01 20:43:11 -04:00
2023-06-04 08:32:30 -04:00
2023-05-27 09:42:56 -07:00
2023-04-27 16:36:55 -07:00
2023-05-15 16:19:03 +01:00
2023-05-02 10:41:31 -07:00
2023-04-27 11:53:57 -07:00
2023-04-27 11:53:57 -07:00
2023-04-27 12:07:50 -07:00
2023-06-01 09:02:04 -04:00
2023-04-27 10:09:05 -07:00
2023-04-27 17:17:12 -07:00
2023-05-15 16:19:03 +01:00
2023-04-27 16:36:55 -07:00
2023-05-05 19:12:01 -07:00
2023-04-28 16:24:32 -07:00
2023-04-25 12:02:16 -07:00
2023-04-28 14:02:54 -07:00
2023-06-01 10:15:43 -07:00
2023-04-27 16:36:55 -07:00
2023-05-05 13:27:59 -07:00
2023-04-27 10:09:05 -07:00
2023-04-27 11:53:57 -07:00
2023-05-03 11:25:01 -07:00
2023-04-27 11:53:57 -07:00
2023-05-15 16:19:03 +01:00
2023-05-20 08:48:04 -07:00
2023-04-27 11:53:57 -07:00
2023-05-31 11:36:40 -04:00
2023-05-16 21:07:26 -04:00
2023-04-27 10:09:05 -07:00
2023-04-27 12:07:50 -07:00
2023-05-04 18:33:56 -07:00
2023-05-27 09:42:56 -07:00