From: Biju Das <biju.das.jz@bp.renesas.com>
To: Biju Das <biju.das.jz@bp.renesas.com>,
Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Thierry Bultel <thierry.bultel.yh@bp.renesas.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Jiri Slaby <jirislaby@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Magnus Damm <magnus.damm@gmail.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-serial@vger.kernel.org" <linux-serial@vger.kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"linux-renesas-soc@vger.kernel.org"
<linux-renesas-soc@vger.kernel.org>
Subject: RE: [PATCH 02/14] dt-bindings: serial: Document sci bindings for the Renesas RZ/T2H (a.k.a r9a09g077) SoC
Date: Mon, 10 Feb 2025 14:46:14 +0000 [thread overview]
Message-ID: <TY3PR01MB11346287906F19FDFF7ACA52886F22@TY3PR01MB11346.jpnprd01.prod.outlook.com> (raw)
In-Reply-To: <TY3PR01MB113461CABD5E18F03B7BE9B8486F22@TY3PR01MB11346.jpnprd01.prod.outlook.com>
Hi Geert,
> -----Original Message-----
> From: Biju Das <biju.das.jz@bp.renesas.com>
> Sent: 10 February 2025 14:42
> To: Geert Uytterhoeven <geert@linux-m68k.org>
> Subject: RE: [PATCH 02/14] dt-bindings: serial: Document sci bindings for the Renesas RZ/T2H (a.k.a
> r9a09g077) SoC
>
> Hi Geert,
>
> > -----Original Message-----
> > From: Geert Uytterhoeven <geert@linux-m68k.org>
> > Sent: 10 February 2025 14:35
> > Subject: Re: [PATCH 02/14] dt-bindings: serial: Document sci bindings
> > for the Renesas RZ/T2H (a.k.a
> > r9a09g077) SoC
> >
> > Hi Biju,
> >
> > On Mon, 10 Feb 2025 at 15:26, Biju Das <biju.das.jz@bp.renesas.com> wrote:
> > > > -----Original Message-----
> > > > From: Geert Uytterhoeven <geert@linux-m68k.org>
> > > > Sent: 10 February 2025 14:15
> > > > Subject: Re: [PATCH 02/14] dt-bindings: serial: Document sci
> > > > bindings for the Renesas RZ/T2H (a.k.a
> > > > r9a09g077) SoC
> > > >
> > > > On Mon, 10 Feb 2025 at 14:19, Biju Das <biju.das.jz@bp.renesas.com> wrote:
> > > > > > -----Original Message-----
> > > > > > From: Geert Uytterhoeven <geert@linux-m68k.org>
> > > > > > Sent: 10 February 2025 13:15
> > > > > > Subject: Re: [PATCH 02/14] dt-bindings: serial: Document sci
> > > > > > bindings for the Renesas RZ/T2H (a.k.a
> > > > > > r9a09g077) SoC
> > > > > >
> > > > > > On Wed, 29 Jan 2025 at 17:52, Thierry Bultel <thierry.bultel.yh@bp.renesas.com> wrote:
> > > > > > > Document RZ/T2H (a.k.a r9a09g077) in SCI binding.
> > > > > > >
> > > > > > > Signed-off-by: Thierry Bultel
> > > > > > > <thierry.bultel.yh@bp.renesas.com>
> > > > > >
> > > > > > Thanks for your patch!
> > > > > >
> > > > > > > --- /dev/null
> > > > > > > +++ b/Documentation/devicetree/bindings/serial/renesas,rzsci
> > > > > > > +++ .y
> > > > > > > +++ aml
> > > > > > > @@ -0,0 +1,100 @@
> > > > > > > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> > > > > > > +%YAML
> > > > > > > +1.2
> > > > > > > +---
> > > > > > > +$id:
> > > > > > > +http://devicetree.org/schemas/serial/renesas,rzsci.yaml#
> > > > > >
> > > > > > "rzsci" is IMHO a bad name, as SCI on RZ/T2 differs from the
> > > > > > similar-named "SCI" (sometimes called "RSCI" or "SCIg") on
> > > > > > RZ/A1H, RZ/A2M, RZ/G2L, RZ/V2L, and
> > > > RZ/G3S (and most old SuperH SoCs).
> > > > > >
> > > > > > BTW, I believe the variant on RZ/T2 is also used on RZ/N2, RZ/V2H, and RZ/G3E?
> > > > > >
> > > > > > However, binding-wise, they all seem to be very similar.
> > > > > > So perhaps you can just add this to the existing
> > > > > > Documentation/devicetree/bindings/serial/renesas,sci.yaml?
> > > > >
> > > > > It is present in RZ/G3E as well.
> > > > > RSCI supports sci, scif, i2c and spi that is the reason renesas,rzsci.yaml introduced.
> > > >
> > > > If you plan to add support for I2C and SPI, you will need
> > > > different bindings under Documentation/devicetree/bindings/{i2c,spi}/.
> > >
> > > OK, I thought since it is a single IP, we need to use a single
> > > compatible and instantiate appropriate device based on the device
> > > property rather than separate SCI,
> > i2c and spi compatible.
> > >
> > > Yes, I agree having different device compatible for same IP make
> > > life easier, no need to add specific vendor property.
> >
> > I said "different bindings", not "different compatible values"!
> >
> > Cfr. "renesas,tpu" having bindings in both
> > Documentation/devicetree/bindings/timer/renesas,tpu.yaml
> > and Documentation/devicetree/bindings/pwm/renesas,tpu-pwm.yaml.
>
> Thanks for clarification. This is simple solution.
But, here we need to decide, which channels to be used in SCI, I2C and SPI
in SoC dtsi
or
Maybe define all the channels as sci as default and override it in board dts for
I2c and spi based on customer use case??
Cheers,
Biju
next prev parent reply other threads:[~2025-02-10 14:46 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20250129165122.2980-1-thierry.bultel.yh@bp.renesas.com>
2025-01-29 16:37 ` [PATCH 01/14] dt-bindings: soc: Document Renesas RZ/T2H (R9A09G077) SoC Thierry Bultel
2025-01-29 18:28 ` Krzysztof Kozlowski
2025-02-10 12:52 ` Geert Uytterhoeven
2025-01-29 16:37 ` [PATCH 02/14] dt-bindings: serial: Document sci bindings for the Renesas RZ/T2H (a.k.a r9a09g077) SoC Thierry Bultel
2025-01-29 18:31 ` Krzysztof Kozlowski
2025-01-30 8:09 ` Krzysztof Kozlowski
2025-01-30 8:11 ` Krzysztof Kozlowski
2025-02-10 13:14 ` Geert Uytterhoeven
2025-02-10 13:19 ` Biju Das
2025-02-10 14:15 ` Geert Uytterhoeven
2025-02-10 14:26 ` Biju Das
2025-02-10 14:35 ` Geert Uytterhoeven
2025-02-10 14:42 ` Biju Das
2025-02-10 14:46 ` Biju Das [this message]
2025-02-10 14:48 ` Geert Uytterhoeven
2025-01-29 16:37 ` [PATCH 03/14] dt-bindings: soc: Document the Renesas RZ/T2H Evaluation board for the R9A09G077 SoC Thierry Bultel
2025-01-29 18:31 ` Krzysztof Kozlowski
2025-01-30 8:11 ` Krzysztof Kozlowski
2025-02-10 13:21 ` Geert Uytterhoeven
2025-01-29 16:37 ` [PATCH 04/14] dt-bindings: clock: Document cpg bindings for the Renesas RZ/T2H SoC Thierry Bultel
2025-01-29 18:34 ` Krzysztof Kozlowski
2025-02-10 13:39 ` Geert Uytterhoeven
2025-01-29 16:37 ` [PATCH 05/14] soc: renesas: Add RZ/T2H (R9A09G077) config option Thierry Bultel
2025-02-10 13:40 ` Geert Uytterhoeven
2025-01-29 16:37 ` [PATCH 06/14] clk: renesas: Add support for RZ/T2H family clock Thierry Bultel
2025-02-04 16:14 ` Paul Barker
2025-02-10 14:06 ` Geert Uytterhoeven
2025-01-29 16:37 ` [PATCH 07/14] clk: renesas: Add support for R9A09G077 SoC Thierry Bultel
2025-02-04 16:44 ` Paul Barker
2025-01-29 16:37 ` [PATCH 08/14] serial: sh-sci: Fix a comment about SCIFA Thierry Bultel
2025-01-30 8:38 ` Geert Uytterhoeven
2025-02-04 16:51 ` Paul Barker
2025-01-29 16:37 ` [PATCH 09/14] serial: sh-sci: Introduced function pointers Thierry Bultel
2025-01-30 8:38 ` Geert Uytterhoeven
2025-02-04 18:04 ` Paul Barker
2025-02-10 14:45 ` Geert Uytterhoeven
2025-02-10 15:36 ` Geert Uytterhoeven
2025-01-29 16:37 ` [PATCH 10/14] serial: sh-sci: Introduced sci_of_data Thierry Bultel
2025-01-30 8:39 ` Geert Uytterhoeven
2025-02-10 15:48 ` Geert Uytterhoeven
2025-01-29 16:37 ` [PATCH 11/14] serial: sh-sci: Add support for RZ/T2H SCI Thierry Bultel
2025-02-10 15:30 ` Geert Uytterhoeven
2025-01-29 16:37 ` [PATCH 12/14] arm64: dts: renesas: Add initial support for renesas RZ/T2H SoC Thierry Bultel
2025-01-29 18:36 ` Krzysztof Kozlowski
2025-02-10 15:52 ` Geert Uytterhoeven
2025-01-29 16:37 ` [PATCH 13/14] arm64: dts: renesas: Add initial support for renesas RZ/T2H eval board Thierry Bultel
2025-01-29 18:37 ` Krzysztof Kozlowski
2025-02-10 15:54 ` Geert Uytterhoeven
2025-01-29 16:37 ` [PATCH 14/14] defconfig: Enable RZ/T2H Soc and RZ_SCI Thierry Bultel
2025-01-29 18:40 ` Krzysztof Kozlowski
2025-01-30 8:40 ` Geert Uytterhoeven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=TY3PR01MB11346287906F19FDFF7ACA52886F22@TY3PR01MB11346.jpnprd01.prod.outlook.com \
--to=biju.das.jz@bp.renesas.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=geert@linux-m68k.org \
--cc=gregkh@linuxfoundation.org \
--cc=jirislaby@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=magnus.damm@gmail.com \
--cc=robh@kernel.org \
--cc=thierry.bultel.yh@bp.renesas.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®