Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1595822rdb; Mon, 8 Jan 2024 04:38:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IGBpM+XVBul4UtAGepV4Qi4pKejxpyTGykXG0aRJeqwD/tEzsujmtu2DJtK48MPYSBOOeKH X-Received: by 2002:a05:6a20:1609:b0:199:db4a:face with SMTP id l9-20020a056a20160900b00199db4afacemr208063pzj.85.1704717481543; Mon, 08 Jan 2024 04:38:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704717481; cv=none; d=google.com; s=arc-20160816; b=m0S3pODCv0bSJog31e2RotfrpbNYJy8otbTinQGIGXwP54/FhsI3MrYj4nS41aknTZ 3KVVnPdDqt8tz5gKBnSuSW+2ZDU2ZIIjqvomzjM3PZ3xlcn1+0pY6lhfp5wViPmmqJHB DamdpJUp72QrqdL95TEecSOp0mX/B90sP/jN5fPd3utfj/oy7lYDWo3WvCNbZodSmrWC h7Dn0ImFTj2vhmwNOItyHzhQkGRruQPrgHpi8AJCoMI0lB7JnoYKQLgsgQt+RBpy86Vv kyeuFfYRJYEdVUzWcplvMu2kGGsskS+9X5HqtkC2n+gA3fSryEsFC704VibZqSKWhseC 7Kgg== 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=blk0TwokTQ2HtT8cgpJRO0PrfE8+QaeuA8KuyhDefVY=; fh=xaSuZj1ajbxHn52v8M2SiBWQNwlImHP6rQYKWo0AWtU=; b=QoAQtm9jpJTOJi+3AtzvjuzkvAXZOsXt2yQFRYT2se3fjgG4KpfcUvqUXwn+wH+4Qc RhiQ0e+KCm7Np1lkprEsnjM54iPrMWbA+g4lxxZEphCxH6tt/NatGtGYMeWEwf6ET8cN gAwl1ZYZT+Nu4TsrE7jJr6niHfKfvHSztLKSYOWaq6si8q8J4cyYHd/n89of5B7IFVTD ByRnoU9PFydJ1H4EbUC99ao3cD0nU7NoevXRGhtl5L+h11UjtfWDQ2PoPyd88LXe5UZF dPencS+lD7C5zuvUIrUbwWONu7QMe7oswymoV8h2H7X+NpkapPgkJOBws21WxBH8oQx1 JIkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZhvIyCH6; spf=pass (google.com: domain of linux-kernel+bounces-19523-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19523-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id x31-20020a634a1f000000b005b96d038729si6014103pga.728.2024.01.08.04.38.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 04:38:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19523-linux.lists.archive=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=ZhvIyCH6; spf=pass (google.com: domain of linux-kernel+bounces-19523-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19523-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 3776B2834EB for ; Mon, 8 Jan 2024 12:38:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8DAF151C31; Mon, 8 Jan 2024 12:32:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ZhvIyCH6" 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 329165100F for ; Mon, 8 Jan 2024 12:32:34 +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-a26ed1e05c7so182787166b.2 for ; Mon, 08 Jan 2024 04:32:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704717152; x=1705321952; 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=blk0TwokTQ2HtT8cgpJRO0PrfE8+QaeuA8KuyhDefVY=; b=ZhvIyCH63z/uWj7keQyAJHzLAR4U/TTAI4k8PCAuEuoHTIzRcHiQV2kg23sjz8tUpI 336lid2YLy40Jb7toduHkZmVfLPp9gi0UFu1WbY2sgKfRGapiQ5hYJSvSznhn4GG0Q7f Qrc+cdBlOmfixZS2bSANfX1LSa4N4attWKgFBXG7IleeofHZfXrw06HbRrODLcXY60wD 6gh+ekcGRXIoGWTl5S7m+hLPIOp8li3chb9eS9eAMTQwW+mE3R23oxiSLiTgK4N2I4g8 wBWd4NHauun+9u9MDnmljaLvhCCMGSeLXFSIuHfee1lzE8BweZoW5gfIniiRWKUrC5EI X9VQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704717152; x=1705321952; 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=blk0TwokTQ2HtT8cgpJRO0PrfE8+QaeuA8KuyhDefVY=; b=JbJhGwvsPf1PR3i5gIA6VbCkYJDKT2IzXNoylTti6ahoLjtEkdEZ7XkAEtIcKkL94l XCcW/v96MSP4LUkRZU8lU9y5BIS3de+vdrW6q+25iyUCXujDkL8Slxo/BvMXwaT2A7ke Z6PCoxRTc7LcEQcA0eUE8nKc0E5UtV/LvHOpg0a5ipBmi2lAH2drDjxW6njgtacOlsL+ ohLppRNQ1KtHI3xx6fritBJzeqDPhFXUWnaDgdbsXJ8mUjZ+/RzvTnBmgyksXk4n7jwZ oQ92Of74uqav9vDRO909dYOi9++Z8AEkawvFTQzdWlxLBx+gYiJ5GH6gi7SOfJJ0tkk3 0hjQ== X-Gm-Message-State: AOJu0YzvPhKrj+9AUiHtEZ5hNiBfTETJDUjE1LddbCA34Yk8aRPpvmsG yrzGLMrhqZ3nRbp5iqkCwrpv6bP9MqaOA76GLRWKdcIUJ9E= X-Received: by 2002:a17:906:2210:b0:a2a:4b04:167d with SMTP id s16-20020a170906221000b00a2a4b04167dmr736131ejs.27.1704717152274; Mon, 08 Jan 2024 04:32:32 -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.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 04:32:31 -0800 (PST) From: Konrad Dybcio Date: Mon, 08 Jan 2024 13:32:18 +0100 Subject: [PATCH 01/18] clk: qcom: reset: Increase max reset delay 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-1-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=566; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=JX51EYp5JFQZ08l/6cPLk6AJNuyWClVT+Ndq0orY4H0=; b=Kyn4473DA3WvcmrlK27CvnoOgbeEzf7Yehx2lnAVswUVpL8pCGzd4qG7+r2x3hTw7Gwb/Okt4 o1nXY+mCXs5BVbXAbVZX26YcwyHtpMVg/aCFQE5UuRkkd5OpcgaiY0g X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= u8 limits us to 255 microseconds of delay. Promote the delay variable to u16 to hold bigger values. Signed-off-by: Konrad Dybcio --- drivers/clk/qcom/reset.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/qcom/reset.h b/drivers/clk/qcom/reset.h index 9a47c838d9b1..fe0561bf53d4 100644 --- a/drivers/clk/qcom/reset.h +++ b/drivers/clk/qcom/reset.h @@ -11,7 +11,7 @@ struct qcom_reset_map { unsigned int reg; u8 bit; - u8 udelay; + u16 udelay; u32 bitmask; }; -- 2.43.0