Thread (15 messages) 15 messages, 5 authors, 2018-02-14

Re: [PATCH v2 7/7] tty: serial: msm_geni_serial: Add serial driver support for GENI based QUP

From: Amit Kucheria <hidden>
Date: 2018-02-14 11:04:39
Also in: linux-arm-msm, linux-devicetree, linux-i2c

On Sat, Jan 13, 2018 at 6:35 AM, Karthikeyan Ramasubramanian
[off-list ref] wrote:
This driver supports GENI based UART Controller in the Qualcomm SOCs. The
Qualcomm Generic Interface (GENI) is a programmable module supporting a
wide range of serial interfaces including UART. This driver support console
operations using FIFO mode of transfer.

Signed-off-by: Girish Mahadevan <redacted>
Signed-off-by: Karthikeyan Ramasubramanian <redacted>
Signed-off-by: Sagar Dharia <redacted>
---
 drivers/tty/serial/Kconfig            |   10 +
 drivers/tty/serial/Makefile           |    1 +
 drivers/tty/serial/qcom_geni_serial.c | 1414 +++++++++++++++++++++++++++++++++
 3 files changed, 1425 insertions(+)
 create mode 100644 drivers/tty/serial/qcom_geni_serial.c
+       if (!uport->membase) {
+               ret = -ENOMEM;
+               dev_err(&pdev->dev, "Err IO mapping serial iomem");
+               goto exit_geni_serial_probe;
+       }
+
+       dev_port->serial_rsc.geni_pinctrl = devm_pinctrl_get(&pdev->dev);
You need to include linux/pinctrl/consumer.h for devm_pinctrl_get

I couldn't compile test it w/o it.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help