All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: shmobile: porter: enable R-Car Gen2 regulator quirk
@ 2019-03-03 19:41 ` marek.vasut
  0 siblings, 0 replies; 8+ messages in thread
From: marek.vasut @ 2019-03-03 19:41 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Marek Vasut, Geert Uytterhoeven, Kuninori Morimoto, Simon Horman,
	Wolfram Sang, linux-renesas-soc

From: Marek Vasut <marek.vasut+renesas@gmail.com>

Porter needs the regulator quirk, just like the other boards.
But unlike the other boards, the Porter uses DA9063L, which
is at 0x5a. Otherwise, DA9063L and DA9210 IRQ line is still
connected to CPU IRQ2 .

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: Simon Horman <horms+renesas@verge.net.au>
Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
Cc: linux-renesas-soc@vger.kernel.org
---
 arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c b/arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c
index dc526ef2e9b3..ee949255ced3 100644
--- a/arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c
+++ b/arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0
 /*
- * R-Car Generation 2 da9063/da9210 regulator quirk
+ * R-Car Generation 2 da9063(L)/da9210 regulator quirk
  *
  * Certain Gen2 development boards have an da9063 and one or more da9210
  * regulators. All of these regulators have their interrupt request lines
@@ -65,6 +65,7 @@ static struct i2c_msg da9210_msg = {
 
 static const struct of_device_id rcar_gen2_quirk_match[] = {
 	{ .compatible = "dlg,da9063", .data = &da9063_msg },
+	{ .compatible = "dlg,da9063l", .data = &da9063_msg },
 	{ .compatible = "dlg,da9210", .data = &da9210_msg },
 	{},
 };
@@ -147,6 +148,7 @@ static int __init rcar_gen2_regulator_quirk(void)
 
 	if (!of_machine_is_compatible("renesas,koelsch") &&
 	    !of_machine_is_compatible("renesas,lager") &&
+	    !of_machine_is_compatible("renesas,porter") &&
 	    !of_machine_is_compatible("renesas,stout") &&
 	    !of_machine_is_compatible("renesas,gose"))
 		return -ENODEV;
@@ -210,7 +212,7 @@ static int __init rcar_gen2_regulator_quirk(void)
 		goto err_free;
 	}
 
-	pr_info("IRQ2 is asserted, installing da9063/da9210 regulator quirk\n");
+	pr_info("IRQ2 is asserted, installing regulator quirk\n");
 
 	bus_register_notifier(&i2c_bus_type, &regulator_quirk_nb);
 	return 0;
-- 
2.19.2


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

* [PATCH] ARM: shmobile: porter: enable R-Car Gen2 regulator quirk
@ 2019-03-03 19:41 ` marek.vasut
  0 siblings, 0 replies; 8+ messages in thread
From: marek.vasut @ 2019-03-03 19:41 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Geert Uytterhoeven, Kuninori Morimoto, linux-renesas-soc,
	Wolfram Sang, Simon Horman, Marek Vasut

From: Marek Vasut <marek.vasut+renesas@gmail.com>

Porter needs the regulator quirk, just like the other boards.
But unlike the other boards, the Porter uses DA9063L, which
is at 0x5a. Otherwise, DA9063L and DA9210 IRQ line is still
connected to CPU IRQ2 .

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: Simon Horman <horms+renesas@verge.net.au>
Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
Cc: linux-renesas-soc@vger.kernel.org
---
 arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c b/arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c
index dc526ef2e9b3..ee949255ced3 100644
--- a/arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c
+++ b/arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0
 /*
- * R-Car Generation 2 da9063/da9210 regulator quirk
+ * R-Car Generation 2 da9063(L)/da9210 regulator quirk
  *
  * Certain Gen2 development boards have an da9063 and one or more da9210
  * regulators. All of these regulators have their interrupt request lines
@@ -65,6 +65,7 @@ static struct i2c_msg da9210_msg = {
 
 static const struct of_device_id rcar_gen2_quirk_match[] = {
 	{ .compatible = "dlg,da9063", .data = &da9063_msg },
+	{ .compatible = "dlg,da9063l", .data = &da9063_msg },
 	{ .compatible = "dlg,da9210", .data = &da9210_msg },
 	{},
 };
@@ -147,6 +148,7 @@ static int __init rcar_gen2_regulator_quirk(void)
 
 	if (!of_machine_is_compatible("renesas,koelsch") &&
 	    !of_machine_is_compatible("renesas,lager") &&
+	    !of_machine_is_compatible("renesas,porter") &&
 	    !of_machine_is_compatible("renesas,stout") &&
 	    !of_machine_is_compatible("renesas,gose"))
 		return -ENODEV;
@@ -210,7 +212,7 @@ static int __init rcar_gen2_regulator_quirk(void)
 		goto err_free;
 	}
 
-	pr_info("IRQ2 is asserted, installing da9063/da9210 regulator quirk\n");
+	pr_info("IRQ2 is asserted, installing regulator quirk\n");
 
 	bus_register_notifier(&i2c_bus_type, &regulator_quirk_nb);
 	return 0;
-- 
2.19.2


_______________________________________________
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] 8+ messages in thread

* Re: [PATCH] ARM: shmobile: porter: enable R-Car Gen2 regulator quirk
  2019-03-03 19:41 ` marek.vasut
@ 2019-03-03 23:08   ` Wolfram Sang
  -1 siblings, 0 replies; 8+ messages in thread
From: Wolfram Sang @ 2019-03-03 23:08 UTC (permalink / raw)
  To: marek.vasut
  Cc: linux-arm-kernel, Marek Vasut, Geert Uytterhoeven,
	Kuninori Morimoto, Simon Horman, Wolfram Sang, linux-renesas-soc

[-- Attachment #1: Type: text/plain, Size: 476 bytes --]

On Sun, Mar 03, 2019 at 08:41:40PM +0100, marek.vasut@gmail.com wrote:
> From: Marek Vasut <marek.vasut+renesas@gmail.com>
> 
> Porter needs the regulator quirk, just like the other boards.
> But unlike the other boards, the Porter uses DA9063L, which
> is at 0x5a. Otherwise, DA9063L and DA9210 IRQ line is still
> connected to CPU IRQ2 .
> 
> Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>

Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH] ARM: shmobile: porter: enable R-Car Gen2 regulator quirk
@ 2019-03-03 23:08   ` Wolfram Sang
  0 siblings, 0 replies; 8+ messages in thread
From: Wolfram Sang @ 2019-03-03 23:08 UTC (permalink / raw)
  To: marek.vasut
  Cc: Geert Uytterhoeven, Kuninori Morimoto, linux-renesas-soc,
	Wolfram Sang, Simon Horman, linux-arm-kernel, Marek Vasut


[-- Attachment #1.1: Type: text/plain, Size: 476 bytes --]

On Sun, Mar 03, 2019 at 08:41:40PM +0100, marek.vasut@gmail.com wrote:
> From: Marek Vasut <marek.vasut+renesas@gmail.com>
> 
> Porter needs the regulator quirk, just like the other boards.
> But unlike the other boards, the Porter uses DA9063L, which
> is at 0x5a. Otherwise, DA9063L and DA9210 IRQ line is still
> connected to CPU IRQ2 .
> 
> Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>

Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>


[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
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] 8+ messages in thread

* Re: [PATCH] ARM: shmobile: porter: enable R-Car Gen2 regulator quirk
  2019-03-03 23:08   ` Wolfram Sang
@ 2019-03-04 10:23     ` Simon Horman
  -1 siblings, 0 replies; 8+ messages in thread
From: Simon Horman @ 2019-03-04 10:23 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: marek.vasut, linux-arm-kernel, Marek Vasut, Geert Uytterhoeven,
	Kuninori Morimoto, Wolfram Sang, linux-renesas-soc

On Mon, Mar 04, 2019 at 12:08:42AM +0100, Wolfram Sang wrote:
> On Sun, Mar 03, 2019 at 08:41:40PM +0100, marek.vasut@gmail.com wrote:
> > From: Marek Vasut <marek.vasut+renesas@gmail.com>
> > 
> > Porter needs the regulator quirk, just like the other boards.
> > But unlike the other boards, the Porter uses DA9063L, which
> > is at 0x5a. Otherwise, DA9063L and DA9210 IRQ line is still
> > connected to CPU IRQ2 .
> > 
> > Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
> 
> Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

Thanks, applied for v5.2.

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

* Re: [PATCH] ARM: shmobile: porter: enable R-Car Gen2 regulator quirk
@ 2019-03-04 10:23     ` Simon Horman
  0 siblings, 0 replies; 8+ messages in thread
From: Simon Horman @ 2019-03-04 10:23 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: Geert Uytterhoeven, Kuninori Morimoto, Wolfram Sang,
	linux-renesas-soc, marek.vasut, linux-arm-kernel, Marek Vasut

On Mon, Mar 04, 2019 at 12:08:42AM +0100, Wolfram Sang wrote:
> On Sun, Mar 03, 2019 at 08:41:40PM +0100, marek.vasut@gmail.com wrote:
> > From: Marek Vasut <marek.vasut+renesas@gmail.com>
> > 
> > Porter needs the regulator quirk, just like the other boards.
> > But unlike the other boards, the Porter uses DA9063L, which
> > is at 0x5a. Otherwise, DA9063L and DA9210 IRQ line is still
> > connected to CPU IRQ2 .
> > 
> > Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
> 
> Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

Thanks, applied for v5.2.

_______________________________________________
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] 8+ messages in thread

* Re: [PATCH] ARM: shmobile: porter: enable R-Car Gen2 regulator quirk
  2019-03-03 19:41 ` marek.vasut
@ 2019-03-04 10:43   ` Geert Uytterhoeven
  -1 siblings, 0 replies; 8+ messages in thread
From: Geert Uytterhoeven @ 2019-03-04 10:43 UTC (permalink / raw)
  To: Marek Vasut
  Cc: Linux ARM, Marek Vasut, Geert Uytterhoeven, Kuninori Morimoto,
	Simon Horman, Wolfram Sang, Linux-Renesas

On Sun, Mar 3, 2019 at 8:41 PM <marek.vasut@gmail.com> wrote:
> From: Marek Vasut <marek.vasut+renesas@gmail.com>
>
> Porter needs the regulator quirk, just like the other boards.
> But unlike the other boards, the Porter uses DA9063L, which
> is at 0x5a. Otherwise, DA9063L and DA9210 IRQ line is still
> connected to CPU IRQ2 .
>
> Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* Re: [PATCH] ARM: shmobile: porter: enable R-Car Gen2 regulator quirk
@ 2019-03-04 10:43   ` Geert Uytterhoeven
  0 siblings, 0 replies; 8+ messages in thread
From: Geert Uytterhoeven @ 2019-03-04 10:43 UTC (permalink / raw)
  To: Marek Vasut
  Cc: Geert Uytterhoeven, Kuninori Morimoto, Linux-Renesas,
	Wolfram Sang, Simon Horman, Linux ARM, Marek Vasut

On Sun, Mar 3, 2019 at 8:41 PM <marek.vasut@gmail.com> wrote:
> From: Marek Vasut <marek.vasut+renesas@gmail.com>
>
> Porter needs the regulator quirk, just like the other boards.
> But unlike the other boards, the Porter uses DA9063L, which
> is at 0x5a. Otherwise, DA9063L and DA9210 IRQ line is still
> connected to CPU IRQ2 .
>
> Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

_______________________________________________
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] 8+ messages in thread

end of thread, other threads:[~2019-03-04 10:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-03 19:41 [PATCH] ARM: shmobile: porter: enable R-Car Gen2 regulator quirk marek.vasut
2019-03-03 19:41 ` marek.vasut
2019-03-03 23:08 ` Wolfram Sang
2019-03-03 23:08   ` Wolfram Sang
2019-03-04 10:23   ` Simon Horman
2019-03-04 10:23     ` Simon Horman
2019-03-04 10:43 ` Geert Uytterhoeven
2019-03-04 10:43   ` Geert Uytterhoeven

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.