linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Rob Herring <robh+dt@kernel.org>
Cc: Alex Nemirovsky <Alex.Nemirovsky@cortina-access.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Jason Li <jason.li@cortina-access.com>,
	"linux-serial@vger.kernel.org" <linux-serial@vger.kernel.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Arnd Bergmann <arnd@arndb.de>
Subject: Re: [PATCH v4 2/3] dt-bindings: serial: Convert Cortina-Access UART to json-schema
Date: Tue, 22 Jun 2021 13:28:06 +0200	[thread overview]
Message-ID: <CAMuHMdXA9-ajoAza2JAW5879ECieMm1dbBbKHgJhDa7=3kWu3w@mail.gmail.com> (raw)
In-Reply-To: <CAL_JsqLHdi29Du1F=e1N471tnsziWpH7TPO_caDF3SrjvHS-iw@mail.gmail.com>

On Tue, Jun 15, 2021 at 6:21 PM Rob Herring <robh+dt@kernel.org> wrote:
> On Tue, Jun 15, 2021 at 10:06 AM Alex Nemirovsky
> <Alex.Nemirovsky@cortina-access.com> wrote:
> > > On Jun 15, 2021, at 8:44 AM, Rob Herring <robh+dt@kernel.org> wrote:
> > > On Tue, Jun 15, 2021 at 8:39 AM Alex Nemirovsky
> > > <Alex.Nemirovsky@cortina-access.com> wrote:
> > >>
> > >>
> > >>
> > >>> On Jun 15, 2021, at 7:13 AM, Greg Kroah-Hartman <gregkh@linuxfoundation.org> wrote:
> > >>>
> > >>> On Tue, Jun 15, 2021 at 01:36:39PM +0000, Alex Nemirovsky wrote:
> > >>>> MAINTAINERS modification was made in the initial version 1.  We made no changes to it since then,
> > >>>> thus not sure what we could at to  Changelog which would add value or clarity for others
> > >>>> from the v1.
> > >>>>
> > >>>>> On Jun 15, 2021, at 4:53 AM, Greg Kroah-Hartman <gregkh@linuxfoundation.org> wrote:
> > >>>>>
> > >>>>> On Sun, May 09, 2021 at 11:45:17AM -0700, Alex Nemirovsky wrote:
> > >>>>>> From: Jason Li <jason.li@cortina-access.com>
> > >>>>>>
> > >>>>>> Convert the Cortina-Access UART binding to DT schema format.
> > >>>>>>
> > >>>>>> Signed-off-by: Jason Li <jason.li@cortina-access.com>
> > >>>>>> ---
> > >>>>>> .../serial/cortina-access,serial.yaml         | 46 +++++++++++++++++++
> > >>>>>> .../devicetree/bindings/vendor-prefixes.yaml  |  2 +
> > >>>>>> MAINTAINERS                                   |  6 +++
> > >>>>>
> > >>>>> You are also adding a MAINTAINERS entry here, which is not listed in the
> > >>>>> changelog text, so I couldn't take it anyway :(
> > >>>
> > >>> Add the maintainers entry in the first patch, with the driver please.
> > >>
> > >> The change to MAINTAINERS here add a new file into the DT documentation.
> > >> Should it not be grouped into the dt-binding portion and reviewed by the DT time for which this patch
> > >> is CC’ed to? Why would moving the DT documentation file that is introduced be into the first patch, which is the
> > >> serial driver itself be the correct approach?
> > >
> > > The binding doesn't actually need a MAINTAINERS entry (though having
> > > one is fine). get_maintainers.pl will also pull emails from the
> > > binding schema.
> > >
> > > Rob
> >
> > Hi Rob,
> > It sounds like you are find with patch 2/3 from a DT point of view.  Could we review the rest from the DT point of view
> > to get either feedback for changes or ACK these, so we can unblock this series?
>
> Can't say I've seen it as I only see replies in my mail. Did this
> originally go to the DT list? If not, it's never in my queue[1].
>
> Rob
>
> [1] https://patchwork.ozlabs.org/project/devicetree-bindings/list/

None of the patches in this series ended up on a mailing list or on
lore, so no one could comment on them, except for people CCed directly.

The driver has been accepted in tty-next, commit b61c8bf4694b5115
("tty: serial: Add UART driver for Cortina-Access platform").  From a
quick glance, it could have used some review.

The driver is using the compatible value "cortina-access,serial", so I
guess the binding patch added "cortina-access" to vendor-prefixes.yaml.
According to https://www.cortina-access.com/news-and-events, this is
the same company as Cortina Systems, which already has the "cortina"
vendor prefix.  In 2015, it was acquired by Realtek, so perhaps it
should use the "realtek" prefix instead for new development?

The SERIAL_CORTINA_ACCESS symbol doesn't depend on anything, so
it will show up on everyone's oldconfig radar soon, regardless of
building a kernel for a Cortina Access system or not.
I wanted to change it to something like:

     config SERIAL_CORTINA_ACCESS
            tristate "Cortina-Access serial port support"
    +       depends on FIXME || COMPILE_TEST
            select SERIAL_CORE
            help
              This driver is for Cortina-Access SoC's UART. If you
have a machine
              based on the Cortina-Access SoC and wish to use the serial port,
              say 'Y' here. Otherwise, say 'N'.

but given there is no evidence of patches to add support for the
CAXXXX line of SoCs, there's no symbol to depend on...

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

  reply	other threads:[~2021-06-22 11:28 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20210509184519.15816-1-alex.nemirovsky@cortina-access.com>
2021-06-15 11:52 ` [PATCH v4 1/3] tty: serial: Add UART driver for Cortina-Access platform Greg Kroah-Hartman
2021-06-15 13:32   ` Alex Nemirovsky
2021-06-15 14:13     ` Greg Kroah-Hartman
2021-06-15 14:33       ` Alex Nemirovsky
2021-06-15 15:40         ` Greg Kroah-Hartman
2021-06-15 16:01           ` Alex Nemirovsky
     [not found] ` <20210509184519.15816-2-alex.nemirovsky@cortina-access.com>
2021-06-15 11:53   ` [PATCH v4 2/3] dt-bindings: serial: Convert Cortina-Access UART to json-schema Greg Kroah-Hartman
2021-06-15 13:36     ` Alex Nemirovsky
2021-06-15 14:13       ` Greg Kroah-Hartman
2021-06-15 14:39         ` Alex Nemirovsky
2021-06-15 15:40           ` Greg Kroah-Hartman
2021-06-15 15:44           ` Rob Herring
2021-06-15 16:06             ` Alex Nemirovsky
2021-06-15 16:20               ` Rob Herring
2021-06-22 11:28                 ` Geert Uytterhoeven [this message]
2021-06-22 14:20                   ` Alex Nemirovsky
2021-06-22 15:18                   ` Arnd Bergmann
2021-06-24 12:46                   ` Greg Kroah-Hartman

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='CAMuHMdXA9-ajoAza2JAW5879ECieMm1dbBbKHgJhDa7=3kWu3w@mail.gmail.com' \
    --to=geert@linux-m68k.org \
    --cc=Alex.Nemirovsky@cortina-access.com \
    --cc=arnd@arndb.de \
    --cc=devicetree@vger.kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=jason.li@cortina-access.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).