arm64: dts: qcom: sc7280: On QCard, regulator L3C should be 1.8V
authorDouglas Anderson <dianders@chromium.org>
Tue, 7 Feb 2023 02:48:10 +0000 (18:48 -0800)
committerBjorn Andersson <andersson@kernel.org>
Thu, 9 Feb 2023 04:09:36 +0000 (20:09 -0800)
commit428df177013bad1a0a062878e3d5224122b7a5fe
treeb625b7b52422666fbb1641fb31c9646b27b39a1d
parent9c23d6848e43c25c4fe7bded4daf75569c360631
arm64: dts: qcom: sc7280: On QCard, regulator L3C should be 1.8V

On the first sc7280 QCards the L3C rail was never really used for
anything. Stuffing options on the QCard meant that the QCard itself
didn't use this rail for anything. This rail did get sent to the
mainboard, but no existing mainboards ever did anything with it other
that route it to a testpoint.

On later sc7280 QCards, the L3C rail was repurposed. Instead of being
a (nominally) 3.3V rail, it was decided to make it a 1.8V rail. It is
now provided to the display connector (which might route it to the
touchscreen) and also used to power some buffers relating to
touchscreen IO. This rail is getting the additional tag "ts_avccio",
though some places still refer to it as "vreg_l3c_3p0" despite the
fact that the name now specifies the wrong voltage.

Since it never hurts for this rail to be 1.8V (even on old QCards /
old boards), let's just change it to 1.8V across the board and add the
extra "ts_avccio" moniker as a label in the device tree.

Future patches will start using this rail in their touchscreens.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230206184744.1.I784f4b3d7e4a06edafff4a3129f52e749889bc05@changeid
arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi