Message ID | 20240105-topic-venus_reset-v1-4-981c7a624855@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-19526-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:37c1:b0:101:2151:f287 with SMTP id y1csp989178dyq; Mon, 8 Jan 2024 04:39:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IGT9L1pIj+lDrvi4xJDTUEtbL3QGhG0j4s9z9c1gfLNLdq4uaaty3mgLgHytLnqhUGlbJoG X-Received: by 2002:a17:906:3848:b0:a26:f18a:b31d with SMTP id w8-20020a170906384800b00a26f18ab31dmr1692351ejc.13.1704717557611; Mon, 08 Jan 2024 04:39:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704717557; cv=none; d=google.com; s=arc-20160816; b=1CwGLXB+mgj+T01tWL+FbVVK9Ss8+jA+pvmJwiHwzsnJzibl6p9nC+IKlBkugFR9+S A3p2ngB3eIZp2fXptgP4piZLWxtFj5eIddqpwbvffSTdiTgjymf9/+Nce9x0dt66vUBo D+KxOzCvoYhqFJLMpUrS51ORZYSq6fYDARsx1V08w45T+v3WOZJjmkDMqYS3N1o7nAOZ FzLj/3+Gj9Cvxf2U+E5vIvQU76LkrRRgYaezjFQLHoUgFQyCEax9kkRzQsvjCLldISZ6 olKt+QOemBmZBPF8NbYZrFbw2fsLfHSojmUNJLoFCLcgHFqkJZVaorLnHYSWPjU/DsN+ 8B8Q== 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=ZbqxBx0E5dp1fRCBtciunv9V8jUa58umzYW7Td8kFyw=; fh=xaSuZj1ajbxHn52v8M2SiBWQNwlImHP6rQYKWo0AWtU=; b=Jn5w+/D45ejUr4+w/COLkZwjy0MeMAH9iStzp0J4hZXgzkqou3SgwPQjRKF63SjfR5 H3OVgZ82ru17pjrHpGrc9PVrFrqM0K6GCR4DVjxE+xTE287Y4/GTiWqRSgZFE2idBNKa eUMy77q65J8DeLnLKY2TUWLzn91mGXONzhLEZXQXHE2ozIvSctcIqe141eQ9D19yaYaV nkrXdZ5+NBPvs+skUv3jdH4oG2JmsMzID4yRKCsu/6XAtbSAjj2zILQ7dcaqTM+Xhbtm O8ZbpV19SetT3FWo5n1Hr9HjhIiwRDtd2u1Q/WekwP148s92ENeQTZ0D1JDEOo6uppHa KO4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nDxKYr++; spf=pass (google.com: domain of linux-kernel+bounces-19526-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19526-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id t21-20020a170906609500b00a26b291147csi3048868ejj.329.2024.01.08.04.39.17 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 04:39:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19526-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nDxKYr++; spf=pass (google.com: domain of linux-kernel+bounces-19526-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19526-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 37AF41F22CCD for <ouuuleilei@gmail.com>; Mon, 8 Jan 2024 12:39:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1414B53808; Mon, 8 Jan 2024 12:32:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="nDxKYr++" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.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 DB0CC51C51 for <linux-kernel@vger.kernel.org>; Mon, 8 Jan 2024 12:32:39 +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-f49.google.com with SMTP id a640c23a62f3a-a27e323fdd3so162580866b.2 for <linux-kernel@vger.kernel.org>; Mon, 08 Jan 2024 04:32:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704717158; x=1705321958; 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=ZbqxBx0E5dp1fRCBtciunv9V8jUa58umzYW7Td8kFyw=; b=nDxKYr++N46UfBavf7faB/nd1xncr7a1ztJaPW9xU5R08WYcWj5/iGdDfpP6xZLEVP i42H+MNKBRyWLnviFqywrQfUoC9+ECFlyM91DOkLWRjHnd0iMQedKbFnvKmAEw1yes+i Dmx6W/fbki1GLgyrp6omTSmwJcLBAIdDKa7HO1vZSixidk53C9Jzks/wxNLg6CtqdFUT Y3YpDZObByajWjPb8msJ0pgCpS718RB17+QiQcYw7Gc/27ERjnCYtTRLUQ7xN2ir48/8 /+1O29+XvYz/2om82FlgFlCsNUiBFLuRkbv1n1eK4UQar/Eogh3CwLo+fL460N9w14F1 mPUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704717158; x=1705321958; 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=ZbqxBx0E5dp1fRCBtciunv9V8jUa58umzYW7Td8kFyw=; b=TarF+eL5fU2Y82WDafMHvN/of/h5HiBo61r7/MBmKKPfnL61fQhlAbGoWejb2GTYIf M+nBZ+m9gO84er4oAdSSft3WCNYuo68D3gr/8tqKojC9tHnrQOFYK729TPjxtdCdAWqL Lpu3gnswc6T9VSB3fzetMOo9J+1MD2tmK9EYPGjtE7rBte1IHY0p3Q0dijM0isQJVKmf 78ySpfcpOqUNgk2ZAletH6uM8qPXu7vApcjx4BN+zEuU+QLohWzlmhsFeX2cGH4x2RoP g+0DQfDfjdLqPJ5shPI4hjYUHUReyCHroP0RAj7l2ebtyYKDtEifitp8f50e9MUtdLdd 2vvQ== X-Gm-Message-State: AOJu0YzNJYuU6Wjc41hPcMGNsm73rGoJhMK5eGKsCvQe1GHT3ToR0Htg f2U96XbheRYb4k0ngLWh9nFALvZlQYkwZmANqh4r/4wyzcQ= X-Received: by 2002:a17:906:2bc1:b0:a27:8953:a710 with SMTP id n1-20020a1709062bc100b00a278953a710mr1177702ejg.155.1704717157969; Mon, 08 Jan 2024 04:32:37 -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.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 04:32:37 -0800 (PST) From: Konrad Dybcio <konrad.dybcio@linaro.org> Date: Mon, 08 Jan 2024 13:32:21 +0100 Subject: [PATCH 04/18] clk: qcom: gcc-sa8775p: 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-4-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=952; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=k1+Llq4BWFORa9650sktN+7i8cGBVSjipUz4DricPxc=; b=qh+MgjGLec4wTm3sS0J/P6R79UqhgmLB2oNC3ezUghgrAjRXOWcqOwnzrXWD5I4dbii67gwWN 7yFkUe/Q9rhB+qxsGu5U4ipZTLb3di0Wk+wmjNkj25tSHiwQDNEFye4 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787525917444921812 X-GMAIL-MSGID: 1787525917444921812 |
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/gcc-sa8775p.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/clk/qcom/gcc-sa8775p.c b/drivers/clk/qcom/gcc-sa8775p.c index 8171d23c96e6..c2b403cb6301 100644 --- a/drivers/clk/qcom/gcc-sa8775p.c +++ b/drivers/clk/qcom/gcc-sa8775p.c @@ -4662,8 +4662,8 @@ static const struct qcom_reset_map gcc_sa8775p_resets[] = { [GCC_USB3UNIPHY_PHY_MP0_BCR] = { 0x5c020 }, [GCC_USB3UNIPHY_PHY_MP1_BCR] = { 0x5c024 }, [GCC_USB_PHY_CFG_AHB2PHY_BCR] = { 0x76000 }, - [GCC_VIDEO_AXI0_CLK_ARES] = { 0x34014, 2 }, - [GCC_VIDEO_AXI1_CLK_ARES] = { 0x3401c, 2 }, + [GCC_VIDEO_AXI0_CLK_ARES] = { .reg = 0x34014, .bit = 2, .udelay = 400 }, + [GCC_VIDEO_AXI1_CLK_ARES] = { .reg = 0x3401c, .bit = 2, .udelay = 400 }, [GCC_VIDEO_BCR] = { 0x34000 }, };