diff mbox series

[U-Boot,03/11] clk: stm32f7: add dedicated STM32F7 compatible string

Message ID 1510748093-16433-4-git-send-email-patrice.chotard@st.com
State Accepted
Commit e868e3e537278d1d7a19c65fd5c5475c0c825b42
Delegated to: Tom Rini
Headers show
Series Extend clk_stm32f7 driver | expand

Commit Message

Patrice CHOTARD Nov. 15, 2017, 12:14 p.m. UTC
From: Patrice Chotard <patrice.chotard@st.com>

Add a dedicated stm32f7 compatible string to use clk_stm32f7
driver with both STM32F4 and STM32F7 SoCs.
It will be needed to manage differences between these 2 SoCs.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Vikas Manocha <vikas.manocha@st.com>
---
 drivers/clk/clk_stm32f7.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Tom Rini Nov. 30, 2017, 3:33 p.m. UTC | #1
On Wed, Nov 15, 2017 at 01:14:45PM +0100, patrice.chotard@st.com wrote:

> From: Patrice Chotard <patrice.chotard@st.com>
> 
> Add a dedicated stm32f7 compatible string to use clk_stm32f7
> driver with both STM32F4 and STM32F7 SoCs.
> It will be needed to manage differences between these 2 SoCs.
> 
> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
> Reviewed-by: Vikas Manocha <vikas.manocha@st.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/drivers/clk/clk_stm32f7.c b/drivers/clk/clk_stm32f7.c
index 0fa838c..eb8a5bf 100644
--- a/drivers/clk/clk_stm32f7.c
+++ b/drivers/clk/clk_stm32f7.c
@@ -319,6 +319,7 @@  static struct clk_ops stm32_clk_ops = {
 
 static const struct udevice_id stm32_clk_ids[] = {
 	{ .compatible = "st,stm32f42xx-rcc"},
+	{ .compatible = "st,stm32f746-rcc"},
 	{}
 };