Message ID | 20240105-topic-venus_reset-v1-14-981c7a624855@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-19536-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:37c1:b0:101:2151:f287 with SMTP id y1csp990617dyq; Mon, 8 Jan 2024 04:42:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IGY6t2SZKopceWsMfK9qU0XgLk1hH8hK59So7fRvQHm9SZOpkbh2Jth4XJ7ndNwRVUlUN4E X-Received: by 2002:a05:6214:c8b:b0:681:a12:2afc with SMTP id r11-20020a0562140c8b00b006810a122afcmr879914qvr.61.1704717726341; Mon, 08 Jan 2024 04:42:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704717726; cv=none; d=google.com; s=arc-20160816; b=iOK4vMtR7YuIBspTIhLF9JjpLjSnWivrU84FbSNcIwprGlOfIoynrpljpUhIGWaynV HROWpTvjNqnN2NSwXaiFi8Gd0W4AA/7d1zn5IFkbcYelUAdp3EhlGur1hESbBemloBoX 5yQnMdk5NmyDB15qn2xdIC12EMDa5I7B0ZM12kPJUP2vVdxPf0Beb2KxSucUb7qgtNVw Xuv3SEW7uowfkUQj4fNmek0gTAJBaFbuiS+DK+QYHSQKcb7ySkBxaZK2yOA/hPa0PJft SA8Qnjx/RKdMcKhpZ4MgJ5nIMrYtIa819BZgGYx0FCPUbyZ0Rk2LHeCszEKydghlT59v 4eHA== 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=orEW3CZzVxt/2JDSHmVp7zXCvhfiQJb49HDxyFFsS+w=; fh=xaSuZj1ajbxHn52v8M2SiBWQNwlImHP6rQYKWo0AWtU=; b=j+DYG9499eVcLrb7QUvUFBf7eazG5t5XsRMu34rANY+2H2rxRQrtYbJYWIodDcA8kL ADPSnDj1Znh3K3yIU9fP5ttvz5wWApDSt/pHJwaeN5SiccBqL0eqt4dovuNdh8u/aq2Q b8MVjZEB2VbAIeR9VfWs1rQO+FvbTnvm12yBTSL4tZ7qVJ3M2lKhFHqGPWLBKley6U8B 8v8ynlxVnVahTA2oH3PcS1r5iiATrCmfLObUu+bfRoSE+sGkdG/77gFgEomeq7yOW5RT AWYSnTiEJdx/3MEAmPNLo4yji5OxT/hORG0wvCO1HRBXwpSHd29vHTvcHKoRsfBKpVpY g1WQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IQs2puFS; spf=pass (google.com: domain of linux-kernel+bounces-19536-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19536-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 m9-20020a0cf189000000b00680f70d3984si4761289qvl.539.2024.01.08.04.42.06 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 04:42:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19536-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=IQs2puFS; spf=pass (google.com: domain of linux-kernel+bounces-19536-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19536-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 2409B1C223D8 for <ouuuleilei@gmail.com>; Mon, 8 Jan 2024 12:42:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E0E9855782; Mon, 8 Jan 2024 12:33:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="IQs2puFS" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) (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 B632454F9D for <linux-kernel@vger.kernel.org>; Mon, 8 Jan 2024 12:32:57 +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-f51.google.com with SMTP id 4fb4d7f45d1cf-557dcb0f870so299634a12.2 for <linux-kernel@vger.kernel.org>; Mon, 08 Jan 2024 04:32:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704717175; x=1705321975; 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=orEW3CZzVxt/2JDSHmVp7zXCvhfiQJb49HDxyFFsS+w=; b=IQs2puFSkLIAfaVGiSRp30E3ty/fn0NFSqNNm523ZwDf+y1hJGIniyx83JF9NQkQcD q5I2WEGZkLWa6aYIrM0TzvjIle1mOeZRygRNFTJFHiOKcR+z82GDsXoi6J01Exh+68o9 h2TuZWm20LT2Pox0mRgjwTT0qjBOP9VVn3JAUvwIJ4m9mcSpc0ZpNMvSpUFaDnAcB1D/ XSVhZYLw/fSsLRWasq6RboSfdSlYrGjUBh2j9NvExvmNVxQJ6IT8VP7hz/6M5Y68702y Kj8ikk09VcqegxOaXCC03gz7YuW2xngZ1wjVvnUuoGFeLZnXIHa9gKeMUsolSeIagvu9 gSLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704717175; x=1705321975; 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=orEW3CZzVxt/2JDSHmVp7zXCvhfiQJb49HDxyFFsS+w=; b=VRTup5WcVdoGbVNUrQbMsD4LNFLsVjKf6O0ObJYLjfZbH3wukdFcUwzEobLOqEkRGb mSMphi3rl37exEKvhtGe6S3jRzmokjM6ghkg+NHD3Tts4UJlWPiCIJ5WeMGilCeY5xb2 zdmxhI2Pk0d7bnw+V8OMz6kvXH8/aIXDJxbBMO9FIqUAWfa3kKw6TwNUFA5seTFrUUfw oPHw2UVqKNGtHz/tcoPCGO2t38xdR7VWnu13U3JBMMnnwu23KAEQ89cK4wLxCZJUghxG dAW/j2YWY54bi1AK69eaEGnmgXYjTUVwyq9kWK2D5eByoDT9qWF0kGCkkKVggG2vpQma vZjw== X-Gm-Message-State: AOJu0Yytnz0jm9w144OKLkYKcSvH9upNAkcuR7e0+0+SqG0CREC5oxUs iFkfuVkozzjTJutJgLBb/sJ29bK85mxwn1ZolepriAD8tsA= X-Received: by 2002:a17:906:7c83:b0:a27:a236:8be with SMTP id w3-20020a1709067c8300b00a27a23608bemr1735438ejo.3.1704717175772; Mon, 08 Jan 2024 04:32:55 -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.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 04:32:55 -0800 (PST) From: Konrad Dybcio <konrad.dybcio@linaro.org> Date: Mon, 08 Jan 2024 13:32:31 +0100 Subject: [PATCH 14/18] clk: qcom: videocc-sm8150: 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-14-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=851; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=vIWWe4F0QFAfFwANwsubp7EQt8hjOIin+CjR28FQWLE=; b=389KJlGYvuA+BfdullvLtbyrqDDJmucrxQl7l9ry810m5jTGduSrtabxXx2licUEVOwJZYSK7 X4b0VokWRZCC1Frf0C0nHnc7OtfKmRYHp/dEeMz5wCKdo2kVK+TB+J2 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787526094482316945 X-GMAIL-MSGID: 1787526094482316945 |
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-sm8150.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/qcom/videocc-sm8150.c b/drivers/clk/qcom/videocc-sm8150.c index f1456eaa87c4..bead5186a5d6 100644 --- a/drivers/clk/qcom/videocc-sm8150.c +++ b/drivers/clk/qcom/videocc-sm8150.c @@ -215,7 +215,7 @@ static const struct regmap_config video_cc_sm8150_regmap_config = { }; static const struct qcom_reset_map video_cc_sm8150_resets[] = { - [VIDEO_CC_MVSC_CORE_CLK_BCR] = { 0x850, 2 }, + [VIDEO_CC_MVSC_CORE_CLK_BCR] = { .reg = 0x850, .bit = 2, .udelay = 150 }, [VIDEO_CC_INTERFACE_BCR] = { 0x8f0 }, [VIDEO_CC_MVS0_BCR] = { 0x870 }, [VIDEO_CC_MVS1_BCR] = { 0x8b0 },