Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1599329rdb; Mon, 8 Jan 2024 04:44:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IGnG/gG+tf2RVsqmbmhYTYaD9hc/daSYMOC73FGPvnXfkmwthV8L4bE6Y0pvHEod+0ar+zq X-Received: by 2002:a05:6a00:93a2:b0:6cd:f91e:dfe4 with SMTP id ka34-20020a056a0093a200b006cdf91edfe4mr4385320pfb.2.1704717892884; Mon, 08 Jan 2024 04:44:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704717892; cv=none; d=google.com; s=arc-20160816; b=qLiJUBqH2cPrxpNtGd5GIie4xXY0HjWHCIhUVjyMoFpQWoNAaio5CFhM+mAqMNx3Jw BxprMHQvr8dJzr75+oxx/7U1pabBVLvtbwvmreOlNeT8xY7cJ2t7A/84wjfudAtMz27n ve5MyrcqwhZCWSemNjax9tm+DYV06nxlLISMjtd4N53xTZM64ASg0wVbx6Lm6/X9bsSA 8S61HNXR+ZukjvzIpLFb/PhmFROYnncTOLALrYOfWWEBWeCDcIzuoTRFhOEE2nHlUF05 syP5IVRC1EgaVAOZOrjB11MZMw8uB+uTjAAhNOvFgP6OzGwY5usLq4Y3sax4Cj7jGWMc Yf8g== 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19534-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id k6-20020aa788c6000000b006d9b2675e34si5966963pff.323.2024.01.08.04.44.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 04:44:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19534-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19534-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 9F1E7B2235E for ; Mon, 8 Jan 2024 12:41:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2839854F83; 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="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 ; 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 ; 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 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: 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-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 , 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=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= Some Venus resets may require more time when toggling. Describe that. Signed-off-by: Konrad Dybcio --- 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 }, }; -- 2.43.0