Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1598299rdb; Mon, 8 Jan 2024 04:42:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IFi7tQ8XA+LwHjvoLwGQmxXkuoYQi5RMSVCAydKRm5pYVRD1jYLAXke+HybrlXfJLCXEgl8 X-Received: by 2002:a25:7494:0:b0:dbd:724e:57f9 with SMTP id p142-20020a257494000000b00dbd724e57f9mr854708ybc.27.1704717774966; Mon, 08 Jan 2024 04:42:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704717774; cv=none; d=google.com; s=arc-20160816; b=rMqUnfIsniVeupszUSi+fM4SXUCJy9bHT164HVxKhLg2qDt8NFEDjBg8IorDZtl7GY Cys2znQT29CG6Z1tUBjhwjw3JIO2iBibUZDJCq5l8yFSMoLBffSy7STAGi4V51PusI2s dbhgAWf9qHIK6j3So36ByRdzl3MWaHjRByLGlUoSeYYU6Phv5tl6IdNDPlZS/ROBe44s HxqpVWNgkuxj5O801ww572bKpPv2Sb3fY8CwzuHngG3wYhUNr6pNzpDbIZMl8UDzAkP5 0ajFezX6QecSAY3eLV7SMLaaXZbyVqeXjNrCqNA7klSMtHzxn7H13ErKT93l2RCycHNa aolA== 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=qAbsh2raT0T0gFCQooD4qLMuLwM2nwWqes0FR90GOPQ=; fh=xaSuZj1ajbxHn52v8M2SiBWQNwlImHP6rQYKWo0AWtU=; b=KdUt+aO0cVuke4wLBtyeYGYYfKw2wT8nJ/ARcQWdLBudYqJ2TzZYomONzyU8D0G666 6q5MNTTIzwHQSvrXznD+uqNhI7aeLv1+fykblavxU9v+l/8ku1NqBXVFzcX08TiyPz3E V5DwDWsf2cD2xCW3w/J8+8ve7yMVLOjMkioFOf52GibW8rt6I7dohz/3pM6Nt8vERB/d oHrllQd/FNoSTY+2B3QSMgPfVfmSwTwI79T8ned+jwXwpU/OMIFRGyE3q2oEq4rphi+c ewHuy3lobkfSAViA2Y/YS8V4R2hD8HT7Iox9TxnHmuK3ta2YYSPZua0dNQVeZeikuYD9 /wtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jwHWKG+Y; spf=pass (google.com: domain of linux-kernel+bounces-19540-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19540-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id p20-20020a05622a00d400b0042997fb63a8si1439934qtw.286.2024.01.08.04.42.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 04:42:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19540-linux.lists.archive=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=jwHWKG+Y; spf=pass (google.com: domain of linux-kernel+bounces-19540-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19540-linux.lists.archive=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 B4E851C2115C for ; Mon, 8 Jan 2024 12:42:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3219A55C2D; Mon, 8 Jan 2024 12:33:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="jwHWKG+Y" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.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 0F51A55C0F for ; Mon, 8 Jan 2024 12:33:04 +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-lf1-f49.google.com with SMTP id 2adb3069b0e04-50e7f58c5fbso2016913e87.1 for ; Mon, 08 Jan 2024 04:33:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704717183; x=1705321983; 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=qAbsh2raT0T0gFCQooD4qLMuLwM2nwWqes0FR90GOPQ=; b=jwHWKG+Y1RX6AMZO0dHmwAJDlr1y9JaKKeEa8R7rJ4uN7tmIoEmJQ3IoS8Z589VCdQ Gq2UqbkXRU8qOqFKPLeIfyE7M+a+Qpi2S+72MdZeMo3Ljj9mjSrtj7MLcayVb/UbZW1e bJx2nfSBEPgphgbDid0WJm8wYUQE2HDsZWUYn9dcZ4Bs178t6Zi1FP1dad72LR8FPsMa IljsWX2HbhfBWj7IcfGNylFQTJ32FMuXH/z0LxXJoG7AAMSG7KnCYjMyv3jc6H8r4vQm yi8qpXSEHuPgOSl4w4rNcJS4Lg9+1RKNZbMWva/wQmeoL7lQZtxWCY7YVoQuVXVn9VWz 97Lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704717183; x=1705321983; 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=qAbsh2raT0T0gFCQooD4qLMuLwM2nwWqes0FR90GOPQ=; b=kfRIep6ypUDa8nzvB42C+RK/CqugxrHmcJvuHmUfpjaPO9Q45odCa6CVRzPXNzt/BG WtD7x7vTCn0Yv/rJFK64V/IVnuaU8t/tKmTmcFY+bv5rcbmfODD3BCum9pFD5Hu7XAw2 93rpyO5K/BOYYW/IGku7EEV31K87E+L53z1j65ATLGpiW9yfxOuozJCHYNq91t0sbN45 vZDSXdUAgU1mtB7RwgSBRk5zlt/Xsn/MpcKRSUaWaiYLrDTAbYgbVG6oJfKeLiy9+72o PwnliV5Id8tM5rmQCg9Ewk7XVJln1K3TPhWY6oWL+YJaxKYUQkk8dxr8X3k3Qo27WnqS hgKg== X-Gm-Message-State: AOJu0YyGfB9RPWn07VfTRIiIifAjFZx/qsWmjgtpCkU+G6GAoJCAUcWl bVP74WAfG1wollpTfgxtpZNGK1ozK8qtPXXEYrMh1qxcXNM= X-Received: by 2002:ac2:4822:0:b0:50e:6ddb:551d with SMTP id 2-20020ac24822000000b0050e6ddb551dmr1300789lft.73.1704717182919; Mon, 08 Jan 2024 04:33:02 -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.33.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 04:33:02 -0800 (PST) From: Konrad Dybcio Date: Mon, 08 Jan 2024 13:32:35 +0100 Subject: [PATCH 18/18] clk: qcom: videocc-sm8550: Set delay for Venus CLK resets Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240105-topic-venus_reset-v1-18-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 , Michael Turquette , Stephen Boyd , Philipp Zabel Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Bryan O'Donoghue , Dikshita Agarwal , Vikash Garodia , Konrad Dybcio , Manivannan Sadhasivam X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1704717148; l=986; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=nUkji27joUy4z7sSoyVsNLtQaWjmCqTk31+xfHWXM8I=; b=w4g8AeDrPElFZuWnShULIUezl/D8Mown8pWJMvSQi8+U6rX64xETD1nQ/r4IjQuIvmP9ljfUk P7na2O9tyb4B4xcuvQv5tDQcZWCiODy4K8z0qMFVpLRR81QOZKxrfOy X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Some Venus resets may require more time when toggling. Describe that. Signed-off-by: Konrad Dybcio --- drivers/clk/qcom/videocc-sm8550.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/qcom/videocc-sm8550.c b/drivers/clk/qcom/videocc-sm8550.c index f3c9dfaee968..e3f146347da7 100644 --- a/drivers/clk/qcom/videocc-sm8550.c +++ b/drivers/clk/qcom/videocc-sm8550.c @@ -378,8 +378,8 @@ static const struct qcom_reset_map video_cc_sm8550_resets[] = { [CVP_VIDEO_CC_MVS0C_BCR] = { 0x8048 }, [CVP_VIDEO_CC_MVS1_BCR] = { 0x80c8 }, [CVP_VIDEO_CC_MVS1C_BCR] = { 0x8074 }, - [VIDEO_CC_MVS0C_CLK_ARES] = { 0x8064, 2 }, - [VIDEO_CC_MVS1C_CLK_ARES] = { 0x8090, 2 }, + [VIDEO_CC_MVS0C_CLK_ARES] = { .reg = 0x8064, .bit = 2, .udelay = 1000 }, + [VIDEO_CC_MVS1C_CLK_ARES] = { .reg = 0x8090, .bit = 2, .udelay = 1000 }, }; static const struct regmap_config video_cc_sm8550_regmap_config = { -- 2.43.0