* [PATCH] clk: stm32mp1: add support of I2C6_K
@ 2021-01-22 14:34 Patrick Delaunay
2021-01-25 13:45 ` Patrice CHOTARD
2021-02-09 9:34 ` Patrick DELAUNAY
0 siblings, 2 replies; 3+ messages in thread
From: Patrick Delaunay @ 2021-01-22 14:34 UTC (permalink / raw)
To: u-boot
Add support of missing I2C6_K with bit 3 of RCC_MC_APB5ENSETR =
I2C6EN: I2C6 peripheral clocks enable.
This patch allows customer to use I2C6 in SPL or in U-Boot
as other I2C instance, already support in clk driver.
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
---
drivers/clk/clk_stm32mp1.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/clk_stm32mp1.c b/drivers/clk/clk_stm32mp1.c
index d4f1048591..8a5bdcb11d 100644
--- a/drivers/clk/clk_stm32mp1.c
+++ b/drivers/clk/clk_stm32mp1.c
@@ -549,6 +549,7 @@ static const struct stm32mp1_clk_gate stm32mp1_clk_gate[] = {
STM32MP1_CLK_SET_CLR(RCC_MP_APB4ENSETR, 16, USBPHY_K, _USBPHY_SEL),
STM32MP1_CLK_SET_CLR(RCC_MP_APB5ENSETR, 2, I2C4_K, _I2C46_SEL),
+ STM32MP1_CLK_SET_CLR(RCC_MP_APB5ENSETR, 3, I2C6_K, _I2C46_SEL),
STM32MP1_CLK_SET_CLR(RCC_MP_APB5ENSETR, 8, RTCAPB, _PCLK5),
STM32MP1_CLK_SET_CLR(RCC_MP_APB5ENSETR, 20, STGEN_K, _STGEN_SEL),
--
2.17.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] clk: stm32mp1: add support of I2C6_K
2021-01-22 14:34 [PATCH] clk: stm32mp1: add support of I2C6_K Patrick Delaunay
@ 2021-01-25 13:45 ` Patrice CHOTARD
2021-02-09 9:34 ` Patrick DELAUNAY
1 sibling, 0 replies; 3+ messages in thread
From: Patrice CHOTARD @ 2021-01-25 13:45 UTC (permalink / raw)
To: u-boot
Hi Patrick
On 1/22/21 3:34 PM, Patrick Delaunay wrote:
> Add support of missing I2C6_K with bit 3 of RCC_MC_APB5ENSETR =
> I2C6EN: I2C6 peripheral clocks enable.
>
> This patch allows customer to use I2C6 in SPL or in U-Boot
> as other I2C instance, already support in clk driver.
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
> ---
>
> drivers/clk/clk_stm32mp1.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/clk/clk_stm32mp1.c b/drivers/clk/clk_stm32mp1.c
> index d4f1048591..8a5bdcb11d 100644
> --- a/drivers/clk/clk_stm32mp1.c
> +++ b/drivers/clk/clk_stm32mp1.c
> @@ -549,6 +549,7 @@ static const struct stm32mp1_clk_gate stm32mp1_clk_gate[] = {
> STM32MP1_CLK_SET_CLR(RCC_MP_APB4ENSETR, 16, USBPHY_K, _USBPHY_SEL),
>
> STM32MP1_CLK_SET_CLR(RCC_MP_APB5ENSETR, 2, I2C4_K, _I2C46_SEL),
> + STM32MP1_CLK_SET_CLR(RCC_MP_APB5ENSETR, 3, I2C6_K, _I2C46_SEL),
> STM32MP1_CLK_SET_CLR(RCC_MP_APB5ENSETR, 8, RTCAPB, _PCLK5),
> STM32MP1_CLK_SET_CLR(RCC_MP_APB5ENSETR, 20, STGEN_K, _STGEN_SEL),
>
>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Thanks
Patrice
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] clk: stm32mp1: add support of I2C6_K
2021-01-22 14:34 [PATCH] clk: stm32mp1: add support of I2C6_K Patrick Delaunay
2021-01-25 13:45 ` Patrice CHOTARD
@ 2021-02-09 9:34 ` Patrick DELAUNAY
1 sibling, 0 replies; 3+ messages in thread
From: Patrick DELAUNAY @ 2021-02-09 9:34 UTC (permalink / raw)
To: u-boot
Hi,
On 1/22/21 3:34 PM, Patrick Delaunay wrote:
> Add support of missing I2C6_K with bit 3 of RCC_MC_APB5ENSETR =
> I2C6EN: I2C6 peripheral clocks enable.
>
> This patch allows customer to use I2C6 in SPL or in U-Boot
> as other I2C instance, already support in clk driver.
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
> ---
>
> drivers/clk/clk_stm32mp1.c | 1 +
> 1 file changed, 1 insertion(+)
>
Applied to u-boot-stm/master, thanks!
Regards
Patrick
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-02-09 9:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-22 14:34 [PATCH] clk: stm32mp1: add support of I2C6_K Patrick Delaunay
2021-01-25 13:45 ` Patrice CHOTARD
2021-02-09 9:34 ` Patrick DELAUNAY
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.