From patchwork Sat Nov 30 01:44:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13889058 Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) (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 D52FE199FDE for ; Sat, 30 Nov 2024 01:45:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931105; cv=none; b=rINTDbOj8eDs/RqZ2W9JtPwRlbzHuwjzSPnTNjOmXmS2yKzGMkJ+ZUz4KjsgdCRWGqyRyIdiauR0PAKN6RcKffJaiy6zdh0qybL6vAOsPVGoweiyKOEy8B8qoqp0f1xPfNvVCqRu78LmoDveRSo/ymb5MqX9tDSpWQpRcMq1QIs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931105; c=relaxed/simple; bh=zFjg3X4sj0bxnLQr9HZSDlL6zt2ff3hQG2YCOF9/IoY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=QFCAM+vZICkEqeMYUW7R3O0Rd6GQe6CehLCCJ7TABfxZU/fX+aIWCWftLEK7aK7sEJxayZ2WosBXg+OIoXO2Di9QX1XoGLN+7DCVwMPvqg2SQSd4bbMydxLOVREFIptcUov+syZ4I6OB1Xw3iNKsnwf0bpjIJAP5kQZ/mpE5ePc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=f4adiKSI; arc=none smtp.client-ip=209.85.167.45 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="f4adiKSI" Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-53dd57589c8so3636152e87.1 for ; Fri, 29 Nov 2024 17:45:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732931102; x=1733535902; 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=K/a5BAp3qzVqtYl9QHTxi0LWKFQabKWYE2YUriBQCrQ=; b=f4adiKSIvIreB8lB6evk4hjUK/EqAHM0EfXIKT3nvGSdm/rN2u5R6bZKJYh4q/7yKs yUvohsXPAIm27HDF5L7oq7P4nN7T/jWn5XRYH0DkphO/8SJFHtvk8JC1oaRV2XyHsA78 nx0FdmPXx9l4WPi7JPB7yQBjSgLSdClgRbsmZtn1+/QrQe52UBJDIZlhFJl7T+RMIYMk Iz+ZnpgsVfkotbKaQIJP1O6bcE6Z8lJGW1cJUFUQ+k9W5+rQML97niIacLgZg476pR2B coLGXY4uAIZUURGdWQ/sKY84MkLO2eQmbKLVvpqHaP9U610HFgm9u4FZY3paJYnJQoiZ OasA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732931102; x=1733535902; 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=K/a5BAp3qzVqtYl9QHTxi0LWKFQabKWYE2YUriBQCrQ=; b=vNblebr/vOspv/5gLKxUt0y05/Xj2BOpz0ngg78RgdWxHtZpRHpu/cAJCkeu9tucT2 eE9L49ZABHDgiL2ijFBf+Nfcef8+njZtSiw0xmTR82G5rrixfvUFYcf2E/BBLTwZj63S kuU9cb86Sd7fNByGuXdYkx7+mYyJRzpYeuEmfVh6pxvH4/d+xJSU4MemZ1gx/1J9ViDQ ENHxjsAJ+2jxb08TdVF9ldBrbj+PflXUaxwlhhQa08r2PXLKo1YRtz2rbRJIMA/1oZ0+ 9NbN+TIrSgcy7zak5gJvpALJUY0DZFDHC8GBE1kn0T1GLEBpK/8u7aVBLy2XIS/r+AN/ BMlg== X-Forwarded-Encrypted: i=1; AJvYcCVD742wRMiUXDIuP71uqK4IFaGZWr5yQVfc1pIDkiig1J60DT1Ih3woPnVMK3F1Gxvk4qGOBUcPixEJ+GSc@vger.kernel.org X-Gm-Message-State: AOJu0YyFTdcssUajZ1VaUm+Z/PMak+3Bm4PX3HqDGiMPVl7nyfn71hT+ 67AJRla81GLsoX/aoL6alWUvtZYMVYHIUf/US+08OUu0HjGLH3/s8cYbZx5Lx+Q= X-Gm-Gg: ASbGncuZYArdL/nDuk+Mt96Trr+7uCwq9BrGK+OvGhXV26Ui0kUHco2MAQfsAHiUtIf jE8P0i/fuqvyPd0cQNE+C20D8HRUXC6g2FMZrcCyYkyvdUwbGanxRKEVT2QumZN2Zsj5kPSfVWr AJCy0RYzm9Yh36GG9R2D9iL2vk56nntfVEmXs7zqXOglPVpwSR8pM1cYvSEd099iEXYclVGPgv2 tO/6zUJKhhdZSahOPJgeYCORO1cF61T6SImEgUHCuw4eopMn2AUOHxj/A== X-Google-Smtp-Source: AGHT+IEV+tG0cn8ecYo52eg8XBWYc80ZHk81V4q1eI8bArb8p7A8/lL8i0oSwTsogfw/c+A/sZVHEQ== X-Received: by 2002:a05:6512:68c:b0:53d:f716:1e4d with SMTP id 2adb3069b0e04-53df7161e8cmr3042194e87.7.1732931102039; Fri, 29 Nov 2024 17:45:02 -0800 (PST) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53df64a0742sm631946e87.261.2024.11.29.17.44.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Nov 2024 17:45:00 -0800 (PST) From: Dmitry Baryshkov Date: Sat, 30 Nov 2024 03:44:26 +0200 Subject: [PATCH v2 14/31] arm64: dts: qcom: sm8350: correct sleep clock frequency Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241130-fix-board-clocks-v2-14-b9a35858657e@linaro.org> References: <20241130-fix-board-clocks-v2-0-b9a35858657e@linaro.org> In-Reply-To: <20241130-fix-board-clocks-v2-0-b9a35858657e@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Leo Yan , Joseph Gates , Georgi Djakov , Shawn Guo , Stephan Gerhold , Zac Crosby , =?utf-8?q?Bastian_K=C3=B6cher?= , Andy Gross , Jeremy McNicoll , Rohit Agarwal , Melody Olvera , Bhupesh Sharma , cros-qcom-dts-watchers@chromium.org, Stephen Boyd , Rajendra Nayak , Martin Botka , Jonathan Marek , Vinod Koul , Tengfei Fan , Fenglin Wu , Neil Armstrong , Abel Vesa , Alexandru Marc Serdeliuc , Vladimir Zapolskiy , Sibi Sankar , Bryan O'Donoghue , Jun Nie , James Willcox , Max Chen , Vincent Knecht , Benjamin Li , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Dmitry Baryshkov X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=914; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=zFjg3X4sj0bxnLQr9HZSDlL6zt2ff3hQG2YCOF9/IoY=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnSm31D065hWsgzOcAAmlcI0LsQtZAm0QA5DLlG 9kK3CVaezeJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ0pt9QAKCRCLPIo+Aiko 1WcNB/9mSl7V9h8dAOyUvsJHNGqbZPHmf+Tlhs8xI5XQvXhCmEsYpQV8/rKDUYsR1oxKLRn1gbs h1qO1jeg7TRRUSd5thWZi0PDeKP40ZaPfnA4wylK0YNHQ6d604/lRDHITg9AmJhmWJkN4ZgzRYw 7/K2nCYSGQjpLELwmUAxtyFR/xBU/Xiv3vUJDyEwOq0UTOrV2fUEay8kb5d9orA0vE486CoRaDB PM8q9HJAsK64w+SI1eO54bUxZ5U8dk6k8L/g/MWznNWbo2J4g/5UPwSPxuB0z98Bi/Ae9ogzMt6 io/0OpgsJ9MIQJiwTe07nMzIAtbOHkgzMjJJqxuxi0yc9xlB X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The SM8350 platform uses PMK8350 to provide sleep clock. According to the documentation, that clock has 32.7645 kHz frequency. Correct the sleep clock definition. Fixes: b7e8f433a673 ("arm64: dts: qcom: Add basic devicetree support for SM8350 SoC") Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index 877905dfd861edbcd083e6691a7cfa1279164ffc..15b7f15b3836dc544cb1209ab36df85263d612a1 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -42,7 +42,7 @@ xo_board: xo-board { sleep_clk: sleep-clk { compatible = "fixed-clock"; - clock-frequency = <32000>; + clock-frequency = <32764>; #clock-cells = <0>; }; };