diff options
author | Olof Johansson <olof@lixom.net> | 2019-04-28 23:41:16 -0700 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2019-04-28 23:41:16 -0700 |
commit | 3e0c0aee4571980328b0e84dd119298b3511805e (patch) | |
tree | 8de5ab3b5ecee4c355417a1b0a60a4d8e8460721 /drivers | |
parent | dd3e3f23387b9944469c2cdcb72261a8efc05f4a (diff) | |
parent | 15160f6de0bba712fcea078c5ac7571fe33fcd5d (diff) | |
download | linux-3e0c0aee4571980328b0e84dd119298b3511805e.tar.gz linux-3e0c0aee4571980328b0e84dd119298b3511805e.tar.bz2 linux-3e0c0aee4571980328b0e84dd119298b3511805e.zip |
Merge tag 'renesas-drivers-for-v5.2' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into arm/drivers
Renesas ARM Based SoC Drivers Updates for v5.2
* Identify R-Car M3-W ES1.3
* tag 'renesas-drivers-for-v5.2' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
soc: renesas: Identify R-Car M3-W ES1.3
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/soc/renesas/renesas-soc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/soc/renesas/renesas-soc.c b/drivers/soc/renesas/renesas-soc.c index 4af96e668a2f..3299cf5365f3 100644 --- a/drivers/soc/renesas/renesas-soc.c +++ b/drivers/soc/renesas/renesas-soc.c @@ -335,6 +335,9 @@ static int __init renesas_soc_init(void) /* R-Car M3-W ES1.1 incorrectly identifies as ES2.0 */ if ((product & 0x7fff) == 0x5210) product ^= 0x11; + /* R-Car M3-W ES1.3 incorrectly identifies as ES2.1 */ + if ((product & 0x7fff) == 0x5211) + product ^= 0x12; if (soc->id && ((product >> 8) & 0xff) != soc->id) { pr_warn("SoC mismatch (product = 0x%x)\n", product); return -ENODEV; |