stm32mp1: Add PMIC support
authorYann Gautier <yann.gautier@st.com>
Mon, 16 Jul 2018 15:55:07 +0000 (17:55 +0200)
committerYann Gautier <yann.gautier@st.com>
Tue, 24 Jul 2018 15:15:13 +0000 (17:15 +0200)
commite4f559ff54e5df54969d35de32cd3975c87fa497
treefc5cef0ab17e73af6e9e0a0ae72bf8e7fcbefc8d
parent278c34df06e6175c2bd7f520241ff62eecaf1f9b
stm32mp1: Add PMIC support

If a PMIC companion chip is present on board, it has to be configured
for regulators supplies.
This check is done with board DT configuration.

Signed-off-by: Yann Gautier <yann.gautier@st.com>
Signed-off-by: Pascal Paillet <p.paillet@st.com>
drivers/st/pmic/stm32_i2c.c [new file with mode: 0644]
drivers/st/pmic/stm32mp1_pmic.c [new file with mode: 0644]
drivers/st/pmic/stpmu1.c [new file with mode: 0644]
include/drivers/st/stm32_i2c.h [new file with mode: 0644]
include/drivers/st/stm32mp1_pmic.h [new file with mode: 0644]
include/drivers/st/stpmu1.h [new file with mode: 0644]
plat/st/stm32mp1/bl2_plat_setup.c
plat/st/stm32mp1/platform.mk