Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp871023rwd; Wed, 31 May 2023 06:37:28 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6UoQ/XV4RZLoffTAeidbPAtg8L1ZAbCQNp/F76ZF/WhGZYn/t+Q5jJQ+jpLAHQCO4F17Mm X-Received: by 2002:a05:6a00:2e1a:b0:64a:9090:5147 with SMTP id fc26-20020a056a002e1a00b0064a90905147mr7049935pfb.10.1685540247887; Wed, 31 May 2023 06:37:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1685540247; cv=pass; d=google.com; s=arc-20160816; b=Tj3ZPXQj54h2G0as30310STU8JlOtFmbyWLnJxKzUiLsSqrtX0W2y6EhxDWoyJJ6Mv w2HFWZU4uzmohLZEmxvGDMEaXYFwmb6n0G/XUiSQBrCkNZd/UZzltCbCjhgUmxd7g+Fn Y/pg7rtEAUP+Ud4odkpHRVWr6XmJsdMg12o1O3ooxmPqiNF/ZEpbyClFvyItlcZMnLy8 Jq+iI9TMG0RsY61FM5JiKrFuMNTAmCeZizPqfqXgqKXnVOvVYbPGopDh7wS3NawEVd5u 36RfVInDfOp9Ec843ejwgwbnocxdf0FMSquqHe/e8VGq4s9fXZd+GEG6vgPK+Mo9exTo zhFQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=9kXCl/JMaedMsk04AN2MP+JJ9XrmIy83sq/nWmEsh94=; b=pxCD8+JgP7TEw/kakyY5hHcjpF0sc4pGvORhNT51L6FCMFeal4V4W8YEejdxezkgf7 NRdOFauHP1p2uIpc8v6oSaC1SJNh8xilZkzvmTqQRsXOItqZMNy+qx/QgP/qRGS6CQpZ ZgParg9Sz0KWAdSC6AVJCgSeZlscaB/x/HFqjV9mqDKl7TgFTtxoO8agl6IwOz5WugD2 VQK9yMYFs5OytEqdzbd9w2a7eJ4EW/JGkY2TW4XEUkMAApc8gaMv9C6inZel9Mp0cUdM HhUS5dmzYFuvHOO13BzJXgI6AsCY3nGw26CVlrFID2iclcrQHllJbqYx0R1DEPVAjgmq pICg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=IX+urSav; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g132-20020a62528a000000b0064d59fded0bsi3618407pfb.101.2023.05.31.06.37.13; Wed, 31 May 2023 06:37:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=IX+urSav; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236152AbjEaNHR (ORCPT + 99 others); Wed, 31 May 2023 09:07:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236330AbjEaNHH (ORCPT ); Wed, 31 May 2023 09:07:07 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BEFBA1BC; Wed, 31 May 2023 06:06:38 -0700 (PDT) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34VBstWJ029180; Wed, 31 May 2023 13:06:28 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=qcppdkim1; bh=9kXCl/JMaedMsk04AN2MP+JJ9XrmIy83sq/nWmEsh94=; b=IX+urSavUHkJjqd5Nq82DNE0e7sHYqIWT+q8vOlxmS3R8aTL+z6I7tpHyQ54Y5Le7sji y5ZhjwSNS4Y3gOGL7JQDLHZDGrnJ96hUZUPcCRkHY02v3SmPm7a6U6dDWbOuXEC/bGKC HzbvkIW27XnWvwcDkpd7gZZ5iV039x0yYU8OMC1kdrs1RXiPB0ZP2rK0G8bJPTmpQVSM 9rpQ7/vUpGwkuGmKpcXjTrl9Uf4flapClh/CsCZ4Yq8vcd6I5fdg43HV8ijsiMQKVucp HtH2vYlqcIPiczpOSRkXJY8eoXOTgGZTiPZRvKtG1m/JQssGwsGF3p7JH3ghvWxGIGoi hg== Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2106.outbound.protection.outlook.com [104.47.58.106]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qx30f8k63-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 31 May 2023 13:06:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z2TDVDU+nfXMRhs7bwYoEfir8M6QN2TShvgI2W5pHdLjjmDZdc1kikoLtRk/rqF5noSwyfkt113ZtTriR+2KZbcFr7R8FErsrdxilZMuoMTHC/jbP6hW/NaFCx9WJOSpPN/iadyfrmUDSvjIcTgWq1iKNzL/uQGqmwLuEbNslG3q5v9HVcWyiFQbBpGp0qK8biujej1S39LJjPSNOQ9DG4sXxFeoGfQypYv0/HMc8TQzGO3PoiLJKyo59sGFZQ2Y2gNUch55a76gwvbZQOzeEu03i2UPJVrcwBH9gITm5O745z8E5I1nsqDvKfOiHyoqoGtsNdf6L9+Z5t2ijKHb6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=9kXCl/JMaedMsk04AN2MP+JJ9XrmIy83sq/nWmEsh94=; b=Lt5ZNh4mj5zuLrcPyztuxfZZ6ALfL46dppTsmgoFGA2G6QR9F87bSHGx5789K+b5oUMZyF5VolRNhi4O9QyrhYPu2VACZYdjIAG2t6P/sgYpCJSz8S/UoDURtdl55AkGOKmrCDbffDp72CNiW8ypFgfLXP3giijGsmHAsntY3Ig/jmkvmBM0L1RBqjXfJZUU7X49pDFZ8Sn1p3QcQzVEENW/z6J0K8UmPUO6xblf288qh2ciPBTN/55MGVXo0uLEBOi9dlERa9d+KlZ4IinZAfVXPZHNC6xZxhAZ9HDTm3AeiXwJVigQYgkUXYuhgOHOVdvK3Rbe4qYwqzWEfMG5xA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=quicinc.com; dmarc=pass action=none header.from=quicinc.com; dkim=pass header.d=quicinc.com; arc=none Received: from SJ0PR02MB7742.namprd02.prod.outlook.com (2603:10b6:a03:320::22) by SA2PR02MB7804.namprd02.prod.outlook.com (2603:10b6:806:137::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6433.23; Wed, 31 May 2023 13:06:23 +0000 Received: from SJ0PR02MB7742.namprd02.prod.outlook.com ([fe80::ba2d:231c:d4cd:fd37]) by SJ0PR02MB7742.namprd02.prod.outlook.com ([fe80::ba2d:231c:d4cd:fd37%3]) with mapi id 15.20.6433.022; Wed, 31 May 2023 13:06:23 +0000 From: "Mehul Raninga (Temp) (QUIC)" To: Bjorn Andersson , "Mehul Raninga (Temp) (QUIC)" CC: "agross@kernel.org" , "konrad.dybcio@linaro.org" , "gregkh@linuxfoundation.org" , "jirislaby@kernel.org" , "linux-arm-msm@vger.kernel.org" , "linux-serial@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "Viken Dadhaniya (QUIC)" , "Visweswara Tanuku (QUIC)" , "Vijaya Krishna Nivarthi (Temp) (QUIC)" Subject: RE: [PATCH] serial: qcom_geni_serial: Setup serial port after Deep sleep Thread-Topic: [PATCH] serial: qcom_geni_serial: Setup serial port after Deep sleep Thread-Index: AQHZkugtQgsIHoUoGU+G+KIDXYHr3a9y6tGAgAFoUyA= Date: Wed, 31 May 2023 13:06:22 +0000 Message-ID: References: <20230530111557.10944-1-quic_mraninga@quicinc.com> <20230530150631.7eg6nkre6sva5dcz@ripper> In-Reply-To: <20230530150631.7eg6nkre6sva5dcz@ripper> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR02MB7742:EE_|SA2PR02MB7804:EE_ x-ms-office365-filtering-correlation-id: 9158a4f3-b49e-4f37-5277-08db61d7d548 x-ld-processed: 98e9ba89-e1a1-4e38-9007-8bdabc25de1d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 6gVz9hmUOnn5NZJUmQ62xwuDoSqgCdRiCuPVnN1kCKHVurp6W5RM8RGEfZGoz8Co/tXtTQaXzbtUA+u+3hf2jhx432zZAk03Sz+nb/H2GDnvNLBd7IZWEcB6zKByG3QbDBl16xPJBbpQKzgyY2NsOIBkg2y21OOGrKQMpTq++TGOnBem5BoxK+lYrI3+PPdWb9Gk4O0xl6fJCceON+BBnb3exfTaO+D5zeR3EYc0gpZSMQBwVRznj9dpzNbzbs2RRzttRm4+LQJdkvjmXr6q/OLrNdFl5mxw3wbypOV6beYoJtzSIMIdKXD//xjsuXBfbU1shTZjdXlBzdaIgrXAnunPfHGoHe92aEmo8OIxUUQjci3LEE0alpQJ0eJncj8/4tWYoRAiYvQomu1ZobesgGEdCunCOGqQITYFoyNXTi4qbBPpH2yudOGDAHDsdEZxwAS6OH2CHDXfhmfI9QlVzOsJqq/NVpsXpulsUzFMXUoSoCYk8XOueEFTntpM6dK2cLkdKAyuSofLTrANiDm/eMAAreIidi74S+5Q0/cDYxrILQSsyTFP5EdJZkXuV1eO4r7EjRDaxEpIdnIal5yeTfL6NvzMh8gVq64WZTqY8H9p0s/QDBxHJWew6763PUpb x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ0PR02MB7742.namprd02.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(39860400002)(346002)(376002)(136003)(366004)(396003)(451199021)(86362001)(33656002)(71200400001)(64756008)(66476007)(54906003)(4326008)(66446008)(66556008)(478600001)(66946007)(76116006)(110136005)(316002)(5660300002)(7696005)(55016003)(2906002)(8936002)(8676002)(83380400001)(52536014)(41300700001)(38070700005)(38100700002)(122000001)(107886003)(6506007)(9686003)(186003)(53546011);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?vbslEP7c8T4X6eBBUq+Np6qO7HY7gYaBlXcbNVtpdfentl8aTO4InCJY36iJ?= =?us-ascii?Q?0tsxCZdtphSIIJIJU59GxkEqKNoMvQa1s8pobRhgaifOkF0Q0ZrGSAgOD+OF?= =?us-ascii?Q?Ux7YYe9C7ePf5phu36Pf3c2q24QxiHi+UDzVWGYN2/vY8UMpbxgQztfkvJQS?= =?us-ascii?Q?2Iy5nLM8U6AeH+1Eaqn53Z06J9/N/OBunNXJkYF4GFTdhMSAN83Tm9P5nrba?= =?us-ascii?Q?Ff+7mjKBwuOb6zn+McetonriyypVTm1tieq0jtS8WXiBiLru1fue9vedYOCT?= =?us-ascii?Q?gT993p+WLsBVxibcG1ADnN8ISrBBr4RWKdajrhx5RMYW+TaqfT9k0blL/NnC?= =?us-ascii?Q?oN4u5N0nABIb/W3e6PAAVHDVRbmunYX6hSVMR7GWZ9TAE0lF6FodSI/R8xSp?= =?us-ascii?Q?WqyGMrob3UfENS3885GBItVOc5+WNE2x8jcteFCzcFjjWsqb0a6Ds2ghLJcm?= =?us-ascii?Q?QC7S0AEmsv8MJHFYrXjnuFhZoKyy52xLZPPe/GZV5lv8Ifcg1mkSk2WDxqdB?= =?us-ascii?Q?bEPoPpSPElzJRgYb2hM/BwP5ti6XgagdBt3vgk4/P9sgdWgLDChBTAz3biMi?= =?us-ascii?Q?fb/RBpfpu+l0a0om2IxeVXe54o9NjdClHwAfVWsaslU9I4F6MMuBgCaOg3gi?= =?us-ascii?Q?vpre77oNXDM9o/69+L0OqDC5Ks9AeSy/dptUOBYtr3IPJByk7X/cTN35Q6Fk?= =?us-ascii?Q?FqdlReLkKDtQKC/Cm7JELVMfhQmrK3olMJHg6ND/W/RuFLy1GxuE74IgzE45?= =?us-ascii?Q?oTE0SHef/cfXmMe9lyqWXErAfMvsJHA1AOn4hvhDf+ekq2q9FBdPiB8lhVVB?= =?us-ascii?Q?Wl532R6/oZAS4EJET/AxlgI/xOVlkcuRa01EPKpvgRWTjPJI39ayvoUaDaqD?= =?us-ascii?Q?BVKPUiiUX8uhWhak5YGFijUj+hTbcKH9awehBtYq3WumnZVCNIl48YpuZZaL?= =?us-ascii?Q?jzMKGe9aRzStr//Ru0Yqq5wzMtABY8RiFFPMBCRJwK8/ZU+0Q9J3LqtoVIhM?= =?us-ascii?Q?uD1cn8ilirJIrbTzJMaAl+kPPhUu+QhpFsDna/FcIGuknteMvckbeN1hb/aK?= =?us-ascii?Q?1rVvHzH3GTi+fRb/NsDsQ+EXJunRL1bklx3Zv2OI2zV7ZHOBi3N06luGUVBJ?= =?us-ascii?Q?OBpNp+YyxqHqQvL7oe9te3BJ2cOXFbwgNgGuIgoFPb27TY03AA4PaGY6NjF2?= =?us-ascii?Q?kFAvdeRCV/SnCHIPjkl6aCAni9ss7gwHa9hHy1Fsy9UAoSLAxT2WNoRJvcH+?= =?us-ascii?Q?1NKPBE8Pt+ORlUtwcxgaRqEgxK0rnUFxJcFGRCAWX/6dIE9q/Z11uYTBHaT5?= =?us-ascii?Q?E1EM4DjmZ4S/7AXCTz8n25trCBhJH8fpEAPKhDdRFgPFtST19efOTiGXb5/t?= =?us-ascii?Q?PdX5bjNqJjSXJ80dqTqa6YnFBJPN3ZwTp3X9grPKW0ZGq6kQLlwqAwyzHP85?= =?us-ascii?Q?Sa+9hdNRkx0r3f8QDXTBKID1Cf0cQCO7Q5CkghKOmBKjqk1A0fuTMO/kWTCc?= =?us-ascii?Q?h7ieTBShcD/1L7rEDZagGYUd5TywS7yC+vUHR80JIU+ZZEktfP8CsxdTThK2?= =?us-ascii?Q?L2E36lGWFJbgXhUNjJw=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: cFnLXd3mwCoS6obsh5Dodw/0cPpLmaXiA4eLBscSejNDqJ3ubVa6tfOVwf6rzEk8NSyg0rhKe+oBpHUg7u/bjLvr6sWMJoq8VzNEhJubGVgS7pJTHLhcfDqKFAQgydJqqXo93Nujz5F0B+SU37euzu/IbEpTYWakO6EnUXT82UU54jw2dZNwpkcVwJUNZZ+nggtRl7bTIgD6DFgEB78EkBrQBAJgM9yDYb7o8Zsr7VRxuWnqCep9zB6lhsc0iBVsvxW11yZAdqE+/9msoWFImeiyjGq4YRE02fNe1iUZ/cDt3WGj8bYU4BVmtNJi3dcN0A6hWRCcn48ZPgNmsqfMkMjVMJPl2YHgM/5RH7eUChZqiVh2QfzwH88FmhScmXpNSn0LeNBcATH2dCMWVysWnCntF9x7SGrghi7K0xSc2a28mCuUxFsaGiRLogReNv/UCWTsHbfYqR1IlyHUvQpDUP8C8qM98XJewtFtU5BulLS/xI3mjWOFYlyH0ppZCA59wIqKt8N44Ba/HU0ReW9SHu6TcjyFgWjy7URNcWUZn/IeKceXLiwCQHrOGFBrJe+oj93Pa4I0l724jE/NZBkiDojjTY575l9cje1dU386m7NVm4S0vuJ1bV+YTPcd6HGkiqZr/Hji/SrAJmobSSKHjzSjJWpm9tZI7JxfXjJfI1se7usNI9qXpeTVkxYXYUz6YJtuKD9cZiHLF/cdaAu8Y4p7X4TCp8nIMVkCWSJJ8ySYg0zpdb/YqrAXnFqdQG6/4jxKIhrbSsQoy7k/aSbhyttZZHkf0zlLfWFJsD1AIo2ieNK0/bm7fSMWqlUO9Q3FMia4m8E9gVY5bgjTu1zazgW5oiUp6KFh8FhvGihKsSv2Cgwg3u3Xr+hSnw9rQgvBu0DopdsHyoD9kbeb8fVABA== X-OriginatorOrg: quicinc.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR02MB7742.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9158a4f3-b49e-4f37-5277-08db61d7d548 X-MS-Exchange-CrossTenant-originalarrivaltime: 31 May 2023 13:06:22.7197 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 98e9ba89-e1a1-4e38-9007-8bdabc25de1d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: M+BKHN9DOwjzx2HV0Pi449bMcdZ8YOdBTz6N4lC7EBOH+Z2ijn1/3/IlprN1ldlyQPreJyao/64MVWX2tyQJ1Ui7QUETOywSFy7YDsTFfzI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR02MB7804 X-Proofpoint-GUID: KwkL_4IZq-oCwTGciZfp8AYIcE3DahLw X-Proofpoint-ORIG-GUID: KwkL_4IZq-oCwTGciZfp8AYIcE3DahLw X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-05-31_08,2023-05-31_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 lowpriorityscore=0 mlxscore=0 priorityscore=1501 malwarescore=0 bulkscore=0 clxscore=1015 adultscore=0 mlxlogscore=999 phishscore=0 suspectscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305310112 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Andersson, Thanks for the review. Kindly find my reply inline below > -----Original Message----- > From: Bjorn Andersson > Sent: Tuesday, May 30, 2023 8:37 PM > To: Mehul Raninga (Temp) (QUIC) > Cc: agross@kernel.org; konrad.dybcio@linaro.org; gregkh@linuxfoundation.o= rg; > jirislaby@kernel.org; linux-arm-msm@vger.kernel.org; linux- > serial@vger.kernel.org; linux-kernel@vger.kernel.org; Viken Dadhaniya (QU= IC) > ; Visweswara Tanuku (QUIC) > ; Vijaya Krishna Nivarthi (Temp) (QUIC) > > Subject: Re: [PATCH] serial: qcom_geni_serial: Setup serial port after De= ep sleep >=20 > WARNING: This email originated from outside of Qualcomm. Please be wary o= f > any links or attachments, and do not enable macros. >=20 > On Tue, May 30, 2023 at 04:45:57PM +0530, Mehul Raninga wrote: > > While exiting deep sleep, serial port loses its configuration hence it > > prints garbage characters on console. >=20 > Presumably it lost its configuration sometime after suspend, rather than = while > resuming the system? I will reword commit message in V2 as below: Serial port lost its configuration sometime after suspend hence it prints g= arbage characters on console after resuming. >=20 > > > > Set serial port configuration while resume from deep sleep. > > >=20 > What happens if you do this unconditionally? pm_suspend_via_firmware returns true indicating system is resuming from dee= psleep. In case we are not resuming from deepsleep, this serial port setup = is not required. >=20 > > Signed-off-by: Mehul Raninga > > --- > > drivers/tty/serial/qcom_geni_serial.c | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff --git a/drivers/tty/serial/qcom_geni_serial.c > > b/drivers/tty/serial/qcom_geni_serial.c > > index 8582479f0211..c04b8fec30ba 100644 > > --- a/drivers/tty/serial/qcom_geni_serial.c > > +++ b/drivers/tty/serial/qcom_geni_serial.c > > @@ -20,6 +20,7 @@ > > #include > > #include > > #include > > +#include > > #include > > #include > > #include > > @@ -1737,6 +1738,8 @@ static int qcom_geni_serial_sys_resume(struct > device *dev) > > if (uart_console(uport)) { > > geni_icc_set_tag(&port->se, QCOM_ICC_TAG_ALWAYS); > > geni_icc_set_bw(&port->se); > > + if (pm_suspend_via_firmware()) >=20 > I'm not familiar with this api, but aren't all our systems implementing f= irmware- > assisted suspend? Not all the platform supports deep sleep hence to differentiate if resume i= s from deep sleep suspend or normal suspend, this api is required. >=20 > Regards, > Bjorn >=20 > > + qcom_geni_serial_port_setup(uport); > > } > > return ret; > > } > > -- > > 2.17.1 > >