Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2714356rwa; Mon, 22 Aug 2022 12:18:17 -0700 (PDT) X-Google-Smtp-Source: AA6agR4kpPhaU3Tkg2c8EP9FMh0hskTTcQQARvIYFULY5hCUlC7H4hfyRNaAGnCvg6eBLW3Yw9JQ X-Received: by 2002:a17:90a:ad41:b0:1fb:2593:6811 with SMTP id w1-20020a17090aad4100b001fb25936811mr8326122pjv.39.1661195897022; Mon, 22 Aug 2022 12:18:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661195897; cv=none; d=google.com; s=arc-20160816; b=WaB5blPCg4t82T4RIa6LvDOYiyxca4ZydNDGIm0kCZqCe+WMQ/40xN4dIWp1e+7Dnu +D02L9l4x0OBCumyRq/WTqB3WBukRId/wwmuPubIQoE2TBirrr4imKsFqW3fpDsUqSwm 2VffTl7YQ9t+rBE3VP8A74GE7CoZ9N0jF4Wv/ju1f4hUxCk5BGgCpqo+tn7ZWUUUhq6q RRNxozVMjjdqAkQIqjNm382U615KidhXpe0r6vBrG6Fd8hB3lEbdGTOrgysPzXCoeQSY ECNjfnp+S4pjpZvNfjhZWmbeMGJyONXqvv+39Y4xVA+j9xtBV444NCuFYCBYFd8JGIjR IR7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=GA3c/GZjUQaaitae2gW9tKtCQv1+a7TEeayxV3K4Hgw=; b=rPnozmfIeKq6N+kxEXNiZ+0F1qBECZOUHFm+YmgvF+5mXo5BMQg/DBJ56EAMfSbvAn Aw8yXNpzdVGEWHmaf/hbIid+OvP8mCelMRl52olBcnnwdjBkXvyvpNSyuNx9Z+Ald5zs xs/F5O+WRrt9cmkE5+d0/XAA3TNMjJI+dFcy/lYbz0OZ5n7yEmqAhv42CJ8FsduMBswL ciS6CVfI2aUF0tG4vW3nNdSBqWpsXIfHSYVeR4kSGujblc3DaldsTH/3QqCssvxwfsQV FoqOu6DbMZK4TVuQPLbgfrvwKyuGv0nHm89Tvz1k/D8pIKOeytg5+VU8c6FESXB3SY1A T2cA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=nohrL7qg; 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=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a64-20020a639043000000b004129a8bd432si10989274pge.622.2022.08.22.12.18.06; Mon, 22 Aug 2022 12:18:17 -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=@chromium.org header.s=google header.b=nohrL7qg; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236721AbiHVSyb (ORCPT + 99 others); Mon, 22 Aug 2022 14:54:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237897AbiHVSyK (ORCPT ); Mon, 22 Aug 2022 14:54:10 -0400 Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D34B82601 for ; Mon, 22 Aug 2022 11:53:18 -0700 (PDT) Received: by mail-pl1-x631.google.com with SMTP id u22so10728426plq.12 for ; Mon, 22 Aug 2022 11:53:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=GA3c/GZjUQaaitae2gW9tKtCQv1+a7TEeayxV3K4Hgw=; b=nohrL7qgMauyN3H6qU/Pcb9Zj1rjUJ5KPJQDupWnvb5otZfv18t9cnG5SlPjIOzgyz jXSeYoyn48NLHmSHqWAC3+mvaC5vuEB5pp37DTBXtnfhaTAsa3JOhzNaKd0OP53npl9P 4CBgE6nr9Rxbq7XHZ/Vf77HEDBIaCpRhCYoqE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=GA3c/GZjUQaaitae2gW9tKtCQv1+a7TEeayxV3K4Hgw=; b=pGEaZRa+sXs1VCLv953VjR21d7q8Hq9nYZqalEsJ8fO3ri0r6cT2HOTsssRprX59NB wRfP6PSObqUFaQGgj+JcEuNcYJ4LYBmfDfCrTkVPw7iZf+nrVxraiAy4gxUe+viVwZz7 M0eHVGuAW0b16hxRpo6AkBl8ey0nOUc0rWJiN2Nh0KrZL99lhX09im2Kawwqa7ixBkm+ qh4sXZkfwC9WuyKWfwe328lWItczUd0ym7w5BOZTvPF70VWjbX7IDo8R/ZSix9qdNn9S BTKIcDUGTxLhYsLyNf85gKQdKFKYh91BLlGi28NIJu7E11NzXerKsPm04J4JJ6DNyJLP djCw== X-Gm-Message-State: ACgBeo24oEhWCbssw0Gj/72DDSn181k8iK5KnhA430/R7XJ5eEknysas x6owcMsqfdbkjc9fxuCbEUuA1Q== X-Received: by 2002:a17:903:24e:b0:172:6c9d:14e0 with SMTP id j14-20020a170903024e00b001726c9d14e0mr21534899plh.84.1661194398373; Mon, 22 Aug 2022 11:53:18 -0700 (PDT) Received: from localhost ([2620:15c:11a:202:1969:d650:d765:53ef]) by smtp.gmail.com with UTF8SMTPSA id f184-20020a6238c1000000b00536b3fe1300sm2244190pfa.13.2022.08.22.11.53.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 Aug 2022 11:53:18 -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 2/2] clk: qcom: gcc-sc7280: Keep USB GDSC power domains on when USB wakeup is enabled Date: Mon, 22 Aug 2022 11:53:11 -0700 Message-Id: <20220822115246.2.If09027f73daa6e1ed95f5eab02326b543c67132e@changeid> X-Mailer: git-send-email 2.37.1.595.g718a3a8f04-goog In-Reply-To: <20220822115246.1.I45235b7c40997bc2abf813e4722b4dcdd6aecf6b@changeid> References: <20220822115246.1.I45235b7c40997bc2abf813e4722b4dcdd6aecf6b@changeid> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, 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=unavailable 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 Set GENPD_FLAG_ACTIVE_WAKEUP for the USB GDSC power domains of SC7280. Suggested-by: Johan Hovold Signed-off-by: Matthias Kaehlcke --- drivers/clk/qcom/gcc-sc7280.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/qcom/gcc-sc7280.c b/drivers/clk/qcom/gcc-sc7280.c index 7ff64d4d5920..4ff855269467 100644 --- a/drivers/clk/qcom/gcc-sc7280.c +++ b/drivers/clk/qcom/gcc-sc7280.c @@ -3125,6 +3125,7 @@ static struct gdsc gcc_usb30_prim_gdsc = { .gdscr = 0xf004, .pd = { .name = "gcc_usb30_prim_gdsc", + .flags = GENPD_FLAG_ACTIVE_WAKEUP, }, .pwrsts = PWRSTS_OFF_ON, .flags = VOTABLE, @@ -3134,6 +3135,7 @@ static struct gdsc gcc_usb30_sec_gdsc = { .gdscr = 0x9e004, .pd = { .name = "gcc_usb30_sec_gdsc", + .flags = GENPD_FLAG_ACTIVE_WAKEUP, }, .pwrsts = PWRSTS_OFF_ON, .flags = VOTABLE, -- 2.37.1.595.g718a3a8f04-goog