Messages in this thread | | | Date | Thu, 19 Apr 2018 15:55:23 +0100 | From | Mark Brown <> | 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. [unhandled content-type:application/pgp-signature] | |