Message ID | 20240105-topic-venus_reset-v1-12-981c7a624855@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-19534-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:37c1:b0:101:2151:f287 with SMTP id y1csp990362dyq; Mon, 8 Jan 2024 04:41:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IEIMEippKRyuTxsTDyNJOhr6VP+k0qItDYPugulhDtWJXPPC/sQ7I3qvVZBisLEMX0Uc+9F X-Received: by 2002:a05:620a:1204:b0:783:25eb:e049 with SMTP id u4-20020a05620a120400b0078325ebe049mr645927qkj.141.1704717692059; Mon, 08 Jan 2024 04:41:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704717692; cv=none; d=google.com; s=arc-20160816; b=u2Ir4G1VHFLl3BPzNmqjC2lG1QoRZrFv8xMrgu1wKn4cvZjVhBlK6NmPq4GM2ZCSqQ agsaI8ij3NYxrjhr2+W96y049asPCoFLmw+fkKzlym2RO6eqn1J8AjiEZUFiwX1GrKHq 0rU8Nz4yA0yPF3gkh3a7aEW9oT1WOIs0qOkJMV5xv6rlKHRANkwcKxsXH5Ud0z75tC0B R922BeFFGfQovYrvKSV7z2fqoASIWpnlQs6Curu+xx3BARL8U6nOFHm8prYb3iyPxLEx 6R1w17kPpGtSoJoeFdhuLC+Ge1JTbabytOT2koNhiD+sdodjYMo6Oq3FXRA+7gbGSbzG RJwg== 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=1vLhCr+SPstjxHdQZgARLGaDcWp07I/chnTOLHwQLC8=; fh=xaSuZj1ajbxHn52v8M2SiBWQNwlImHP6rQYKWo0AWtU=; b=k+cVNpm8TisxmAlUS9qYHg68Yt5tRT+cW5AeNkPKlAP6EjudZfh/MfAdpSGyCsIkO5 roQVIfzpPm+07IgI1QE5EEJpxMITkOn463pKXpf91s01N0nmHPwjCV9rHwQ3rsLbhb0s X9F9pb4fFB8IQSjt2LEtKMRJfnN4ZIDv5vFB5gdI7pTjH9HFW4V8I7WjqmhAc+jSRARb AkSdgmHycq+fmlBkZcWb2vEjUrfu46l2vJftTGWkxnONmqDzTq6nnLEs084a2K1/Tx/y meHMha/UPqUF7nvLVdlPd6p1YfFTLSx8ggMlVO2uQDcPP7VDKK6Hdsc3HVOZgBmvIcIo O4TQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MJqwYxlw; spf=pass (google.com: domain of linux-kernel+bounces-19534-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19534-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 sq6-20020a05620a4ac600b0078317b4ef86si3934699qkn.741.2024.01.08.04.41.31 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 04:41:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19534-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=MJqwYxlw; spf=pass (google.com: domain of linux-kernel+bounces-19534-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19534-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 D4C441C22384 for <ouuuleilei@gmail.com>; Mon, 8 Jan 2024 12:41:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EB2E254BE0; Mon, 8 Jan 2024 12:32:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="MJqwYxlw" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) (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 E87BF44C7A for <linux-kernel@vger.kernel.org>; Mon, 8 Jan 2024 12:32:53 +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-f53.google.com with SMTP id a640c23a62f3a-a28bd9ca247so162865966b.1 for <linux-kernel@vger.kernel.org>; Mon, 08 Jan 2024 04:32:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704717172; x=1705321972; 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=1vLhCr+SPstjxHdQZgARLGaDcWp07I/chnTOLHwQLC8=; b=MJqwYxlwQygICwyVIB2pu3VTH5MFmqVCWq8hkuth7T2a8+ujfvLLtCoGDQyA88jgtc nmUDc0h+H+M2WsOtRcUSS1XplzXgXEUnZMoJVLBSO5BI0NMG4XeShFSekKfGRk4pT4WT qjorgGo6HPAG65Vu2JhHVYNR1s2jN33M6Hj719rnPSFEgdJGxl9XcIFrwWB1TqjJa2WT G+e/pp1edVfe1JgLYb6LICUlS9l2TwN9zifymKKh1Nv0I5b4u6/rZAyaKzcFAM8Voer0 Sq1ORYYplNd+HDvQWijWfgPJr7uIEvj/62MRnDWNI/zjYg2wjoJB+Mk7TDn4xSRgUiaT 9XHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704717172; x=1705321972; 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=1vLhCr+SPstjxHdQZgARLGaDcWp07I/chnTOLHwQLC8=; b=v1x32rKn9QtY9ofhILmUF0VXiddfj9QfmqYKONNctLnPJPJ3Is8h40ujQV/a9E7tka al1CQtNCiHMp9q75PA5r/kVRJns57pNOQCjzCGc3kI+eFCUhwhUGxWs9OzLYD5PNsbbP l8bpzaPAxSLXWc+ia7Tb9rRj35r+BE2A5Mk09tDpLLYXiugOPVa/smxTpvzlUqWKXcb9 XgG5AW2HWzpONqgZRnd/sac3R01N8bju2hb5nGimXCetOq0Jvdq+i+7oSTAcvXwzETOK a/276PanMgVFSUQIpCvLWESKSFsyEt70RC3RKOMBrw5IZCHIOmivYE8WM0vWF1ZrMG+1 18Cw== X-Gm-Message-State: AOJu0YySo7f3/7wTmOsvctrAMrkHkGxiMSJ0JMIAY+Z3xLz/Bzm0p6jo ljmapfFnfiWW/vFbtLPKafpCHeTdIX0gKHvFts1JcTD0U9c= X-Received: by 2002:a17:906:b04f:b0:a28:813c:78d6 with SMTP id bj15-20020a170906b04f00b00a28813c78d6mr1478830ejb.45.1704717172099; Mon, 08 Jan 2024 04:32:52 -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.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 04:32:51 -0800 (PST) From: Konrad Dybcio <konrad.dybcio@linaro.org> Date: Mon, 08 Jan 2024 13:32:29 +0100 Subject: [PATCH 12/18] clk: qcom: gcc-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-12-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=943; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=P2t9CBXAvKAGt8inkQzH2zUbbJBDolk9ICGghkJynHQ=; b=trSwEIKyVfYX+RmgqG9/jg+Bid1vwLiLuUErE5laeeYrWo3QeO7mqYAZjK4zgrz++ge4kPk7X x1AS523fSMHCvrTR6Ya9NawJ3K2ddAIKN4MLzF1SNMorHbbAUvZiAgM X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787526058583290699 X-GMAIL-MSGID: 1787526058583290699 |
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-sm8550.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/clk/qcom/gcc-sm8550.c b/drivers/clk/qcom/gcc-sm8550.c index b883dffe5f7a..4cbc728f5c72 100644 --- a/drivers/clk/qcom/gcc-sm8550.c +++ b/drivers/clk/qcom/gcc-sm8550.c @@ -3276,8 +3276,8 @@ static const struct qcom_reset_map gcc_sm8550_resets[] = { [GCC_USB3PHY_PHY_PRIM_BCR] = { 0x50004 }, [GCC_USB3PHY_PHY_SEC_BCR] = { 0x50010 }, [GCC_USB_PHY_CFG_AHB2PHY_BCR] = { 0x6a000 }, - [GCC_VIDEO_AXI0_CLK_ARES] = { 0x32018, 2 }, - [GCC_VIDEO_AXI1_CLK_ARES] = { 0x32024, 2 }, + [GCC_VIDEO_AXI0_CLK_ARES] = { .reg = 0x32018, .bit = 2, .udelay = 1000 }, + [GCC_VIDEO_AXI1_CLK_ARES] = { .reg = 0x32024, .bit = 2, .udelay = 1000 }, [GCC_VIDEO_BCR] = { 0x32000 }, };