linux-renesas-soc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: r8a7743: Remove generic compatible string from iic3
@ 2018-12-10 11:57 Biju Das
  2018-12-10 12:13 ` Geert Uytterhoeven
  0 siblings, 1 reply; 4+ messages in thread
From: Biju Das @ 2018-12-10 11:57 UTC (permalink / raw)
  To: Rob Herring, Mark Rutland
  Cc: Biju Das, Simon Horman, Magnus Damm, linux-renesas-soc,
	devicetree, Geert Uytterhoeven, Chris Paterson, Fabrizio Castro

The iic3 block on RZ/G1M does not support automatic transmission, unlike
other R-Car SoC's. So dropping the compatibility with the generic version.

Fixes: f523405f2a22cc0c307 ("ARM: dts: r8a7743: Add IIC cores to dtsi")

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
---
 arch/arm/boot/dts/r8a7743.dtsi | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/r8a7743.dtsi b/arch/arm/boot/dts/r8a7743.dtsi
index 7b731c7..182464d 100644
--- a/arch/arm/boot/dts/r8a7743.dtsi
+++ b/arch/arm/boot/dts/r8a7743.dtsi
@@ -564,9 +564,7 @@
 			/* doesn't need pinmux */
 			#address-cells = <1>;
 			#size-cells = <0>;
-			compatible = "renesas,iic-r8a7743",
-				     "renesas,rcar-gen2-iic",
-				     "renesas,rmobile-iic";
+			compatible = "renesas,iic-r8a7743";
 			reg = <0 0xe60b0000 0 0x425>;
 			interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&cpg CPG_MOD 926>;
-- 
2.7.4

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

* Re: [PATCH] ARM: dts: r8a7743: Remove generic compatible string from iic3
  2018-12-10 11:57 [PATCH] ARM: dts: r8a7743: Remove generic compatible string from iic3 Biju Das
@ 2018-12-10 12:13 ` Geert Uytterhoeven
  2018-12-10 12:48   ` Biju Das
  2018-12-10 13:01   ` Simon Horman
  0 siblings, 2 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2018-12-10 12:13 UTC (permalink / raw)
  To: Biju Das
  Cc: Rob Herring, Mark Rutland, Simon Horman, Magnus Damm,
	Linux-Renesas,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Geert Uytterhoeven, Chris Paterson, Fabrizio Castro

Hi Biju,

On Mon, Dec 10, 2018 at 1:06 PM Biju Das <biju.das@bp.renesas.com> wrote:
> The iic3 block on RZ/G1M does not support automatic transmission, unlike
> other R-Car SoC's. So dropping the compatibility with the generic version.
>
> Fixes: f523405f2a22cc0c307 ("ARM: dts: r8a7743: Add IIC cores to dtsi")

Thanks for going through the other affected SoCs!

> Signed-off-by: Biju Das <biju.das@bp.renesas.com>

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

> --- a/arch/arm/boot/dts/r8a7743.dtsi
> +++ b/arch/arm/boot/dts/r8a7743.dtsi
> @@ -564,9 +564,7 @@
>                         /* doesn't need pinmux */
>                         #address-cells = <1>;
>                         #size-cells = <0>;
> -                       compatible = "renesas,iic-r8a7743",
> -                                    "renesas,rcar-gen2-iic",
> -                                    "renesas,rmobile-iic";
> +                       compatible = "renesas,iic-r8a7743";
>                         reg = <0 0xe60b0000 0 0x425>;
>                         interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
>                         clocks = <&cpg CPG_MOD 926>;

Note that this is still a bit odd, as there are other iic nodes that do declare
compatibility with the generic version, as they do support automatic
transmission.  But at least we'll have an easier job to support this in the
driver[*], if ever needed.

[*] The code handling r8a7743 (and r8a7744) can call of_device_is_compatible()
    to find out if the instance is compatible with the generic version.

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

* RE: [PATCH] ARM: dts: r8a7743: Remove generic compatible string from iic3
  2018-12-10 12:13 ` Geert Uytterhoeven
@ 2018-12-10 12:48   ` Biju Das
  2018-12-10 13:01   ` Simon Horman
  1 sibling, 0 replies; 4+ messages in thread
From: Biju Das @ 2018-12-10 12:48 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Rob Herring, Mark Rutland, Simon Horman, Magnus Damm,
	Linux-Renesas,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Geert Uytterhoeven, Chris Paterson, Fabrizio Castro

Hello Geert,

> Subject: Re: [PATCH] ARM: dts: r8a7743: Remove generic compatible string
> from iic3
>
> Hi Biju,
>
> On Mon, Dec 10, 2018 at 1:06 PM Biju Das <biju.das@bp.renesas.com>
> wrote:
> > The iic3 block on RZ/G1M does not support automatic transmission,
> > unlike other R-Car SoC's. So dropping the compatibility with the generic
> version.
> >
> > Fixes: f523405f2a22cc0c307 ("ARM: dts: r8a7743: Add IIC cores to
> > dtsi")
>
> Thanks for going through the other affected SoCs!
>
> > Signed-off-by: Biju Das <biju.das@bp.renesas.com>
>
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
>
> > --- a/arch/arm/boot/dts/r8a7743.dtsi
> > +++ b/arch/arm/boot/dts/r8a7743.dtsi
> > @@ -564,9 +564,7 @@
> Note that this is still a bit odd, as there are other iic nodes that do declare
> compatibility with the generic version, as they do support automatic
> transmission.  But at least we'll have an easier job to support this in the
> driver[*], if ever needed.
>
> [*] The code handling r8a7743 (and r8a7744) can call
> of_device_is_compatible()
>     to find out if the instance is compatible with the generic version.

Thanks .

Regards,
Biju


[https://www2.renesas.eu/media/email/unicef.jpg]

This Christmas, instead of sending out cards, Renesas Electronics Europe have decided to support Unicef with a donation. For further details click here<https://www.unicef.org/> to find out about the valuable work they do, helping children all over the world.
We would like to take this opportunity to wish you a Merry Christmas and a prosperous New Year.



Renesas Electronics Europe Ltd, Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, UK. Registered in England & Wales under Registered No. 04586709.

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

* Re: [PATCH] ARM: dts: r8a7743: Remove generic compatible string from iic3
  2018-12-10 12:13 ` Geert Uytterhoeven
  2018-12-10 12:48   ` Biju Das
@ 2018-12-10 13:01   ` Simon Horman
  1 sibling, 0 replies; 4+ messages in thread
From: Simon Horman @ 2018-12-10 13:01 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Biju Das, Rob Herring, Mark Rutland, Magnus Damm, Linux-Renesas,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Geert Uytterhoeven, Chris Paterson, Fabrizio Castro

On Mon, Dec 10, 2018 at 01:13:53PM +0100, Geert Uytterhoeven wrote:
> Hi Biju,
> 
> On Mon, Dec 10, 2018 at 1:06 PM Biju Das <biju.das@bp.renesas.com> wrote:
> > The iic3 block on RZ/G1M does not support automatic transmission, unlike
> > other R-Car SoC's. So dropping the compatibility with the generic version.
> >
> > Fixes: f523405f2a22cc0c307 ("ARM: dts: r8a7743: Add IIC cores to dtsi")
> 
> Thanks for going through the other affected SoCs!
> 
> > Signed-off-by: Biju Das <biju.das@bp.renesas.com>
> 
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Thanks, applied for v4.22.

> > --- a/arch/arm/boot/dts/r8a7743.dtsi
> > +++ b/arch/arm/boot/dts/r8a7743.dtsi
> > @@ -564,9 +564,7 @@
> >                         /* doesn't need pinmux */
> >                         #address-cells = <1>;
> >                         #size-cells = <0>;
> > -                       compatible = "renesas,iic-r8a7743",
> > -                                    "renesas,rcar-gen2-iic",
> > -                                    "renesas,rmobile-iic";
> > +                       compatible = "renesas,iic-r8a7743";
> >                         reg = <0 0xe60b0000 0 0x425>;
> >                         interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
> >                         clocks = <&cpg CPG_MOD 926>;
> 
> Note that this is still a bit odd, as there are other iic nodes that do declare
> compatibility with the generic version, as they do support automatic
> transmission.  But at least we'll have an easier job to support this in the
> driver[*], if ever needed.
> 
> [*] The code handling r8a7743 (and r8a7744) can call of_device_is_compatible()
>     to find out if the instance is compatible with the generic version.
> 
> 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] 4+ messages in thread

end of thread, other threads:[~2018-12-10 13:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-10 11:57 [PATCH] ARM: dts: r8a7743: Remove generic compatible string from iic3 Biju Das
2018-12-10 12:13 ` Geert Uytterhoeven
2018-12-10 12:48   ` Biju Das
2018-12-10 13:01   ` Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).