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: 12951179 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 0ABD1C28D13 for ; Mon, 22 Aug 2022 18:54:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237848AbiHVSy1 (ORCPT ); Mon, 22 Aug 2022 14:54:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237896AbiHVSyI (ORCPT ); Mon, 22 Aug 2022 14:54:08 -0400 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1675210ED for ; Mon, 22 Aug 2022 11:53:17 -0700 (PDT) Received: by mail-pl1-x62d.google.com with SMTP id x23so10739411pll.7 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=XidXgZTQzuWfw79Wkl1ueH890IbqDoimzM6HCqwLly2Hns9c+paOi53ebRO1OvQdVV vU+jitLa14UfE4TIH0pVNVjVjix1Ouj5xMtdgRmkRF9nNTBLiLvP6+la08r0WVJRnXoE bmE92WeTuzgjgg/vzDLT6l8Vv9onDWdYTHEe/nrFC+e7Cqa0M7PVkq04N6Zdx7uIvDRL H4/QETSv3FxbuUqhH0YQQ3TgJYyHWWVvefTKYiD770nV90yL/By07wX6YS1O80kbtxP7 fburf49AHyrrg6vyp0m985wUP3PM6ln4i45x+9zlPS8GPVG64eGTlHmTS4BlZFN2ikp5 AgIg== X-Gm-Message-State: ACgBeo2t31yj/YeHl2miwEgrUHifvEBTM+XZhqUrTDVHENIy0qCYvbMH UhP1W6Q2A3MHH6h0uu6MsqiQHA== 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-arm-msm@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, };