]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
regulator: add support for SGM3804 Dual Output driver
authorMark Brown <broonie@kernel.org>
Sun, 24 May 2026 22:35:39 +0000 (23:35 +0100)
committerMark Brown <broonie@kernel.org>
Sun, 24 May 2026 22:35:39 +0000 (23:35 +0100)
commit4bd7e2c200b2d3634d459ad918c4fb79e2d6cb8d
treed3ab186d2e90bc59622a6e2d01175036011b6811
parentfb6a6297acfad9810dea91a67185a90ba7a7bfbd
parent0c47e1a8cf5d0052745553a0aeb2c8c4ab1b5453
regulator: add support for SGM3804 Dual Output driver

Neil Armstrong <neil.armstrong@linaro.org> says:

Add support for the SG Micro SGM3804 Single Inductor Dual Output
Buck/Boost Converter used to power LCD panels a provide positive
and negative power rails with configurable voltage and active
discharge function for each output.

The SGM3804 is powered by the enable GPIO pins inputs and only
supports I2C write messages.
In order to add flexibility and simplify the driver, the
regmap cache is enabled and populated with default values
since we can't write registers when the 2 GPIOs are down.

This regulator is used to provide vsn and vsn power to the
Ayaneo Pocket S2 dual-DSI LCD panel.

Link: https://patch.msgid.link/20260522-topic-sm8650-ayaneo-pocket-s2-sgm3804-v5-0-bd6b1c300ecc@linaro.org
drivers/regulator/qcom-rpmh-regulator.c