* [PATCH] i2c: sh_mobile: Use new clock calculation formulas for RZ/G2E
@ 2021-05-06 11:15 Geert Uytterhoeven
2021-05-06 14:45 ` Fabrizio Castro
2021-05-25 19:55 ` Wolfram Sang
0 siblings, 2 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2021-05-06 11:15 UTC (permalink / raw)
To: Wolfram Sang, Fabrizio Castro
Cc: linux-i2c, linux-renesas-soc, Geert Uytterhoeven
When switching the Gen3 SoCs to the new clock calculation formulas, the
match entry for RZ/G2E added in commit 51243b73455f2d12 ("i2c:
sh_mobile: Add support for r8a774c0 (RZ/G2E)") was forgotten.
Fixes: e8a27567509b2439 ("i2c: sh_mobile: use new clock calculation formulas for Gen3")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
drivers/i2c/busses/i2c-sh_mobile.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/i2c-sh_mobile.c b/drivers/i2c/busses/i2c-sh_mobile.c
index 3ae6ca21a02c6b9f..2d2e630fd438712f 100644
--- a/drivers/i2c/busses/i2c-sh_mobile.c
+++ b/drivers/i2c/busses/i2c-sh_mobile.c
@@ -807,7 +807,7 @@ static const struct sh_mobile_dt_config r8a7740_dt_config = {
static const struct of_device_id sh_mobile_i2c_dt_ids[] = {
{ .compatible = "renesas,iic-r8a73a4", .data = &fast_clock_dt_config },
{ .compatible = "renesas,iic-r8a7740", .data = &r8a7740_dt_config },
- { .compatible = "renesas,iic-r8a774c0", .data = &fast_clock_dt_config },
+ { .compatible = "renesas,iic-r8a774c0", .data = &v2_freq_calc_dt_config },
{ .compatible = "renesas,iic-r8a7790", .data = &v2_freq_calc_dt_config },
{ .compatible = "renesas,iic-r8a7791", .data = &v2_freq_calc_dt_config },
{ .compatible = "renesas,iic-r8a7792", .data = &v2_freq_calc_dt_config },
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* RE: [PATCH] i2c: sh_mobile: Use new clock calculation formulas for RZ/G2E
2021-05-06 11:15 [PATCH] i2c: sh_mobile: Use new clock calculation formulas for RZ/G2E Geert Uytterhoeven
@ 2021-05-06 14:45 ` Fabrizio Castro
2021-05-25 19:55 ` Wolfram Sang
1 sibling, 0 replies; 4+ messages in thread
From: Fabrizio Castro @ 2021-05-06 14:45 UTC (permalink / raw)
To: Geert Uytterhoeven, Wolfram Sang; +Cc: linux-i2c, linux-renesas-soc
Hi Geert,
Thank you for your patch!
> From: Geert Uytterhoeven <geert+renesas@glider.be>
> Sent: 06 May 2021 12:16
> Uytterhoeven <geert+renesas@glider.be>
> Subject: [PATCH] i2c: sh_mobile: Use new clock calculation formulas for
> RZ/G2E
>
> When switching the Gen3 SoCs to the new clock calculation formulas, the
> match entry for RZ/G2E added in commit 51243b73455f2d12 ("i2c:
> sh_mobile: Add support for r8a774c0 (RZ/G2E)") was forgotten.
>
> Fixes: e8a27567509b2439 ("i2c: sh_mobile: use new clock calculation
> formulas for Gen3")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Fabrizio Castro <fabrizio.castro.jz@renesas.com>
Cheers,
Fab
> ---
> drivers/i2c/busses/i2c-sh_mobile.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/i2c/busses/i2c-sh_mobile.c b/drivers/i2c/busses/i2c-
> sh_mobile.c
> index 3ae6ca21a02c6b9f..2d2e630fd438712f 100644
> --- a/drivers/i2c/busses/i2c-sh_mobile.c
> +++ b/drivers/i2c/busses/i2c-sh_mobile.c
> @@ -807,7 +807,7 @@ static const struct sh_mobile_dt_config
> r8a7740_dt_config = {
> static const struct of_device_id sh_mobile_i2c_dt_ids[] = {
> { .compatible = "renesas,iic-r8a73a4", .data = &fast_clock_dt_config
> },
> { .compatible = "renesas,iic-r8a7740", .data = &r8a7740_dt_config },
> - { .compatible = "renesas,iic-r8a774c0", .data =
> &fast_clock_dt_config },
> + { .compatible = "renesas,iic-r8a774c0", .data =
> &v2_freq_calc_dt_config },
> { .compatible = "renesas,iic-r8a7790", .data =
> &v2_freq_calc_dt_config },
> { .compatible = "renesas,iic-r8a7791", .data =
> &v2_freq_calc_dt_config },
> { .compatible = "renesas,iic-r8a7792", .data =
> &v2_freq_calc_dt_config },
> --
> 2.25.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] i2c: sh_mobile: Use new clock calculation formulas for RZ/G2E
2021-05-06 11:15 [PATCH] i2c: sh_mobile: Use new clock calculation formulas for RZ/G2E Geert Uytterhoeven
2021-05-06 14:45 ` Fabrizio Castro
@ 2021-05-25 19:55 ` Wolfram Sang
2021-05-25 19:56 ` Wolfram Sang
1 sibling, 1 reply; 4+ messages in thread
From: Wolfram Sang @ 2021-05-25 19:55 UTC (permalink / raw)
To: Geert Uytterhoeven; +Cc: Fabrizio Castro, linux-i2c, linux-renesas-soc
[-- Attachment #1: Type: text/plain, Size: 467 bytes --]
On Thu, May 06, 2021 at 01:15:40PM +0200, Geert Uytterhoeven wrote:
> When switching the Gen3 SoCs to the new clock calculation formulas, the
> match entry for RZ/G2E added in commit 51243b73455f2d12 ("i2c:
> sh_mobile: Add support for r8a774c0 (RZ/G2E)") was forgotten.
>
> Fixes: e8a27567509b2439 ("i2c: sh_mobile: use new clock calculation formulas for Gen3")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Applied to for-next, thanks!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] i2c: sh_mobile: Use new clock calculation formulas for RZ/G2E
2021-05-25 19:55 ` Wolfram Sang
@ 2021-05-25 19:56 ` Wolfram Sang
0 siblings, 0 replies; 4+ messages in thread
From: Wolfram Sang @ 2021-05-25 19:56 UTC (permalink / raw)
To: Geert Uytterhoeven; +Cc: Fabrizio Castro, linux-i2c, linux-renesas-soc
[-- Attachment #1: Type: text/plain, Size: 597 bytes --]
On Tue, May 25, 2021 at 09:55:09PM +0200, Wolfram Sang wrote:
> On Thu, May 06, 2021 at 01:15:40PM +0200, Geert Uytterhoeven wrote:
> > When switching the Gen3 SoCs to the new clock calculation formulas, the
> > match entry for RZ/G2E added in commit 51243b73455f2d12 ("i2c:
> > sh_mobile: Add support for r8a774c0 (RZ/G2E)") was forgotten.
> >
> > Fixes: e8a27567509b2439 ("i2c: sh_mobile: use new clock calculation formulas for Gen3")
> > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
>
> Applied to for-next, thanks!
Geez, too fast again; applied to for-current.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-05-25 19:56 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-06 11:15 [PATCH] i2c: sh_mobile: Use new clock calculation formulas for RZ/G2E Geert Uytterhoeven
2021-05-06 14:45 ` Fabrizio Castro
2021-05-25 19:55 ` Wolfram Sang
2021-05-25 19:56 ` Wolfram Sang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).