Re: [PATCH v4 2/2] regulator: rpi-panel-v2: Add vcc-supply support
From: Mark Brown
Date: Wed Nov 04 2026 - 08:29:06 EST
> The Raspberry Pi 7" touchscreen panel V2 MCU is powered from an external
> power rail which has to be enabled before any I2C register access is
> attempted. Use devm_regulator_get() to obtain the vcc supply and enable
> it at the start of probe.
> + ret = regulator_enable(vcc);
> + if (ret)
> + return dev_err_probe(&i2c->dev, ret,
> + "Failed to enable vcc supply\n");
Nothing ever undoes this enable.
--
Mark Brown <broonie@xxxxxxxxxx>