Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp522810rwe; Thu, 1 Sep 2022 03:45:23 -0700 (PDT) X-Google-Smtp-Source: AA6agR7R100iitcG40lCPvKCaBIFTD38nvi6KJVOdNIg1ivqurngrZgHCE88cFBatzN2OdRIriKk X-Received: by 2002:a17:906:6a0a:b0:741:55b6:83ef with SMTP id qw10-20020a1709066a0a00b0074155b683efmr16188664ejc.210.1662029123095; Thu, 01 Sep 2022 03:45:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662029123; cv=none; d=google.com; s=arc-20160816; b=dAVs3L8q6xRKacAsHkKOfttrHibr2PXfg+9iR6rI7kCchIuapFp8aZbFcfBAdZ3X8t Eg8u2SYqyhCZgc971QOT1417yOPsFQygCNzv/46kDYmXol2uMvUzH182C2D/12n7Mo0s PEVVRbT8f4SHtBei976Vw2P7IGFuAvIPQBnIo6G5WrTApvxqOxgMapuosJKthrHdE27u ZkXwKtGC55AdnTHJZyXWvGVIcYCK0rjOEZpvApGhBVhjiFH8W/WgY5sVRamLs4ptpTjX /jXv6UPQRzeEKVglRjiKbD1mj1jK3j2T77O8fhnDq6ovDz3IW9kqhF5G0s1yrnhQvK+a Furg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=25BsbImCtNnWO9lR4e02OF0eGNR2JnOck8+12wHkKlk=; b=f2pvm4J21AuXjP2tZw94JMDG63brIEsd2cAiFmC4j54YV9/7Ibxy6ue+PWpcw2POCI Hr+ya9ARkfnWWcXhKWB1RTcRZPnBJiZW6tcNeK5qONaYW7IrffeFCHGCl7t4z2llaEQD 1ZBvkze17wnNzW8LddbL//r9Fuxcj3tBjA4nn5XXrjz7a582d04tdM/vnlWqgeHhTmTE P7IOem9CyEHH3nNQy9dwNEI/jFdWy4jcmWNrcx/F5T0zhYp0nfso1oGVTtBVKHjcgnN1 FM2uxxSf9JOXi9QbM4VEZ4B4c9LO+dDWHzXh1hovd0hV78i2xg+qFz8Mfk/mF2gHxL0Z JczQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=e0geCy1E; 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 pk4-20020a170906d7a400b0072b0303a11asi11255019ejb.955.2022.09.01.03.44.57; Thu, 01 Sep 2022 03:45:23 -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=e0geCy1E; 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 S233718AbiIAKTP (ORCPT + 99 others); Thu, 1 Sep 2022 06:19:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233511AbiIAKTK (ORCPT ); Thu, 1 Sep 2022 06:19:10 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4AD871341AC; Thu, 1 Sep 2022 03:19:06 -0700 (PDT) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 2819qrP6030547; Thu, 1 Sep 2022 10:19:00 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=qcppdkim1; bh=25BsbImCtNnWO9lR4e02OF0eGNR2JnOck8+12wHkKlk=; b=e0geCy1Eec5wsb7aVWfCypewTi4rs0roUwo8an1g7ZtzzbMQvM9BCasN/9bzFTGtk2AK MetAXzny4ncJXJuO5UHHtX9Ffx8PY2N75JH4WGpYyhhJ8LKP1GPIzD8UpTxlWZIPltNw txRSl/xu9m94Aiw3Uks1c5qgrWDteKrxgUIQEGU2JBvgncF25hu8vWlL7xePRnKxWTkK HFr9KaE2TJoaFlSk8O8Q0KftDve1eTJ89v9eluVEY+bNZ7TgNXR9srcGqjWAdeVKCMJN Jp4b3qilMby7A5Wrs0SdM99d6ZqQ5H3+8sN5EGeUmGMgdT2NSj+bhOYr6pXVCdQJznr0 DA== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ja79kkkbx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 01 Sep 2022 10:19:00 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 281AIxOJ021822 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 1 Sep 2022 10:18:59 GMT Received: from blr-ubuntu-173.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.29; Thu, 1 Sep 2022 03:18:55 -0700 From: Rajendra Nayak To: , , , , , CC: , , , , , , "Rajendra Nayak" Subject: [PATCH 2/3] clk: qcom: gcc-sc7180: Update the .pwrsts for usb gdsc Date: Thu, 1 Sep 2022 15:47:55 +0530 Message-ID: <20220901101756.28164-2-quic_rjendra@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220901101756.28164-1-quic_rjendra@quicinc.com> References: <20220901101756.28164-1-quic_rjendra@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: 9shRz_gaalxWQ0BXgFljjMY3K8JrzI-F X-Proofpoint-ORIG-GUID: 9shRz_gaalxWQ0BXgFljjMY3K8JrzI-F X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-09-01_06,2022-08-31_03,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 clxscore=1015 adultscore=0 mlxscore=0 malwarescore=0 suspectscore=0 impostorscore=0 priorityscore=1501 phishscore=0 mlxlogscore=816 bulkscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2209010046 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 USB on sc7180 cannot support wakeups from low power states if the GDSC is turned OFF. Update the .pwrsts for usb GDSC so it only transitions to RET in low power. Signed-off-by: Rajendra Nayak --- drivers/clk/qcom/gcc-sc7180.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/qcom/gcc-sc7180.c b/drivers/clk/qcom/gcc-sc7180.c index c2ea09945c47..2d3980251e78 100644 --- a/drivers/clk/qcom/gcc-sc7180.c +++ b/drivers/clk/qcom/gcc-sc7180.c @@ -2224,7 +2224,7 @@ static struct gdsc usb30_prim_gdsc = { .pd = { .name = "usb30_prim_gdsc", }, - .pwrsts = PWRSTS_OFF_ON, + .pwrsts = PWRSTS_RET_ON, }; static struct gdsc hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc = { -- 2.17.1