drm/bridge: parade-ps8640: Fix regulator supply order
[ Upstream commitfc94224c2e] The datasheet says that VDD12 must be enabled and at full voltage before VDD33 is enabled. Reorder the bulk regulator supply names so that VDD12 is enabled before VDD33. Any enable ramp delays should be handled by setting proper constraints on the regulators. Fixes:bc1aee7fc8("drm/bridge: Add I2C based driver for ps8640 bridge") Signed-off-by: Chen-Yu Tsai <wenst@chromium.org> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Robert Foss <robert.foss@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20220721092258.3397461-1-wenst@chromium.org Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
45120fa5e5
commit
3f5889fd65
@@ -333,8 +333,8 @@ static int ps8640_probe(struct i2c_client *client)
|
|||||||
if (IS_ERR(ps_bridge->panel_bridge))
|
if (IS_ERR(ps_bridge->panel_bridge))
|
||||||
return PTR_ERR(ps_bridge->panel_bridge);
|
return PTR_ERR(ps_bridge->panel_bridge);
|
||||||
|
|
||||||
ps_bridge->supplies[0].supply = "vdd33";
|
ps_bridge->supplies[0].supply = "vdd12";
|
||||||
ps_bridge->supplies[1].supply = "vdd12";
|
ps_bridge->supplies[1].supply = "vdd33";
|
||||||
ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(ps_bridge->supplies),
|
ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(ps_bridge->supplies),
|
||||||
ps_bridge->supplies);
|
ps_bridge->supplies);
|
||||||
if (ret)
|
if (ret)
|
||||||
|
|||||||
Reference in New Issue
Block a user