Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3463025pxv; Mon, 28 Jun 2021 05:12:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyR/KKZbM5/xOp+EUHkSRcq85/ZT+ZU0PP6X7DM7pEQdMF2/7zZpDJQH2VlYAEOQQBk0DLF X-Received: by 2002:a17:906:8688:: with SMTP id g8mr24364750ejx.24.1624882370557; Mon, 28 Jun 2021 05:12:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624882370; cv=none; d=google.com; s=arc-20160816; b=d5F0SIheOLsR7dWb6HOMFmsb6aocFvdR4v46EwgKiz2tPbIy6wv/ZEXUKwYJc0+Sy9 WzPnaX1fJZ3WA/uc9BSXwZ9mnc/vCEujjrQptBg5BJFixgQ/zbr5dFaBLsW3QUNNTtOt qDBc4aEDYyd2cHuvXYWiY3KTNZbwgp5coUYGqAELMJbQ6PqWS6umcJQFYtXfTnCieIFe 74//Flc84NZpYHC3VZVw3ID48BLdj//JNfzpLg6SnTBgRBQwl6uUpW3u3zPWwXOQ8qls omitbCp5UhWY2QKRH11TtLGUPncRYvZxBBMbPXntYM6oXzaO5AHCSM/4VW9kanoTi8Xc vRJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=Hexn9RaPdRN5hThXg0EWK0DqyncCOTrVcl8n8x9rmxY=; b=v1/GS7dXZfhLaD0FbPJDKiIDkr9YStKd5+J8C2pYyHLiCpKeBksdo52zN6NywLh0Kw HtaJbF352euSSXrDpBhL6Qkl0WhePY1srhXFrTNJ6ZPzNeM1fSdYcOzmnxe/OOdrmtGe Kn5IvQO9IM6eEwalCeyf5I4U6jCfNJ5bUnvw6YyKs0MXyNgcEj9T1Faku8H3temPSkMw kDxNvZhaYdXLB7Z6l+/p85zxiUB9p76dtvuGUllyTJxruDjP6oLHe+yMGtZXhABxjLZP eRTrmn9pPFC+rqhnz3GBGumFi1V4TXWHW7IQ8mq3dOAjLRXwTl37NBc4mpUPHRySIJa1 nPPQ== 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 yl23si13285030ejb.261.2021.06.28.05.12.26; Mon, 28 Jun 2021 05:12:50 -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 S233045AbhF1MLx (ORCPT + 99 others); Mon, 28 Jun 2021 08:11:53 -0400 Received: from alexa-out.qualcomm.com ([129.46.98.28]:8336 "EHLO alexa-out.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232950AbhF1ML0 (ORCPT ); Mon, 28 Jun 2021 08:11:26 -0400 Received: from ironmsg09-lv.qualcomm.com ([10.47.202.153]) by alexa-out.qualcomm.com with ESMTP; 28 Jun 2021 05:09:01 -0700 X-QCInternal: smtphost Received: from ironmsg02-blr.qualcomm.com ([10.86.208.131]) by ironmsg09-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 28 Jun 2021 05:08:59 -0700 X-QCInternal: smtphost Received: from c-sanm-linux.qualcomm.com ([10.206.25.31]) by ironmsg02-blr.qualcomm.com with ESMTP; 28 Jun 2021 17:38:26 +0530 Received: by c-sanm-linux.qualcomm.com (Postfix, from userid 2343233) id C00313A48; Mon, 28 Jun 2021 17:38:24 +0530 (IST) From: Sandeep Maheswaram To: Andy Gross , Bjorn Andersson , Greg Kroah-Hartman , Felipe Balbi , Stephen Boyd , Doug Anderson , Matthias Kaehlcke , Mathias Nyman Cc: linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Pratham Pratap , Sandeep Maheswaram Subject: [PATCH v8 1/6] usb: dwc3: core: Add HS phy mode variable and phy poweroff flag Date: Mon, 28 Jun 2021 17:38:12 +0530 Message-Id: <1624882097-23265-2-git-send-email-sanm@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1624882097-23265-1-git-send-email-sanm@codeaurora.org> References: <1624882097-23265-1-git-send-email-sanm@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add variables in dwc3 structure to check HS phy mode which is used to configure interrupts and phy poweroff flag to check if we can powerdown the phy during system suspend. Signed-off-by: Sandeep Maheswaram --- drivers/usb/dwc3/core.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h index dccdf13..ce274d8 100644 --- a/drivers/usb/dwc3/core.h +++ b/drivers/usb/dwc3/core.h @@ -1123,6 +1123,9 @@ struct dwc3 { bool phys_ready; + unsigned int hs_phy_mode; + bool phy_power_off; + struct ulpi *ulpi; bool ulpi_ready; -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation