summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/at91-usart.c
AgeCommit message (Collapse)AuthorFilesLines
2019-02-07mfd: at91-usart: No need to copy mfd_cell in probeAxel Lin1-4/+4
Use pointer instead. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
2019-02-07mfd: at91-usart: Constify at91_usart_spi_subdev and at91_usart_serial_subdevAxel Lin1-8/+8
They are never get changed, make them constant. While at it, fix indent as well. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
2018-09-11mfd: at91-usart: Include Device Tree headerLee Jones1-0/+1
Will ensure 'of_device_id' is declared. Signed-off-by: Lee Jones <lee.jones@linaro.org>
2018-09-10mfd: at91-usart: Add MFD driver for USARTRadu Pirea1-0/+71
This MFD driver is just a wrapper over atmel_serial driver and spi-at91-usart driver. Selection of one of the drivers is based on a property from device tree. If the property is not specified, the default driver is atmel_serial. Signed-off-by: Radu Pirea <radu.pirea@microchip.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Acked-by: Rob Herring <robh@kernel.org> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>