Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp610810pxk; Thu, 3 Sep 2020 08:12:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwMCRLr+IlpxIRapgF2Gpaups+NMwp4Zw7TM6vk+r+49xiWx+BqOcG7cIkClDwS11NJdM+a X-Received: by 2002:a17:907:7206:: with SMTP id dr6mr2749315ejc.546.1599145934320; Thu, 03 Sep 2020 08:12:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599145934; cv=none; d=google.com; s=arc-20160816; b=NlBx/3SpCQP/h1CTWyACxGoJSV4ycX3cSLsiB5cIfj0H7XpCv6Bw8z5Dqsgkhstno1 yFCSWAcCy7AeKXkPtcCSxRVbAkfjuNK4b1z+iYvkh/f5+xsLv9BKkIWyOFxC6KM+GdWs o3JvqbQNRMerFJWrByye8djDxgrrAE4AWhZy2BpxjaoPkY3GIUlwlIgu//HkTaNv1H/D eJS3uDi0W+F25sD6RT9mS1THFQS/aLlcLr45fkRTRQZqMeJzs6KwKMaIWgmgqHRgpdxg eC2cboPg3NEoxZhJchoPiESvnOQoBSDt0TVcVHxLB8gps0/B2lRJqIMifBiMa0oR5Xr2 rOaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=Gdo9TM6/YtX6Ivm/KCKyMLy2RfcXzhF7vzqHn7/4Ye8=; b=C98bbEKbvO9B0uVtc4SevgtcwkWLF0OlwBnSBoB9rf6PZ2ifHgBApUWGnHKTiUvPfi 2a/LuJbYsCsN0UMt+UxWR7SuMdC+VikCEMuvg1MW1OvVhsL9bYWIv99aVir1vLOtUqg4 cYU614hZl6xRVq/iUQ4dO2MZxCL2Hu5jTzXzqtBxHGwfgjS6I2MaOrdKExIQY5rARHbH Rlp6xzizBjQpXqLRmAYDGdTYkmCexLv+5dl6ooBnKwC5VsOlpdFOea6LeYX2oPnK8R58 8iRH/UTno1YxqeIchQG5iAnoROO9NCnmta+8WWmqWLIvmZdbvIfNDzQM5fmCbqBw1irb g9Mw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w9si1708667eds.522.2020.09.03.08.11.51; Thu, 03 Sep 2020 08:12:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729230AbgICPIj (ORCPT + 99 others); Thu, 3 Sep 2020 11:08:39 -0400 Received: from alexa-out.qualcomm.com ([129.46.98.28]:46337 "EHLO alexa-out.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729503AbgICPFh (ORCPT ); Thu, 3 Sep 2020 11:05:37 -0400 Received: from ironmsg09-lv.qualcomm.com ([10.47.202.153]) by alexa-out.qualcomm.com with ESMTP; 03 Sep 2020 08:05:34 -0700 Received: from ironmsg02-blr.qualcomm.com ([10.86.208.131]) by ironmsg09-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 03 Sep 2020 08:05:32 -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; 03 Sep 2020 20:35:05 +0530 Received: by c-skakit-linux.qualcomm.com (Postfix, from userid 2344709) id 91B144433; Thu, 3 Sep 2020 20:35:04 +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, satya priya Subject: [PATCH V4 0/4] Add wakeup support over UART RX Date: Thu, 3 Sep 2020 20:34:54 +0530 Message-Id: <1599145498-20707-1-git-send-email-skakit@codeaurora.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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. satya priya (4): arm64: dts: sc7180: Add wakeup support over UART RX arm64: dts: qcom: sc7180: Improve the pin config settings for CTS and TX arm64: dts: qcom: sc7180: Add sleep pin ctrl for BT UART tty: serial: qcom_geni_serial: Fix the UART wakeup issue arch/arm64/boot/dts/qcom/sc7180-idp.dts | 51 ++++++++++++++--- arch/arm64/boot/dts/qcom/sc7180.dtsi | 98 ++++++++++++++++++++++++++++----- drivers/tty/serial/qcom_geni_serial.c | 2 +- 3 files changed, 128 insertions(+), 23 deletions(-) -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation