From patchwork Tue Dec 24 10:17:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13919908 Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) (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 17E5C1DE2CD for ; Tue, 24 Dec 2024 10:17:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735035475; cv=none; b=FvFjCnDOWJ+VnnBwfObSjwzz/IkPdVsvcenJa27Bvot//K10tN4UMZXQ4bQiGbm1G4HBppbgOqTmw39JKg5Zlw16gUWsXyxjYibZJEhjuTlHwpjFNXdTlKwX9vr+nn9dL4ZumbUTPt0eMiqZrAlohmXhdChgERgLTgcwx5XgOBQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735035475; c=relaxed/simple; bh=k6VUs1ScFCdCh+SFXZEEGEWQ1wMPimPue9P3iT/F5+E=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=iH18OMnLQ2FJ1hTqO1f7o9FLj8EOTyCj+L+7QqsqpQAC6rVDT/q/0ilIOjhDv9w6IXnXOMyN79BCknl1upQBJBCFZXVETkBlQoDGoftaLic89IsXxGOznRP2SzEgofPwtQ3ir9FGQ9kDAfFYK6IuVpBjzO/zdlhRXSnXIE4tv/0= 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=r7CUobTf; arc=none smtp.client-ip=209.85.208.174 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="r7CUobTf" Received: by mail-lj1-f174.google.com with SMTP id 38308e7fff4ca-300479ca5c6so49471511fa.3 for ; Tue, 24 Dec 2024 02:17:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1735035472; x=1735640272; 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=4UBAF6UjiLUGwxXJXXuJ3ndE0M3ekgfexe+qBug5T/M=; b=r7CUobTf/1fFewk1btvN+chSegmpkvJrjy5+zH+MfTcQhKdXfGAlYCn6blTrd5Yg3M C9elrxCfBNboaYpCdaURXb6wQ38E5sfgzUjcgSDC29fN2TMBdtTzQ7ag2pkp8pFKtBJ2 Di0R2CFoO5T1MLPI3vB4X/tp4QRMObJi8iGYn6XN17H8mcgwo4XZUdR5UQLlbi/rvGEE 4w+CZQ9VGDNrjGLF/3dAR6pgS0DliM8fALN24FpjnKz3vxW4YunFl3Qyn1OswuEy2uDa PsxG2IQ43On/Xed9pj152s0p50THC4KrLxNqrQxNboiF1Z4S0LtfDV2F+a2+huxk26pd qK6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735035472; x=1735640272; 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=4UBAF6UjiLUGwxXJXXuJ3ndE0M3ekgfexe+qBug5T/M=; b=epB4+aAweJSzHxtOpSSQiwg4tVgMMLw40UYD3WvAkaB+zEi96yfaPxnUt21Z+E1YaB 8tyfckhveIzS2DSi+mpRcSML76LlEixiR8a77LykAxqZLHEhuoku1RH7LugS/8+otF3I 56dohIKPMR7X84vKzfN9fG6q641JWCsnoOu4bh1FCAH32BBYrxrv0s3Du1NIHlbLmn83 EVJkYZC+gpUAXIIeqsBJHPiixxbl0ty7VM7s8tPjmLwVdlo4MlTSgmGt/qR9AdIlkAYz fREzifUy+X7cZ5y4XpfKvBayuRGpgzUui0cp2ODsNmcZYIMehazJLLN2LDWEqox3YHT6 RBgA== X-Forwarded-Encrypted: i=1; AJvYcCU/QqG7iHcZlHyESV3yyaatYB2jY9A7/yD3WD5qFeR7C8llL4gy3bPHGZznvd+m1+e9RrbXJhY4bndAVc5T@vger.kernel.org X-Gm-Message-State: AOJu0YxTOKkVcc1oIRwLE926ngaJVmBzNEpJg0Wa0fNCZILQE5KXQnUI Y9Ii2orrnlOcsZOvVZZw5cAXfLIthZ+wjXa0wl6rSrv1BoRs5aeG3Z60OYnidZs= X-Gm-Gg: ASbGncscUSO4B8YRNIjv7RsrupqQJnNT6G9fDUaAPTsYqGamawHgJJUNcQQLsteCEFA 9+jFjxLNLH96xDsSKXKO791z0+mvojF8arns95gsG4pc7eZTHOA4wc08PbTZbMS+UKw9wu0h3/m DzoiS+wOsHYdLjm33OLVsoVnrhpvPyalBRNfAfyOpNjGyTqj3GT3FL2dyTErI452X/lV2/uAy5n ITYiYF6FB2ChcFL//H1Hj/+b6FFKKpdjiiRifetjD00ucZ/uwpmrgI1vdwH5h5z X-Google-Smtp-Source: AGHT+IFhqzE92mnnHnLJv0jh8KG4su45vQDbk6bX/SYCD+5XAaIN7MDAofnbrl4J6dKMFO5i4bv0lA== X-Received: by 2002:a05:6512:39cc:b0:53f:a8c0:22a7 with SMTP id 2adb3069b0e04-542295602edmr5957074e87.38.1735035472207; Tue, 24 Dec 2024 02:17:52 -0800 (PST) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-54223600596sm1576865e87.92.2024.12.24.02.17.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Dec 2024 02:17:50 -0800 (PST) From: Dmitry Baryshkov Date: Tue, 24 Dec 2024 12:17:16 +0200 Subject: [PATCH v3 17/21] arm64: dts: qcom: sm8650: 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: <20241224-fix-board-clocks-v3-17-e9b08fbeadd3@linaro.org> References: <20241224-fix-board-clocks-v3-0-e9b08fbeadd3@linaro.org> In-Reply-To: <20241224-fix-board-clocks-v3-0-e9b08fbeadd3@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Leo Yan , Georgi Djakov , Shawn Guo , Stephan Gerhold , Zac Crosby , =?utf-8?q?Bastian_K=C3=B6cher?= , Jeremy McNicoll , Rohit Agarwal , Melody Olvera , 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 , Max Chen , Vincent Knecht , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1965; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=k6VUs1ScFCdCh+SFXZEEGEWQ1wMPimPue9P3iT/F5+E=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnaooi4JbQ9qoMYHTPz6/B+ss1zW0Z0TZr54dx6 ApifhuCgNqJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ2qKIgAKCRCLPIo+Aiko 1aHPB/0fHqSZUYDtdKTHNvB7niV4Y48sLLPWpgxlxEGbqe4AzyPIcNipiJPyUzxGhQ8azo/SudL u3LPKCa4hWKWte720ttZXLwnSczS2QpiGwLrtUqLtiBbaN0XKnNRegp4NGvbWSTpW0EV6K51E5Q WmUZ5+LepC14bCNF3Xe+LhSAGdPEF4sObMUbRpNZCj1v/Om7UURpGI5bXxR/V//uXCeKRD9TVjr EsmZYbVlnZT3rtk+rHegHQv6rQTvmUJITaQXMhZw10qhZ7B5Bvha7QhqyMcpEhfJMtRux1pad3t G7eQTyne1qc44aZFpd3yWlbxuIFUuNPSKRyxMwB2RWvnh203 X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The SM8650 platform uses PMK8550 to provide sleep clock. According to the documentation, that clock has 32.7645 kHz frequency. Correct the sleep clock definition. Fixes: 6fbdb3c1fac7 ("arm64: dts: qcom: sm8650: add initial SM8650 MTP dts") Fixes: a834911d50c1 ("arm64: dts: qcom: sm8650: add initial SM8650 QRD dts") Fixes: 01061441029e ("arm64: dts: qcom: sm8650: add support for the SM8650-HDK board") Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8650-hdk.dts | 2 +- arch/arm64/boot/dts/qcom/sm8650-mtp.dts | 2 +- arch/arm64/boot/dts/qcom/sm8650-qrd.dts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8650-hdk.dts b/arch/arm64/boot/dts/qcom/sm8650-hdk.dts index f00bdff4280af22f6f8b23e33238f53c602bc169..d0912735b54e5090f9f213c2c9341e03effbbbff 100644 --- a/arch/arm64/boot/dts/qcom/sm8650-hdk.dts +++ b/arch/arm64/boot/dts/qcom/sm8650-hdk.dts @@ -1113,7 +1113,7 @@ &sdhc_2 { }; &sleep_clk { - clock-frequency = <32000>; + clock-frequency = <32764>; }; &swr0 { diff --git a/arch/arm64/boot/dts/qcom/sm8650-mtp.dts b/arch/arm64/boot/dts/qcom/sm8650-mtp.dts index 0db2cb03f252d19a1f8b171a562a8e06290c8a21..76ef43c10f77d8329ccf0a05c9d590a46372315f 100644 --- a/arch/arm64/boot/dts/qcom/sm8650-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sm8650-mtp.dts @@ -730,7 +730,7 @@ &sdhc_2 { }; &sleep_clk { - clock-frequency = <32000>; + clock-frequency = <32764>; }; &swr0 { diff --git a/arch/arm64/boot/dts/qcom/sm8650-qrd.dts b/arch/arm64/boot/dts/qcom/sm8650-qrd.dts index c5e8c3c2df91a49476f49832c0bd6418f4dfae3d..71033fba21b56bc63620dca3e453c14191739675 100644 --- a/arch/arm64/boot/dts/qcom/sm8650-qrd.dts +++ b/arch/arm64/boot/dts/qcom/sm8650-qrd.dts @@ -1041,7 +1041,7 @@ &remoteproc_mpss { }; &sleep_clk { - clock-frequency = <32000>; + clock-frequency = <32764>; }; &spi4 {