Message ID | 20240105-topic-venus_reset-v1-16-981c7a624855@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-19538-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:37c1:b0:101:2151:f287 with SMTP id y1csp990890dyq; Mon, 8 Jan 2024 04:42:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IHcuJkHm9GFGJ+oZycqGS3Wc45wJLk37ogUVf+pZZjVOpuniNmHT4aj7RNkDXP2iAvIf7Cj X-Received: by 2002:a17:903:25c2:b0:1d4:42aa:fe6b with SMTP id jc2-20020a17090325c200b001d442aafe6bmr3629418plb.132.1704717756481; Mon, 08 Jan 2024 04:42:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704717756; cv=none; d=google.com; s=arc-20160816; b=dVHsf2dvmbrUhIThKpWMrwPkZxpN71bVSap04+sXtiYoyy4q4WupcaZr9S2o73gv3f d2LtUwlmrhyjd5Qse/bLaUiAQ3Pxma0eLslFkpKY1El+EFCHrVX/CnKI/lxKQRQYizJn q8AAyunlgctlqatUMaNysdnocj5TZOwPSx5s1jJPX59LqUnHaRwhghYB0e1hwd+FP5LG uKuf9oVrdrtrfNCGyR0LVQfOpkhLWN/ehfgZd7FEShogovY9+V1RNopK9eal4XjHuWk5 DeZiBqw2aQRlSsemki3/IVzkGCOtHHtyemOsHzXOYN2IO/230u0UiMGACSPbMc5cvDdZ d8HA== 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=hKgbs50b7sIEW9nFRau4m3gBJckeCz0KQ2ZMPeQV9lQ=; fh=xaSuZj1ajbxHn52v8M2SiBWQNwlImHP6rQYKWo0AWtU=; b=ymNpflmigf1pFCgRMz81lTSeJkRIMexhwegizbM2Dm64edJCoV7MFeBFL9IL8xG1d5 KgQVe0VZp4QG8IYu12I228fqTPMtQwiHBtfndLMwvqLcJhxkoJOV+DdvvVwJgYyUpqBo xVz4h4YL/nkflSs4SA8V07kW2PI95BESOPOd42Xw0Yv5LFMLuGktpVuTakORte/AYxHZ b5WfDEga7qz1+w16tz5L3di+9juSmS2QtFQjA+SWG5/CWDV/ByY8rVvcifIYwEIgCLSC msWkKr71rxZnq6Ov8egXYVne8jtCkzu+gooCog49oYgmDdqKP8FwGUpQcNspmeDGtqjK U5cA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yHs6JNJq; spf=pass (google.com: domain of linux-kernel+bounces-19538-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19538-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id ja10-20020a170902efca00b001d3f68ce021si5981259plb.501.2024.01.08.04.42.36 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 04:42:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19538-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yHs6JNJq; spf=pass (google.com: domain of linux-kernel+bounces-19538-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19538-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 44AA4283415 for <ouuuleilei@gmail.com>; Mon, 8 Jan 2024 12:42:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 07D7955C0B; Mon, 8 Jan 2024 12:33:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="yHs6JNJq" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) (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 E8D5654BEC for <linux-kernel@vger.kernel.org>; Mon, 8 Jan 2024 12:33:00 +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-f45.google.com with SMTP id 4fb4d7f45d1cf-555aa7fd668so1894764a12.0 for <linux-kernel@vger.kernel.org>; Mon, 08 Jan 2024 04:33:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704717179; x=1705321979; 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=hKgbs50b7sIEW9nFRau4m3gBJckeCz0KQ2ZMPeQV9lQ=; b=yHs6JNJqreTfwQFXcptzh+zSgV/ejuNvgeG8QiVOX2gLPS7UjEHn6YtLQnDdoY0X8z Amk1wBV6KpyehJzDjoFbJngH6+zjonTIBM+mwdvUfgjeo4XCiS0dSdOjeT1ix2+xhWWg bRCc/vs+w/ZZXt7rW2CQgIK3MN1iK2fgtHEmfTFRSq4ZMIiPSzS9a1e3krhqfgjcPjj2 D8xohC81qulaEWgipt7Z2FTFgRX/HHl8I9rEuzYMpkySEUiPAYMbPnJpe3j+69VPVvKa t4briUognm5+qcfeGrezO6IIH+w+Ho7kBP62L8QSVpkFcEA9sFMutSC9FgDAe1So3MqF BBww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704717179; x=1705321979; 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=hKgbs50b7sIEW9nFRau4m3gBJckeCz0KQ2ZMPeQV9lQ=; b=m45Z6dJOMQtTD/GtkB9lUjaXutdT4KfZ1MPlLHAaYo0XnLg46MTSgXxQhNCSo8QgLe bDjG9DQF80HIP504I2MxqyEU+J6a6PqASTfYmGc/HEoxs2tUNwc3GCoODRxCR2GIW+yV kOII4qK7eJSojSt62K4xsQwx2n1cbLDHBKdec8S6CsBicrFLI69HzroSgdlZHlXk+ZaL 6gHv6Ep7E5e6F+3jm0UxBOPGuO61QwA0458ZHzMzmuplA57y7i4O75O9YV6ODkrric70 lYWmZ22YEUZuPjy/JL03owjS/KFfaZus1iNlIfCV5cNcx4U8L0KpOeL0B6qs+H/Hqh2n CqNw== X-Gm-Message-State: AOJu0YxQfM0C3tr6R416woHjuA6Q+kOU/nhIR7pBegZQJIwdIPHsfBZY pXDF2fIeAI27j2gCs0LPB94JmQsTeJYj5qPZ0HTy1JjJJQg= X-Received: by 2002:a17:906:a254:b0:a28:fd6b:7acf with SMTP id bi20-20020a170906a25400b00a28fd6b7acfmr1674828ejb.36.1704717179191; Mon, 08 Jan 2024 04:32:59 -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.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 04:32:58 -0800 (PST) From: Konrad Dybcio <konrad.dybcio@linaro.org> Date: Mon, 08 Jan 2024 13:32:33 +0100 Subject: [PATCH 16/18] clk: qcom: videocc-sm8350: 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-16-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=1051; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=AdVr2Vo+gKTKy1lOaf9tWddLXbATgKX8KeFGJ/zSkw0=; b=wIi+5K4T1WvVGh/iD46R12XlclSx3BIGbgYBU44VJXW0beQIKu4GsbVtmqKDbAhCc12MiGkwJ tByulC6Qr8fBWo03C+KT6ixJj+rF1wnViPqH+f7CUr+dGrPvwcpcw0/ X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787526126428958021 X-GMAIL-MSGID: 1787526126428958021 |
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-sm8350.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/clk/qcom/videocc-sm8350.c b/drivers/clk/qcom/videocc-sm8350.c index 7246f3c99492..8db2bb995558 100644 --- a/drivers/clk/qcom/videocc-sm8350.c +++ b/drivers/clk/qcom/videocc-sm8350.c @@ -488,10 +488,10 @@ static struct clk_regmap *video_cc_sm8350_clocks[] = { static const struct qcom_reset_map video_cc_sm8350_resets[] = { [VIDEO_CC_CVP_INTERFACE_BCR] = { 0xe54 }, [VIDEO_CC_CVP_MVS0_BCR] = { 0xd14 }, - [VIDEO_CC_MVS0C_CLK_ARES] = { 0xc34, 2 }, + [VIDEO_CC_MVS0C_CLK_ARES] = { .reg = 0xc34, .bit = 2, .udelay = 400 }, [VIDEO_CC_CVP_MVS0C_BCR] = { 0xbf4 }, [VIDEO_CC_CVP_MVS1_BCR] = { 0xd94 }, - [VIDEO_CC_MVS1C_CLK_ARES] = { 0xcd4, 2 }, + [VIDEO_CC_MVS1C_CLK_ARES] = { .reg = 0xcd4, .bit = 2, .udelay = 400 }, [VIDEO_CC_CVP_MVS1C_BCR] = { 0xc94 }, };