board: samsung: e850-96: Add PMIC code
authorSam Protsenko <semen.protsenko@linaro.org>
Wed, 6 Aug 2025 22:27:04 +0000 (17:27 -0500)
committerMinkyu Kang <mk7.kang@samsung.com>
Mon, 1 Sep 2025 07:37:12 +0000 (16:37 +0900)
commit17b1d78484446215320de90b4f6df13fbc85b6a3
tree6f80cd2fbcc6de6f6c8d832b9ad29a016dba622b
parent6ebd9aa6d3aad4e87aed58400fdd56c69db48c70
board: samsung: e850-96: Add PMIC code

Add functions for configuring voltage regulators on S2MPU12 PMIC chip
for E850-96 board. The chip is accessed by commanding APM core (via
ACPM IPC protocol) to perform corresponding transfers over I3C bus.

The most important regulator being set up is LDO24 used for LAN9514 chip
power. As LAN9514 implements USB hub and Ethernet controller
functionality, it's crucial to enable and configure LDO24 to be able to
use it further. While at it, configure the rest of regulators that might
be needed later, both in the bootloader and in kernel.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/e850-96/Makefile
board/samsung/e850-96/pmic.c [new file with mode: 0644]
board/samsung/e850-96/pmic.h [new file with mode: 0644]