diff options
| author | Olof Johansson <olof@lixom.net> | 2019-04-29 02:41:16 -0400 |
|---|---|---|
| committer | Olof Johansson <olof@lixom.net> | 2019-04-29 02:41:16 -0400 |
| commit | 3e0c0aee4571980328b0e84dd119298b3511805e (patch) | |
| tree | 8de5ab3b5ecee4c355417a1b0a60a4d8e8460721 | |
| parent | dd3e3f23387b9944469c2cdcb72261a8efc05f4a (diff) | |
| parent | 15160f6de0bba712fcea078c5ac7571fe33fcd5d (diff) | |
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>
| -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) | |||
| 335 | /* R-Car M3-W ES1.1 incorrectly identifies as ES2.0 */ | 335 | /* R-Car M3-W ES1.1 incorrectly identifies as ES2.0 */ |
| 336 | if ((product & 0x7fff) == 0x5210) | 336 | if ((product & 0x7fff) == 0x5210) |
| 337 | product ^= 0x11; | 337 | product ^= 0x11; |
| 338 | /* R-Car M3-W ES1.3 incorrectly identifies as ES2.1 */ | ||
| 339 | if ((product & 0x7fff) == 0x5211) | ||
| 340 | product ^= 0x12; | ||
| 338 | if (soc->id && ((product >> 8) & 0xff) != soc->id) { | 341 | if (soc->id && ((product >> 8) & 0xff) != soc->id) { |
| 339 | pr_warn("SoC mismatch (product = 0x%x)\n", product); | 342 | pr_warn("SoC mismatch (product = 0x%x)\n", product); |
| 340 | return -ENODEV; | 343 | return -ENODEV; |
