All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Thierry Bultel <thierry.bultel.yh@bp.renesas.com>
Cc: "thierry.bultel@linatsea.fr" <thierry.bultel@linatsea.fr>,
	"linux-renesas-soc@vger.kernel.org"
	<linux-renesas-soc@vger.kernel.org>,
	"geert@linux-m68k.org" <geert@linux-m68k.org>,
	Paul Barker <paul.barker.ct@bp.renesas.com>,
	Wolfram Sang <wsa+renesas@sang-engineering.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-serial@vger.kernel.org" <linux-serial@vger.kernel.org>
Subject: Re: [PATCH v7 10/13] serial: sh-sci: Add support for RZ/T2H SCI
Date: Mon, 14 Apr 2025 10:58:29 +0200	[thread overview]
Message-ID: <2025041456-legacy-craftwork-2d8b@gregkh> (raw)
In-Reply-To: <TYCPR01MB11492DDF2728C9D3B3F14DCA38AB32@TYCPR01MB11492.jpnprd01.prod.outlook.com>

On Mon, Apr 14, 2025 at 07:54:12AM +0000, Thierry Bultel wrote:
> Hi Greg,
> 
> > -----Original Message-----
> > From: Greg KH <gregkh@linuxfoundation.org>
> > Sent: vendredi 11 avril 2025 16:57
> > To: Thierry Bultel <thierry.bultel.yh@bp.renesas.com>
> > Cc: thierry.bultel@linatsea.fr; linux-renesas-soc@vger.kernel.org;
> > geert@linux-m68k.org; Paul Barker <paul.barker.ct@bp.renesas.com>; Wolfram
> > Sang <wsa+renesas@sang-engineering.com>; linux-kernel@vger.kernel.org;
> > linux-serial@vger.kernel.org
> > Subject: Re: [PATCH v7 10/13] serial: sh-sci: Add support for RZ/T2H SCI
> > 
> > On Thu, Apr 03, 2025 at 11:29:12PM +0200, Thierry Bultel wrote:
> > > --- a/include/uapi/linux/serial_core.h
> > > +++ b/include/uapi/linux/serial_core.h
> > > @@ -231,6 +231,9 @@
> > >  /* Sunplus UART */
> > >  #define PORT_SUNPLUS	123
> > >
> > > +/* SH-SCI */
> > > +#define PORT_RSCI	124
> > 
> > Why do you need to tell userspace about this specific port?  Is that a
> > hard requirement that your userspace tools require?  If not, please don't
> > export this here.
> 
> This point has been discussed with Geert and Wolfram.
> We cannot use PORT_GENERIC for this IP, and adding the new type
> is just keeping consistent with the sh-sci driver.

But, why does userspace need to know this number?  And why doesn't
PORT_GENERIC work?

thanks,

greg k-h

  reply	other threads:[~2025-04-14  8:58 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-03 21:29 [PATCH v7 00/13] Add initial support for Renesas RZ/T2H SoC Thierry Bultel
2025-04-03 21:29 ` [PATCH v7 01/13] dt-bindings: soc: Add Renesas RZ/T2H (R9A09G077) SoC Thierry Bultel
2025-04-17 13:39   ` Geert Uytterhoeven
2025-04-03 21:29 ` [PATCH v7 02/13] dt-bindings: clock: Add cpg for the Renesas RZ/T2H SoC Thierry Bultel
2025-04-04 19:37   ` Rob Herring (Arm)
2025-04-17 13:41   ` Geert Uytterhoeven
2025-04-18  9:29     ` Thierry Bultel
2025-04-03 21:29 ` [PATCH v7 03/13] dt-bindings: serial: Add compatible for Renesas RZ/T2H SoC in sci Thierry Bultel
2025-04-17 14:04   ` Geert Uytterhoeven
2025-04-03 21:29 ` [PATCH v7 04/13] soc: renesas: Add RZ/T2H (R9A09G077) config option Thierry Bultel
2025-04-03 21:29 ` [PATCH v7 05/13] clk: renesas: Pass sub struct of cpg_mssr_priv to cpg_clk_register Thierry Bultel
2025-04-17 14:15   ` Geert Uytterhoeven
2025-04-03 21:29 ` [PATCH v7 06/13] clk: renesas: Add support for R9A09G077 SoC Thierry Bultel
2025-04-17 18:45   ` Geert Uytterhoeven
2025-04-18 21:22     ` Thierry Bultel
2025-04-23  7:18       ` Geert Uytterhoeven
2025-04-23  7:36         ` Thierry Bultel
2025-04-23  8:52           ` Geert Uytterhoeven
2025-04-24  7:53             ` Thierry Bultel
2025-04-24  8:24               ` Geert Uytterhoeven
2025-04-03 21:29 ` [PATCH v7 07/13] serial: sh-sci: Fix a comment about SCIFA Thierry Bultel
2025-04-03 21:29 ` [PATCH v7 08/13] serial: sh-sci: Introduced function pointers Thierry Bultel
2025-04-03 21:29 ` [PATCH v7 09/13] serial: sh-sci: Introduced sci_of_data Thierry Bultel
2025-04-03 21:29 ` [PATCH v7 10/13] serial: sh-sci: Add support for RZ/T2H SCI Thierry Bultel
2025-04-11 14:57   ` Greg KH
2025-04-14  7:54     ` Thierry Bultel
2025-04-14  8:58       ` Greg KH [this message]
2025-04-14  9:23         ` Thierry Bultel
2025-04-14  9:32           ` Greg KH
2025-04-14 14:07             ` Geert Uytterhoeven
2025-04-15 12:35               ` Greg KH
2025-04-17 12:53   ` Geert Uytterhoeven
2025-04-03 21:29 ` [PATCH v7 11/13] arm64: dts: renesas: Add initial support for renesas RZ/T2H SoC Thierry Bultel
2025-04-03 21:29 ` [PATCH v7 12/13] arm64: dts: renesas: Add initial support for renesas RZ/T2H eval board Thierry Bultel
2025-04-03 21:29 ` [PATCH v7 13/13] arm64: defconfig: Enable Renesas RZ/T2H serial SCI Thierry Bultel

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=2025041456-legacy-craftwork-2d8b@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=geert@linux-m68k.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=paul.barker.ct@bp.renesas.com \
    --cc=thierry.bultel.yh@bp.renesas.com \
    --cc=thierry.bultel@linatsea.fr \
    --cc=wsa+renesas@sang-engineering.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 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.