All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] gpio: rcar: Add-R-Car S4-8 GPIO support
@ 2022-04-04 15:29 Geert Uytterhoeven
  2022-04-04 15:29 ` [PATCH v2 1/2] dt-bindings: gpio: renesas,rcar-gpio: Add r8a779f0 support Geert Uytterhoeven
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 2022-04-04 15:29 UTC (permalink / raw)
  To: Linus Walleij, Bartosz Golaszewski
  Cc: Wolfram Sang, linux-gpio, linux-renesas-soc, devicetree,
	Geert Uytterhoeven

	Hi Linus, Bartosz,

This patch series adds support for the Renesas R-Car S4-8 Soc to the
R-Car GPIO DT bindings and driver.  It has been tested with i2c-gpio,
by reading the contents from the I2C EEPROMs on the Spider development
board.

Changes compared to v1:
  - Drop RFC,
  - Split series in DT bindings+driver and DTS series.

Thanks!

Geert Uytterhoeven (2):
  dt-bindings: gpio: renesas,rcar-gpio: Add r8a779f0 support
  gpio: rcar: Add R-Car Gen4 support

 .../devicetree/bindings/gpio/renesas,rcar-gpio.yaml        | 5 +++++
 drivers/gpio/gpio-rcar.c                                   | 7 +++++--
 2 files changed, 10 insertions(+), 2 deletions(-)

-- 
2.25.1

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

* [PATCH v2 1/2] dt-bindings: gpio: renesas,rcar-gpio: Add r8a779f0 support
  2022-04-04 15:29 [PATCH v2 0/2] gpio: rcar: Add-R-Car S4-8 GPIO support Geert Uytterhoeven
@ 2022-04-04 15:29 ` Geert Uytterhoeven
  2022-04-04 15:38   ` Wolfram Sang
  2022-04-04 15:29 ` [PATCH v2 2/2] gpio: rcar: Add R-Car Gen4 support Geert Uytterhoeven
  2022-04-05 13:19 ` [PATCH v2 0/2] gpio: rcar: Add-R-Car S4-8 GPIO support Bartosz Golaszewski
  2 siblings, 1 reply; 6+ messages in thread
From: Geert Uytterhoeven @ 2022-04-04 15:29 UTC (permalink / raw)
  To: Linus Walleij, Bartosz Golaszewski
  Cc: Wolfram Sang, linux-gpio, linux-renesas-soc, devicetree,
	Geert Uytterhoeven

Document support for the GPIO controller blocks in the Renesas R-Car
S4-8 (R8A779F0) SoC, including a new family-specific compatible value
for the R-Car Gen4 family.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
v2:
  - No changes.
---
 .../devicetree/bindings/gpio/renesas,rcar-gpio.yaml          | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/gpio/renesas,rcar-gpio.yaml b/Documentation/devicetree/bindings/gpio/renesas,rcar-gpio.yaml
index f2541739ee3b9f7c..0681a4790cd62e23 100644
--- a/Documentation/devicetree/bindings/gpio/renesas,rcar-gpio.yaml
+++ b/Documentation/devicetree/bindings/gpio/renesas,rcar-gpio.yaml
@@ -51,6 +51,11 @@ properties:
       - items:
           - const: renesas,gpio-r8a779a0  # R-Car V3U
 
+      - items:
+          - enum:
+              - renesas,gpio-r8a779f0     # R-Car S4-8
+          - const: renesas,rcar-gen4-gpio # R-Car Gen4
+
   reg:
     maxItems: 1
 
-- 
2.25.1


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

* [PATCH v2 2/2] gpio: rcar: Add R-Car Gen4 support
  2022-04-04 15:29 [PATCH v2 0/2] gpio: rcar: Add-R-Car S4-8 GPIO support Geert Uytterhoeven
  2022-04-04 15:29 ` [PATCH v2 1/2] dt-bindings: gpio: renesas,rcar-gpio: Add r8a779f0 support Geert Uytterhoeven
@ 2022-04-04 15:29 ` Geert Uytterhoeven
  2022-04-04 15:37   ` Wolfram Sang
  2022-04-05 13:19 ` [PATCH v2 0/2] gpio: rcar: Add-R-Car S4-8 GPIO support Bartosz Golaszewski
  2 siblings, 1 reply; 6+ messages in thread
From: Geert Uytterhoeven @ 2022-04-04 15:29 UTC (permalink / raw)
  To: Linus Walleij, Bartosz Golaszewski
  Cc: Wolfram Sang, linux-gpio, linux-renesas-soc, devicetree,
	Geert Uytterhoeven

R-Car V3U (R8A779A0) was the first member of the R-Car Gen4 family.
Generalize the support for R-Car V3U to other SoCs in the R-Car Gen4
family by adding a family-specific compatible value.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
v2:
  - No changes.
---
 drivers/gpio/gpio-rcar.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/drivers/gpio/gpio-rcar.c b/drivers/gpio/gpio-rcar.c
index bd2e16d6e21c40cf..5fc52341b98263c6 100644
--- a/drivers/gpio/gpio-rcar.c
+++ b/drivers/gpio/gpio-rcar.c
@@ -411,7 +411,7 @@ static const struct gpio_rcar_info gpio_rcar_info_gen3 = {
 	.has_inen = false,
 };
 
-static const struct gpio_rcar_info gpio_rcar_info_v3u = {
+static const struct gpio_rcar_info gpio_rcar_info_gen4 = {
 	.has_outdtsel = true,
 	.has_both_edge_trigger = true,
 	.has_always_in = true,
@@ -421,7 +421,7 @@ static const struct gpio_rcar_info gpio_rcar_info_v3u = {
 static const struct of_device_id gpio_rcar_of_table[] = {
 	{
 		.compatible = "renesas,gpio-r8a779a0",
-		.data = &gpio_rcar_info_v3u,
+		.data = &gpio_rcar_info_gen4,
 	}, {
 		.compatible = "renesas,rcar-gen1-gpio",
 		.data = &gpio_rcar_info_gen1,
@@ -431,6 +431,9 @@ static const struct of_device_id gpio_rcar_of_table[] = {
 	}, {
 		.compatible = "renesas,rcar-gen3-gpio",
 		.data = &gpio_rcar_info_gen3,
+	}, {
+		.compatible = "renesas,rcar-gen4-gpio",
+		.data = &gpio_rcar_info_gen4,
 	}, {
 		.compatible = "renesas,gpio-rcar",
 		.data = &gpio_rcar_info_gen1,
-- 
2.25.1


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

* Re: [PATCH v2 2/2] gpio: rcar: Add R-Car Gen4 support
  2022-04-04 15:29 ` [PATCH v2 2/2] gpio: rcar: Add R-Car Gen4 support Geert Uytterhoeven
@ 2022-04-04 15:37   ` Wolfram Sang
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfram Sang @ 2022-04-04 15:37 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Linus Walleij, Bartosz Golaszewski, linux-gpio,
	linux-renesas-soc, devicetree

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

On Mon, Apr 04, 2022 at 05:29:49PM +0200, Geert Uytterhoeven wrote:
> R-Car V3U (R8A779A0) was the first member of the R-Car Gen4 family.
> Generalize the support for R-Car V3U to other SoCs in the R-Car Gen4
> family by adding a family-specific compatible value.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

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


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

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

* Re: [PATCH v2 1/2] dt-bindings: gpio: renesas,rcar-gpio: Add r8a779f0 support
  2022-04-04 15:29 ` [PATCH v2 1/2] dt-bindings: gpio: renesas,rcar-gpio: Add r8a779f0 support Geert Uytterhoeven
@ 2022-04-04 15:38   ` Wolfram Sang
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfram Sang @ 2022-04-04 15:38 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Linus Walleij, Bartosz Golaszewski, linux-gpio,
	linux-renesas-soc, devicetree

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

On Mon, Apr 04, 2022 at 05:29:48PM +0200, Geert Uytterhoeven wrote:
> Document support for the GPIO controller blocks in the Renesas R-Car
> S4-8 (R8A779F0) SoC, including a new family-specific compatible value
> for the R-Car Gen4 family.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

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


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

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

* Re: [PATCH v2 0/2] gpio: rcar: Add-R-Car S4-8 GPIO support
  2022-04-04 15:29 [PATCH v2 0/2] gpio: rcar: Add-R-Car S4-8 GPIO support Geert Uytterhoeven
  2022-04-04 15:29 ` [PATCH v2 1/2] dt-bindings: gpio: renesas,rcar-gpio: Add r8a779f0 support Geert Uytterhoeven
  2022-04-04 15:29 ` [PATCH v2 2/2] gpio: rcar: Add R-Car Gen4 support Geert Uytterhoeven
@ 2022-04-05 13:19 ` Bartosz Golaszewski
  2 siblings, 0 replies; 6+ messages in thread
From: Bartosz Golaszewski @ 2022-04-05 13:19 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Linus Walleij, Wolfram Sang, open list:GPIO SUBSYSTEM,
	Linux-Renesas, devicetree

On Mon, Apr 4, 2022 at 5:29 PM Geert Uytterhoeven
<geert+renesas@glider.be> wrote:
>
>         Hi Linus, Bartosz,
>
> This patch series adds support for the Renesas R-Car S4-8 Soc to the
> R-Car GPIO DT bindings and driver.  It has been tested with i2c-gpio,
> by reading the contents from the I2C EEPROMs on the Spider development
> board.
>
> Changes compared to v1:
>   - Drop RFC,
>   - Split series in DT bindings+driver and DTS series.
>
> Thanks!
>
> Geert Uytterhoeven (2):
>   dt-bindings: gpio: renesas,rcar-gpio: Add r8a779f0 support
>   gpio: rcar: Add R-Car Gen4 support
>
>  .../devicetree/bindings/gpio/renesas,rcar-gpio.yaml        | 5 +++++
>  drivers/gpio/gpio-rcar.c                                   | 7 +++++--
>  2 files changed, 10 insertions(+), 2 deletions(-)
>
> --
> 2.25.1
>
> 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

Applied, thanks!

Bart

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

end of thread, other threads:[~2022-04-05 20:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-04 15:29 [PATCH v2 0/2] gpio: rcar: Add-R-Car S4-8 GPIO support Geert Uytterhoeven
2022-04-04 15:29 ` [PATCH v2 1/2] dt-bindings: gpio: renesas,rcar-gpio: Add r8a779f0 support Geert Uytterhoeven
2022-04-04 15:38   ` Wolfram Sang
2022-04-04 15:29 ` [PATCH v2 2/2] gpio: rcar: Add R-Car Gen4 support Geert Uytterhoeven
2022-04-04 15:37   ` Wolfram Sang
2022-04-05 13:19 ` [PATCH v2 0/2] gpio: rcar: Add-R-Car S4-8 GPIO support Bartosz Golaszewski

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.