arm-trusted-firmware/include/drivers/st
Yann Gautier d4151d2ff9 clk: stm32mp1: use defines for mask values in stm32mp1_clk_sel array
Rework the macro that eases the table definition: the src and msk fields
are now using MASK and SHIFT defines of each source register.
Some macros had then to be modified: _USART1_SEL, _ASS_SEL and _MSS_SEL to
_UART1_SEL, _AXIS_SEL, and _MCUS_SEL to match register fields.

Note: the mask for RCC_ASSCKSELR_AXISSRC is changed from 0x3 to 0x7
to reflect the size of the register field, even if there are only
3 possible clock sources.

The mask value is also corrected for QSPI and FMC clock selection.

Change-Id: I44114e3c1dd37b9fa1be1ba519611abd9a07764c
Signed-off-by: Yann Gautier <yann.gautier@st.com>
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2019-06-17 14:03:51 +02:00
..
bsec.h stm32mp1: add BSEC driver 2019-01-18 15:45:08 +01:00
io_mmc.h Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
io_stm32image.h Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
stm32_console.h Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
stm32_gpio.h stm32mp1: update device tree and gpio functions 2019-01-18 15:45:08 +01:00
stm32_i2c.h stm32mp1: update I2C and PMIC drivers 2019-02-14 11:20:23 +01:00
stm32_sdmmc2.h Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
stm32_uart_regs.h Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
stm32mp1_clk.h clk: stm32mp1: move oscillator functions to generic file 2019-06-17 14:03:51 +02:00
stm32mp1_ddr.h stm32mp1: update device tree files 2019-01-18 15:45:08 +01:00
stm32mp1_ddr_helpers.h Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
stm32mp1_ddr_regs.h drivers: st: update drivers code 2019-01-18 15:45:08 +01:00
stm32mp1_pwr.h Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
stm32mp1_ram.h Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
stm32mp1_rcc.h clk: stm32mp1: use defines for mask values in stm32mp1_clk_sel array 2019-06-17 14:03:51 +02:00
stm32mp_clkfunc.h clk: stm32mp1: move oscillator functions to generic file 2019-06-17 14:03:51 +02:00
stm32mp_pmic.h stm32mp1: update I2C and PMIC drivers 2019-02-14 11:20:23 +01:00
stm32mp_reset.h stm32mp1: make functions and macros more common 2019-02-14 11:20:23 +01:00
stpmic1.h drivers: st: pmic: update stpmic1 driver 2019-01-18 15:45:08 +01:00