Re: [PATCH 2/3] dt-bindings: add binding for at91-usart in spi mode

From: Mark Brown
Date: Thu Apr 19 2018 - 10:07:29 EST


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.

Attachment: signature.asc
Description: PGP signature