[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180419145523.GH27188@sirena.org.uk>
Date: Thu, 19 Apr 2018 15:55:23 +0100
From: Mark Brown <broonie@...nel.org>
To: Radu Pirea <radu.pirea@...rochip.com>
Cc: Alexandre Belloni <alexandre.belloni@...tlin.com>,
Nicolas Ferre <nicolas.ferre@...rochip.com>,
robh+dt@...nel.org, mark.rutland@....com,
linux-kernel@...r.kernel.org, linux-spi@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, devicetree@...r.kernel.org
Subject: Re: [PATCH 2/3] dt-bindings: add binding for at91-usart in spi mode
On Thu, Apr 19, 2018 at 01:04:16PM +0300, Radu Pirea wrote:
> Thank you for suggestions. I followed your advice and looked at PXA SSP
> driver. In my opinion it is a layer that avoids collsions and
> unfortunately complicates things a bit. My ideea is to keep the things
> as simple as possible. For example, I can enhance usart-serial and
> usart-spi drivers to print detailed messages if probe fails because one
> driver tries to request a memory region already used by another driver.
> What do you think? Is this approach a good way to move forward?
Alexandre's suggestion using a MFD with a property to select the mode
seems more solid TBH.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists