summaryrefslogtreecommitdiff
path: root/drivers/mfd/at91-usart.c
AgeCommit message (Collapse)Author
2019-02-07mfd: at91-usart: No need to copy mfd_cell in probeAxel Lin
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 Lin
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 Jones
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 Pirea
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>