Message ID | 20240105-topic-venus_reset-v1-15-981c7a624855@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-19537-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:37c1:b0:101:2151:f287 with SMTP id y1csp990748dyq; Mon, 8 Jan 2024 04:42:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IEvkp69PPIKz8+kwcsYuGMVwd27EkZuszP6OnmJIc9Gfn4km+/ESKyWBU5yhM2r0QBNZoBI X-Received: by 2002:a05:6808:b38:b0:3bc:238d:cc41 with SMTP id t24-20020a0568080b3800b003bc238dcc41mr1204661oij.118.1704717743398; Mon, 08 Jan 2024 04:42:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704717743; cv=none; d=google.com; s=arc-20160816; b=E11oTIRXQY4g6PdfdEvm7ZHZLjv0PjNNO+Wykbpqo6rL7XMUU9qh0kIR2IdzWkGa3N dPaOjb7FfQLyVbyh+BeTj+mxtoEfUTWjlrlFej8rLPJbNQwUNcwpU22yAwI6vFDVmD4V PQk7JdS55syc8KBHWZF4v4RkYS6DN15d+/5CA7NRMupuXeUVnvfyiLxlkh3bmPXw4otG o0iIkoFNADhyaR+RkpFMsphHanFEG9aqNZWmaugSVL1TtJdqyioc049Mj+VkxVCRGNoq DxIVR68gy5ouzpATmBV6ChYG7pXgDIuQ9W/pOrAdjdO8eZJaIj4AzUiy989xAAZEP1IY TPQA== 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=muMibjVOlrdUaMKZav4q1ZM93Uv09LtyKsx1ZeFf7Ds=; fh=xaSuZj1ajbxHn52v8M2SiBWQNwlImHP6rQYKWo0AWtU=; b=kdKO3hcj6O7zmOwhS3dc0y7Bx7fxqaIU6Gp3xbvU9p9FV42mrV7eCVkkQ7OAibvGLj 2CgrzSx48n5UGy8NDx1GNRDKkSxDiC1mcEYqYu3zMa7BAepA8tbeThe87ZSmWgknspkH GGtxkNZeeJOqSHQ3YpUHJQbnmgUYasPNTZedozjl6EsbcNnFxsyMsFbxAL/PhaDNnS9y iv9xTJPu8+kZz0BN3M2vdb/J4q+tblfK2TJT8ns7IVD6knrAsfCpP4d7yVuXtPT7BU0W 31oVLuJbKzR7jKMm/OLrVVJl33GuGXSYD7Mzbgva1iByDqWu2Vve8b1RLpFCF8ZjDkHg G46w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=b0xjjUrj; spf=pass (google.com: domain of linux-kernel+bounces-19537-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19537-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 r3-20020a0cc403000000b0067fb9bb71bcsi7468216qvi.529.2024.01.08.04.42.23 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 04:42:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19537-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=b0xjjUrj; spf=pass (google.com: domain of linux-kernel+bounces-19537-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19537-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 311E01C21200 for <ouuuleilei@gmail.com>; Mon, 8 Jan 2024 12:42:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8A4C155791; Mon, 8 Jan 2024 12:33:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="b0xjjUrj" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) (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 81C7C54FB2 for <linux-kernel@vger.kernel.org>; Mon, 8 Jan 2024 12:32:59 +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-ej1-f46.google.com with SMTP id a640c23a62f3a-a271a28aeb4so167406966b.2 for <linux-kernel@vger.kernel.org>; Mon, 08 Jan 2024 04:32:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704717177; x=1705321977; 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=muMibjVOlrdUaMKZav4q1ZM93Uv09LtyKsx1ZeFf7Ds=; b=b0xjjUrjL9DFSFXL/wLA/LY+j+ceplfKfYGxRZCWSSkf4KrFMByto3tQAnWG7WF3Oo qNhgxVD626dYQBqeGeTAs0JjZXeT92kdQ7M8BNh8Encuaixa8170JAJi8DJboQ15/GK+ tCFSvnSCRPHBsON8SwxHpHxgE4XsKOgVtBee5LEk9o2xIZY7HWvccu8bRGkohnO7EFZw g3QMEM3XGTEFBnpV0EipkLSmhCVhGKvcNuJbaVsUN3umiavj6C02+hd8aXwkk+SuEIx6 zm2sC5DiZMVAZgEZH6fGe1ZmeWO9VYExp4LYfuu2owfKE7vs+3KCHcxfCDjGwc02i/mD U9tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704717177; x=1705321977; 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=muMibjVOlrdUaMKZav4q1ZM93Uv09LtyKsx1ZeFf7Ds=; b=whODemHDdGo9sWJfHIdkxc/nkdTMEWYSw6yAUyH0U1SzmPFmugmtTNyM1cx394YexA jfRg/ViZmMCE7PM3YR7u+5MItHJdQ7boQfiWESJ9w1wd4iOhKFeEVcP3NrZdAE0mZpVl y1s3Q4nFvILrvHjSOhXw8QohQvLYJB8uT4VA5Qp8SUhgLT/5HOjuFx3v+Z8d4JURlvtq TRnH5etpVTBE/h2Te80UDbuau4U8mxeISNXwozyebgqNco4CC0hwkDpSEPTnhiOrfLNT R/30yOBdK49LN62OHLD+1Y9qzFldIqOtE4jJkR1e7Wr+47qvMxAHYOwwno1Jzpsf/pw7 0rsA== X-Gm-Message-State: AOJu0Yzr6gOm+aHmqkL6mGOjur7o6p+hm7aTBewaBgmsUWVLLqObxAFy 5mGTfz1kn1dEA1F/h4kHQ+EqEsPX1KgcrFiWvEADj0rW4Vo= X-Received: by 2002:a17:906:d9c7:b0:a27:5343:d3e8 with SMTP id qk7-20020a170906d9c700b00a275343d3e8mr1565354ejb.97.1704717177663; Mon, 08 Jan 2024 04:32:57 -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.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 04:32:57 -0800 (PST) From: Konrad Dybcio <konrad.dybcio@linaro.org> Date: Mon, 08 Jan 2024 13:32:32 +0100 Subject: [PATCH 15/18] clk: qcom: videocc-sm8250: 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-15-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=1037; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=2KXDcxNc+90aqcYluynodpAmNWUtQOGZRI7j2BxqGMQ=; b=WN9XeTGGuiUfbvj4nBcDQjejD3CIJUS6NiBRUbn2FemiDEACbGE4J96REq+UinjEvvWivtYQu 602fsQTEwZlDE93JNX8sWGYvvf9MY83qr1tEbqLarWRc2WKK42w+u6U X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787526112206516442 X-GMAIL-MSGID: 1787526112206516442 |
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-sm8250.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/clk/qcom/videocc-sm8250.c b/drivers/clk/qcom/videocc-sm8250.c index ad46c4014a40..51b9816ec458 100644 --- a/drivers/clk/qcom/videocc-sm8250.c +++ b/drivers/clk/qcom/videocc-sm8250.c @@ -323,10 +323,10 @@ static struct clk_regmap *video_cc_sm8250_clocks[] = { static const struct qcom_reset_map video_cc_sm8250_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] = { 0xc34, .bit = 2, .udelay = 150 }, [VIDEO_CC_CVP_MVS0C_BCR] = { 0xbf4 }, [VIDEO_CC_CVP_MVS1_BCR] = { 0xd94 }, - [VIDEO_CC_MVS1C_CLK_ARES] = { 0xcd4, 2 }, + [VIDEO_CC_MVS1C_CLK_ARES] = { 0xcd4, .bit = 2, .udelay = 150 }, [VIDEO_CC_CVP_MVS1C_BCR] = { 0xc94 }, };