Message ID | 20240105-topic-venus_reset-v1-5-981c7a624855@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-19527-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:37c1:b0:101:2151:f287 with SMTP id y1csp989291dyq; Mon, 8 Jan 2024 04:39:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IEXLNn4CqwffuG4AOREbuwovE91wkC7UCXrvopmUumxGGomdT2GGvlLlM+U+2ZWD6dQu0pT X-Received: by 2002:a17:906:6a13:b0:a28:fab0:d89a with SMTP id qw19-20020a1709066a1300b00a28fab0d89amr897408ejc.12.1704717572944; Mon, 08 Jan 2024 04:39:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704717572; cv=none; d=google.com; s=arc-20160816; b=GR/aT/a+j8mg8f3mlZIFS4TzmPpsp08G6UfNhm2w5WpOKOR5cFYrFg8cdnOK3isq8y zN6r//rScNLZ5zBupH/KMJp7Cn1XvHdn2toifM2aal89iGdO0HkmWtZNBf5V1taIspBe rDTgQN244lly1jSdY0dDFJzafuUpY/quqKAlhv9Ztfutf9iRKqeyLhJ/gh1e+QdMjKa7 dCH/bkNifBU+QNA0EFyXztdEUqASTS02OWjj8JlLf+QULFaVg6p5YGu7kAkatVJ4KTUP AUT8CY53oSTY1dVSNdFbwBUvjAHDB/bXebcpFxyuXaJKEaD7HquaDcU+sIgfH8cTK3Hq bGxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=ZvojekarEa25/JgD1GVRTc3l09GZdvUZ3Rwwz29QpBs=; fh=xaSuZj1ajbxHn52v8M2SiBWQNwlImHP6rQYKWo0AWtU=; b=Y02DpRWZgF24LBhmaXQTutoez5UihBxJ1og1Us707NRlizo5Oj6m9H8LJjNxuW5jjv PU+qwpupCJGPXujNqwomArBqwl3Lw8ojwE15fmzyCF83nmCiJZwaLzVXnS00MSQVDzcy KjkgFchao/DVf+NonA0LaAG9vonwSoduo2ze+8tT6UHlD1d78iFdjGRJpB5UxJTrNzMb 1mhTi3AY/EowGo+OCuoHQDtAyGVVEEk103iYHcesjmTmskoFknAZDq3PFXrIRlL7ra17 VE9Issc/BX8WZunLm6dS5PKZZPLxGwyeM0PN2g1+ZmfmnuXQEFvxDWi/placuTVI6UhQ 1GKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QpMMIsN6; spf=pass (google.com: domain of linux-kernel+bounces-19527-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19527-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id x6-20020a170906b08600b00a28b7fc45casi3145997ejy.897.2024.01.08.04.39.32 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 04:39:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19527-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QpMMIsN6; spf=pass (google.com: domain of linux-kernel+bounces-19527-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19527-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 8065D1F22CCA for <ouuuleilei@gmail.com>; Mon, 8 Jan 2024 12:39:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A572053811; Mon, 8 Jan 2024 12:32:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="QpMMIsN6" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7BB2E52F79 for <linux-kernel@vger.kernel.org>; Mon, 8 Jan 2024 12:32:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f48.google.com with SMTP id 4fb4d7f45d1cf-557a318123bso1128955a12.2 for <linux-kernel@vger.kernel.org>; Mon, 08 Jan 2024 04:32:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704717159; x=1705321959; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=ZvojekarEa25/JgD1GVRTc3l09GZdvUZ3Rwwz29QpBs=; b=QpMMIsN6T82nKrTdcaAHT1AKq+0rdshq9sdyyp8Sy+AMbvmAjJCUJ0/XE7wlj07s8h 1EJNHdjGXiNx+7IyVLFXf/Twz+dNSCRT7O55/+MFVB0jK74fM9gclZmLPY2+X45uB1R9 336IXwXvESur0UgC+2RCxdXBhQDqxyjK96JHcKzfhUO/4lPUr43r6lXDgg4npOX7U0qA vATK5Eoi6SBUQh6ExJDcCIu7wjRryGghuJcof3p1DvjrlH2S4h4MP56lnagXuT44IWTO dUnHpeMgr707PhXwgR8A6uOZ/wvO2kDc0DYB5zSYeEXiKEH31Uv++JHo8SCasEyI7iQ+ Sdmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704717159; x=1705321959; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZvojekarEa25/JgD1GVRTc3l09GZdvUZ3Rwwz29QpBs=; b=qYhXfUqLjZCT/0YEg9OVn0pHfoqiUAOt6v6nWTOLZBsqFvZ6XVCqat3Pw/ldM4e2G/ gNmI/a3cWlVY6FhcT7MgMxzYzO3cqCzKDbOmwk3uC5XF7WiZy2LCvb/4nd9tM9n20z0H 7p1WAOHmo62IqxZPKfBaUNsrMUEikEGQLsCTbMNwxJeUXiC1OuiPuUdcZmGuDW1B67Qd +TeVM5L9gmrTLZIq83Cx5HQzpgzUwli99HjC3Ai3PMcrgkW9FbKLz+PY9Y3yJFk+JoEC e46BMkUu0llGNkg54O8KNrm40I2SuAAqJuL1Y6LQcFrQBrutyM5yfTwCypI+N6avqdsQ Aebw== X-Gm-Message-State: AOJu0Yw/gzpZ9PkJugNblofEtAFMiqnGNdct2ym0MWwukucGsT1ORih6 I0orO8l6KumCcTMYWj0RVntUTl86+MPOAnNv/QPsNexsI0g= X-Received: by 2002:a17:907:701:b0:a29:a65c:4f7f with SMTP id xb1-20020a170907070100b00a29a65c4f7fmr874487ejb.63.1704717159539; Mon, 08 Jan 2024 04:32:39 -0800 (PST) Received: from [10.167.154.1] (178235179081.dynamic-4-waw-k-1-3-0.vectranet.pl. [178.235.179.81]) by smtp.gmail.com with ESMTPSA id bs18-20020a170906d1d200b00a2808ee8ab1sm3892978ejb.150.2024.01.08.04.32.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 04:32:39 -0800 (PST) From: Konrad Dybcio <konrad.dybcio@linaro.org> Date: Mon, 08 Jan 2024 13:32:22 +0100 Subject: [PATCH 05/18] clk: qcom: gcc-sc8180x: Set delay for Venus CLK resets Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240105-topic-venus_reset-v1-5-981c7a624855@linaro.org> References: <20240105-topic-venus_reset-v1-0-981c7a624855@linaro.org> In-Reply-To: <20240105-topic-venus_reset-v1-0-981c7a624855@linaro.org> To: Bjorn Andersson <andersson@kernel.org>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, Philipp Zabel <p.zabel@pengutronix.de> Cc: Marijn Suijten <marijn.suijten@somainline.org>, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Bryan O'Donoghue <bryan.odonoghue@linaro.org>, Dikshita Agarwal <quic_dikshita@quicinc.com>, Vikash Garodia <quic_vgarodia@quicinc.com>, Konrad Dybcio <konrad.dybcio@linaro.org>, Manivannan Sadhasivam <mani@kernel.org> X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1704717148; l=1059; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=Hx4TRbgTScKyTQxQMgBp7A3R4IUgEVBr0AkzhL3Atn0=; b=bZ3z/L1OPEYXX/zph4gQh3yJaeAlA4Yi/IQb2KOqQafVyejTli11awJnLnReDOeuv6h8Bo/gd GHwJ13oO3LUA7nNF2VizjUJa8h9v7txjaPhTULJi4eVKSk0XrDrXfOw X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787525933576622791 X-GMAIL-MSGID: 1787525933576622791 |
Series |
Qualcomm GCC/VIDEOCC reset overhaul for Venus
|
|
Commit Message
Konrad Dybcio
Jan. 8, 2024, 12:32 p.m. UTC
Some Venus resets may require more time when toggling. Describe that.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
drivers/clk/qcom/gcc-sc8180x.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/clk/qcom/gcc-sc8180x.c b/drivers/clk/qcom/gcc-sc8180x.c index ae2147381559..1351c52bcacb 100644 --- a/drivers/clk/qcom/gcc-sc8180x.c +++ b/drivers/clk/qcom/gcc-sc8180x.c @@ -4528,9 +4528,9 @@ static const struct qcom_reset_map gcc_sc8180x_resets[] = { [GCC_USB30_PRIM_BCR] = { 0xf000 }, [GCC_USB30_SEC_BCR] = { 0x10000 }, [GCC_USB_PHY_CFG_AHB2PHY_BCR] = { 0x6a000 }, - [GCC_VIDEO_AXIC_CLK_BCR] = { 0xb02c, 2 }, - [GCC_VIDEO_AXI0_CLK_BCR] = { 0xb024, 2 }, - [GCC_VIDEO_AXI1_CLK_BCR] = { 0xb028, 2 }, + [GCC_VIDEO_AXIC_CLK_BCR] = { .reg = 0xb02c, .bit = 2, .udelay = 150 }, + [GCC_VIDEO_AXI0_CLK_BCR] = { .reg = 0xb024, .bit = 2, .udelay = 150 }, + [GCC_VIDEO_AXI1_CLK_BCR] = { .reg = 0xb028, .bit = 2, .udelay = 150 }, }; static struct gdsc *gcc_sc8180x_gdscs[] = {