• Yann Gautier's avatar
    stm32mp1: add general SYSCFG management · f33b2433
    Yann Gautier authored
    
    The system configuration controller is mainly used to manage
    the compensation cell and other IOs and system related settings.
    
    The SYSCFG driver is in charge of configuring masters on the interconnect,
    IO compensation, low voltage boards, or pull-ups for boot pins.
    All other configurations should be handled in Linux drivers requiring it.
    
    Device tree files are also updated to manage vdd-supply regulator.
    
    Change-Id: I10fb513761a7d1f2b7afedca9c723ad9d1bccf42
    Signed-off-by: default avatarNicolas Le Bayon <nicolas.le.bayon@st.com>
    Signed-off-by: default avatarYann Gautier <yann.gautier@st.com>
    f33b2433
stm32mp1_private.h 547 Bytes
/*
 * Copyright (c) 2015-2019, ARM Limited and Contributors. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

#ifndef STM32MP1_PRIVATE_H
#define STM32MP1_PRIVATE_H

#include <stdint.h>

void configure_mmu(void);

void stm32mp1_arch_security_setup(void);
void stm32mp1_security_setup(void);

void stm32mp1_gic_pcpu_init(void);
void stm32mp1_gic_init(void);

void stm32mp1_syscfg_init(void);
void stm32mp1_syscfg_enable_io_compensation(void);
void stm32mp1_syscfg_disable_io_compensation(void);

#endif /* STM32MP1_PRIVATE_H */