stm32mp1: update device tree and gpio functions
authorYann Gautier <yann.gautier@st.com>
Thu, 17 Jan 2019 18:17:47 +0000 (19:17 +0100)
committerYann Gautier <yann.gautier@st.com>
Fri, 18 Jan 2019 14:45:08 +0000 (15:45 +0100)
commit1fc2130c5b8aad9abf54d71ce0124b19f44c69ce
treef29fe0872b519a367a978796f72577b6fce3b3f1
parent59a1cdf16a49ef2bf1a505290cd8b689dfd3e5a1
stm32mp1: update device tree and gpio functions

Change fdt_check_status function to fdt_get_status.
Update GPIO defines.
Move some functions in gpio driver, instead of dt helper file.
Add GPIO bank helper functions.
Use only one status field in dt_node_info structure including both status
and secure status.

Change-Id: I34f93408dd4aac16ae722f564bc3f7d6ae978cf4
Signed-off-by: Yann Gautier <yann.gautier@st.com>
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Signed-off-by: Lionel Debieve <lionel.debieve@st.com>
Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@st.com>
12 files changed:
drivers/st/clk/stm32mp1_clkfunc.c
drivers/st/gpio/stm32_gpio.c
drivers/st/mmc/stm32_sdmmc2.c
drivers/st/pmic/stm32mp_pmic.c
include/drivers/st/stm32_gpio.h
plat/st/stm32mp1/include/stm32mp1_dt.h
plat/st/stm32mp1/include/stm32mp1_private.h
plat/st/stm32mp1/sp_min/sp_min_setup.c
plat/st/stm32mp1/stm32mp1_common.c
plat/st/stm32mp1/stm32mp1_def.h
plat/st/stm32mp1/stm32mp1_dt.c
plat/st/stm32mp1/stm32mp1_helper.S