Message ID | 20240105-topic-venus_reset-v1-18-981c7a624855@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-19540-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:37c1:b0:101:2151:f287 with SMTP id y1csp991118dyq; Mon, 8 Jan 2024 04:43:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IHEm2U4mRZdxfzotDnq93LYHqffysLix6Wc0x5bLTMUkQ13aVVKH6xyJZsxvIiFOcP+4epE X-Received: by 2002:a05:622a:510:b0:428:1dd3:9b0b with SMTP id l16-20020a05622a051000b004281dd39b0bmr4702116qtx.125.1704717784808; Mon, 08 Jan 2024 04:43:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704717784; cv=none; d=google.com; s=arc-20160816; b=ZUcsHoZ7It0NyzyfA5tPr5eoXFRBLQCZwEhzlPXZXVE4gQLaNmmG/f5KtZL69UqrXC JWsGOLqeixeC5IW5jSz56Itu3WO7OzvuAuc4S7wNUMQ0H13CACzbgaEYlfsOFyR9OB32 Deh63xW6ca+N3jqcJnlrt5tRwwuBajId0NT5YlHxbLxY7T7WuOIkuA8oEQqMrpM+dg0I YVSbBThiSW3VsL4BPcn5lWWebFEV/38P9uOOeFtO4LVeP/tuS1O/2rO2/JxSrigJItR/ Bo6EHgIn8DPcy+Uk1lcN0pbETMTE8b/O6OQwI2NbZZH0EWdNUO4nbU2BQeLpe5Y3Wa7c B3SA== 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=qAbsh2raT0T0gFCQooD4qLMuLwM2nwWqes0FR90GOPQ=; fh=xaSuZj1ajbxHn52v8M2SiBWQNwlImHP6rQYKWo0AWtU=; b=KdUt+aO0cVuke4wLBtyeYGYYfKw2wT8nJ/ARcQWdLBudYqJ2TzZYomONzyU8D0G666 6q5MNTTIzwHQSvrXznD+uqNhI7aeLv1+fykblavxU9v+l/8ku1NqBXVFzcX08TiyPz3E V5DwDWsf2cD2xCW3w/J8+8ve7yMVLOjMkioFOf52GibW8rt6I7dohz/3pM6Nt8vERB/d oHrllQd/FNoSTY+2B3QSMgPfVfmSwTwI79T8ned+jwXwpU/OMIFRGyE3q2oEq4rphi+c ewHuy3lobkfSAViA2Y/YS8V4R2hD8HT7Iox9TxnHmuK3ta2YYSPZua0dNQVeZeikuYD9 /wtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jwHWKG+Y; spf=pass (google.com: domain of linux-kernel+bounces-19540-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19540-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id x20-20020a05622a001400b004299a282df8si977034qtw.609.2024.01.08.04.43.04 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 04:43:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19540-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jwHWKG+Y; spf=pass (google.com: domain of linux-kernel+bounces-19540-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19540-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 985421C21301 for <ouuuleilei@gmail.com>; Mon, 8 Jan 2024 12:43:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F2A0C55E40; Mon, 8 Jan 2024 12:33:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="jwHWKG+Y" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) (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 0F51A55C0F for <linux-kernel@vger.kernel.org>; Mon, 8 Jan 2024 12:33:04 +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-lf1-f49.google.com with SMTP id 2adb3069b0e04-50e7f58c5fbso2016913e87.1 for <linux-kernel@vger.kernel.org>; Mon, 08 Jan 2024 04:33:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704717183; x=1705321983; 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=qAbsh2raT0T0gFCQooD4qLMuLwM2nwWqes0FR90GOPQ=; b=jwHWKG+Y1RX6AMZO0dHmwAJDlr1y9JaKKeEa8R7rJ4uN7tmIoEmJQ3IoS8Z589VCdQ Gq2UqbkXRU8qOqFKPLeIfyE7M+a+Qpi2S+72MdZeMo3Ljj9mjSrtj7MLcayVb/UbZW1e bJx2nfSBEPgphgbDid0WJm8wYUQE2HDsZWUYn9dcZ4Bs178t6Zi1FP1dad72LR8FPsMa IljsWX2HbhfBWj7IcfGNylFQTJ32FMuXH/z0LxXJoG7AAMSG7KnCYjMyv3jc6H8r4vQm yi8qpXSEHuPgOSl4w4rNcJS4Lg9+1RKNZbMWva/wQmeoL7lQZtxWCY7YVoQuVXVn9VWz 97Lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704717183; x=1705321983; 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=qAbsh2raT0T0gFCQooD4qLMuLwM2nwWqes0FR90GOPQ=; b=kfRIep6ypUDa8nzvB42C+RK/CqugxrHmcJvuHmUfpjaPO9Q45odCa6CVRzPXNzt/BG WtD7x7vTCn0Yv/rJFK64V/IVnuaU8t/tKmTmcFY+bv5rcbmfODD3BCum9pFD5Hu7XAw2 93rpyO5K/BOYYW/IGku7EEV31K87E+L53z1j65ATLGpiW9yfxOuozJCHYNq91t0sbN45 vZDSXdUAgU1mtB7RwgSBRk5zlt/Xsn/MpcKRSUaWaiYLrDTAbYgbVG6oJfKeLiy9+72o PwnliV5Id8tM5rmQCg9Ewk7XVJln1K3TPhWY6oWL+YJaxKYUQkk8dxr8X3k3Qo27WnqS hgKg== X-Gm-Message-State: AOJu0YyGfB9RPWn07VfTRIiIifAjFZx/qsWmjgtpCkU+G6GAoJCAUcWl bVP74WAfG1wollpTfgxtpZNGK1ozK8qtPXXEYrMh1qxcXNM= X-Received: by 2002:ac2:4822:0:b0:50e:6ddb:551d with SMTP id 2-20020ac24822000000b0050e6ddb551dmr1300789lft.73.1704717182919; Mon, 08 Jan 2024 04:33:02 -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.33.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 04:33:02 -0800 (PST) From: Konrad Dybcio <konrad.dybcio@linaro.org> Date: Mon, 08 Jan 2024 13:32:35 +0100 Subject: [PATCH 18/18] clk: qcom: videocc-sm8550: 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-18-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=nUkji27joUy4z7sSoyVsNLtQaWjmCqTk31+xfHWXM8I=; b=w4g8AeDrPElFZuWnShULIUezl/D8Mown8pWJMvSQi8+U6rX64xETD1nQ/r4IjQuIvmP9ljfUk P7na2O9tyb4B4xcuvQv5tDQcZWCiODy4K8z0qMFVpLRR81QOZKxrfOy X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787526155993383714 X-GMAIL-MSGID: 1787526155993383714 |
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-sm8550.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/clk/qcom/videocc-sm8550.c b/drivers/clk/qcom/videocc-sm8550.c index f3c9dfaee968..e3f146347da7 100644 --- a/drivers/clk/qcom/videocc-sm8550.c +++ b/drivers/clk/qcom/videocc-sm8550.c @@ -378,8 +378,8 @@ static const struct qcom_reset_map video_cc_sm8550_resets[] = { [CVP_VIDEO_CC_MVS0C_BCR] = { 0x8048 }, [CVP_VIDEO_CC_MVS1_BCR] = { 0x80c8 }, [CVP_VIDEO_CC_MVS1C_BCR] = { 0x8074 }, - [VIDEO_CC_MVS0C_CLK_ARES] = { 0x8064, 2 }, - [VIDEO_CC_MVS1C_CLK_ARES] = { 0x8090, 2 }, + [VIDEO_CC_MVS0C_CLK_ARES] = { .reg = 0x8064, .bit = 2, .udelay = 1000 }, + [VIDEO_CC_MVS1C_CLK_ARES] = { .reg = 0x8090, .bit = 2, .udelay = 1000 }, }; static const struct regmap_config video_cc_sm8550_regmap_config = {