drm/msm/dsi: Implement qcom, dsi-phy-regulator-ldo-mode for 28nm PHY
authorStephan Gerhold <stephan@gerhold.net>
Wed, 23 Oct 2019 16:56:17 +0000 (18:56 +0200)
committerSean Paul <seanpaul@chromium.org>
Thu, 24 Oct 2019 19:08:12 +0000 (15:08 -0400)
commit49c4868ab01cbe9bf06e23d5d65c8afea97ecf3f
tree69d8ab5a0e235058afb56b5e83c32f20a46d6186
parent8856c5064834a2600fbe99d4b6de041e6a40621a
drm/msm/dsi: Implement qcom, dsi-phy-regulator-ldo-mode for 28nm PHY

The DSI PHY regulator supports two regulator modes: LDO and DCDC.
This mode can be selected using the "qcom,dsi-phy-regulator-ldo-mode"
device tree property.

However, at the moment only the 20nm PHY driver actually implements
that option. Add a check in the 28nm PHY driver to program the
registers correctly for LDO mode.

Tested-by: Nikita Travkin <nikitos.tr@gmail.com> # l8150
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20191023165617.28738-1-stephan@gerhold.net
drivers/gpu/drm/msm/dsi/phy/dsi_phy_28nm.c