Message ID | 20240105-topic-venus_reset-v1-11-981c7a624855@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-19533-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:37c1:b0:101:2151:f287 with SMTP id y1csp990185dyq; Mon, 8 Jan 2024 04:41:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IG8mI9FGSE+Cn56GsW9PXngpr2ZrvVIpEXal1ML41QBsedeWb6mgIXrzPkf36o/RcsUg3DP X-Received: by 2002:a17:90a:9281:b0:28b:f9fc:6cd0 with SMTP id n1-20020a17090a928100b0028bf9fc6cd0mr946785pjo.51.1704717675470; Mon, 08 Jan 2024 04:41:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704717675; cv=none; d=google.com; s=arc-20160816; b=aQHGgQGHdJ8b9tknO5OPPAF30KvWMPN3CSumw+GfzeWTT5RFlKnzDyiOqZiT1RLCSB GViMDgS/gaouCeRca3ssuWTM/9+DKvwTrw2+wWKqjwCwgiyMRneJNBf7OIgM+ojNhw7I 56oIP6ERTq8bbQLc3G4W+DJkOM18wiBRepIUFO55c5ZnrKTWXebrGSglysHt3uwjJATz UXSXye394xcdXoTxn9vIHsdJa+gER3OegTyPxJb+mrgb3gyYBy3Q7/SP/RDnBcEgbKOv dSGUZc90g2pExxCHb9kYH7p8JENUIwquI5vq1pdaLyr+Onmu3H9R3kbS1O3cfnTXuWvp HDGw== 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=htl20WivVJFeJAmwM5KBpciVYSbljcJAemXWAsEgyN4=; fh=xaSuZj1ajbxHn52v8M2SiBWQNwlImHP6rQYKWo0AWtU=; b=0OsoUM+u2YOUg9eNrKQNiwJnexfjfAqQKPMFm4zI5aeTHWnXBayUfbfbzPzSwLQN1X fQH7XcHScxSu+4AS3dNQRvs1JMrh4GOfMBiFfPapFzHBbgzzBXJ1oPCxAZ4vwmerq1CD OeeFhz78SX+nQ1SB+GgHLG1vmK5gMSD+8D/HOxAZqd6e6T9KyL0Qmx+DBeBkZA/dMOEA XCHqcyhgKctaF6QD+Eoh2zDTch/O4nivemTL5hyr1eT5RgRY2h5yGJYQ3xz1DfU7MUxO uLu1WblgS8UN4UaK3k3hahTAbmGnpVJXjn5AXTHex5Evpj4w+qpArZrbThdw0fKH/vDd fkxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="R8zcL/6l"; spf=pass (google.com: domain of linux-kernel+bounces-19533-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19533-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 x4-20020a17090a9dc400b0028cd9049885si5586683pjv.67.2024.01.08.04.41.15 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 04:41:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19533-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="R8zcL/6l"; spf=pass (google.com: domain of linux-kernel+bounces-19533-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19533-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 1D123280A60 for <ouuuleilei@gmail.com>; Mon, 8 Jan 2024 12:41:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 51E8154F86; Mon, 8 Jan 2024 12:32:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="R8zcL/6l" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.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 4189E54677 for <linux-kernel@vger.kernel.org>; Mon, 8 Jan 2024 12:32:52 +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-f51.google.com with SMTP id a640c23a62f3a-a28d61ba65eso183217666b.3 for <linux-kernel@vger.kernel.org>; Mon, 08 Jan 2024 04:32:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704717170; x=1705321970; 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=htl20WivVJFeJAmwM5KBpciVYSbljcJAemXWAsEgyN4=; b=R8zcL/6lzyjaQYwEBD7zWnhnUffj9o2lP8II2DVFe/pEGeSl2p1/BWMT73+RdQwcT8 gaxhsZyc5C1BONXnwP4xp3ktAWBx49AZdWrcUre+GedzjWB9SbVFvS+g2WFLgtcInupl RIqTa/ckRFv8huV2QEACmr6w89vif2LwG/JuPzkn1mfknAOkZb5rpRg9wM0+A5PSk3gH b5JatJwzlj+RY24oLrNBRYjMg/AItpGUAiDuSxA9QSSXvGBXAg2LQrZBdnMmAmdGewjU zfw2KIXOLFdS55/3CVNPduXibVRlaJv4x+ZlzQzYZ7gUDjFgkwzc7BeI4JhmHclH2T2T 6TDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704717170; x=1705321970; 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=htl20WivVJFeJAmwM5KBpciVYSbljcJAemXWAsEgyN4=; b=SHTkEi+Gom3cKWtHkVFajb1RwYINtZ7ktA4+moPMfrLwymUX7bbPWRHOstYWjc4XeX Kr3KT9QhkIlb2OR1ruqhUYtVCY5BbHWhaADxxdm/SYSq2kqs/JY/gWCcnE/YEUVEUK4V kQyNIIix33cevEd+9eyfWsN48W2WvHtA4dObkLyzGCRH7GtlQH7IG0vHO8QHnXkNTQjh fnQtX4JjKo3I5jCqP8luWoBAyClKvI/qofJfgeyxSh/mt3+8kMZsvZEs+dqLF7aR9ywn rkTDHl+UwyS3+bkNDTRs1dGz7CWWy1/8LfhBtc8be7s+Kh1lPgq1feKWU9dRMR132Lka rHYw== X-Gm-Message-State: AOJu0YyGyIzEbBDUgfZHE/bQkQlhjMmEMZBk8UZEwOf5EX1Wzx7ZA0Ot O3hMd3f56QLlBLixQqoUO3O77WDGYn5G/N9x1LwuVbJOcYs= X-Received: by 2002:a17:906:a41a:b0:a26:9876:ae88 with SMTP id l26-20020a170906a41a00b00a269876ae88mr1024074ejz.73.1704717170374; Mon, 08 Jan 2024 04:32:50 -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.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 04:32:50 -0800 (PST) From: Konrad Dybcio <konrad.dybcio@linaro.org> Date: Mon, 08 Jan 2024 13:32:28 +0100 Subject: [PATCH 11/18] clk: qcom: gcc-sm8450: 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-11-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=U2C43YGEbbHUs3MA9UmdBCau40b0NyWHab0tGfzoC9s=; b=A0rKhsuGQQOZcx5LAU4J/wUenj8yoazvEda15d0QtsVG79rG6nzGGVk/I/qtfYpoN5kkA9f3K dZHoWC06ChrBZUjUkiweRsC3GELH3oRNazgR5apzZLciYG8MmCclcbl X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787526040853279616 X-GMAIL-MSGID: 1787526040853279616 |
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-sm8450.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/clk/qcom/gcc-sm8450.c b/drivers/clk/qcom/gcc-sm8450.c index 563542982551..1825b3456dd0 100644 --- a/drivers/clk/qcom/gcc-sm8450.c +++ b/drivers/clk/qcom/gcc-sm8450.c @@ -3202,8 +3202,8 @@ static const struct qcom_reset_map gcc_sm8450_resets[] = { [GCC_USB3PHY_PHY_PRIM_BCR] = { 0x60004 }, [GCC_USB3PHY_PHY_SEC_BCR] = { 0x60010 }, [GCC_USB_PHY_CFG_AHB2PHY_BCR] = { 0x7a000 }, - [GCC_VIDEO_AXI0_CLK_ARES] = { 0x42018, 2 }, - [GCC_VIDEO_AXI1_CLK_ARES] = { 0x42020, 2 }, + [GCC_VIDEO_AXI0_CLK_ARES] = { .reg = 0x42018, .bit = 2, .udelay = 1000 }, + [GCC_VIDEO_AXI1_CLK_ARES] = { .reg = 0x42020, .bit = 2, .udelay = 1000 }, [GCC_VIDEO_BCR] = { 0x42000 }, };