[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YaZNjgnJZWdKwT+L@sirena.org.uk>
Date: Tue, 30 Nov 2021 16:13:02 +0000
From: Mark Brown <broonie@...nel.org>
To: Dmitry Osipenko <digetx@...il.com>
Cc: Krishna Yarlagadda <kyarlagadda@...dia.com>,
Philipp Zabel <p.zabel@...gutronix.de>,
Laxman Dewangan <ldewangan@...dia.com>,
Thierry Reding <thierry.reding@...il.com>,
Jonathan Hunter <jonathanh@...dia.com>,
Sowjanya Komatineni <skomatineni@...dia.com>,
"linux-tegra@...r.kernel.org" <linux-tegra@...r.kernel.org>,
"linux-spi@...r.kernel.org" <linux-spi@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/2] spi: tegra210-quad: add acpi support
On Tue, Nov 30, 2021 at 05:14:07PM +0300, Dmitry Osipenko wrote:
> The ifdefery, that this patch has, shouldn't be needed. We have a
> similar ACPI patch for Tegra I2C [1] and it doesn't have that.
> [1]
> https://patchwork.ozlabs.org/project/linux-tegra/patch/1637859224-5179-1-git-send-email-akhilrajeev@nvidia.com/
> I assume this patch could be reworked similarly to the I2C patch.
Yes, that looks much cleaner.
> Agree that should be better to have a common reset driver for ACPI
> instead of polluting each driver with a boilerplate code.
Right, I think that'd be even better. It's probably best to split
adding reset support to the driver out from adding the ACPI ID - they
shouldn't really have been merged in the first place TBH - and then try
this approach first.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists