diff options
Diffstat (limited to 'patches/0550-i2c-sh_mobile-let-r8a7790-R-Car-H2-use-the-new-formu.patch')
-rw-r--r-- | patches/0550-i2c-sh_mobile-let-r8a7790-R-Car-H2-use-the-new-formu.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/patches/0550-i2c-sh_mobile-let-r8a7790-R-Car-H2-use-the-new-formu.patch b/patches/0550-i2c-sh_mobile-let-r8a7790-R-Car-H2-use-the-new-formu.patch new file mode 100644 index 00000000000000..0b3d7814d5cc21 --- /dev/null +++ b/patches/0550-i2c-sh_mobile-let-r8a7790-R-Car-H2-use-the-new-formu.patch @@ -0,0 +1,33 @@ +From ae71eaa782fa26a7309f2eb9978c513be32f329b Mon Sep 17 00:00:00 2001 +From: Wolfram Sang <wsa+renesas@sang-engineering.com> +Date: Mon, 18 Dec 2017 22:58:02 +0100 +Subject: [PATCH 0550/1795] i2c: sh_mobile: let r8a7790 (R-Car H2) use the new + formula + +Make use of the new formula for more precise bus frequencies. + +Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> +Signed-off-by: Wolfram Sang <wsa@the-dreams.de> +(cherry picked from commit 6e318d9e3768b91707d8325068eeef88999aa8ae) +Signed-off-by: Simon Horman <horms+renesas@verge.net.au> +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 a0fddfe3c449..d856bc211715 100644 +--- a/drivers/i2c/busses/i2c-sh_mobile.c ++++ b/drivers/i2c/busses/i2c-sh_mobile.c +@@ -810,7 +810,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-r8a7790", .data = &fast_clock_dt_config }, ++ { .compatible = "renesas,iic-r8a7790", .data = &v2_freq_calc_dt_config }, + { .compatible = "renesas,iic-r8a7791", .data = &fast_clock_dt_config }, + { .compatible = "renesas,iic-r8a7792", .data = &fast_clock_dt_config }, + { .compatible = "renesas,iic-r8a7793", .data = &fast_clock_dt_config }, +-- +2.19.0 + |