Re: [PATCH] mfd: at91-usart: do not use compatible to register child devices

2020-11-11 Thread Lee Jones
On Tue, 03 Nov 2020, Codrin Ciubotariu wrote: > There are no separate serial/SPI devices under the at91-usart MFD, but > actually the MFD is used as a serial or a SPI device. There are no DT > sub-nodes for the MFD children, so we should use platform device API to > register the drivers. > >

[PATCH] mfd: at91-usart: do not use compatible to register child devices

2020-11-03 Thread Codrin Ciubotariu
There are no separate serial/SPI devices under the at91-usart MFD, but actually the MFD is used as a serial or a SPI device. There are no DT sub-nodes for the MFD children, so we should use platform device API to register the drivers. Suggested-by: Lee Jones Signed-off-by: Codrin Ciubotariu ---