RE: [PATCH] i2c: sh_mobile: Use new clock calculation formulas for RZ/G2E

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Geert,

Thank you for your patch!

> From: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
> Sent: 06 May 2021 12:16
> Uytterhoeven <geert+renesas@xxxxxxxxx>
> 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@xxxxxxxxx>

Reviewed-by: Fabrizio Castro <fabrizio.castro.jz@xxxxxxxxxxx>

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





[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux