Messages in this thread | | | Date | Thu, 19 Apr 2018 15:07:14 +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 03:32:33PM +0200, Alexandre Belloni wrote:
> My suggestion was to add an MFD driver that would match the current > compatible and either have an atmel,usart-mode property or maybe more > risky, check whether there are children nodes. Based on that, the > correct platform device can be added, either an usart or an spi master > device can be registered.
Yeah, that's another approach which could work and is a bit easier from the DT point of view - the PXA stuff predated DT and was adapted into it. [unhandled content-type:application/pgp-signature] | |