[PATCH 2/4] drm/panel: himax-hx8279: add the VDDP supply
Neil Armstrong
neil.armstrong at linaro.org
Mon Nov 2 05:24:09 PST 2026
On 10/6/26 22:25, David Lechner wrote:
> Get and enable the vddp-supply along with VDD and IOVCC.
>
> The Startek KD070FHFID078 panel has a VDDP power input, which the
> MediaTek Genio 520 and 720 EVKs switch with a regulator of its own, so
> the driver has to enable it for the panel to be powered on those boards.
>
> On boards that do not describe vddp-supply, the regulator core provides
> a dummy regulator, so they only see a "using dummy regulator" message.
>
> Signed-off-by: David Lechner <dlechner at baylibre.com>
> ---
> drivers/gpu/drm/panel/panel-himax-hx8279.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/panel/panel-himax-hx8279.c b/drivers/gpu/drm/panel/panel-himax-hx8279.c
> index 9e443c719843..fe665cd3a3d2 100644
> --- a/drivers/gpu/drm/panel/panel-himax-hx8279.c
> +++ b/drivers/gpu/drm/panel/panel-himax-hx8279.c
> @@ -112,7 +112,7 @@
> struct hx8279 {
> struct drm_panel panel;
> struct mipi_dsi_device *dsi[2];
> - struct regulator_bulk_data vregs[2];
> + struct regulator_bulk_data vregs[3];
> struct gpio_desc *enable_gpio;
> struct gpio_desc *reset_gpio;
> const struct hx8279_panel_desc *desc;
> @@ -769,6 +769,7 @@ static int hx8279_init_vregs(struct hx8279 *hx, struct device *dev)
>
> hx->vregs[0].supply = "vdd";
> hx->vregs[1].supply = "iovcc";
> + hx->vregs[2].supply = "vddp";
> ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(hx->vregs),
> hx->vregs);
> if (ret < 0)
>
Reviewed-by: Neil Armstrong <neil.armstrong at linaro.org>
Thanks,
Neil
More information about the linux-arm-kernel
mailing list