public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [GIT PULL] Renesas ARM Based SoC Drivers Updates for v5.2
@ 2019-04-19 14:35 Simon Horman
  2019-04-19 14:35 ` [PATCH 1/1] soc: renesas: Identify R-Car M3-W ES1.3 Simon Horman
  2019-04-29  6:41 ` [GIT PULL] Renesas ARM Based SoC Drivers Updates for v5.2 Olof Johansson
  0 siblings, 2 replies; 3+ messages in thread
From: Simon Horman @ 2019-04-19 14:35 UTC (permalink / raw)
  To: arm
  Cc: Arnd Bergmann, Kevin Hilman, Magnus Damm, linux-renesas-soc,
	Olof Johansson, Simon Horman, linux-arm-kernel

Hi Olof, Hi Kevin, Hi Arnd,

Please consider these Renesas ARM based SoC drivers updates for v5.2.


The following changes since commit 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b:

  Linux 5.1-rc1 (2019-03-17 14:22:26 -0700)

are available in the git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-drivers-for-v5.2

for you to fetch changes up to 15160f6de0bba712fcea078c5ac7571fe33fcd5d:

  soc: renesas: Identify R-Car M3-W ES1.3 (2019-03-18 10:33:42 +0100)

----------------------------------------------------------------
Renesas ARM Based SoC Drivers Updates for v5.2

* Identify R-Car M3-W ES1.3

----------------------------------------------------------------
Takeshi Kihara (1):
      soc: renesas: Identify R-Car M3-W ES1.3

 drivers/soc/renesas/renesas-soc.c | 3 +++
 1 file changed, 3 insertions(+)

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/1] soc: renesas: Identify R-Car M3-W ES1.3
  2019-04-19 14:35 [GIT PULL] Renesas ARM Based SoC Drivers Updates for v5.2 Simon Horman
@ 2019-04-19 14:35 ` Simon Horman
  2019-04-29  6:41 ` [GIT PULL] Renesas ARM Based SoC Drivers Updates for v5.2 Olof Johansson
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2019-04-19 14:35 UTC (permalink / raw)
  To: linux-renesas-soc
  Cc: Simon Horman, Takeshi Kihara, Magnus Damm, Geert Uytterhoeven,
	linux-arm-kernel

From: Takeshi Kihara <takeshi.kihara.df@renesas.com>

The Product Register of R-Car M3-W ES1.3 incorrectly identifies the SoC
revision as ES2.1. Add a workaround to fix this.

Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 drivers/soc/renesas/renesas-soc.c | 3 +++
 1 file changed, 3 insertions(+)

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;
-- 
2.11.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [GIT PULL] Renesas ARM Based SoC Drivers Updates for v5.2
  2019-04-19 14:35 [GIT PULL] Renesas ARM Based SoC Drivers Updates for v5.2 Simon Horman
  2019-04-19 14:35 ` [PATCH 1/1] soc: renesas: Identify R-Car M3-W ES1.3 Simon Horman
@ 2019-04-29  6:41 ` Olof Johansson
  1 sibling, 0 replies; 3+ messages in thread
From: Olof Johansson @ 2019-04-29  6:41 UTC (permalink / raw)
  To: Simon Horman
  Cc: Arnd Bergmann, Kevin Hilman, Magnus Damm, linux-renesas-soc, arm,
	linux-arm-kernel

On Fri, Apr 19, 2019 at 04:35:20PM +0200, Simon Horman wrote:
> Hi Olof, Hi Kevin, Hi Arnd,
> 
> Please consider these Renesas ARM based SoC drivers updates for v5.2.
> 
> 
> The following changes since commit 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b:
> 
>   Linux 5.1-rc1 (2019-03-17 14:22:26 -0700)
> 
> are available in the git repository at:
> 
>   https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-drivers-for-v5.2
> 
> for you to fetch changes up to 15160f6de0bba712fcea078c5ac7571fe33fcd5d:
> 
>   soc: renesas: Identify R-Car M3-W ES1.3 (2019-03-18 10:33:42 +0100)
> 
> ----------------------------------------------------------------
> Renesas ARM Based SoC Drivers Updates for v5.2
> 
> * Identify R-Car M3-W ES1.3

Merged, thanks!


-Olof

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-04-29  7:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-19 14:35 [GIT PULL] Renesas ARM Based SoC Drivers Updates for v5.2 Simon Horman
2019-04-19 14:35 ` [PATCH 1/1] soc: renesas: Identify R-Car M3-W ES1.3 Simon Horman
2019-04-29  6:41 ` [GIT PULL] Renesas ARM Based SoC Drivers Updates for v5.2 Olof Johansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox