From patchwork Mon Aug 22 18:53:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Kaehlcke X-Patchwork-Id: 12951181 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 34F5AC32774 for ; Mon, 22 Aug 2022 18:54:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237862AbiHVSy1 (ORCPT ); Mon, 22 Aug 2022 14:54:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237855AbiHVSyJ (ORCPT ); Mon, 22 Aug 2022 14:54:09 -0400 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1749910F0 for ; Mon, 22 Aug 2022 11:53:17 -0700 (PDT) Received: by mail-pl1-x629.google.com with SMTP id d10so10743896plr.6 for ; Mon, 22 Aug 2022 11:53:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=DI8SqYRuhD4dfW8aoV8U0vpm1zmv7loV77zhZIVRKgs=; b=BSUYK+hPwFo2UUcXcug7bFeBJpcLeuhIBk8GkyZ32AiN0J0T9kt6Q53Zs4ptCr4E6y bz6H+1Gc+O5mv45FGya+vh5/XOEI5u7wF35jDy2PLPheh15w/zEdmbDP3Ii2FfzE+Aqh GmDqGBJX+jF/Bp2i2I0MpkmGRnQQwPD7fWQ6U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=DI8SqYRuhD4dfW8aoV8U0vpm1zmv7loV77zhZIVRKgs=; b=OSb+g2uSojVw2PmVTiYIJ1vyEwWIG1JkGEksbfau2Hoju0V9aOIGiW5Y+wq5tGQQx6 bkTvAieFaLbnfU48QO1JDTRYIBPztzwNDx4oi8VK6sMTrOkWMfK0Cl4mhlUUSBm1MmBl 3i7kCcEDJKJn2I7E+xdSmmkgxVaCWwF6Nzc7soKZuGBcM+Lx1JP6KflLV/ncDeaFof9I RwCOEvBdjLGN2I3w+2mcVM+XNSdRAncpxGZ+9SAnT7XV13sb2MXfyjXSosOuPTJeshn4 Hy9Vd7f7u0zr+veSZ5uvIp4bKu1ICvNoclYNTd/L8u7JuOBEW8H0Jxf4wfIAFHTa3plp gD3Q== X-Gm-Message-State: ACgBeo383/lTrBgd/SlEPIP3AAeuOG81L9qJ7N58qSjrOo9n1xgblfmE vvuR6Ar25Wzay4eAfS/bAK6OwA== X-Google-Smtp-Source: AA6agR63og+ynhTTJk+v2XpcgBYdrLznSAlhS1NHVaZUDxVTOTd5+Acqdc2MwzSAVasoolC9Vrq6hg== X-Received: by 2002:a17:902:f68f:b0:172:ff8a:90d4 with SMTP id l15-20020a170902f68f00b00172ff8a90d4mr207162plg.2.1661194396612; Mon, 22 Aug 2022 11:53:16 -0700 (PDT) Received: from localhost ([2620:15c:11a:202:1969:d650:d765:53ef]) by smtp.gmail.com with UTF8SMTPSA id 127-20020a621685000000b0052d6ad246a4sm9275058pfw.144.2022.08.22.11.53.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 Aug 2022 11:53:16 -0700 (PDT) From: Matthias Kaehlcke To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd Cc: linux-arm-msm@vger.kernel.org, Johan Hovold , Douglas Anderson , Krishna Kurapati , linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Matthias Kaehlcke , Bjorn Andersson Subject: [PATCH 1/2] clk: qcom: gcc-sc7180: Keep USB GDSC power domain on when USB wakeup is enabled Date: Mon, 22 Aug 2022 11:53:10 -0700 Message-Id: <20220822115246.1.I45235b7c40997bc2abf813e4722b4dcdd6aecf6b@changeid> X-Mailer: git-send-email 2.37.1.595.g718a3a8f04-goog MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Set GENPD_FLAG_ACTIVE_WAKEUP for the USB GDSC power domain of SC7180. Signed-off-by: Matthias Kaehlcke --- drivers/clk/qcom/gcc-sc7180.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/qcom/gcc-sc7180.c b/drivers/clk/qcom/gcc-sc7180.c index c2ea09945c47..2b6b66d01833 100644 --- a/drivers/clk/qcom/gcc-sc7180.c +++ b/drivers/clk/qcom/gcc-sc7180.c @@ -2223,6 +2223,7 @@ static struct gdsc usb30_prim_gdsc = { .gdscr = 0x0f004, .pd = { .name = "usb30_prim_gdsc", + .flags = GENPD_FLAG_ACTIVE_WAKEUP, }, .pwrsts = PWRSTS_OFF_ON, };