From patchwork Mon Sep 14 13:58:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Satya Priya X-Patchwork-Id: 11773819 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6BED4618 for ; Mon, 14 Sep 2020 14:00:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 50FEF2068D for ; Mon, 14 Sep 2020 14:00:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726356AbgINOAr (ORCPT ); Mon, 14 Sep 2020 10:00:47 -0400 Received: from alexa-out.qualcomm.com ([129.46.98.28]:31994 "EHLO alexa-out.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726769AbgINN7Y (ORCPT ); Mon, 14 Sep 2020 09:59:24 -0400 Received: from ironmsg09-lv.qualcomm.com ([10.47.202.153]) by alexa-out.qualcomm.com with ESMTP; 14 Sep 2020 06:59:23 -0700 Received: from ironmsg02-blr.qualcomm.com ([10.86.208.131]) by ironmsg09-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 14 Sep 2020 06:59:22 -0700 Received: from c-skakit-linux.ap.qualcomm.com (HELO c-skakit-linux.qualcomm.com) ([10.242.51.242]) by ironmsg02-blr.qualcomm.com with ESMTP; 14 Sep 2020 19:28:55 +0530 Received: by c-skakit-linux.qualcomm.com (Postfix, from userid 2344709) id E642444CC; Mon, 14 Sep 2020 19:28:53 +0530 (IST) From: satya priya To: Bjorn Andersson Cc: Matthias Kaehlcke , gregkh@linuxfoundation.org, Andy Gross , Rob Herring , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, akashast@codeaurora.org, rojay@codeaurora.org, msavaliy@qti.qualcomm.com, dianders@chromium.org, satya priya Subject: [PATCH V6 0/4] Add wakeup support over UART RX Date: Mon, 14 Sep 2020 19:28:33 +0530 Message-Id: <1600091917-7464-1-git-send-email-skakit@codeaurora.org> X-Mailer: git-send-email 2.7.4 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Changes in V2: - As per Matthias's comment added wakeup support for all the UARTs of SC7180. - Added sleep state in sc7180-idp.dts file. - Modify the if check in set_mctrl API in serial driver to avoid making RFR high during suspend. Changes in V3: - As per Matthias's comments modify the idp dts pin config to keep only the required pin settings. - Remove the extra parentheses from serial driver patch. Changes in V4: - As per Matthias's comments, change the commit text to mention why GPIO function needs to be selected in sleep. - Add separate patch for improvements made in pin conf settings. Changes in V5: - Moved pinctrl and interrupt configuration to board specific files. - Added new patch for trogdor board specific changes. Changes in V6: - As per Doug's comments, fixed nits in patch 2 and 3. - As per Bjorn's comments changed the commit text and rationale for rts, tx and rx in patch 2 and 3. satya priya (4): arm64: dts: qcom: sc7180: Improve the uart3 pin config for sc7180-idp arm64: dts: qcom: sc7180: Add wakeup support for BT UART on sc7180-idp arm64: dts: qcom: sc7180-trogdor: Add wakeup support for BT UART tty: serial: qcom_geni_serial: Fix the UART wakeup issue arch/arm64/boot/dts/qcom/sc7180-idp.dts | 65 +++++++++++++++++++++++++--- arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 54 +++++++++++++++++++++++ drivers/tty/serial/qcom_geni_serial.c | 2 +- 3 files changed, 114 insertions(+), 7 deletions(-)