[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201201184433.s4i3gd3tqu4jtpvv@gilmour>
Date: Tue, 1 Dec 2020 19:44:33 +0100
From: Maxime Ripard <maxime@...no.tech>
To: André Przywara <andre.przywara@....com>
Cc: Rob Herring <robh@...nel.org>, Frank Lee <frank@...winnertech.com>,
devicetree@...r.kernel.org, tiny.windzz@...il.com,
linux-kernel@...r.kernel.org,
Kishon Vijay Abraham I <kishon@...com>,
Vinod Koul <vkoul@...nel.org>, Chen-Yu Tsai <wens@...e.org>,
linux-arm-kernel@...ts.infradead.org,
Jernej Skrabec <jernej.skrabec@...l.net>
Subject: Re: [RESEND PATCH 12/19] dt-bindings: Add bindings for USB phy on
Allwinner A100
On Sat, Nov 28, 2020 at 08:18:16PM +0000, André Przywara wrote:
> On 11/11/2020 22:50, Rob Herring wrote:
>
> Hi,
>
> > On Tue, Nov 10, 2020 at 02:39:42PM +0800, Frank Lee wrote:
> >> From: Yangtao Li <frank@...winnertech.com>
> >>
> >> Add a device tree binding for the A100's USB PHY.
>
> Not your fault, Yangto, but why do we actually have a separate binding
> document per SoC, when the differences between the PHYs are so minimal
> that we get away with some flags in the compatible match, in one driver
> file?
They are similar, but there's massive differences between them still
(like which regulators are supposed to be there, or the register names).
So putting them all in the same file just ended up in an unmaintainable
mess.
> For a start this file is basically identical to the A64 one (apart from
> the example), so can you just add the A100 compatible string to that
> one, instead?
But yeah, if two are identical they should be merged
Maxime
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)
Powered by blists - more mailing lists