summaryrefslogtreecommitdiff
path: root/drivers/mfd/at91-usart.c
Commit message (Collapse)AuthorAgeFilesLines
* mfd: at91-usart: No need to copy mfd_cell in probeAxel Lin2019-02-071-4/+4
| | | | | | | Use pointer instead. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
* mfd: at91-usart: Constify at91_usart_spi_subdev and at91_usart_serial_subdevAxel Lin2019-02-071-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>
* mfd: at91-usart: Include Device Tree headerLee Jones2018-09-111-0/+1
| | | | | | Will ensure 'of_device_id' is declared. Signed-off-by: Lee Jones <lee.jones@linaro.org>
* mfd: at91-usart: Add MFD driver for USARTRadu Pirea2018-09-101-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>