Message ID | 20240105-topic-venus_reset-v1-17-981c7a624855@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-19539-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:37c1:b0:101:2151:f287 with SMTP id y1csp991039dyq; Mon, 8 Jan 2024 04:42:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IG6s6lPcIPl58bXcUs7lA5eCt0hXFpfnjDW1yprWJLam+keOwE+FpsLBe3bk5FeJGuFXT2T X-Received: by 2002:aa7:d70e:0:b0:54c:b88a:7a69 with SMTP id t14-20020aa7d70e000000b0054cb88a7a69mr2092973edq.73.1704717774369; Mon, 08 Jan 2024 04:42:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704717774; cv=none; d=google.com; s=arc-20160816; b=OMzIIoee5jWixPszlSiU+AxbiZL2LGxBTGDb06SDWQGUlmGs8YVlutmnMj/ksDFxpo cPF2VzLhO9K/xuqEYQVvRj2jGwf1DRx0pXvjvPhiajYK220+CRl7yeM6fjEanIFsEaID Nn7p28y3LucNShvXVqbZNEK+w1BmG0a9k4QQSvsaGd6JrGbfavPq7L8KcZTdHS4g30mJ YR5LLrYVdNR4HP7cB93NsRgEH2Yodi81pXKgH2OREczre/48GCMsv/cn9aA5iaCcgQ+F OWz5EwLX2yDqhNlkKyzTwGnPyxh5uLjZYnD5e/XjrXr21s3O9OjX/+XW4G59nRudPj2A pNVw== 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=SK26HotwUpgahbJ9EX5x/C3bT14krI/fYq92tviseyE=; fh=xaSuZj1ajbxHn52v8M2SiBWQNwlImHP6rQYKWo0AWtU=; b=JnK6Pjfp2GcLbXDoB6ImQzHxmhx4D0lT9lMcz+NtBZSS7V45LT4bXBAfzLx6kpiHAR YTlqSeS0Ay4H3clGjd3nAS9/F5FlC65JrW6X80Jmnm91bGnD54i/1LYHnh8fiaHNE0f8 dgARO+KUbyuPpnA1JxPGD7vk9ny9tFZCVqLn/qK8lw8FrtUUsyW3ead29eZEQyAz660A HVneyJdiOPWMd8swvjvvRPBNuJnJMeC5eIOmmkCjKobja/g8l25tTtnN9hdKhf8mQ887 MJQG+y9YL0WmSMUfmxIt6TbwfGmo9oaI53zrRRX6PxtX6Px8InKZpRlIWRqRmZtrtNby LNxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WZvfrBL6; spf=pass (google.com: domain of linux-kernel+bounces-19539-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19539-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. [147.75.80.249]) by mx.google.com with ESMTPS id w9-20020a05640234c900b00553522e101dsi3222083edc.313.2024.01.08.04.42.54 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 04:42:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19539-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WZvfrBL6; spf=pass (google.com: domain of linux-kernel+bounces-19539-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19539-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 011F31F22D77 for <ouuuleilei@gmail.com>; Mon, 8 Jan 2024 12:42:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F0B5355C19; Mon, 8 Jan 2024 12:33:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="WZvfrBL6" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) (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 E827B5578F for <linux-kernel@vger.kernel.org>; Mon, 8 Jan 2024 12:33:02 +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-f44.google.com with SMTP id 4fb4d7f45d1cf-55642663ac4so1886904a12.1 for <linux-kernel@vger.kernel.org>; Mon, 08 Jan 2024 04:33:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704717181; x=1705321981; 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=SK26HotwUpgahbJ9EX5x/C3bT14krI/fYq92tviseyE=; b=WZvfrBL6Ae9YuubkMjUU6Wv09BGnSh93kpR3MR58rxNpwcB+JUe/GPQJ7crZRfjqtX Vjj49pVg8QWqG05DAI4V8/x1bys8v8+e4vd+2Jeu7PViSazrbXIfHzcbSzZd9MwtE6i5 UwbWy51tUVyNmjTO1qA2ru58U2VOYeJkZozOzEAO+kgTAWX9OVYxN7CloYcdeGeMjyAn JGsDdwiCiyqFxF7ypU/ady+hvLTFxGW991yIpDkar8YNT/EObVFGjzGhqHPbB0kg1d74 UNe4HL+xwIpIrJ+v2xUc6rMDtWq+NMp4F3+vkd5gg7yyXfA0y09a9TDTGM59VnIPmIWQ HY+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704717181; x=1705321981; 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=SK26HotwUpgahbJ9EX5x/C3bT14krI/fYq92tviseyE=; b=mDpm3N9I8USrXUpKwHPowNlsCFADEn0o2sfvRWS7UGkKHBzwzl7QXVhpuxou5fSVDl rsN8MkDazcDedXTr/2oqel/W0c4JZfgqZ9yvxYkEpJoicPoEr+1NryNVwKviQUCCLnQM cazu6sqN8AeAqKhj1SRgTPEpMn5a3laHJRwNa0O+e/pxEbER2LGKNlCJGCvzrzm47aFE 7ZWbWL5yYeUcw+bGJAylGQLU+I/ETBChznfBhrDfE+nfehzpOqxSSRSf1lGh/bPpUqeZ mTqJm8h3MiLuenr8I7ypilltwQkvOUdrivj+3Xsjyv6JP847h1/LNH9mxJ+RRUKIs2mU DrRw== X-Gm-Message-State: AOJu0YztrJt+sI63E7n7+CsP7tZox7tkrBAuG4MGZN4N/pB6hbpU5GFD V4nMYQjfrVen+FgyCgPfqlZElUO9HDz1WECcbah6IkoWe5Q= X-Received: by 2002:a17:906:c00c:b0:a28:27cd:966f with SMTP id e12-20020a170906c00c00b00a2827cd966fmr1365932ejz.66.1704717181156; Mon, 08 Jan 2024 04:33:01 -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.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 04:33:00 -0800 (PST) From: Konrad Dybcio <konrad.dybcio@linaro.org> Date: Mon, 08 Jan 2024 13:32:34 +0100 Subject: [PATCH 17/18] clk: qcom: videocc-sm8450: 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-17-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=986; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=feC9+GWvv8xnYn7InxxSn/5ZFRq5Aoh8gmZgqG+eDBw=; b=OPV3N3uzB/vrUgOyJfIOwt2UGKoUYpVGHHCkKZ+OpReIfDnf163UoQ4KTPgw/s9RjIpwPFhU4 uO7lSiA4A73CXaZcJNFOfcwIDYDGpzGxS44UDPUUEk8dTeZf0putT0I X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787526145293873420 X-GMAIL-MSGID: 1787526145293873420 |
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/videocc-sm8450.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/clk/qcom/videocc-sm8450.c b/drivers/clk/qcom/videocc-sm8450.c index 16a61146e619..67ca302a0737 100644 --- a/drivers/clk/qcom/videocc-sm8450.c +++ b/drivers/clk/qcom/videocc-sm8450.c @@ -373,8 +373,8 @@ static const struct qcom_reset_map video_cc_sm8450_resets[] = { [CVP_VIDEO_CC_MVS0C_BCR] = { 0x8048 }, [CVP_VIDEO_CC_MVS1_BCR] = { 0x80bc }, [CVP_VIDEO_CC_MVS1C_BCR] = { 0x8070 }, - [VIDEO_CC_MVS0C_CLK_ARES] = { 0x8064, 2 }, - [VIDEO_CC_MVS1C_CLK_ARES] = { 0x808c, 2 }, + [VIDEO_CC_MVS0C_CLK_ARES] = { .reg = 0x8064, .bit = 2, .udelay = 1000 }, + [VIDEO_CC_MVS1C_CLK_ARES] = { .reg = 0x808c, .bit = 2, .udelay = 1000 }, }; static const struct regmap_config video_cc_sm8450_regmap_config = {