[PATCH V6] serial: qcom_geni_serial: To correct QUP Version detection logic

2020-09-30 Thread Paras Sharma
roup ( 2.5 and above). As result Serial Engine clocks are not configured properly for baud rate and garbage data is sampled to FIFOs from the line. So, fix the logic to detect QUP with versions 2.5 and above. Fixes: ce734600545f ("tty: serial: qcom_geni_serial: Update the oversampling rate")

[PATCH V5] serial: qcom_geni_serial: To correct QUP Version detection logic

2020-09-28 Thread Paras Sharma
roup ( 2.5 and above). As result Serial Engine clocks are not configured properly for baud rate and garbage data is sampled to FIFOs from the line. So, fix the logic to detect QUP with versions 2.5 and above. Fixes: ce734600545f ("tty: serial: qcom_geni_serial: Update the oversampling rate")

[PATCH V4] serial: qcom_geni_serial: To correct QUP Version detection logic

2020-09-14 Thread Paras Sharma
rate") Signed-off-by: Paras Sharma --- Changes in V4: Created a new macro QUP_SE_VERSION_2_5 for Qup se version 2.5 drivers/tty/serial/qcom_geni_serial.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/tty/serial/qcom_geni_serial.c b/drivers/tty/serial/qcom_gen

[PATCH] serial: qcom_geni_serial: To correct QUP Version detection logic

2020-09-01 Thread Paras Sharma
checks if version is greater than or equal to 0x2005 which would work for any future version. Signed-off-by: Paras Sharma --- drivers/tty/serial/qcom_geni_serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/qcom_geni_serial.c b/drivers/tty/serial

[PATCH V2] serial: qcom_geni_serial: To correct QUP Version detection logic

2020-08-11 Thread Paras Sharma
for geni SE major version, this problem can be solved. Signed-off-by: Paras Sharma --- drivers/tty/serial/qcom_geni_serial.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/tty/serial/qcom_geni_serial.c b/drivers/tty/serial/qcom_geni_serial.c index 3aa29d2..a9f92d8

[PATCH] tty: serial: qcom_geni_serial: To correct logic for QUP HW version

2020-07-24 Thread Paras Sharma
To correct the logic to detect whether the QUP HW version is greater than 2.5. Signed-off-by: Paras Sharma --- drivers/tty/serial/qcom_geni_serial.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/tty/serial/qcom_geni_serial.c b/drivers/tty/serial