[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkda9LD00=mUjLbb+wG3mnEVHbyqj-3L98=c-k-bV54gmTg@mail.gmail.com>
Date: Wed, 2 Jun 2021 12:35:14 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Mauri Sandberg <maukka@....kapsi.fi>
Cc: Mauri Sandberg <sandberg@...lfence.com>,
Andy Shevchenko <andy.shevchenko@...il.com>,
Bartosz Golaszewski <bgolaszewski@...libre.com>,
Geert Uytterhoeven <geert+renesas@...der.be>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
Rob Herring <robh+dt@...nel.org>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
Drew Fustini <drew@...gleboard.org>
Subject: Re: [PATCH v4 1/2] dt-bindings: gpio-mux-input: add documentation
Hi Mauri,
On Wed, Jun 2, 2021 at 11:31 AM Mauri Sandberg <maukka@....kapsi.fi> wrote:
> But there is a small detail that needs to be sorted out.
> The name 'gpio-mux'
> has already been taken by 'mux-gpio' driver [2] [3].
What about "gpio-multiplexer"?
It is not good that the thing using GPIOs to do multiplexing
has take a name that seem to infer that GPIOs are being
multiplexed. Now we can't do much about that we just have
to live with it. How typical of formal languages to screw
with the semantics of natural languages and create confusion...
> Should we look for another name for this driver and it's bindings or
> refactor the mux-gpio's bindings
> first?
Bindings are etched in stone and cannot be changed.
Unless we change them anyways.
But generally we can't.
> The bindings for mux-gpio need to be converted to .yaml anyhow
Yeah just do it if you have the time, all conversions are appreciated.
(Separate patch and work item though, don't know if you need to
mix that with this work?)
> and maybe
> the issues with the schema
> that Rob pointed out elsewhere would go away too. Otherwise I cannot
> really say what's wrong as the
> errors look unrelated to me.
I don't know about these, tell Rob if you have issues and I might
be able to pitch in, I write a fair amount of schema too.
Yours,
Linus Walleij
Powered by blists - more mailing lists