aboutsummaryrefslogtreecommitdiff
path: root/drivers/clk/stm32/clk-stm32-core.h
AgeCommit message (Collapse)AuthorFilesLines
2023-12-17clk: stm32mp1: use stm32mp13 reset driverGabriel Fernandez1-4/+1
STM32MP15 is now using the same reset driver as STM32MP13 as they have the same binding requirement. Signed-off-by: Gabriel Fernandez <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
2022-05-20clk: stm32mp13: add safe mux managementGabriel Fernandez1-0/+1
Some muxes need to set a the safe position when clock is off. Signed-off-by: Gabriel Fernandez <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
2022-05-20clk: stm32mp13: add multi mux functionGabriel Fernandez1-0/+2
Some RCC muxes can manages two output clocks with same register. Signed-off-by: Gabriel Fernandez <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
2022-05-20clk: stm32mp13: manage secured clocksGabriel Fernandez1-9/+13
Don't register a clock if this clock is secured. Signed-off-by: Gabriel Fernandez <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
2022-05-20clk: stm32mp13: add composite clockGabriel Fernandez1-0/+23
Just to introduce management of stm32 composite clock. Signed-off-by: Gabriel Fernandez <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
2022-05-20clk: stm32mp13: add stm32 divider clockGabriel Fernandez1-0/+21
Just to introduce management of a stm32 divider clock Signed-off-by: Gabriel Fernandez <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
2022-05-20clk: stm32mp13: add stm32_gate managementGabriel Fernandez1-0/+21
Just to introduce management of a stm32 gate clock. Signed-off-by: Gabriel Fernandez <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
2022-05-20clk: stm32mp13: add stm32_mux clock managementGabriel Fernandez1-0/+24
Just to introduce management of a stm32 mux clock. Signed-off-by: Gabriel Fernandez <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
2022-05-20clk: stm32: Introduce STM32MP13 RCC drivers (Reset Clock Controller)Gabriel Fernandez1-0/+92
This driver manages Reset and Clock of STM32MP13 soc. It uses a clk-stm32-core module to manage stm32 gate, mux and divider for STM32MP13 and for new future soc. All gates, muxes, dividers are identify by an index and information are stored in array (register address, shift, with, flags...) This is useful when we have two clocks with the same gate or when one mux manages two output clocks. Signed-off-by: Gabriel Fernandez <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>