From nobody Thu Dec 26 20:59:05 2024 Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) (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 539085733A for ; Sat, 30 Nov 2024 01:44:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931074; cv=none; b=LA9YiVXyzXn+1X3tUM5H/4yXDJhZ6rb9Q6d0GCpwu1cEPCo19X14nwePvmHBsmbwQFPaG0GaQOtf5jsBBCFrjLzVb14DXDnFnRF/IfoFemduKmHx5rvkrWMdUn7bvG/RlLvKSWD7/f29qxVIKj4c/qJ5FVJEvpy5UdJO7Gtnq4s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931074; c=relaxed/simple; bh=RRNUGJhydbP97WLehq1T9w+y0AXTLiZzoSCdrYYWsLQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=DJHF+HNFkHZMLhecAaJKWa90QYl9VwTN+nP+LM2Ue/hNx5EgofmVJ2nsnDaBhjjxgSvp29CmdMxeG2wWf5mefz5PZZafQmqoZIbIg2uy2Zq/ndQI0eH/8sxlbW+FeeeDf3X9L7fgxy+iXiYbpLeYu9lVJVcZLPb4nKc0xNUMqcE= 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=dQgIGX7J; arc=none smtp.client-ip=209.85.167.43 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="dQgIGX7J" Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-53dd668c5easo2530089e87.1 for ; Fri, 29 Nov 2024 17:44:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732931069; x=1733535869; 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=epR874hobbwB7Q3STH+BJThMFI2d8KsVV/Va6kd5V5w=; b=dQgIGX7Ja5ZCMmQYn/UKYN/L+XWNja2BLWpp8OOkr93FgpX61/APj9bXtYe/1u3Uf8 cr5XA7EZ4o/EnYoVGtRx2/JZ4+UhpxnKzinpliu5uPb2NvYmVPctyCaj6QW5Uskj8vAL 6QT+E8lJo4v6vfgs0BPm/U04BltHrhTW7zGyfZZ66xZ22vZuBz5pBvicH2kz1BYZqZ6I nBJ3HHL0wj/gBsmumdYbZmUI/PN7OP5ceqLQpEKrbUxPUA7DtRo20L8hlHMu8lEwTxWn EvM+TIpryd87nRVyiph4mlOzEua8uTWxVanc4wfQ3rKM+IVTgz4zVg7tpwIz1ZFpL7pQ gy8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732931069; x=1733535869; 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=epR874hobbwB7Q3STH+BJThMFI2d8KsVV/Va6kd5V5w=; b=ScEOQUxXu5WleeylaDxKuWQRp5PJiTPfWF+vOLM8Ro0DkpgV/R013p+aYFWHk7WvU0 fz+o5B1OgVqGC/RThjeaeVH2BwqPqDLI2WsoqlVPbCOM5TM7biYVfyfQyd8U4xI7JUFf J7km67cb5MLBFtl049BB7Wavet+OIitBAtDXnWKInpIhVcT5venS9PmeHoPXu/t9xdnG ZAPDMpK8Rgj1SFqIsqngxX/k39/TXDTLS34IcTwylStO9Y8wUAmNcW8zXYZuEhIIK2/z f1Z6sR2HL358XeJ4Cq4caiUil3IUljXZqqXOQn4V1HL+wmWAEIwjwfHJKNYwYm7rwoZ9 R//Q== X-Forwarded-Encrypted: i=1; AJvYcCU7gPplTC3jbLh22sznhbarnWzn1KhammKpwnuEEvaDv9Kxbh1P3fJICwBl2rHMCapuw2mj6jLYW8FkNX8=@vger.kernel.org X-Gm-Message-State: AOJu0YyTE7LpQeHPQ/4YYbjbPBRxQWWSduB2O9KL+myUiVeVT5gvSjnp x6Bh05sFEWJiOtMV1FWdIUo7PIMKdiaeA8BMB+T2iMO1mu0bgzWw5az/cY67EfY= X-Gm-Gg: ASbGncucdThCQjm6BsRODC0wnKvPcrI8aUL8akdCNiZNGa8Wh+yLgr78ug2hRTMTLvq 5NIe6AAy2SE+60r1mMtRbzkLb+mtYvyDFIQamEJZsFG8F/9fxIlFI2NnnDaOKTfMeuI1LFZ/q7p 8dasiYlyq2uUYRQ/HpA3PnnU0WAAHcLoqaLEuuekTFXB8gz5AzQFL9Rt0q4beagBbmNuYh2JBwb 27OvXUaiqid+f49D3vvshGMPL5cCLQIVU/05VMPiecL3h58DLe5DHm8RQ== X-Google-Smtp-Source: AGHT+IEWpKMUmLK++Wh7HnEPgRrHYZ5S9gc+8yhi4nMvcHtj0hHeJIA006FZxSetGhGCfh+UN9H0jg== X-Received: by 2002:a05:6512:108e:b0:53d:f84e:ca1f with SMTP id 2adb3069b0e04-53df84ecae5mr2675045e87.15.1732931069294; Fri, 29 Nov 2024 17:44:29 -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.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Nov 2024 17:44:28 -0800 (PST) From: Dmitry Baryshkov Date: Sat, 30 Nov 2024 03:44:13 +0200 Subject: [PATCH v2 01/31] arm64: dts: qcom: msm8916: correct sleep clock frequency 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: quoted-printable Message-Id: <20241130-fix-board-clocks-v2-1-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=922; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=RRNUGJhydbP97WLehq1T9w+y0AXTLiZzoSCdrYYWsLQ=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnSm3y8sGkg4cbFhbievKqVk4IBQYf7oTigPWWd GC3yaD7idCJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ0pt8gAKCRCLPIo+Aiko 1cYnB/4nCxLTczH3plii1y5u6b2Agwm/84QIJwC2w1M5TaC5NKjGEZ3MrXI1c3qTlpx751Xu5rg xphBhbwii3Zr/O4Isu/Qe6K3lmd9HN25m/9KmOEkdfbwx46/f5DycqoGvYBdJTjm1ODsEuPfuki UhU/PPkssXLvIBnCNHuYHO7delXV1Myi61/cm8SQQio8yzsE41zl6bNedQt/JhfhZiuRMZcJAfv cUsx69r0UmBA/7ZY+niAKenCpqoJ+KMiznDJLxMbgMt1vMbB3ccIM6REglmFTxJvcUo2KFfiZFp AR2eQiA7/wuoesJTfjiVo6iX3gPwzqJUUX4zjZWWSieoAcD5 X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The MSM8916 platform uses PM8916 to provide sleep clock. According to the documentation, that clock has 32.7645 kHz frequency. Correct the sleep clock definition. Fixes: f4fb6aeafaaa ("arm64: dts: qcom: msm8916: Add fixed rate on-board os= cillators") Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qc= om/msm8916.dtsi index 5e558bcc9d87893486352e5e211f131d4a1f67e5..8f35c9af18782aa1da708998869= 2e6588c4b7c5d 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -125,7 +125,7 @@ xo_board: xo-board { sleep_clk: sleep-clk { compatible =3D "fixed-clock"; #clock-cells =3D <0>; - clock-frequency =3D <32768>; + clock-frequency =3D <32764>; }; }; =20 --=20 2.39.5 From nobody Thu Dec 26 20:59:06 2024 Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) (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 C9D4C7080A for ; Sat, 30 Nov 2024 01:44:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931074; cv=none; b=JUcoZd4+3JC9nHFaxXy9pZThxiiFJWmqXxBXFxnfuB62RcFmfjL3zIt9NXVQ5KyfOqtkCTgYBbCGGVDxD7EDvYQhzNTZBU3z/eHbonjUez1t4EOOo+Cgtqx1Yr4WJ8O8F/3TnYfRNDBFRQu1YmVmw/lwr/YJcDcXshtSXMKyRSg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931074; c=relaxed/simple; bh=AcRj8PcnHg5wF8WrCCf+iONlLmGYiLAyr6ue6biir2o=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=OZhfunZTZmq3wQqbdPqyuQ6w/RBYnC8AFAOhCs5H9rtXELFIXrfRZH8AVyX77osQnA02+yZyabJ1CUM9Z4pkZu9yTP9NNt1vMCEvwcJAYJgBDbrUfBTmBCjTr+F0EJZrXOkdhFn06lMEurtckJfBkvS4L8HZi3ByWtCzydNk16o= 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=GMjkWigG; arc=none smtp.client-ip=209.85.167.43 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="GMjkWigG" Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-53de5ec22adso3050284e87.3 for ; Fri, 29 Nov 2024 17:44:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732931071; x=1733535871; 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=ehDXhExaGgh+zo/Qn+x4TP62l4KmX0Vf5iuas4mEBCQ=; b=GMjkWigGjxx0qDJPMDrM85+Mrom+ti83WiuvkcW8GPIL8WIxMw00VbQL7IDCfd3Yyi Hs+PPe3YakQkpCXKmJB8XN6uBE9X2aiCKPbNrzT+AHSk6xjr8ihZ5imnmiEpqNh7SaEm KXPwBZv90DIg35oyXDZPCtyDedweJeOA5k0jVaC86cZLQOUaibWA6C/gi3F5R9ThTlY2 9W7zrIWj88qr4pWpZ5Y+L0kv7k+xjRwQkpuyebSyqgpZsluhS/iv4hx7ljXdfw02Gc/X n+j+CHypJWEMkIRL0nc/IcV26l3NvjcBgQbhvZuZ4Htbd+G81xeDtTRO8fAJNEWea6Yw 9ntA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732931071; x=1733535871; 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=ehDXhExaGgh+zo/Qn+x4TP62l4KmX0Vf5iuas4mEBCQ=; b=B/+iOJHCxvI6KdRYe86GRKQmQJ0/hhh8f4AF/GhkfZ7pfMuAw0bZfVI8lCZa8iO1EG ffw5qAGxfqOxe+yXoRoKQzeV1w7PPIN0MIO3hD4KvKYNxrB5q1/mMzWm+YeJI1bfU+Fo IDlnD6wpUF9+/FdqO9ishXYAKCsXSyCkQN/FpWoRm5y5lWX3he251UDW7a3HnLGeunoK pSKUpkZa+W6UEcvzkdQyS96jtTunz/zmTi1em6WnOiG7TdfmtCev0X3dFCpAzm8C/UqA CXvfIH8PUdyg8rAeKru6rH8sS12RILnyuJm68Cz6OhwW1hft169fLiRguNdXLG44B5eQ fmEA== X-Forwarded-Encrypted: i=1; AJvYcCVv1hMlwiSl04joJopiJsv2Kh4uU39jLbfjJHYy4roDpw07US9P050orry1e3nFXpjRh3Pa+eWN3uNktOQ=@vger.kernel.org X-Gm-Message-State: AOJu0YyVzjixp7VrkBWUSVPe0jgdFUcpem/05a9EuSFZvC10UohgtQAE Nuic/3MAdinvvG3ZkS80Vwl4PUMAxRbR/Dbd99slKi5EfHDmfSr9nQJWEGwQFbM= X-Gm-Gg: ASbGncsf07+QtjdX+hQ0PTmIp2MGMbEcxpj7qCrQZ6EJ82IluyYGy5ILsbd+6SrYcNf NsPX2ugW4dFDj+BQhTrV5m8N/Ef14LfFgvLJAHUjmjjThRyVepfDr7RqkK6r3CPxa4ZXUdBDNJc bN8zf35K1eanAn5hI8AP3J50K8Ld4TwbW0MAw7F56o9AAwWWp44fcH4zftbGwGxbYxDbpoivcjW QojWx1jLG4LNekml4f4goasa2otWKDKuPPCuYygXJ+Xi+C1of4wxO28MQ== X-Google-Smtp-Source: AGHT+IHXQP0c2jYjel1INGubRNNdpIHSfJyXm6AUfVNMfmh2+ZwhgoRbsk3DRmxI9aRLm4MX8zBryg== X-Received: by 2002:a05:6512:2316:b0:53d:e5cc:d06b with SMTP id 2adb3069b0e04-53df00cf669mr9128290e87.20.1732931070926; Fri, 29 Nov 2024 17:44:30 -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.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Nov 2024 17:44:30 -0800 (PST) From: Dmitry Baryshkov Date: Sat, 30 Nov 2024 03:44:14 +0200 Subject: [PATCH v2 02/31] arm64: dts: qcom: msm8939: correct sleep clock frequency 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: quoted-printable Message-Id: <20241130-fix-board-clocks-v2-2-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=891; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=AcRj8PcnHg5wF8WrCCf+iONlLmGYiLAyr6ue6biir2o=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnSm3zjTODhGaXhMw5GjsZz6c6FWII/z/YB0Ziy Ek9y2EK+wmJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ0pt8wAKCRCLPIo+Aiko 1XQ0CACPZUwXJeTKce9ZLzkELUgLoBtmhNIJ47J3t7RF0mOLVW8i7hH3PNG1DLlHnNe+3XJs2oM gx9Gm33onq/pI427yx7avVYmxYHqziVLV/xioQlIvKCme8YOzo6gfBTd1jAGjer8bXgbw+BqgwZ TpCRZTpRpdffPyt5xyIDg2fk24KOmD3HAT58FxirrMLhdxtJnWEYnups4ZAZ1c0SfYyLuliTvmw JQuJodVGdURcwf8P22tHW0SaD2rZROcbM3xaLL90+NNj8vXtOs3+rFW+Pda0KtgK9qo4eP2PLsQ EEX39yoJDg6zL3vzc9b8Agp1r7u31N2hK/tBPI7Yi3wO30uh X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The MSM8939 platform uses PM8916 to provide sleep clock. According to the documentation, that clock has 32.7645 kHz frequency. Correct the sleep clock definition. Fixes: 61550c6c156c ("arm64: dts: qcom: Add msm8939 SoC") Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/msm8939.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8939.dtsi b/arch/arm64/boot/dts/qc= om/msm8939.dtsi index 7a6f1eeaa3fc438f7b6c1d3b2dd17fb1b6f81d9a..7cd5660de1b33def5b9dc8a0d02= 583c3eaffb17f 100644 --- a/arch/arm64/boot/dts/qcom/msm8939.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8939.dtsi @@ -34,7 +34,7 @@ xo_board: xo-board { sleep_clk: sleep-clk { compatible =3D "fixed-clock"; #clock-cells =3D <0>; - clock-frequency =3D <32768>; + clock-frequency =3D <32764>; }; }; =20 --=20 2.39.5 From nobody Thu Dec 26 20:59:06 2024 Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) (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 5C769130E27 for ; Sat, 30 Nov 2024 01:44:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931077; cv=none; b=U3adI/NYCm7k8zROhkaBHosA3zQuXXEMIF2NZko9XB+0OnjSTcT1ub7KkEQmqyBe1PoLY8Midu79srHxOZTmH8E0pO8sFTE7TedQTrvWZiH8dJKBGpZCPmBSOyonHLI+ThxrbWS4FMx/B+KKyiICT1hSyjAzDdfWIZQ93xM+oD8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931077; c=relaxed/simple; bh=ICsKkpn5EvTWejmupXrRW9hTH7/us+kf6N9oJ7E9bww=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=I6U0jZFmNjRTTJqoGEm9QaKB2dTEbZz9ShgMQW5A6Kv3sIVZU8o7Ne5oMzbiyLErmjSLAG+Itl59oUXwKeiMmFCHEVQ3P5j92o2rqpd2kAL1phPh+132ruvVeTRRf+rhTy3CDxuamZcs91lBAs7xdyFLh0PUXmz/jXwKBphWcrY= 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=N1d/hhtX; arc=none smtp.client-ip=209.85.167.48 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="N1d/hhtX" Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-53dd8b7796dso2507393e87.1 for ; Fri, 29 Nov 2024 17:44:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732931073; x=1733535873; 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=xQd/2FVmAl0Cmw9f2Bljw/aTs9lMiBL9KUoFa8xK7FU=; b=N1d/hhtXebX+d/1dXnQ+AMkxUGkOW0Pd2RvfkYdAYlNlRJ5lyxMHCiwNVEX1gFLdW2 igjX8Kz5J20n6awcocC61zEdpWRO0ZQuTNnjW2ev/fBmgP00Std+1Fc/C5JCH0mEwvRW 0IrthjYDAKPBxp+qtATPKWWhMJUL6Kplz0k+pIckkb+KOdv9VGY8ij4ceOWsxeLobcG7 eFn0Wf0LnSU/Gu6QU4cHEI25mmasxeqHt4jmMfBb2ZG8UhR3/dOtyiieEVEBIpobgGD+ eZHPOUCBjqU8rixRitdxxnDCtvffAQHCn7UD3UIKeYmUlxBVPbF9iP5tqCsD9ik9kJZY YEwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732931073; x=1733535873; 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=xQd/2FVmAl0Cmw9f2Bljw/aTs9lMiBL9KUoFa8xK7FU=; b=NgBf2NZ8zHKqjK7CSCrsRnavLGcn2XvMmwHkX06TGzhvztWx+ZsFbUSdhQ4Rk2RN4X +vZMvYlsRG/KCnMYQijsMmN13D/hbC0HN/2htAvtgRfW3Sj3p49zkBajILZ7KgJh368q oDZi0/L9rY/jYRcUjKrstgMeiZmEbTFaw02vtl+6BhjzCaT5XR0EdPOJ4CAoNVw8Vh/Q gtrPD+40lg3jXu7q6oL2AEVRM+bholrFRlwLunrLbbKgQ1CFX3uNyAWLcLVjYhWyc1hq CwZMLES+vz2755oGW+WYRzjO1OBQft7fbIEanuvyVpoeJO/6kdSdxUNSllOvB64hhnWF Jw8A== X-Forwarded-Encrypted: i=1; AJvYcCXNv0rSmbHloWw+wskOKmj/53SilXNAzuZlFkZ2l+SP7HWke587jTAIRwJ//M45cflbL0Tu30zYlcZZClc=@vger.kernel.org X-Gm-Message-State: AOJu0YzA6yx2BWcJxtMAu7zwV4rxe3hrHL1jCKJYA2Mjvzho31c0RayF VRaeFdAV96b4sv2AOBQRkFjiK4A/lV0++fSYJM8SZjZoldfRUG5/22ZFXZsoFck= X-Gm-Gg: ASbGncuO4g2TjbHe491V9R7mKpQgvcdiVRJpIthbYBq7EGdszfVEmBwqI2opeQ//FF8 SlFA8ejFZ7BRB/w/BjgOMStR8D8NsPAttrs3kr6o4TXLp4afRLm0Rv5LqNWHXKuqTvTahDsVjgj dlz9vgPvq0CMswarAtnADK7Qbu8DFUfAD1/nqdxGPiTWboXX0B9lmPIzc4bFz2U5/Z/CzXxo52E XLVUrrWisDtdZ9P8tfPsBI+RzLiwYY/90X2ke7Y+madhEgJmJp/+Ovf5g== X-Google-Smtp-Source: AGHT+IGn4VU64Gx7Dmo3dMzNMzuHw/MRvZUdEx/fz/pqU3pk43z0lDuxrHaEfEjr4dOGL9s0lVGo2w== X-Received: by 2002:a05:6512:ba6:b0:539:fed8:321 with SMTP id 2adb3069b0e04-53df010eacbmr9375322e87.51.1732931073574; Fri, 29 Nov 2024 17:44:33 -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.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Nov 2024 17:44:32 -0800 (PST) From: Dmitry Baryshkov Date: Sat, 30 Nov 2024 03:44:15 +0200 Subject: [PATCH v2 03/31] arm64: dts: qcom: msm8994: correct sleep clock frequency 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: quoted-printable Message-Id: <20241130-fix-board-clocks-v2-3-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=956; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=ICsKkpn5EvTWejmupXrRW9hTH7/us+kf6N9oJ7E9bww=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnSm3zk09ns0089zqinIfwldAGTE/e9tpdne0E1 d9WLHWwoWmJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ0pt8wAKCRCLPIo+Aiko 1cgnCACl6LKeTCxlSH2Uc5kV4MVd5oBaHtbUGVCUgWxopMMc++/8PS+pOarwMxypWWJiq7iqSeH /EeKxHRvm2hLq9gJBRX4DTZe01orTqBBnvmxchjqFBsvzwddya/kzIkey8OXiIpBlySDxMFsHyB /JtOLwk7Z9rENXxvuMb6Ia8PiuyFiz2pu+ttuTRKiHP5DyIXo5HdAmZJKv0bSARgUIXiqTogGM3 ac4pkhEpWZC2oaUPGeTjvJj0iEE/OJWaQs0DQq9niPrZYcBWG2FhSfN0h1yp2QLcvNwooR4wiPr OI3dZXcnyN4VapP/xDedb33YomzaOc8W1AGJPx0vJKQQX4S/ X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The MSM8994 platform uses PM8994/6 to provide sleep clock. According to the documentation, that clock has 32.7645 kHz frequency. Correct the sleep clock definition. Fixes: feeaf56ac78d ("arm64: dts: msm8994 SoC and Huawei Angler (Nexus 6P) = support") Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/msm8994.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8994.dtsi b/arch/arm64/boot/dts/qc= om/msm8994.dtsi index 1acb0f159511996db07bc7543cf4f194a4ebd0fa..e6c6582ce1eab5bb6831d345886= 1d0d68c056316 100644 --- a/arch/arm64/boot/dts/qcom/msm8994.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8994.dtsi @@ -34,7 +34,7 @@ xo_board: xo-board { sleep_clk: sleep-clk { compatible =3D "fixed-clock"; #clock-cells =3D <0>; - clock-frequency =3D <32768>; + clock-frequency =3D <32764>; clock-output-names =3D "sleep_clk"; }; }; --=20 2.39.5 From nobody Thu Dec 26 20:59:06 2024 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 EBB1D5733A for ; Sat, 30 Nov 2024 01:44:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931079; cv=none; b=Estw6oh9jbsCdIspcVkpnrXRv46z0a1+yg4Id40Ww8xZ4EypkWRtdRIbhaMxfO1mIaRdh8kpD6tjo+M1kESd0u2986hyyDnKXTrygB1kfNsTpor/suONT0TjMooVVLFqaCkj+DLGnJLg9Io9IL9pK3F+aD/AI+jg7qcPb3eFMK4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931079; c=relaxed/simple; bh=rR33tk4iShQizxX1vNrKanPGs6fsj3vgKiMhLvDMp+M=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=k0QWYPF/LeSGhT3MpGKtxuf4uGM72qXAWgWzJZW5EywVLTIoeoVW/qqX9LvcV0GNmM1N1j1KXaW6BiecwSOjMvvEQx5/LI0JrX11Brhw3M2/9FatUZWdbRz97jUKoGKoG/YPtvRzoENhSdQTKgmnVrlV5q5ppA6u9ZujoQ9z0Ec= 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=kGkdtBxZ; arc=none smtp.client-ip=209.85.167.49 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="kGkdtBxZ" Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-53df119675dso2965670e87.0 for ; Fri, 29 Nov 2024 17:44:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732931076; x=1733535876; 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=enlHR4jkuvtTrE3pGjdSHmUxNqvLGDczVHxXmenPlOE=; b=kGkdtBxZ6hsx8adnibJpQQIMEJPGcTsq9FOrs0gqJtHn05uGt2avHF0E7yeJyHbj7H 6ntTMuJRI2+wzEwlLXhk6i5TZES9rOW7OHM0EhSmByy/RcL9JeDj+0IIbumLqfs+bcwu jQhhwo+YvCbydBFtkbfl+CuUitEzCQOelzo+NZJdYYG4DyvVpQcrlbJVqve/coekB54T o/D+tDPUjDm2BSsvH8K/1WQygFTVNfeWxc4vzc03USYeOE9tECydrbR1hJ2I94w6CSph x+RGbR3Xfzv+UAQaF5Kp8bknLuL5R/OO8YOPxGiSCNbxyMGKFrUVGEmIKH05srxb4C/s Guug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732931076; x=1733535876; 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=enlHR4jkuvtTrE3pGjdSHmUxNqvLGDczVHxXmenPlOE=; b=aqA9avJhxFCFxzOEqsWaAZY5r68xB8E7wgQw7pKIKV0MhyvrsxlNmTZd7IRBka4CNe GgOAM9HyrCb6EwpJ6aDHolGEHl6u+0abJ6q5TGOPgbS2XBULHcraHQuoP9A3tOL2rsLJ /4jCuv8wU2nhRduoSph/j0A6V51EtLVEhU5mWmRw9Gd9rb1IRlaC2gm1hKtb4qwJqSch HHNnL8lvbFWrwImjPuoEU9NxIYkmzJv2Tt6TZz5ifCuae26t4V9a7rDvvlwnwbO1UrKt tgCPeOWbaS3dEpzMPFXC+vkGFIdQlhFs+fuTwcm2nzXQvS+Ow5tYLWJVTg4yBAcCKIQp jvVw== X-Forwarded-Encrypted: i=1; AJvYcCVqzjz0l25g/xhYYWhpvV7EwPpUK2vxIWER1t0o33P7SMxyL99/fwDMYA47Kd4vRKlWD3kJsaAtjp2+bFE=@vger.kernel.org X-Gm-Message-State: AOJu0YyEosQmeQF84EvAlV0MkaMt/J7+oWUUPWHzUrr4yFoQEpDlk8sy 1Ldin24XYHNkkNeqBGDX3mmdLmJ9Pu3r0XaBAx5XocYyIzT+b7eN+OLiSpQxIBs= X-Gm-Gg: ASbGncteLoIuQGRSxhRnJTXf2gz6FrK0j0MOSXGXx3lHU8EcBi0EYQKJYS+Vs+EBXhF K/Ebhf7m+gy/MUeGP1VaWVu6MuebZsHdHpDMH4Nqoz539JZDTADo+8fm8cjza+pcKtJj/n99Xqa pqZD8Uf+y13MKFg0fJVnVmFQdQgmzjVC+6t3bkDlowX/kCKr9wLn6V5s8GQSkxppNAyBTry9bKS HkujTcEK2Gw6BSW3c/eVlyvu7eVMNGjHwQxsYpgeZx1Gf3ojLxIcqKLKw== X-Google-Smtp-Source: AGHT+IHywoREWlTPjCHgXz6LrNp2XPq8QdRZQCNCwljTgITn5uYE5NAaBxp2XpYese1j4K/wCyPxXQ== X-Received: by 2002:ac2:5684:0:b0:539:fcb7:8d53 with SMTP id 2adb3069b0e04-53df01048e1mr8529046e87.46.1732931076138; Fri, 29 Nov 2024 17:44:36 -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.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Nov 2024 17:44:34 -0800 (PST) From: Dmitry Baryshkov Date: Sat, 30 Nov 2024 03:44:16 +0200 Subject: [PATCH v2 04/31] arm64: dts: qcom: qcs404: correct sleep clock frequency 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: quoted-printable Message-Id: <20241130-fix-board-clocks-v2-4-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=910; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=rR33tk4iShQizxX1vNrKanPGs6fsj3vgKiMhLvDMp+M=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnSm3zc0cOtxzcV+s0AdlejbFKfCk3MoBgg7lHI mdE/TXRJr+JATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ0pt8wAKCRCLPIo+Aiko 1QlOB/9R4WPOD5FR9qjxe/CCeC1L3cVvKs+q7z4z2LeVjql5LDA9RaD3lDajRH60NKnYbzwbnBT MucSphWrWWsOspuOnFPcgfOnMM2G1pdxD0O4Yzen7I4gt1Tin1CmYCCHIe45ubo6b0VF4Yquzpb QfHHcfrf8aa8gl4bXrbLZ1djLrGH9/TzmVdbEOe5mRWxfOjJTM05jTY9u+vsL2+dATs2TM5j9gM iPmyfNPf0w/P/eNLj+XF7rH2+pYRmvzuZkSs9lXzdNvXt3GQcdOPe/koeGwXVQyjc4tbI5LDURc 5fgr32id6mSgRNJrQ4AUle2qb/orjv6JI1M/Dr4+8EWiJoml X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The QCS40x platforms use PMS405 to provide sleep clock. According to the documentation, that clock has 32.7645 kHz frequency. Correct the sleep clock definition. Fixes: 9181bb939984 ("arm64: dts: qcom: Add SDX75 platform and IDP board su= pport") Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qco= m/qcs404.dtsi index 215ba146207afd25128692781926cf1964743655..2862474f33b0eab7c42fa2b2200= 6f580c567ad2e 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -28,7 +28,7 @@ xo_board: xo-board { sleep_clk: sleep-clk { compatible =3D "fixed-clock"; #clock-cells =3D <0>; - clock-frequency =3D <32768>; + clock-frequency =3D <32764>; }; }; =20 --=20 2.39.5 From nobody Thu Dec 26 20:59:06 2024 Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) (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 78BF6146D6B for ; Sat, 30 Nov 2024 01:44:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931082; cv=none; b=ET9xgvwlcacNmwmcsl9BEFLQc9X0bG+hfOkHF/U3NQIHCw7KW4eSspcvxj8GdZMB8NePVALDxRqNHxgMfzCCRnAT+H7GB57RzNiVb003LvBmp1/OD8mQEfgvKoxc0Gf058c+d4tXzWXqrcQ+SXbX8TZj2UFPb4x0hnvgWLr7+iw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931082; c=relaxed/simple; bh=dSm81W8OxeK3gTXqKdadDd4ykcQub/N1yof6klx6nCs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=FbI0MZX09sHCrYHhDX9LBGeyknCxKXZazZANh+xi7b9cVg+VL1pY1z1ID1+Qv2zn0FU6+9IIGRT/yfU5anrvYtdlxxe+1upDy0irOmRIdsCVm/IUBaI5RBELh3BGGoUbSOtoKCN2jdRu+OYY8dI75aPNSQq5u2oC+Uby++PVZ7Q= 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=DzDLeMhd; arc=none smtp.client-ip=209.85.167.43 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="DzDLeMhd" Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-53df1d1b726so2905874e87.0 for ; Fri, 29 Nov 2024 17:44:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732931079; x=1733535879; 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=JtqLBuuxq99YjBu1NlJsyy1afZJqqcmeNdDxNGeJwsY=; b=DzDLeMhdUF7BXp2N82Ep3avwdv1nvzlokqfRCFzVLPPzf9t3xeW5KKfZh0evye8pqL uuRdy72EyQUMOgDNgRdBRl94+M0ppC8Gl0abL3hq3mcZWsPD9zH7VgGeatEbPg9q4RNS HIfj3C8oLuym6+VB4TYfiJnJhyHuzxLcyLm/WKf81JmzWCjpGvFoO7rB43ZzF+zzQfDv rl4LccPf1i6QH6HAHu/xIaJB8qOxMcWETtHGe6e+xUt/gPd9vIQOW5E+UIdrC6vnp4si U6xr1yExsbu7lGzfeCblMMGUpEd0S4lEVQVi2c4Euv7U50vmD9IjkvJ56P/+6U/ofGdg V4Vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732931079; x=1733535879; 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=JtqLBuuxq99YjBu1NlJsyy1afZJqqcmeNdDxNGeJwsY=; b=qsy56lwJYTaVExJ4oa5lhY9uyt/t9i8d5EBaVtMWGSFO9VCSR8PIBfeVdVJ9o1TbfY xgrlsaTEBlvutTLTCCZsejaCyrr4ZXw12VYeAcawD6I4gitEOyEudCpuhpBqu556VZka 9pfTQMQH2z5fidqQfuYsQIapiGUlOtYgf/YeWCYwsADUyMyocOnTzmb93bVdey35cgoR uYkZ7nN5bI9YgD4+Tfut8hjrcnT3AD/mHq3ekGIkpmK2sq/arKzwla2bzGQHZChlgr0H 34+Smwc4x7pbp5LEba9WKx13lnsSKUhLG64WjNggfcMnfHrX/ls1pJrwgIbEvdftTM2I DHEg== X-Forwarded-Encrypted: i=1; AJvYcCV1gAOS5oFJXELUGXLNbd1IxlBdiUaqqQFNqbAMkw9VuKIT3V/SkV2RgQWSACH/JIpSrrSlREZjy13X15I=@vger.kernel.org X-Gm-Message-State: AOJu0YxMh9l0/0F+R6YaE9IWfHhQ+LIZqEZlSG34CpR67iFPqcReO/+Y rEoLSLEzGgsryxacMS/SrtEZh5CrO5Bdm5zD5vi6uod3cPR7vKwFD8hC+GT9lxg= X-Gm-Gg: ASbGncsiWSoQPuexJC47MMLO9fEGWbipm/Bm5e+7C28zZjIdLQB0/2++RUO4Jm+VuYM 9HSwrGaBTPYFVqcqj2fRYGYkbV8ofnGZrPDcYLM1ft7t2YfU1R6sNUfiCOvQSswy3i92jD/23Qj DBGdyI/CGwn6x//+QuRTWLLkr4AfF0Foxawk0lmLWjCTlTCTuFE9oQyZNXTk+QMxsLRvstRNmBP QRDPi33cyIvjMvED79sFm6dR/Q/S85HrpOh/oXdWAztbNc55yzJ/ignbw== X-Google-Smtp-Source: AGHT+IGYgTmfRaFR2G/p38hqO9FJGUXzbehvqrCJ6hjgSua37KjKCd2gPuOO6z8ID6MTBElDI3O4Vw== X-Received: by 2002:a05:6512:3d0f:b0:53d:e65c:e33b with SMTP id 2adb3069b0e04-53df00d11bdmr8151109e87.23.1732931078647; Fri, 29 Nov 2024 17:44:38 -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.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Nov 2024 17:44:37 -0800 (PST) From: Dmitry Baryshkov Date: Sat, 30 Nov 2024 03:44:17 +0200 Subject: [PATCH v2 05/31] arm64: dts: qcom: q[dr]u1000: correct sleep clock frequency 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: quoted-printable Message-Id: <20241130-fix-board-clocks-v2-5-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=1483; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=dSm81W8OxeK3gTXqKdadDd4ykcQub/N1yof6klx6nCs=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnSm3zji8ysP4UCyVSUFXQNYuboVWy0jiybtvMa Vceh82CBViJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ0pt8wAKCRCLPIo+Aiko 1ZKuB/42Y3fJ2gZdOCfRli2Ua8j6hXuPAaIHMdEnD+jW7pLFAr6VpHuA9ETSrl0IJ7cPwlD/TMR JlinKHMOQZDJJFY0XFZsbpNH6OG/CPD5hkBW8SOBqP+ENPcOB4UA5YNphR3SGrV6v2baJHhwbJx yyY40TSWwNNf/iFBFq4r59nXkNWD9BO2ws4ncc74gJ7mIZFIrCm1TdPFsWRJ/Huo7KGXXch1slc +TmutrSynN2fPh8nKZVLvoesQIBv4UiNmnSzxO5cmwdsCfKVqaE+zKgTkuCL1cYJHySwP5px6CK xAupWdrwm7dz2d24Pc6lpbwbVE8NADIv1Cb2epwoEHjheMLF X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The Q[DR]U1000 platforms use PM8150 to provide sleep clock. According to the documentation, that clock has 32.7645 kHz frequency. Correct the sleep clock definition. Fixes: d1f2cfe2f669 ("arm64: dts: qcom: Add base QDU1000/QRU1000 IDP DTs") Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/qdu1000-idp.dts | 2 +- arch/arm64/boot/dts/qcom/qru1000-idp.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts b/arch/arm64/boot/dts= /qcom/qdu1000-idp.dts index e65305f8136c886c076bd9603b48aadedf59730a..c73eda75faf8206181764df4d1e= a32f96c9cfcd0 100644 --- a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts +++ b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts @@ -31,7 +31,7 @@ xo_board: xo-board-clk { =20 sleep_clk: sleep-clk { compatible =3D "fixed-clock"; - clock-frequency =3D <32000>; + clock-frequency =3D <32764>; #clock-cells =3D <0>; }; }; diff --git a/arch/arm64/boot/dts/qcom/qru1000-idp.dts b/arch/arm64/boot/dts= /qcom/qru1000-idp.dts index 1c781d9e24cf4d4f45380860c6d89c21e8df9925..52ce51e56e2fdc51c05fb637ed4= b1922801ff94b 100644 --- a/arch/arm64/boot/dts/qcom/qru1000-idp.dts +++ b/arch/arm64/boot/dts/qcom/qru1000-idp.dts @@ -31,7 +31,7 @@ xo_board: xo-board-clk { =20 sleep_clk: sleep-clk { compatible =3D "fixed-clock"; - clock-frequency =3D <32000>; + clock-frequency =3D <32764>; #clock-cells =3D <0>; }; }; --=20 2.39.5 From nobody Thu Dec 26 20:59:06 2024 Received: from mail-lj1-f172.google.com (mail-lj1-f172.google.com [209.85.208.172]) (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 0FD6614AD19 for ; Sat, 30 Nov 2024 01:44:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931084; cv=none; b=ozLDPlPfSSy6i/fhSyo2K6UgWKxK+V7f7QwYEADztjLxh5Gfyvs1rUzSYdq6jG9B9S+I3GeuitkGHmvHb+A1DA4iWgA5JmulpDQQSjl+//3cR66I5398+TryAo3XmkwZ4k+6May8Ykbk07uV/vNkegHA69WGr9YkxtGnk9NPHjM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931084; c=relaxed/simple; bh=Hw/hyP5k8e4mrPZ2Xq4xWEV8pyteJA9D67U7usPU5R4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=KRD9nFG5UikwvqbkMPie37by1nfYC4mbYS2CktBzFWyf9HEH+bIgCE/vb6thUb/xs0aaiyvHU68HP/qlPgCBIUsPdSgU3kbGHgYKy9L0JXbtJLtU4IinF/GIkdUFKdjbY1UvhegDj68WDUkRej1thXjcUJCDGTVAOjYwj9IMP2M= 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=Muai7xoY; arc=none smtp.client-ip=209.85.208.172 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="Muai7xoY" Received: by mail-lj1-f172.google.com with SMTP id 38308e7fff4ca-2ffc3f2b3a9so35725301fa.1 for ; Fri, 29 Nov 2024 17:44:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732931081; x=1733535881; 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=5n8O27+6FwtaHVPzRSxUX+gZj9rmBVfvJfhu3dGKwOE=; b=Muai7xoY6MBuxdlbGBnPZiUkigRYteCsypU1dJiVZ7UD2QgOtkDziIfpQ42FsNap1Y 5MJbPKLDklnPBCu8KI10cTx4cG5VTp++ms4T7M+x1w1HSpLeZW2zopgg4xCOWHEmtdBT gEaZe/yFcOawIcYTABFAfr013GPhTKKjolH6qlmpjnuxZT7r7y+Ijw7EPoUs6yo9rA3X mkgilkle/rU+TgTnEwA6oyDUqYZ0qMV/LuyAzB3tJ6V98rf1xmE9TFvEDj2oPaGVwSxu xm2K0Tg5T50hQ7Pt6BVPxpYfU0XYWYWvgqfecAo7XyDJfnMX7tYdR0hWVO/mu0fwyt90 m/Zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732931081; x=1733535881; 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=5n8O27+6FwtaHVPzRSxUX+gZj9rmBVfvJfhu3dGKwOE=; b=sMxvvyHL5uMh+aWryIO+9ePL/BpEj2/ZhudtuqiuWiBOjpKfmUmD7PRbpQO4m2Tes2 nCQAJ7N3pHh+ZHJGbXnx8Ul0q1hmwz6ylUQ9Iv6Sz/rS9CVGg69Sol/87XXFu+aTFzyw XaaKetzGd2M/it3a22Ye/LnUrE+OeeGUYXfBOE9TzCJY/+LxKdFc4UK2iikBgrwRfciV 7RH8r/in2b5vSrt548DlDS+9jomV1OETcJ7lR+Fd8hPkJrRkYtXvI002ptryZiez2tgj AfiCrEYoVKZ9YEa0s9Wm7xM9X1eSpD+dhqigBtctdvNa1ftIMWPd7ID/wakj1jywDNhP 6GfA== X-Forwarded-Encrypted: i=1; AJvYcCU1uv3MOyvF4fA7IT9C8UTUXFSY4UXpDZbUDWGAygkXpRPvXb0gFrCDVhBl+iR7oubFkMnjPQtqkDx70gM=@vger.kernel.org X-Gm-Message-State: AOJu0YwbT7NXiWTkrywL2ZA9uSq/rCVBdTUVeTB/NvAnRWY0MkjGxIww yYloXpE4iC+mfdG+rbnnV8GQtOKSRxX+tR0Exu5IsFFDukYaKcpEFflTKs/3cfI= X-Gm-Gg: ASbGncs/mJ9MUJufWGNI+doohOMJvO08WOIRI7jyTvC4h5GyzA/sDfM0PeRXbNlapIj x8RgB/zWyezwAuPXy+HQnNNc/VJ8kuQBPOZlzoOB7DTwmIoav4x+o76TjStYfMuGWdEDe4NMzZu EdU/3TKJMiU7DHepMd1XqBkSIECkZZ+eluzrzjkqa/5KMgqzpB+daP1Y5C+x4seqRZ8F6XYhs/5 LglF0Wws/HpRaNvfKE1KSzIgqtNztgHxB0dlVe5k68zlQIQkKGTFCHQvg== X-Google-Smtp-Source: AGHT+IEcQqU+fRINwT/0cl4nxjKjERySqIRFkBtmD1H6WQPaU/FwbDVYMmhCUuuCTaNlmYtK2S9g8w== X-Received: by 2002:a05:6512:3d86:b0:53d:a3a7:fe84 with SMTP id 2adb3069b0e04-53df00a96e8mr13447142e87.8.1732931081219; Fri, 29 Nov 2024 17:44:41 -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.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Nov 2024 17:44:39 -0800 (PST) From: Dmitry Baryshkov Date: Sat, 30 Nov 2024 03:44:18 +0200 Subject: [PATCH v2 06/31] arm64: dts: qcom: qrb4210-rb2: correct sleep clock frequency 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: quoted-printable Message-Id: <20241130-fix-board-clocks-v2-6-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=844; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=Hw/hyP5k8e4mrPZ2Xq4xWEV8pyteJA9D67U7usPU5R4=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnSm3z0aH5MHMf2dYty9WKiYyDzF4pWI5O9Wf18 dfEKdqrOkKJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ0pt8wAKCRCLPIo+Aiko 1foACACUUWqTouCfHxP5WGemewoFWQwGeF6/iAMEXGy2HPgcqw4JjAlfC6KXkhWeSFjiWxnLDSs GsJocutQLttSycnZJHGe4DlqKirCuVxlgy6ig0ztCT1tVBsaxmL6+dIn0VWPwewqyieLtenfjlE NJeDMW+CG7rfltYPc0j3aYNcWoErr257Cu1XpfFsChTsYLqsMZfoNnnmCCGYM5sSwoqx3VuR7Kz /jwbYYL+mvb2no+NLPweKxgJ+p3+oUxPKTePo0LZ5xGSuHxAV2A3pBGl/XHpnictm/p4JIB4dN+ 89JdoeJ3ltk6DFF4kzgLX7q1kBpsXDJZ7RJX4km9yShTXChO X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A Qualcomm RB2 board uses PM6125 to provide sleep clock. According to the documentation, that clock has 32.7645 kHz frequency. Correct the sleep clock definition. Fixes: 8d58a8c0d930 ("arm64: dts: qcom: Add base qrb4210-rb2 board dts") Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/qrb4210-rb2.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts b/arch/arm64/boot/dts= /qcom/qrb4210-rb2.dts index a9540e92d3e6fc314fa91d4f055325680233f6c4..d8d4cff7d5abed405d1b4cdf9ab= 8264aab076830 100644 --- a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts +++ b/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts @@ -545,7 +545,7 @@ can@0 { }; =20 &sleep_clk { - clock-frequency =3D <32000>; + clock-frequency =3D <32764>; }; =20 &tlmm { --=20 2.39.5 From nobody Thu Dec 26 20:59:06 2024 Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) (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 8E55B1531E6 for ; Sat, 30 Nov 2024 01:44:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931087; cv=none; b=VUDhgprnh/NCsuvrMkjraH9PmZ1ItmgxSBXbkud0uQySWpYKdvByU5rW2dqagLxyrQ90GnMWrZ2DGmV84frdW6gK+T8srKQPb6SE6SZg4YWq4uqV+ORY5A6P/ccZMxCqylxiDmLcVexys+bO+mp3zGJ/guGEaO+cpw/y9N8gsPI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931087; c=relaxed/simple; bh=YYLN/oY9BZAxpdyRliEHDR3RyIM74cdws5RTMVCcPsE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=uW/kdj3eZ5TV+oYQniyJX4DnsrZ0a/Or94n4KtQJqjbm/06cS+jE/mqeO+T5s5Igln5Y5sSIuYTdl9EUrH2wCqNMXjcntgPUBRe95EWiWnESjSnwXS3/W/aszMt96y7UUyI87xh6FbIvwojzL9km26NycuMPkrOoTvtkndrOBss= 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=UVFq0tvO; arc=none smtp.client-ip=209.85.167.54 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="UVFq0tvO" Received: by mail-lf1-f54.google.com with SMTP id 2adb3069b0e04-53df63230d0so2924212e87.3 for ; Fri, 29 Nov 2024 17:44:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732931084; x=1733535884; 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=MTWn/nT9EEx5ji/oK3o3CEmYZEGrJrLG4ik4y/ciX9k=; b=UVFq0tvOQdWxwjL9E8TyiLrf3i6Hnn8vv7W8gdWnQECdGRHphx5rBwnlPT+uKgBCTv KkYaV0fAD5tO4Glyr1YcF6HO8Bu97rrwviKV6IoksbOKLc7CLtbbqvBCooAkrZlVMNJw j69DWUPUi3/B7a6LrJenz1FAkTOfcy/3f5m4pfkbK19Zl81juXLazrV9LfgUB9u5yF8u eIYHQrZ4EJWalZ56KLFi8HJ61ICMSi+WnEUCwyHA6EgPKL7XPv8vXWZEPjEu3hlpZdBj iZskljEkK2a7tVHPDdQlOa+U37313USaLWt8bbo16C7XOqcCww1/foqGU/y8c31MuXVU ZU/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732931084; x=1733535884; 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=MTWn/nT9EEx5ji/oK3o3CEmYZEGrJrLG4ik4y/ciX9k=; b=Gq/Eqo5Xn6b5udc5GhAVLHi+HUPjiV+hzLmTCGlZwRN/JuLw/uKaEMOku0yA/PdKG/ zLsaTc9TtZOPoeWYTF8ED4L237mwQYvkuyzpFiFdiRrIZ3JYXkPaDO0iU6vnPuOrW/mH rWWRwqjN6lxVWKBYDC4VA13uiAs/bVhhHw9L9HBZZBU8OQgA4EZ3Y6nrqsC3ej1yZOcH yA6baVufKuj+r2mODXf2CPnfV5PrTqstc6u1lgXRSiHEo3TJqhOSiFOAErY3qwYkHcnx g1YZuoercmblIn3WRIQ9DleQ/yZqjR4TiKlM3yydUD90/LStqr/mFr/9M9RGwz6Rhe1k gGlQ== X-Forwarded-Encrypted: i=1; AJvYcCUBFA3nFxXG9G3ghodjd2GH3N+o53p/QnoIdrZwcVcoegO9IlVYl1S4USsL8bF7NmtWep7In8pysQ0YynM=@vger.kernel.org X-Gm-Message-State: AOJu0YxR2xMvnM7z6bktc0YIX1Cye9mQTgzH8ErofCQ2XeZUrIJnL4Ud yFr9LmC03a2ZVM8WHOri+FVN+J1fB1kO8zYisBokEOQfUBmMGfhqS/i4gg0y58E= X-Gm-Gg: ASbGncsmTcMTSJUgH1xa85z7STqb6LTKV/xh2kmawDP4v/fu0nmCfnvhEIV+gOD48gz oWkp3F95Ba+PJ6eThpLhsrpDOfEJ20octNdRfcVand8yG8iP/gG1+dhGoL0xaR/24RCuvGwWbLz S4JauNCGwNg8xBWAifVQmoP8rMlqJwe+kHvNAHdj9Qs5dcSUNLNVHH5V6mg9O0NolrJXNFE7AIi IHWtbhz4HDXSMCc7p0XJ9X7vuD0nYTFbR/n47gMxEoxOSYFnL69BBgSjg== X-Google-Smtp-Source: AGHT+IHxK4AqlIHGoaltvjTU2ndTrXdw78O5oSUktEdK3p/i//LfD3gUSjJQ1/NVvL7gNHg75RbqAQ== X-Received: by 2002:a05:6512:b26:b0:53d:e4cc:f5f0 with SMTP id 2adb3069b0e04-53df00dd50emr8130191e87.33.1732931083811; Fri, 29 Nov 2024 17:44:43 -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.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Nov 2024 17:44:42 -0800 (PST) From: Dmitry Baryshkov Date: Sat, 30 Nov 2024 03:44:19 +0200 Subject: [PATCH v2 07/31] arm64: dts: qcom: sar2130p: correct sleep clock frequency 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: quoted-printable Message-Id: <20241130-fix-board-clocks-v2-7-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=916; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=YYLN/oY9BZAxpdyRliEHDR3RyIM74cdws5RTMVCcPsE=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnSm3zvZ1CMfQQQXt/FKizxvxGmQVmawDmA5ho8 E5VSxlMeG2JATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ0pt8wAKCRCLPIo+Aiko 1UFWCACbOlzc7IlAG8oCNlJCwQl136NIunQVh+fy1O/hu13ZJFfYCegoa7LpJEjDn4wcrpr4z9p w2aVs2ptzbkgUiRVe6T+FxsHmhMrNEo8Cv9/rRVsowcz/iTYSNwGFJKu6JgnLQE8LebOTRvX+jk T5HP+ZPfNLwmcHHCC1Ehffa01vtJeleYbZNG8yCHYtCw6bhW9I8OmKVa8Hh2vGgP97BH5KzY1LC iNJ6IIsh6I8rf8F7apys1tmTE2/4MZNGHhjy9EDbL9iLX6qw1vyUrC8hcfzof2Dc/+j9jw0F8TL 5UOmVeQG9t19apBQNNSZfEek3wLqsX3kugYkOCUigI2hqQ7s X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The SAR2130P platform uses PM8150 to provide sleep clock. According to the documentation, that clock has 32.7645 kHz frequency. Correct the sleep clock definition. Fixes: be9115bfe5bf ("arm64: dts: qcom: sar2130p: add support for SAR2130P") Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sar2130p.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sar2130p.dtsi b/arch/arm64/boot/dts/q= com/sar2130p.dtsi index 56f40e8ecae561d49331e51c57581d517dbc9b51..dd832e6816be85817fd1ecc853f= 8d4c800826bc4 100644 --- a/arch/arm64/boot/dts/qcom/sar2130p.dtsi +++ b/arch/arm64/boot/dts/qcom/sar2130p.dtsi @@ -37,7 +37,7 @@ xo_board: xo-board { sleep_clk: sleep-clk { compatible =3D "fixed-clock"; #clock-cells =3D <0>; - clock-frequency =3D <32000>; + clock-frequency =3D <32764>; }; }; =20 --=20 2.39.5 From nobody Thu Dec 26 20:59:06 2024 Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (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 2684B155335 for ; Sat, 30 Nov 2024 01:44:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931089; cv=none; b=P4/zQwedTVp90sg7uACsfKB0ERiXBHk0VDFBKxVZOXOKXnBQIG2dg9S/PdGLyqoBUUOANvyNE6otaW9fFyyFGzDK/hYIsM6rUuzvM5qjI24YXR3MkkG5dHvg228XxUOR6Wgz80CJbWNUed3XBMsUTYT6l8vC9lL1t7o3FYbaKMA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931089; c=relaxed/simple; bh=cwHGT8dW2fufdVjeg8a7nAT+ERCmV5CuNqJS2eXbLFY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=qsJsrDdkjzK5CnGMazJ9RmmzMBW0Zw6QUCMBj325sE/PzM/NOlJCOurSZoeibsCtskI4yXCDaapkx4o7JupwHgSHulD5VYWhy5C+3fPOKkB0eiwLmeNmLos9p5tuD+QLijxt4e80uufiSrYHR22dwKi6eCCSO+tC8m2cugf8jEM= 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=QvhQx38h; arc=none smtp.client-ip=209.85.167.41 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="QvhQx38h" Received: by mail-lf1-f41.google.com with SMTP id 2adb3069b0e04-53df19bf6a9so2983421e87.1 for ; Fri, 29 Nov 2024 17:44:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732931086; x=1733535886; 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=pUBAhw6SG3dsXPAFEzT6mizjETu8TuHeYIqS7qX2o8o=; b=QvhQx38hQZi8XKLRmJi6P1rM4TAkRkIZAFAy4yZnv3+OUr2rbdSfuCRV3Vwh6/2LrA kyBnVNmX0hqibKFLiCSZMZhvBckiUxgYTvlGymvi3vyxOv3Oj4JYsfJjZrpbIytu6Q47 YZU7+JplFt85KgETQY4NnhuAyOcM02NIC/GYFb8jm4MY4BeZJmxJRSM6cRs7C8XNlHSg +eaN/y/Intyxxtl4gDcZZbHTD2cd9dcCUBhwEvSp4jS+sEm8MvIVA5LVLxQOI5uPZEe9 Y+pn5lYzOq8KAWk+EbGC9MyTz2rkqKaGF7cDnci6tPo/vuEz4pF+Srph/zN1kZ9w7uwK akuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732931086; x=1733535886; 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=pUBAhw6SG3dsXPAFEzT6mizjETu8TuHeYIqS7qX2o8o=; b=lwo0PjKmwzW0K0sq7MPNZ4RY/yaD12MEtomt3OifO1BR5NAXs+IVKJ+iclKAkxXakf hHlizS2jHvSQyFv1yxSp+aplArhjBhgWSsMW4D/hyaO6jk0uJ7nx79sipYC5qLWuycLu CxXD9bL5pgzrVNPcT/ak2/nZhQ4E6dSlXsKNj3hdqeuldvKsta0oGhU6MRxYF4ZraaCK BCY5cDo+8wIXRKjuNAXNjtOFyTY6X5HiFLPbalb6cqkW2shVo3na8ZEnNwKIIIIU9dTj rj5iBo0j4BYcyLDu7LVFQqFCz+6BzVrP+Vqj7A79nPGWffPgjK8ccjA6tnp7KWALQt5S FOMw== X-Forwarded-Encrypted: i=1; AJvYcCUMjHehIpxEEjpkC/59cmX82DEoBTA99VnH/xuF2h6IcG9dDx6fanUSiZIwGyYHFcKJlgHN6QOjDn501wM=@vger.kernel.org X-Gm-Message-State: AOJu0Yy99dq7yn0VJmXZ8OHWYw+/SLt6a8gJhCk55wLtMvu183BySvM5 sitw2Kgr9eJzydnr3QsW+JhzhxxZXA5xkEEUb8Kw3sOiuY3xvc7tvH+r5WPCxVg= X-Gm-Gg: ASbGncs713FmWP+yJh+yVXUBR6wDd7rXPr+n207fCxLjZd8DoNnWgwrR6faOkGhOsKX S7ohVthDDxR1sBCAcU3YysrOpdi6Tqfm18qOYjle1vhj22TLbrKXFmtm1uV2d+pOcPbEwSt+0Kz v791ZVE/YmHafelrBabCHbd/wrpW/2KZKDpck5UT5eVIxCfidrjTicWfpnkVo2KGe/N6xKbsFuO yxZOJY9RzmQ8YqbdmXb+ewnHku6ab9ORjMmAKG6O8QKaT7fff0fAwsTww== X-Google-Smtp-Source: AGHT+IEPi+X71Xr5ydlpsLZUQnmiaX1oplH8lKawDP7TUOsj75l8a1wW89AwaS9jiffqrAY1bOLP7Q== X-Received: by 2002:a05:6512:2203:b0:53d:e43c:9c64 with SMTP id 2adb3069b0e04-53df00de2b2mr8648482e87.30.1732931086317; Fri, 29 Nov 2024 17:44:46 -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.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Nov 2024 17:44:45 -0800 (PST) From: Dmitry Baryshkov Date: Sat, 30 Nov 2024 03:44:20 +0200 Subject: [PATCH v2 08/31] arm64: dts: qcom: sc7280: correct sleep clock frequency 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: quoted-printable Message-Id: <20241130-fix-board-clocks-v2-8-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=918; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=cwHGT8dW2fufdVjeg8a7nAT+ERCmV5CuNqJS2eXbLFY=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnSm30t8SRmKOAuhUMuhgKfV7LHUvg4Wstu57so qZdzx/edM6JATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ0pt9AAKCRCLPIo+Aiko 1aLuB/sECWiL2m2/MeQbPYtq6Q21sh6UP8on1KMocDd5jR4v6VgOSCOz7vTlB4l5sLpMYAXD5gp Gr8eB6kG/oGpdemcwWSVhmNvmySIxn1Ad0JMVx+PtXf9Pq7yCQhtYDzCQfbk2LuhW+c03cbq/5Y jrLwQC4RKjNyK9OS3grA3nKD5exT8t0y3XUKtIe2iuqnszRHuVxeXcQuAJcV1YHyyjP0EYYc4Q/ CiW5lhaL0VYBdVZJNsiFgrgfsnsHE9vo9noJ1g9LC+Y5O6tLzsDB/WVwJIlunnAaHTaQZVuovop l6TzjBSgDM5Skn3CZZmyFNW5DkFut5i91qCIcxJizY5V0cx6 X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The SC7280 platform uses PMK8350 to provide sleep clock. According to the documentation, that clock has 32.7645 kHz frequency. Correct the sleep clock definition. Fixes: 7a1f4e7f740d ("arm64: dts: qcom: sc7280: Add basic dts/dtsi files fo= r sc7280 soc") Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qco= m/sc7280.dtsi index 55db1c83ef5517f82504816baeee583695065225..d12e0a63fd087461a33622e8771= 422c8acfdbc25 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -83,7 +83,7 @@ xo_board: xo-board { =20 sleep_clk: sleep-clk { compatible =3D "fixed-clock"; - clock-frequency =3D <32000>; + clock-frequency =3D <32764>; #clock-cells =3D <0>; }; }; --=20 2.39.5 From nobody Thu Dec 26 20:59:06 2024 Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (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 A9AC6157485 for ; Sat, 30 Nov 2024 01:44:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931092; cv=none; b=SKadgX2OtWquvd1RLIWXolKXo/NX9l+4geASobUrexXfq4vYlYKwsTabfwYYWDG3A8A/e037JOjXRTUC7Osoe6jtlOqullvw6tMhzm4OmZ23dbGFCGtBIjdakah8MaRXgVRVotUai/cuYViu/NyXcW5isyPfYrwQXlzeIENbuPs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931092; c=relaxed/simple; bh=uDWgj6B6z6pMSFBL1pDRW22fgNDuN+DRFtZx84ZsB8Q=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=HSPoLKc69x3wZuqffLbqkkS3adX8h2xULQPQ+S7+gnzVCONBh3L7lyFItYxWq9rwUn+jyKCFbF8M4CCOZPn8iCgxZc8odfefgN8Vx2jaBu+1uNhGBVjWOEfJ4gy1EbjXUpkfY3i8tWouIBU1aOE40VvLlbXSsb1WPLXoVp+cfP8= 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=mprBmLmw; arc=none smtp.client-ip=209.85.167.41 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="mprBmLmw" Received: by mail-lf1-f41.google.com with SMTP id 2adb3069b0e04-53de852a287so2571588e87.2 for ; Fri, 29 Nov 2024 17:44:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732931089; x=1733535889; 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=dxVAhSI1dX8Y6W0tSBQjxOhCXgzeLbOBHuH9XXWIbIA=; b=mprBmLmwygGwcwmVnIJPvtKWxII1b41Jt2KUgj6KHBcVQf3LrxYGeS5gnye/+xz63b bcMQqvSySsTWvCaI9KEgB019U4zgaxKy0Bg++S5UrlFvCSMTWsItx/Vsys0mC7FBVgA5 IDPElHBUCz8YT/KQzM29IWi0imnAoPypVplgMxSxHQjq1+64XDS4i1AyISIsVqSxH2ZT gkuqstW/q/yjMZlU88FAVvA6tfQZOGVva1eRzjFWu4+h8u9osCYxMvcZGNtckurPZ8fm 3hnqzCjep1Rnh+sctEH2YUSv1epzHwIsZGIX4rv7TuYFhquZ/SJpzbCQV4kOs9S8fsix UIFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732931089; x=1733535889; 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=dxVAhSI1dX8Y6W0tSBQjxOhCXgzeLbOBHuH9XXWIbIA=; b=ti6ma82UN5IV5d+GAUzqTJ45TD4NbgzaZ3iDjoWPM18udWgaOm17B3G5iz+0fVtI2v LI817WUCRtBJkRtKYpQdWmPxeJ36TMAQa0xlk/jeE3o9DySN3MZm4nAlfGCxnEd6lBk9 zPPPvtsYiFxYOE+ISH6UcA9gPEFU4yD9c/eaD3FWNCkPMGp6fi+fTB+B5boVo5T5B34I kUs9Fg4oWutdW2Sqn8ySXtbav5KSu7GZ8FDIqz5IRDMSynR7UZ7bxHKKllSVKgmdXNGK kAqd5ZDO9VAQvYL+Z5DtZGtqYorzCAv+sgUbEmFsMbJMRq1VroAC2RFRn+yDljzbhQMe /E8g== X-Forwarded-Encrypted: i=1; AJvYcCU526Zoq7e1UJDZhpG1ipmALDyP8Ih1Accz6KYEMqKQ8ALq1mp95iPoIXstquiM4ZyS+xSNccarYJeAdJ4=@vger.kernel.org X-Gm-Message-State: AOJu0YyD1uuMt6+p6cb70pthNODe0RwhAkpcdJMeF1auM/DKX36nnMLu VBbuJ/a4JtSS+5WkH1VV8hY701qGWIXKwWVBjETQi40M5V9Py4cg65GcnhfM+qI= X-Gm-Gg: ASbGncusmun8Fy5wEx/j5pjmqNO2/ht8LTcV7+EVDDXsfQcf2rwPNCB4FnQmnS7o5xK qGPvKd/eVO94M7f8QfWhWon5hX1VDlsbeaw/5KPm3gPM7tKiAhFIbPxeNpcWnuRzfRKk9brJlTP quEII4X/OpLb5oVgWRZTxvdo1Cp/jpr6bTQss/CP5MxRxhW5+QArKrzTN6avwiUj2NUWmbo/X48 yKawqJiEysuUFcL0z9ROamnCXL/uKm8c0qsuikTHevv4Yb0uM/8fwxUzQ== X-Google-Smtp-Source: AGHT+IEfAv+OxJ5F+rk8pJ2fdKiUIKZ6HHJmKvN/RxdnT6/q17bTo/vkFVlNg/kpiRSSg3RkJmVTXQ== X-Received: by 2002:a05:6512:693:b0:53d:a553:82d7 with SMTP id 2adb3069b0e04-53df0111fc1mr5096348e87.50.1732931088926; Fri, 29 Nov 2024 17:44:48 -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.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Nov 2024 17:44:47 -0800 (PST) From: Dmitry Baryshkov Date: Sat, 30 Nov 2024 03:44:21 +0200 Subject: [PATCH v2 09/31] arm64: dts: qcom: sdx75: correct sleep clock frequency 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: quoted-printable Message-Id: <20241130-fix-board-clocks-v2-9-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=905; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=uDWgj6B6z6pMSFBL1pDRW22fgNDuN+DRFtZx84ZsB8Q=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnSm30pfJMn8PDDLs925WYOn/LCHvSzJP4zGYkY KKGceA+neeJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ0pt9AAKCRCLPIo+Aiko 1VPGCACCKSMVPp1sa9k9ikCTg6c8wgTiucncPgose2E2WhjKjVKGIYWNTuT8TtGHLwu6fkJsFzY zx7Vcidqf0sBvJ0YcZv9Xp7xSMLkLCW9MZHuxRSgEMll0MlM5Eu1sb0nD+MY4hoQcwy40eWBxH8 UNjd6DTHEKJNQAfUQ8gnNxTNBvouhJ2t+I7DqloaaHmopzj6A2n6u2B8LB0N98RtiLW6C4H2Mm9 bbsU0sC5lKF+Wd2wK49Xac4oXaKCaKt4mmta8TyTMCwzfpHfqVTJZ4TyHDe2s7fn5o2h0QDpuLL qgsHdn4E80tqCOVNBldGp9Le7iAsO0ivi/jzgA6zabS+aVwJ X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The SDX75 platform uses PMK8550 to provide sleep clock. According to the documentation, that clock has 32.7645 kHz frequency. Correct the sleep clock definition. Fixes: 9181bb939984 ("arm64: dts: qcom: Add SDX75 platform and IDP board su= pport") Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sdx75.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sdx75.dtsi b/arch/arm64/boot/dts/qcom= /sdx75.dtsi index 5f7e59ecf1ca6298cb252ee0654bc7eaeefbd303..68d7dbe037b6ac49c746171e8da= bd416c8813a38 100644 --- a/arch/arm64/boot/dts/qcom/sdx75.dtsi +++ b/arch/arm64/boot/dts/qcom/sdx75.dtsi @@ -34,7 +34,7 @@ xo_board: xo-board { =20 sleep_clk: sleep-clk { compatible =3D "fixed-clock"; - clock-frequency =3D <32000>; + clock-frequency =3D <32764>; #clock-cells =3D <0>; }; }; --=20 2.39.5 From nobody Thu Dec 26 20:59:06 2024 Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) (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 63F2412EBDB for ; Sat, 30 Nov 2024 01:44:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931095; cv=none; b=Ki4DMRSOa9mQ9Bu8d+yaraZ3xgcYAosM3WDOb3JZxtpRT/ZyRsPJkd61U9uUBHnu3OFAOxd67+X3lqUfk41awnEpiX7sbytt6v5plCjWEMXZlX158HcuyXFJwsxvVjMzszUfSEHajcy29lN7CskgScn3rpb8wEcnbz5sR4EZ3UA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931095; c=relaxed/simple; bh=o/j8/+TO8OD48smfSUKUdOz/ApCt6Naf9bzdvgRGXWo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=sSPERtKy2u70xC64GZJKOgja0HHMnjFM1LPs6BNF74fJotHtsB8qwFYS7WesaLeQDOlbyNArQgwNZWm+xJ6jZyHwLDakxpEv8b+WBCdsG47J99G39fb6n5z/fbXR84DAcR4Tsn/dUSjFdALqJJjSCsx6wZ3a7lxu3SW/8HSCOO0= 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=pYkYc2Fq; arc=none smtp.client-ip=209.85.167.50 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="pYkYc2Fq" Received: by mail-lf1-f50.google.com with SMTP id 2adb3069b0e04-53dd668c5easo2530231e87.1 for ; Fri, 29 Nov 2024 17:44:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732931091; x=1733535891; 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=AUt/nlVp4F9zk9gauat9gnZ6HMkU6q3REW18DcUkNb0=; b=pYkYc2FqYFtnzGxwlcS4na8Cba5NyM84TEJMIYFvNAacj1jC8IO6Dyw6qBhultRomP PMNMpd/Z/P51jinoetnR4/nOofixUUBkxIsjfIQPPWzlAgzH45SR+s+VJ0p8GBlCmBa9 iSBrrAVK85Am90JggFnJ5GGp6a+GeTo97uL+60buvrh8aBnk2WmgTUoSAkdh0H2L7zq9 Y/V6MJuIkqr0uTJOIp0zcB8VNW1rGF1p27c7+2+8xd5CnePSfEdvgGeMHtblTxYf+60K 4pj2DrOlJoyosWOLdKn/lkhd7GWSmq57mC494V7OvmTqyE13SVyNN8nXPN4y/X92bzlk h9FA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732931091; x=1733535891; 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=AUt/nlVp4F9zk9gauat9gnZ6HMkU6q3REW18DcUkNb0=; b=EQ7b3XlyGY6YBTyyYgnCubtZIGCd89yARDw4jpAKnMqDRjt7ovrEfz2+5gDcJqerDn ALae5NJqMgFTyjm2WDYqratZwpjNsjA1J58ZAv0DfMcSmQbbXR/wMlYBqZEfxjjC5HLs bmlc2zh3WGZ+ECc3Kuf0DZwwtQLb/R5Htj9kkX3jdpFuGd7lvkL7v7ia2qFOLyld6x26 b5J6E/rQuzz7JE8TvjJ31+a7N3dY0u1o1R62IyGhWzkRtM9BTKmfUzXmhQqsoD9buCDR TLtHrY7m49TIEh9R3ica+f2opbTCWz4RSr77OQr7WSSXLiEtfOFZB0wim2k8KJd8wURX pNsA== X-Forwarded-Encrypted: i=1; AJvYcCUPJjMYUF4R7GbhvG3Eef42PqtmnqcAGcfWAxE+QBzbWByyFB2t+1z23y7Dvq4GdtCckUotOCGzNHP+/hk=@vger.kernel.org X-Gm-Message-State: AOJu0Yz2FZIDeZ1tSqExetnv4ccJsTFZ7NBShd67lqQH0uXPcXbu7hNm 7uMrS8aL1Dr3ru7SLY3MFrrwxMmf+LVFuV1XVe5++NtVP++B+10trCt1ZStY8HY= X-Gm-Gg: ASbGncvSfrMFnudlDHPXJuOFI8KS5K0+P75DfsnMN0LaRvPumUm+y/DmHtTnFTye0ji lPqx4qFyPs6M45DpGnMWmVDKINQdErPEr74Hpp0gslvuQcRhmiB6SQvq+shRj2mhYGMe9dp+bVA 1b/uNd+Ehj+NvW1y8h+QTayccmdzV+fh4wntlDNxZbMFQ3WlGJ1CXTjWvuNvT/WBfc9J6wERiXj b7iLWVIFk/1bfMzCbMzSwuYUEkcsuzg9S8u6sJDbd9PcNRTFPOYKYSWdQ== X-Google-Smtp-Source: AGHT+IG+VXAE6zA5YU4cvvWtvIkWyMzG8VWOgSj6ZgEKM1MCpzmDmadjkU86hkCNgb0YE9cJ5GHyPg== X-Received: by 2002:a05:6512:239d:b0:53d:f42d:c6a3 with SMTP id 2adb3069b0e04-53df506db35mr3132580e87.14.1732931091519; Fri, 29 Nov 2024 17:44:51 -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.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Nov 2024 17:44:50 -0800 (PST) From: Dmitry Baryshkov Date: Sat, 30 Nov 2024 03:44:22 +0200 Subject: [PATCH v2 10/31] arm64: dts: qcom: sm4450: correct sleep clock frequency 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: quoted-printable Message-Id: <20241130-fix-board-clocks-v2-10-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=888; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=o/j8/+TO8OD48smfSUKUdOz/ApCt6Naf9bzdvgRGXWo=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnSm30Q9G1cCTXOPTx2dTJNxkog61JFfnb5hKE1 85pZ2nBxB2JATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ0pt9AAKCRCLPIo+Aiko 1eo4B/9Z4HSdH7h5Ma+J+mN8AU7NmBowokudpJz9rVuhxYMWz3xdMQx57sm7THAX9CKFhA7Fdn+ tgvPenMdzkYidciMrmcXw/Z0Qbt5oD+TO2DG4bRbMarDNFeGPBqPIwufwJxUkPrmpQN9xi7LGky /uryff+5Z87MzG0e9RCXzHtjge5nm6GbiVuq671Ut8Lb6KhuNE6DZGkbyiOxBQumNCAyzAlkH0v BxhaKPTitoasm23Dc3gv9R8Rm3psCGAzZFNBI8RG1pLtkvXIIb+TD5RD6PJzjWmhvzokVOB1aoN h33uMTSSSnYyDCYeu+LhdnNltO1XKpfWsvsX0Ao/zzq+a8cP X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The SM4450 platform uses PM4450 to provide sleep clock. According to the documentation, that clock has 32.7645 kHz frequency. Correct the sleep clock definition. Fixes: 7a1fd03e7410 ("arm64: dts: qcom: Adds base SM4450 DTSI") Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm4450.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm4450.dtsi b/arch/arm64/boot/dts/qco= m/sm4450.dtsi index a0de5fe16faae5674efb0070d4017983c86603c4..27453771aa68a1c4dbd2a986af6= 785fa05db147d 100644 --- a/arch/arm64/boot/dts/qcom/sm4450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm4450.dtsi @@ -29,7 +29,7 @@ xo_board: xo-board { =20 sleep_clk: sleep-clk { compatible =3D "fixed-clock"; - clock-frequency =3D <32000>; + clock-frequency =3D <32764>; #clock-cells =3D <0>; }; =20 --=20 2.39.5 From nobody Thu Dec 26 20:59:06 2024 Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.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 D56A61714CD for ; Sat, 30 Nov 2024 01:44:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931097; cv=none; b=peikkF0JLLxAxxsHTrHjfXIpRXB/jDMNsFJHxgVmdJ+0ZXGy0I8sDqq4dxaYjNexiWgGLj/D4L2UYGCBXqaalgloFVtSW6AFqSqXQN+nnFITZ2NvxNfqJ1suC/fGVppvK+clUSoivgEn5rKS9CI6hNEBfjAETdt9n2HfDhXu+ns= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931097; c=relaxed/simple; bh=q3UE0E2mDZCC929aI9do16YaC9c3UMVZhi0tXk/GPcs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=o5TBNhJE6Quyn+o1UxfWm9rOZrE61dI2QTGuk9dCY+cHxEREK2TFGwXCxUzV/H+j57Yq/lCpCsZ9ugelaylZrDFKUF97WCykJOq+Fr/kHn62FrcYmPykJ+YQ1TCuPEDA8ccpjJEHJFRevYxJAXPMLkiQChhTQuIpkjTOaVd56fw= 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=hcUIaqcw; arc=none smtp.client-ip=209.85.167.51 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="hcUIaqcw" Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-53de5ec22adso3050423e87.3 for ; Fri, 29 Nov 2024 17:44:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732931094; x=1733535894; 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=R4ChnpSI8rQpGaKLPT4prgKqYz0wE7uQJXmY4boADvg=; b=hcUIaqcw/04zbRBjSZ8a1MB9sH6t02B0m5n00h19+bTHxEJ4YkUAJyQ1sVXKdikR3O aeLmDoztP8RiVgUI2AvPymTCdk2MdsFtf3cXrDxpPegjbJATv4TkySM4ZSK55eGTc4v9 +2gKteIGkG7X9k391cwmv8ka/1403VKncEaIOXaI4SrKsYTVug2iGdJRU47maBh9Zsf+ WfWa7/NQIQtODnAqxDImkYTd0b1hjLZldDo8OQ4Nwz8TMQsopRrNd8qmZGf4Bbd6M5IQ BmR3jP0yG1BouDiTzKBm+9dntn4yKMRdF9jntPTCidBrAvjzK3VidvatiI7D3YyOOTSs bXnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732931094; x=1733535894; 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=R4ChnpSI8rQpGaKLPT4prgKqYz0wE7uQJXmY4boADvg=; b=SE/zfUhZ4Gd280rVOko6a0Mz71aKfQNqpsOmSIydWWh/TXCxbL4J8unts6QZsA0N+F 08Sv/yw5nef8AuoI1jVb/3jSCLYKO0nsSAaatAebC/eWAS2qVolVTSMupx51aEzv9g2v X6mRx0DhiDqKERHsFMhmAtvAR9XY7CI4lxwdBm6+rZh1lamJiW4rGucRwrKVjb5m70Wv C1v67ZdhQa3eH/qAcOYyfDBaf/vset5AoTwaVUcohgwU9c/ARzULYXBbc5QIcO8DArOK 0NRXsmjSzgVz2MWB7BXtUQ4x6J//yV6UsmKCkH0JPAariOIFe9UU/1fArxj1GyO/Gl8i Ixww== X-Forwarded-Encrypted: i=1; AJvYcCWlNSZOjGUYstZrUb8dLixScxU8ng202oUhLvqPavs7ttQWq0XW2Y5spTWYzv+qbY/P2NI2rpOn1BSoAhc=@vger.kernel.org X-Gm-Message-State: AOJu0YwxPqr+H8oJW5WXXVOVffxcxBBjnGWZDmCFR7nOO8ruJZo3kIjK JuP2f9Eg77uILnNCopVOlBtmb40PG08VhRDBdXaf99FAp3dhcY3crHuUeLepL3s= X-Gm-Gg: ASbGncsVZk0lR4YT44xFVRiDmI7qCIqsMAmFFDH44s62qMFZ23quRNBVbH3/lUTrZR5 /WpCeoXGjijBYgAg9cRaBUh7M+6S5BtXRZsgRLo+R8llIufTWPBuY6f7yfv0jtUBr14nIDgbE0s uhdBG09EQdonah7+DaAN499XNDkAAKJyNPdMoW6fhe9ugtLTGRik0GDVirRNK84cczsnKjeceQ2 b/nwv4DP2/mZq/pdEx63cuji+XPzBPwONaqmS6rdmlZHJifxblQ/1weOA== X-Google-Smtp-Source: AGHT+IEFf1xsL12jwu28gmLmBmw8ROzxlpNzpCXVOjJeUtDWpNYIS6/wo9wBUy929SPhr5gXTTkJDQ== X-Received: by 2002:a05:6512:ac7:b0:53d:e50a:7032 with SMTP id 2adb3069b0e04-53df00ff78amr8025047e87.44.1732931094137; Fri, 29 Nov 2024 17:44:54 -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.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Nov 2024 17:44:52 -0800 (PST) From: Dmitry Baryshkov Date: Sat, 30 Nov 2024 03:44:23 +0200 Subject: [PATCH v2 11/31] arm64: dts: qcom: sm6125: correct sleep clock frequency 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: quoted-printable Message-Id: <20241130-fix-board-clocks-v2-11-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=928; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=q3UE0E2mDZCC929aI9do16YaC9c3UMVZhi0tXk/GPcs=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnSm30wZw1UBZsPTjf9xNdqvcaOd9XA8j7YB7bR oxw1NHD9lKJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ0pt9AAKCRCLPIo+Aiko 1TV6B/kB8sg3FuiJJxDK8ulc0P4XwZf6YfrWFQfF2PkODvBX5FwGdrS/It0JBMHAbbbhWYSo8lS ya5FFkeQ2ixl/GZLih1jNIilAwUOy4HKdkAdJVyBSoa2YFzgDQ6o+ugPdf1am+IxAoya4PYAVme NHEQ6hSOsun3Xz6vD1tBRTUhPYT+yvgFdHxexqM/ncm2dLe66LhiePOxav49zyI7I3hgI7i8D2S hCqudhtGq/dr+Aco20746ZDK9zy2hshwcMFfynXf8zmjaaa/Hc8fswHtKvgZBLLQVdnsXQpJTC5 BxWIqP9VSdcBMtAcxTPgP/q6LNFiOUluVJy/8SRlC7z6Neor X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The SM6125 platform uses PM6125 to provide sleep clock. According to the documentation, that clock has 32.7645 kHz frequency. Correct the sleep clock definition. Fixes: cff4bbaf2a2d ("arm64: dts: qcom: Add support for SM6125") Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm6125.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm6125.dtsi b/arch/arm64/boot/dts/qco= m/sm6125.dtsi index 17d528d639343b9d649167d231aad3aa63474435..f3f207dcac84fa2f72fa9222c26= ab3d7fe8813b2 100644 --- a/arch/arm64/boot/dts/qcom/sm6125.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6125.dtsi @@ -28,7 +28,7 @@ xo_board: xo-board { sleep_clk: sleep-clk { compatible =3D "fixed-clock"; #clock-cells =3D <0>; - clock-frequency =3D <32000>; + clock-frequency =3D <32764>; clock-output-names =3D "sleep_clk"; }; }; --=20 2.39.5 From nobody Thu Dec 26 20:59:06 2024 Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) (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 B5912189F5C for ; Sat, 30 Nov 2024 01:44:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931100; cv=none; b=GValPr3Gg46Ao45batuMxvaAYW0vLLhMa+YhhcVhlYdgDiVJ9xgERCn0vEv2tQXN/nzC2ZvQx1PA0Kl+Gd+NBa9iNJGz8ugV71l7kaPONAHY55e/2BMvNjjRheZolvGNLaCJz1OENDE5lR+5xnRimzwtXb5ZIq55yNJhuiZAr68= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931100; c=relaxed/simple; bh=pg+0ixud7QxxrDakgimvHJR2/Qzsae3oMGYCum0sTmc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=A4LdkfXdKSV5Sbw8ryVfzf15d9VhP6hLbYIshsbYgFXotCpM/ba6x4hXzVvXcCXcEvsf5s6cFENOGtpLDqMIhX8SIyEv15kKvSC6FOD6AJ6hEDpcE27yaQ3qHPMpFTQysWU0hZJVLJghMiM+GDPZAdD73Pgu8YwlgbGb4m+qbK8= 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=j7kcCbVj; arc=none smtp.client-ip=209.85.167.47 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="j7kcCbVj" Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-53df19bf6a9so2983464e87.1 for ; Fri, 29 Nov 2024 17:44:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732931097; x=1733535897; 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=65t0GELKzjIJZOp61osw9K8U2WzNgdRx1Petkma+CoU=; b=j7kcCbVjXdJPjUR83fUvRKxmz9Pjs7COY0vlu4NSvieXcv1+varvHR8U6QNyP0v5Ep YU/xeEgmsmyTTewPLsfC+HvDje+HbEnDTaR5n3KBeZZgfOeNK2v0QbPAWnqNRp8AYNnV ex1EbuHoKcjiXmdW076cLqpSSuiFVi73pVJtGFyeLKgrnEG+nmF4/pwnAQBJ1u7CPqQP uz0IWQa6K6BThKtGTjfr/gxEMUckQ7Eg+KUEpqmlBeUrwLx+blKaXVakHMlABI+Gj32+ IDXvo8qFrqOISIIZB38AjwKfg1nbbeYC+JQzs7R5cdp9Ets3W5dE/lLHUCiiatV7V2wm LVNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732931097; x=1733535897; 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=65t0GELKzjIJZOp61osw9K8U2WzNgdRx1Petkma+CoU=; b=CS/QPCb8rXQIKUG5sYJ5xjkbbu17xwGYcIgaeAt7rQ7lbjotc17JBmm0leWuCYdGAS t2Gj+SENQ3RxFP00cGZs6+rJt+sTe5NXWGqRhKrvGxvIAkmYj+0SGPSmsoAM21tIUrNv BUKqeMzwGRIK8h+g0T99jaUPnbZBEkSioBhrxcMqAlBqRwlsJUI7rxxCbhRR3C+J3WxZ sy4pi+Y+GnYlWb2UtmzLrxE6muow8MYys8dMEEEgwLLWJBP0FtCZFn7zWGw454TtHPKr jPT2mTnIFZVlGQUfAHYw2P0gxihsnQpASO3GRcDqP37RiyfUJNQvD3ePpQ4Kwq7gUd2j VFnQ== X-Forwarded-Encrypted: i=1; AJvYcCX11JJsGrAx+ypPdOy/Cl2ZDawVH7mDFdBO8fMCLWBhmj7vowpl0NDgUHmeb21mxEsWBBcG96tGO9SoOPw=@vger.kernel.org X-Gm-Message-State: AOJu0YxftZ5qxTZwlRQUvFg2BY+5RFbIva8edJKba8oiPCv0MqpVz5g3 6st1HaOv7lMb++XyI6BeIC69NNXg9WoHEY7EH/6QTfgKEFiFKAW5UUhMPqzV0cg= X-Gm-Gg: ASbGncvoEgtGbC78oAXGAJld68jK1ZNUYv1HhxOSaUY5zASZkq3NZsHUHnLavtOGlaD Vf/oy5bRlSoHxcBTlc8GscdEeSLVHsvUarju2MnBRJYZ3fhr5jVAjXN3d7Qvtu+p2liGdu3dY9m 8ohQnr3cbfnXOoiBAi+mRl4oYGdwux4cmivuB/3jZ0teHut/iItzvQ/2g4dYGwrvdqBf+lzDvJW 4MgBV/osav2VKXjoanTJpD9XsdCZPbYZzFRwDhhWXFfGS8HYIwEtVnBng== X-Google-Smtp-Source: AGHT+IFMevCFY8zoyeQ6DE18YFL1ZiGJOLFPeyQ7r/Qji/vv9Zjs74L6RM7gpJW0EbWSlLrU3s9U9g== X-Received: by 2002:a05:6512:2309:b0:53d:a883:5a3e with SMTP id 2adb3069b0e04-53df0108ff1mr7902207e87.39.1732931096896; Fri, 29 Nov 2024 17:44:56 -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.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Nov 2024 17:44:55 -0800 (PST) From: Dmitry Baryshkov Date: Sat, 30 Nov 2024 03:44:24 +0200 Subject: [PATCH v2 12/31] arm64: dts: qcom: sm6375: correct sleep clock frequency 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: quoted-printable Message-Id: <20241130-fix-board-clocks-v2-12-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=912; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=pg+0ixud7QxxrDakgimvHJR2/Qzsae3oMGYCum0sTmc=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnSm30pgr9Naoq+3Qet72FV6DwivG+cEdaNoCl8 Co+czkbIsyJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ0pt9AAKCRCLPIo+Aiko 1Xg1B/92NJCJdlLS/k0Z3h+rzI/LkaRkV9Jl8wywC9w93L/MjLmdjFWCIUkp9sXn4GmRhwXVeAr MUu9whrSnpmxNRWjpyIQ+MFNLjUKRy0yQmA1JeT3u/gudy7hqUoglQA4ejPTTDZOzbuh2chys0D jFGa9k72G7oqDrieYKHc9rONxkKFoj/jbUqXC62Ov95V9wMOqGNF8LZBAR7wTEy96dBRcmRgY98 IZzUPXSN+phglaoYbCasSiOxN8kwqsgFMRobRniIbUfb2bCmYnkrKpSqpjGa7EXyCNFgdqsyC9Y IknUev7fIFeNcYRAJy7FgqnXyW1H6oXo/PYxAqv4qbfLtllA X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The SM6375 platform uses PM6125 to provide sleep clock. According to the documentation, that clock has 32.7645 kHz frequency. Correct the sleep clock definition. Fixes: 59d34ca97f91 ("arm64: dts: qcom: Add initial device tree for SM6375") Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm6375.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm6375.dtsi b/arch/arm64/boot/dts/qco= m/sm6375.dtsi index e0b1c54e98c0e8d244b5f658eaee2af5001c3855..7c929168ed0805e832b81851608= 3d48968d3bbce 100644 --- a/arch/arm64/boot/dts/qcom/sm6375.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6375.dtsi @@ -29,7 +29,7 @@ xo_board_clk: xo-board-clk { =20 sleep_clk: sleep-clk { compatible =3D "fixed-clock"; - clock-frequency =3D <32000>; + clock-frequency =3D <32764>; #clock-cells =3D <0>; }; }; --=20 2.39.5 From nobody Thu Dec 26 20:59:06 2024 Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) (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 42B2F188717 for ; Sat, 30 Nov 2024 01:45:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931102; cv=none; b=CnsQzY4Jw0bkAiyUlMIz/rAqTtwga+sf2UEOPwDWessSWpLrG+edkE2mU9bRPhhQ8Q3fq7YVvmpCT0bS1FRQMtmBFf+91zLBx75JcxGnF6GJhUniJFOMlgd+3LcI1LMAFYd4gOTY4O7b65wt5UckiDH3QuETS2GwE6IX3szEQ9Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931102; c=relaxed/simple; bh=t0rQXPrtoBaJrNoELAVHdj8ug8kB5TUw+I/NzNZW0co=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=KXzWIpttaNXFggvV3JJr4TLfvuErSRbaC0/CQAj+u4D7argvhS6MumRV9NzkBUoAn/FX/OK82fRpp/d93ZVNNgBrEekM5Rjq1MlkZbxDT2zQh/ZJau4JMC6xsTusn1wFgN+F2sdaTGkLUx09TS9lFbuROPoDMRec5EjCQBojIiI= 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=p5S1cGz/; arc=none smtp.client-ip=209.85.167.54 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="p5S1cGz/" Received: by mail-lf1-f54.google.com with SMTP id 2adb3069b0e04-53dd8b7796dso2507485e87.1 for ; Fri, 29 Nov 2024 17:45:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732931099; x=1733535899; 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=dZvlf47lLnOuGGVqz501ZYTHYvZy2AJJ5Z/oU2OF890=; b=p5S1cGz/y8XoxtAycrGTkE262pfaEkiR9YWV08ML/xWba1le+Vbew3hrPlrjOp1sOP fQPly/zWBKtmNg01VOKS/GRT7RUrcCRfQzvIGjsQODspGnyJN6L3Ef4goW/6FLJ6Jee0 ymnP3zz+U8e/UiXRB3qiKzy8ERIUWADtQuht78o62AQ0Lj78SozwNoUJpgQH4okuvAJN whrdLsm/BjeDk1EP7JTVTNjnhnTdsLa6f70jEVPfPfnpnQQgeMEQmKlKUquToiOQaaAK 28Gjx93tdRn08tqsZ04hAYhxQft7rj3swlHlOphTzpbTUB4h4Bar0Yu0ZfmpFw8cDiwq qmPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732931099; x=1733535899; 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=dZvlf47lLnOuGGVqz501ZYTHYvZy2AJJ5Z/oU2OF890=; b=detzboiK07aOXFPZ00FMRtw7jH6W1Zdsi9nyAp0LWRIzlogZowchxJWEIlPOD7VDQY CIH3bTCLVSYIT7czjTTamlaFTCnz1J/+WRVVBvHJcc4uZyP0oVpGwu6Lac2z5YM+9b2W +0M+bJIFW28u8ngvU3v3iNBM9hasju/crZv9QbDEQh0NMRCNVD1HZPFheu4H9EZbJSwp ONFFHCCf8b1u2jbqw6tN0vLWkgXwhJ66o9R6qoI8svbW9Uq0gS5/ZLF78/HhB6iuou8z h2XqzhRzHlFRblZcipAjMZhMpdYmEUrXTSeqjPTBbde4j7JuwD902ynl7AKBOQkAbaVE uY3w== X-Forwarded-Encrypted: i=1; AJvYcCX41vFkniVlVBYSq0zo+/9Vi1p7Dz6n+Xhz+uD7/Y3v5YmvogBEIgKFlkpVqrdMmM7y+Oo8TDdM1X2YcxI=@vger.kernel.org X-Gm-Message-State: AOJu0YyuRoziLBaG9TsqMnEDmqSiQotUYxkDNuOeOULfC5sAcThRXqX0 STAmjIIgc0JMOIc4b5q8CGXnC9PuDBnxXtkUnFt/serCdQNmTdYEy/7LShi5yrg= X-Gm-Gg: ASbGncsP7dEF7+92yfC3QJWKPrDSnSIFn/WO+Q+ArGSf1udAyYh0HMDOJ+zGVRmkDEH 8ISgkfDzWtIc3w/92T3FW5UIreqpoQV0+LGB83DVE7EcLWrsSbKMEJEti9QKzMxd9VA3N4+o1fv nUD4nz1s03rOuNSWVKEhARY/3UGs3V+ZGk+53lv/PUWP0k+7NS7kXQ4fqlFMNmvsuOqrUcpjbY4 sqnluLKApBCDH4OlyXLhyZECH7KcnsVdiYIUZrckYFUaMr2RxxRrHNu9Q== X-Google-Smtp-Source: AGHT+IEK4JnJ+KBUaz6i/k2ILNCmsJvtUTE3Xk5NlCGOFLAcetO/yIL+RK+7Yr4PN/LOWtpKx+UgYw== X-Received: by 2002:a05:6512:3e1d:b0:53d:d139:6c21 with SMTP id 2adb3069b0e04-53df00d10e6mr7821513e87.18.1732931099480; Fri, 29 Nov 2024 17:44:59 -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.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Nov 2024 17:44:58 -0800 (PST) From: Dmitry Baryshkov Date: Sat, 30 Nov 2024 03:44:25 +0200 Subject: [PATCH v2 13/31] arm64: dts: qcom: sm8250: correct sleep clock frequency 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: quoted-printable Message-Id: <20241130-fix-board-clocks-v2-13-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=920; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=t0rQXPrtoBaJrNoELAVHdj8ug8kB5TUw+I/NzNZW0co=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnSm30/qqutm8AVBRdVsmflA7t8c5bUdq73r6kN R+8xAYCD4aJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ0pt9AAKCRCLPIo+Aiko 1eW5B/46A3mdgHPzPqYR3PvfQwBQ9sznJYapBsJiiLdEFmxjr0JD084s3D54kXfBT7PPLOZSV2C Pju8Zov83BNTZgPTrSA+Zx6HUYOoxAvP8Lc3Hn/Pmh0uHXxeG0Soltp6cPi1x5S6FAR1dXiEDNj FKvBpVAs4gBWuKBqsCxmHNSQ/2iaL6vOCTtU41y96avgkTHbCouvIP3pz+f+yLEL3X364tAdNsf +gAzeGEvHFR/fm5ppnbRssqBvdeD4SXp1D13W7B/G19qnxLkU//sq8Ta4YVh7H8kSSgeia7+0/G ZUm4Wya0m5oBe2th1Kn3UNIPobBmXsvXnm5JAzTssurUruIO X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The SM8250 platform uses PM8150 to provide sleep clock. According to the documentation, that clock has 32.7645 kHz frequency. Correct the sleep clock definition. Fixes: 9ff8b0591fcf ("arm64: dts: qcom: sm8250: use the right clock-freqenc= y for sleep-clk") Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qco= m/sm8250.dtsi index 48318ed1ce98ab40de75129cb9bdfe32eda4c004..f39318304da8d02ded9bc4ff833= bc88139ded744 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -84,7 +84,7 @@ xo_board: xo-board { =20 sleep_clk: sleep-clk { compatible =3D "fixed-clock"; - clock-frequency =3D <32768>; + clock-frequency =3D <32764>; #clock-cells =3D <0>; }; }; --=20 2.39.5 From nobody Thu Dec 26 20:59:06 2024 Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) (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 D574B19AD7D for ; Sat, 30 Nov 2024 01:45:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931105; cv=none; b=LryhpRwqSip5nHJs4SRAwiP590JQkuB5ltb/dCkBmvE+RabKEv3mOIvWCsB1tnZGklKckLhgbWzp1uMSS0SfGmRoWBKFDt6ExZw9atdWaAIls0RphEqZUnuDfzt9P+vwpl6bYZ/KRh0xlyoT34Ygz6gMb70P4/ZQjkQ87cUIuKI= 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.43 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-f43.google.com with SMTP id 2adb3069b0e04-53dd57589c8so3636150e87.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=Vg5UkQ2cEqf25lkK9420aytCrdDH41VTN2CdLRc5x8AdaelnA5EnCSlELrPMvPhkiv PKBMDfRb6apGZnW2EzgwLOTZ33kJ6w36nNAhgdreVf2/S6jeSOfyuKPfp2iH3dGQt+me lsjc80zr6ToMdw4SAhzaOOCeJby3OiHEJWsba5LY460IIkJq8Ag2l0KdO3jh+4I3+fN0 o6EV8ux1gnC1spc7x92udp49wyO6u91o+6ZsaRcnHH45K5o8pkKkPy6cn+BtgxPuyywt /kx6z1Jfou/dwbIRr6jduXmNid3bn3oLsXBfeLkl3BtMFGiXYifNefMmSZsRgcWQ0LCs Ogcw== X-Forwarded-Encrypted: i=1; AJvYcCUyOZj7ufyXzVjhvWnCbfd7j5zGZ09BJNqVZmvHWN8FYZnmoNLC6neeo36oQjuiyLy3XLpxV4aLZnsW6dE=@vger.kernel.org X-Gm-Message-State: AOJu0Ywr8BtiTD/Qjs3IFP7qjnfH7TUK6mBs0SGODqgGgFfMV5q+kncI 3Wv5FMqcPoOs1JfGdRc1PF0HksBl+Au4jjgg6OY66HxqRg47qHftxGoXCN4+3z8= X-Gm-Gg: ASbGnctSWCtjd9Djb+xxJh/e5a6GGLeGD+rWj2MWwHO5seTus/4u4oIOyYauEU0hVLn kuXXJwkLDubMX1Mco8jZSnK6LWuEq2oC1aufRxx6sVuljCv4OAMIg88pVr5WL79RpBBJfexg0gR T4tOohZbbkXuk3omZ4Hf2Wm/b6Z3h5LI+mF8VyLFEO4jS9JEwfGB0toYXpX6RvMfxddFEqC+MO5 BoyhitUvPU5vXKqyUHDgjbZ+AiMycfvQs+EOljJjthEcTLmSpBKIGElOA== 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 SM= 8350 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/qco= m/sm8350.dtsi index 877905dfd861edbcd083e6691a7cfa1279164ffc..15b7f15b3836dc544cb1209ab36= df85263d612a1 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 { =20 sleep_clk: sleep-clk { compatible =3D "fixed-clock"; - clock-frequency =3D <32000>; + clock-frequency =3D <32764>; #clock-cells =3D <0>; }; }; --=20 2.39.5 From nobody Thu Dec 26 20:59:06 2024 Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (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 9ABB919D064 for ; Sat, 30 Nov 2024 01:45:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931108; cv=none; b=gNZ8TlHh3yxVqwGccLSfjKkwoVikoKH6scf6q9vM8B3v1r3LOKCowHrqakExe9hbdra2aCh2Ib6BZIuEVWEpJFDe4AxOoME53y/IYTY60QPWDMfLMMXiWfhEgS+1fxdaiEisTvmTxTbWDKz8+Uei5kQpBC1tD2LDSTSEjKFn85w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931108; c=relaxed/simple; bh=kRo+lLE1W0MzRHuVjiZ53lpqFjRc/n5gL1+u9Wg23vI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=kq7/j7fDuMxJ+ABy+j74YcNbEAbgMhd/qsz4kAEQScq2vfmnvJOhne/0tyQZGG7HaFDpNTNyKL8xCOlS9LcTYp0328ouFqOKlpDNIhbNFLDIcqmjvXt+4Ka+Kpxg2QvVyK6rFa3IwQGSTwGzkeeumV3BVqbAryf3exYB+5BaZ1U= 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=OeQilQOW; arc=none smtp.client-ip=209.85.167.52 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="OeQilQOW" Received: by mail-lf1-f52.google.com with SMTP id 2adb3069b0e04-53de771c5ebso2829069e87.2 for ; Fri, 29 Nov 2024 17:45:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732931105; x=1733535905; 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=vWJlRrn7HaBkpMiZ8jEbjKA4hpcZtQM8jkZV0zeKFag=; b=OeQilQOWm8jE5BzOKNtAUzi+Em7fcCuTKcBFP88sjXc64qRAKFThW+qM//lSqNr/ou 9z/f95b9UlbndyNQg8LBUM8VAARNaYYpV46s+MVEyDItGX1eaRNwTGcoyF6pnJgG03ZY omGk1lpXK34WBVNC4UBYuGcZPdog6+YaLy0zcgwk5Rx5XEdplGn29PrCTDyJST8+vmM3 KSyY/6zuMVylF0y8kABWusi6eIAs9ob0XwvlPiz0ImacIavs0xibVGNZVuR4edeoMeE8 WQb1YxT5BApOvNMCYIG6WGtWz1pb7D88TsnC02RZFqbBDUS7faAnMMy7r54wiw35gyoi 3SVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732931105; x=1733535905; 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=vWJlRrn7HaBkpMiZ8jEbjKA4hpcZtQM8jkZV0zeKFag=; b=jTvEYRw1IAmeFL1p9ECNQorUScmZjbwB4k0irMQcq580JmEXcmBoKyz1HQp1WhLgY2 4cTnuvnubY4ZoWe25wl2WbY3fZSS0FVVrtBMavUAyk8tIsmnz3ujJyXzeuJ0u8NaaIg6 fHQHs7IerJmW13fdfuW0cszxgvZ/B1ZzvWqxsHoxoyB2rPnX9jmmB/TuuiRIFwsVSO5C wphYdVLh9ctEhFSLQPTu9xLjcztBunUOgSf1B5SmCF1dZZZt6s2XEn2BK0AaZRPDlYRR RcIXibPiQI7efntjr7jf4Rv6A9vRPjDDiRVGJWtaCdpjx2NSnbi0mJvILD3fK984fCXw 9nxg== X-Forwarded-Encrypted: i=1; AJvYcCXtyyUikDzcgz4sAcCMgdrE2F711tv1Re2wt+Bgy6jRdteeYUehvVEJGaz8qTu3AVlp3BxU+7P3UQJxP/g=@vger.kernel.org X-Gm-Message-State: AOJu0Yw2Ba62YmTc0N+VwmHFpA7jzdD+K/wScxC0gWFJcFwZdqquBbE2 2rYM2HDH4mMshOSP2otR2BMeoE7LWjqUSMUEnqsbUxYbflkWVboWBASKVEbwHqg= X-Gm-Gg: ASbGncvCIvOHk6p/7+b4SEuGzZe2ZCSXe0OmMLeugtvrQnBd52MQPxax61GLVevJRdz A6zJCFIx+klEelRg0U6fYX14a4YE9n08UMq+i9/f2VElVDWU73QsHARs+zhZ8w7LFWgiooum7mc ZcnZWPBhweZD5CKmRoCzHyn/Tr7SMFi1vRHUWQFQmRn/naEbE28dcR/n/FwBgd08tiFGLk1l13e jcPk0blp+RSjxoiAzCjq8fSg69D81OWDYk+q64UmwRuYx0J5n0EyKWVhg== X-Google-Smtp-Source: AGHT+IHtpAzMikEAK7LIlcO0JKtu8SItRJVZ6GzYK/XMB1Hrlh9NqSRl9WgPX6B73s7i21+jukDupw== X-Received: by 2002:a05:6512:1249:b0:53d:e5cc:d06d with SMTP id 2adb3069b0e04-53df00d97c0mr8785917e87.27.1732931104656; Fri, 29 Nov 2024 17:45:04 -0800 (PST) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53df64a0742sm631946e87.261.2024.11.29.17.45.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Nov 2024 17:45:03 -0800 (PST) From: Dmitry Baryshkov Date: Sat, 30 Nov 2024 03:44:27 +0200 Subject: [PATCH v2 15/31] arm64: dts: qcom: sm8450: correct sleep clock frequency 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: quoted-printable Message-Id: <20241130-fix-board-clocks-v2-15-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=891; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=kRo+lLE1W0MzRHuVjiZ53lpqFjRc/n5gL1+u9Wg23vI=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnSm31ZCubTdxrQSYCqGPtgwvvXuH0vanV5BbkQ E+EKRfB7JmJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ0pt9QAKCRCLPIo+Aiko 1eSBB/wKjVAzUj5M6b+XByRsvi0UZPlpv5qTLjszhyTKQzXl2fkADYu43wP5syy0QdmbuQ9oV9f Pk24fHsozeixUuPa+Z6EvgRX83KZiU/7t9t8czMg+tvMIzv5BtW0aXD3GwGZ55ure1p/UpNygKx U7DZrgFebI1njHwsrPfHpsH73HqKw6WQsPS5iJ2j4C9pd7VkanjsEcGzZFgxzrYEm78cwINl6Zz /tJc/vKNrB9bIVGKVX+vJbotSAj1ky9FNTJAXzQc6EzhqfT1JyqDB1JKqMofM+EARBprGS8BfOp G5mv4xPQba21kxtcVJsJM0ML9/me3tQ/1n1hOmMS6RQeDGoV X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The SM8450 platform uses PMK8350 to provide sleep clock. According to the documentation, that clock has 32.7645 kHz frequency. Correct the sleep clock definition. Fixes: 5188049c9b36 ("arm64: dts: qcom: Add base SM8450 DTSI") Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8450.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qco= m/sm8450.dtsi index 53147aa6f7e4acb102dd5dee51f0aec164b971c7..7a0b901799bc327b9d31bd84e8a= 00fd62b451596 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -43,7 +43,7 @@ xo_board: xo-board { sleep_clk: sleep-clk { compatible =3D "fixed-clock"; #clock-cells =3D <0>; - clock-frequency =3D <32000>; + clock-frequency =3D <32764>; }; }; =20 --=20 2.39.5 From nobody Thu Dec 26 20:59:06 2024 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 4170B19D89D for ; Sat, 30 Nov 2024 01:45:08 +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=1732931110; cv=none; b=qbwC7UF+Od7Y2yMsW6EuLrKu923fEt9FfzvCwj9paE4Gzsa+bEdtmMlUnO4qNyiJr2ZbXNlBoitq//7FiCdlJoL4oukCJgUceFcLxPBBrEIpwiDJrZSRrj4jnX7QuDALHUleZ6pG7WLNS9Y9e7+hjD1PX9AV3dKoUZTlk4I8+hY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931110; c=relaxed/simple; bh=oCnFN08aVITyKXapk9h/eTP1McSoWUQ0a6cbzA6vc4M=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ZtsoTchsCaajHhAlidBNjvUzdWYgXsEUGiz7vMjeJNQ9xR4//qhNgkbM+buHEJyxrNVbB/LS7MBxJAoFhLErmg4/W8i/OYrcTu7PbZSLIQ3GtFS4wtgTwnowat35cmxYkOnArVFTit7XRsl4RZka9T6zPOU+8/D5ovWGQ7xtOPM= 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=KCR+B7Gg; 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="KCR+B7Gg" Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-53de92be287so3840367e87.1 for ; Fri, 29 Nov 2024 17:45:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732931106; x=1733535906; 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=o97PprEmFcE1YMTUzaFqHNHrKjzvxr4tsiAOHswBVG4=; b=KCR+B7GgTV0THVROQzECdsuKgilcgcLU8wGTbLLaH/QxQ5Xmd/ohy/E8AwMlPerMiV +ikrmEsi5bpQUWAVLS5GuaLqV0eVTGvKmWns1t6C7YaWi0fJNBwUCPPcPEh3eWJgJ6od U3aNMZ/Zn3vMgUPA/ACfFAoGxEP1Rfb2Lyjc6ArqLIulAKtC5L4VOsV6Vsfd2cSpnyO7 7lo5VbD43KjpuvSSG4jkMVj+JtkfrArWw4xtmkf07Mokl4LZnztpO9nPI1EkS8CYE6Y0 cHkuEq+crgZthFDtK0zlJYG4/byS0c+4OA/COqL63cEMElrrp4kwRUpRUNsm3uI+fIQu 3mpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732931106; x=1733535906; 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=o97PprEmFcE1YMTUzaFqHNHrKjzvxr4tsiAOHswBVG4=; b=ehrRJbihV9yrvWVttkHnto+XKTvwBOjWJqVYjN2RuEKlnEF37+i6qSHee/9lKU/8Zu GoL9FJf2ody9QQHtRKEWmGvREAgiCwHWT1HnG+FObYMAx1KOqhywCC0mOBwGbXnOrJsK aFZn9bpmlVFY0zYOuADXfAy2uvjITaLAFgx32YMC6Ul1sqYmBhsBtz4T1U+6NgOxmFlG Ew3JnEq70cgsKlOowd6rbej2fyZjeWJIaPa1AcxYdOARsRupePNG91dkF2ipYFmHUywD qqMmW1dOlV3B+K/ylp+YRBGwpNNxr9lYEfvEjOINX8ZiKepmo1dR68HAmZXKi6CYwkKO LBtQ== X-Forwarded-Encrypted: i=1; AJvYcCUrUP1DHf7k+aNrRfEQK96zNhcqSxMr4kf3z7MYzX7K+X4VUonCQ2vHuw5qvKitD16hGPo/ZEWL1uKheqM=@vger.kernel.org X-Gm-Message-State: AOJu0YwFzPtB77GGigFclRd1MdwJirnakZRSELkuO6MXOicPgINYU3Z9 +JlTVxw6EcgImtiqhL8N9hnn0U6ke1BB5Ju58H3KPrAd6RiOnT0SXx5+fCB8dJ8= X-Gm-Gg: ASbGnctPbaJOVVrBVin4MVHrF374J4+c9GFHa41yUBKaTcyF84bUMunVo9kGbyfN4MI +5vHI1Jo3+InDO38DnAl01E4GSlG8ul7H0fPSds01UowVihYWXjVrPzeAJDHmOaUojezkFSpXHq HkeBk3MwCivLfXZKrjM5wAy7WzGHDt7kcrYCNS3lD52/R9jHe6FZs8EgaW4JkSmWsmZ58Y8klbc DJAsmQbpCkIy1TMjOXJ8UhuD0fHUvAwT51yd8qhIIjbRDGy5AR0/86ePw== X-Google-Smtp-Source: AGHT+IE0X4MRI4Yuj1wmpTZCVAUd8U1F3Vx4Rkpc9biwLjDow+iD4g45gPPRgt2c3JAE16rcxIJZqg== X-Received: by 2002:ac2:51c6:0:b0:53d:a132:14f5 with SMTP id 2adb3069b0e04-53df01172f5mr13349519e87.57.1732931106373; Fri, 29 Nov 2024 17:45:06 -0800 (PST) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53df64a0742sm631946e87.261.2024.11.29.17.45.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Nov 2024 17:45:06 -0800 (PST) From: Dmitry Baryshkov Date: Sat, 30 Nov 2024 03:44:28 +0200 Subject: [PATCH v2 16/31] arm64: dts: qcom: sm8550: correct sleep clock frequency 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: quoted-printable Message-Id: <20241130-fix-board-clocks-v2-16-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=3849; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=oCnFN08aVITyKXapk9h/eTP1McSoWUQ0a6cbzA6vc4M=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnSm3152hw1YL7asiFs4Su9D0LkAteWjzprRzAj u7wUlgNx7CJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ0pt9QAKCRCLPIo+Aiko 1RRUCACeWyG6A8xUX2FF3xZdrvsh31tzdcn3f6pPfdU6n8Taks8khEMH+DAkjLdqcT9OL0499N5 wMj4Sfb/2pPEg6pk8u1XAzSdcWvu60w1WUjUMsQLIiAb0TylD8i6jmQT8eozYrxUATQD0LPV0NP 7lc+x9/axKbU1M9HBrfo8tU+jKKQ8TLDVYKcLW4ukm+E6Zf2fhxjypgJc9xA9bQ1nFeG5rdWeRK S9KVKvw/mPhqVO8Og+iX1N1o3Kw4mBCCuiUnCTYs86KMPLjYAUv0dRCLEjjbHmek3aVgre0+YrL 46MUMzLMH0g3/o+6bXHEkT3POLLDu+tvjqqVB9Srg/XjrcJ5 X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The SM8550 platform uses PMK8550 to provide sleep clock. According to the documentation, that clock has 32.7645 kHz frequency. Correct the sleep clock definition. Fixes: 0b12da4e28d8 ("arm64: dts: qcom: add base AIM300 dtsi") Fixes: b5e25ded2721 ("arm64: dts: qcom: sm8550: add support for the SM8550-= HDK board") Fixes: 71342fb91eae ("arm64: dts: qcom: Add base SM8550 MTP dts") Fixes: d228efe88469 ("arm64: dts: qcom: sm8550-qrd: add QRD8550") Fixes: ba2c082a401f ("arm64: dts: qcom: sm8550: Add support for Samsung Gal= axy Z Fold5") Fixes: 39c596304e44 ("arm64: dts: qcom: Add SM8550 Xperia 1 V") Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/qcs8550-aim300.dtsi | 2 +- arch/arm64/boot/dts/qcom/sm8550-hdk.dts | 2 +- arch/arm64/boot/dts/qcom/sm8550-mtp.dts | 2 +- arch/arm64/boot/dts/qcom/sm8550-qrd.dts | 2 +- arch/arm64/boot/dts/qcom/sm8550-samsung-q5q.dts | 2 +- arch/arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qcs8550-aim300.dtsi b/arch/arm64/boot= /dts/qcom/qcs8550-aim300.dtsi index f6960e2d466a26bec4e5c3d31ac0bf54168ca1e5..e6ac529e6b7216ac4b9e10900c5= ddc9a06c9011c 100644 --- a/arch/arm64/boot/dts/qcom/qcs8550-aim300.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs8550-aim300.dtsi @@ -367,7 +367,7 @@ &pm8550b_eusb2_repeater { }; =20 &sleep_clk { - clock-frequency =3D <32000>; + clock-frequency =3D <32764>; }; =20 &ufs_mem_hc { diff --git a/arch/arm64/boot/dts/qcom/sm8550-hdk.dts b/arch/arm64/boot/dts/= qcom/sm8550-hdk.dts index 01c921602605726928bcba71abd937869880ea0d..29bc1ddfc7b25f203c9f3b53061= 0e45c44ae4fb2 100644 --- a/arch/arm64/boot/dts/qcom/sm8550-hdk.dts +++ b/arch/arm64/boot/dts/qcom/sm8550-hdk.dts @@ -1172,7 +1172,7 @@ &sdhc_2 { }; =20 &sleep_clk { - clock-frequency =3D <32000>; + clock-frequency =3D <32764>; }; =20 &swr0 { diff --git a/arch/arm64/boot/dts/qcom/sm8550-mtp.dts b/arch/arm64/boot/dts/= qcom/sm8550-mtp.dts index ab447fc252f7dd705fbe29725805bc1c146c10f9..5648ab60ba4c4bfaf5baa289969= 898277ee57cef 100644 --- a/arch/arm64/boot/dts/qcom/sm8550-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sm8550-mtp.dts @@ -825,7 +825,7 @@ &sdhc_2 { }; =20 &sleep_clk { - clock-frequency =3D <32000>; + clock-frequency =3D <32764>; }; =20 &swr0 { diff --git a/arch/arm64/boot/dts/qcom/sm8550-qrd.dts b/arch/arm64/boot/dts/= qcom/sm8550-qrd.dts index 6052dd922ec55c65089e6b08e36c355b01bf24fa..3a6cb279130489168f8d20a6e27= 808647debdb41 100644 --- a/arch/arm64/boot/dts/qcom/sm8550-qrd.dts +++ b/arch/arm64/boot/dts/qcom/sm8550-qrd.dts @@ -1005,7 +1005,7 @@ &remoteproc_mpss { }; =20 &sleep_clk { - clock-frequency =3D <32000>; + clock-frequency =3D <32764>; }; =20 &swr0 { diff --git a/arch/arm64/boot/dts/qcom/sm8550-samsung-q5q.dts b/arch/arm64/b= oot/dts/qcom/sm8550-samsung-q5q.dts index 3c5d8d26704fd925857b5ddcc6067c2b14e1403d..e8383faac576a2f401fff74231a= 764712c832291 100644 --- a/arch/arm64/boot/dts/qcom/sm8550-samsung-q5q.dts +++ b/arch/arm64/boot/dts/qcom/sm8550-samsung-q5q.dts @@ -565,7 +565,7 @@ &remoteproc_mpss { }; =20 &sleep_clk { - clock-frequency =3D <32000>; + clock-frequency =3D <32764>; }; =20 &tlmm { diff --git a/arch/arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts b/= arch/arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts index 85d487ef80a0be5c3586d9de69327abd2b64209b..d90dc7b37c4a74cbfb03c929646= fda3381413084 100644 --- a/arch/arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts +++ b/arch/arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts @@ -722,7 +722,7 @@ &sdhc_2 { }; =20 &sleep_clk { - clock-frequency =3D <32000>; + clock-frequency =3D <32764>; }; =20 &tlmm { --=20 2.39.5 From nobody Thu Dec 26 20:59:06 2024 Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (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 CB3C913BACC for ; Sat, 30 Nov 2024 01:45:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931111; cv=none; b=F7EyVfcMkYObG0E08dui90nk44vS7aqYCr/O4kyipHVsBwEPbZ7R/bMfki8GifV1zMepc6UfM4/al1bZ8QCa+E6Rg1f/vRIHJW/gP7mBCiKeC4pabgPG07eF5YlRHu9GiIX1nCLoVCtRWGT1vIMCfJ4dkG/YHDk3ML1iiieoHAs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931111; 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=G8uwiqLWyL2wb/LW4G2LDEgzGOtEz1Yct5rc4m/JYiy/t5zklmjs9OIeU+ynTUYGQFbxnL1UfTZmwIu4B5/xUhl6yJXZTxT44jEe2q4DaRi8rVDVAHoFnbbR9s0+we3O5Z4iP4gOEPCQaTJcRbHdMg3o7XGor4LodxcGN0OI2fM= 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=Zh6VX49r; arc=none smtp.client-ip=209.85.167.44 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="Zh6VX49r" Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-53de84e4005so2863421e87.0 for ; Fri, 29 Nov 2024 17:45:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732931108; x=1733535908; 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=Zh6VX49rwO5J0+lziEc7+baJI6G+OqXwqUr9TwbL4vBNB9n6QlO9UlRo7uE58Yx9uj B8HDvEboLuj9p7W3T3VNRHy/1QK8ydVnsVbeIRwsF9LihtAlPV8QtLA36xJThwNKntFz CUKYexgVe0LTBtSa0I1P6UUPtzSTDAVObHYrA0sJdpOR1uZCdVJX5hX2EeMohY0byQVy SHaWVcR+8LVEmTfKjwHR1fU0X4bPlBwAjzH9xYmyvAhz88IfhOvJRZ/+9CnkNwvZ/Yyf jxxBcHVtO8ny+lORgIze2vSMKiLo2t0A2l8PQ4s0esdJKntQ0F72G4YVfhz1Hvo05qBz nWMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732931108; x=1733535908; 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=jUQMuia3MDkVFcBwCvIfURBNMjnH09K3nrfCFkC54VRrqT54qvqE2QSVOSjGGaEA0a 9BAiG376yt1eFxurEHrMzo+UPWtns7raRrGgCIaLeBjTGxTQs+9L1hYWcHsblRB+oop+ FZIJIfwH1v1MAiVoWpcc9ltsdkFNxWLR7rsii3ntPwWv66uYIuUpHNduY9SqHs+Jnkxu VJGKVYsGa8UoNZaev8QSEr0XmMdfmY6o3ruYtsNdazkkOdDakmacHsrSrFnfx3iB7dDb GXoK4Bc300ENzq7Jv2LE6KxNBsBVcECiUXtiy/jXzPYtZuF3AdIT3bAHAk54QmOpUXe/ 4KAA== X-Forwarded-Encrypted: i=1; AJvYcCULA/KRWOgpJKEM6S9Tjqj4QwYtfuCK342kN7EYHwLMCy9JzhmzoPMt1EoLahUJgBm0dtl5L5DgOiEm0CY=@vger.kernel.org X-Gm-Message-State: AOJu0Yy+z/Pyq2j78XG47C4ws7K/y0g16RXW24f7D4y8xy3MTD9OUoWL o5JmO9XQVe9UNadHy6ahN1GRlTrjd72B+zXnNwk4ahIHtOUcROkDv7SE2u0yGxE= X-Gm-Gg: ASbGncvlc6yQ44xJZ67hEzFltsDxM9+Qdn3N85sceUUpiZ6wmT9K7gdA6aENR3zvcvM sxfHmEfhEGHlLD0iTw4SekYqE1Uoc1gyxFaShnAnG4vVS9Xu68Cez15rGWG5UeWND6iBf76ECI/ 3WBaq8Hdyk9RB7LONKksOEjzR7CI43xgLAPKoWz46inA+xx2TpXMW/Xo6BEDcKRnswh/VumSO4q yar3En14hSJquw87FXfMLnVVa30cb8S6dHQsQfa3F/22A7KGV+zWP6JOw== X-Google-Smtp-Source: AGHT+IHgUV2H0V3qveYW9vM8m6Sz16PeQG5OJ2ycdGd0M9ucuWVyHr7bFYH1ZtfUYfvoa/EM3dp0ow== X-Received: by 2002:a05:6512:b97:b0:53d:e8ed:2172 with SMTP id 2adb3069b0e04-53df00d71cfmr8286841e87.14.1732931108050; Fri, 29 Nov 2024 17:45:08 -0800 (PST) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53df64a0742sm631946e87.261.2024.11.29.17.45.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Nov 2024 17:45:07 -0800 (PST) From: Dmitry Baryshkov Date: Sat, 30 Nov 2024 03:44:29 +0200 Subject: [PATCH v2 17/31] arm64: dts: qcom: sm8650: correct sleep clock frequency 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: quoted-printable Message-Id: <20241130-fix-board-clocks-v2-17-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=1965; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=k6VUs1ScFCdCh+SFXZEEGEWQ1wMPimPue9P3iT/F5+E=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnSm31N53BVunJtGm69GZ1EaEc658s6CQsIs60X wwwFfQMxH6JATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ0pt9QAKCRCLPIo+Aiko 1YppB/9BnIg7VHJpJlZtPXIQoFZHFrdmnWqOYrVY879AQBFUvrYFyCQp7XLARzoNb+Kt8q5W8Nm bHInu6YNUUYDtpWSA5QxCVppNwXctb7uvWHJf1qJpqTAHlxniqxwAaZd//MyPiPlqtQO4l3SRi6 CAy9kF4JoW0fixpR61Yh1MbkZgRBxAZ6A5ok/FwetIis8PN5ES3xlx0Rw0+MVClNLM3HTPOhY2m n/p+w43OPCvKZYlu/5GczV5JSF14FEi5NnQBlOJL6PHoZLZdwnGgR50E6+nBAgP68ihJxh+cGPg /Yqi77HjFsFcSX3aaBv8+3lH8FITTojvJY12v0iuA6ifLNrC 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..d0912735b54e5090f9f213c2c93= 41e03effbbbff 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 { }; =20 &sleep_clk { - clock-frequency =3D <32000>; + clock-frequency =3D <32764>; }; =20 &swr0 { diff --git a/arch/arm64/boot/dts/qcom/sm8650-mtp.dts b/arch/arm64/boot/dts/= qcom/sm8650-mtp.dts index 0db2cb03f252d19a1f8b171a562a8e06290c8a21..76ef43c10f77d8329ccf0a05c9d= 590a46372315f 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 { }; =20 &sleep_clk { - clock-frequency =3D <32000>; + clock-frequency =3D <32764>; }; =20 &swr0 { diff --git a/arch/arm64/boot/dts/qcom/sm8650-qrd.dts b/arch/arm64/boot/dts/= qcom/sm8650-qrd.dts index c5e8c3c2df91a49476f49832c0bd6418f4dfae3d..71033fba21b56bc63620dca3e45= 3c14191739675 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 { }; =20 &sleep_clk { - clock-frequency =3D <32000>; + clock-frequency =3D <32764>; }; =20 &spi4 { --=20 2.39.5 From nobody Thu Dec 26 20:59:06 2024 Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com [209.85.208.176]) (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 7445819F121 for ; Sat, 30 Nov 2024 01:45:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931113; cv=none; b=Z9my/xaHgdbRtsy09HU+0FeotPsBcl2rGo/n/jO//UJRecSA2mBoQmQaShjVkAv2zLmWPy0ocfg7+TLp0RCI+kYZTix27aMGQcKAMOM16bvRG0NupCVySymybfFKs5uf9+PMCe858gSNeIqNJZjaoRi0Tzn+kD+Pbw0S5yS6VWg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931113; c=relaxed/simple; bh=ZvLjLTixMdBQjoPe24nZu6YTlSKcs32JUm86ti1qKNg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=d4UKHpfTSkHQmkGPbn5dOHKaCaLkjKB7kdSLCudWU+Cwc9xIIt1X4Cs5tdC5PPBZ6mhHH+g/h152LExM6/rAPrgDTlEQ4H5p1LkFtRzT9xhlsF7K/vUJW4zv1xUKYr6gL+bfFTJOGA/u7D0VZK6dc4o7wrFfvMWs0P+kfE/uKJM= 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=kix3jDC4; arc=none smtp.client-ip=209.85.208.176 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="kix3jDC4" Received: by mail-lj1-f176.google.com with SMTP id 38308e7fff4ca-2ffc81cee68so26616591fa.0 for ; Fri, 29 Nov 2024 17:45:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732931110; x=1733535910; 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=eVCmmUf8PBHlUaaL3C3W4VRmmCJtG9CpcUfpN+vwcLE=; b=kix3jDC4GoFZRjw9PwBhsBw/lDt25sOs2Stw+leUFx5MlqihIG3jl2JNJz/tNwUK0I G98tmRm9mc1DKyevFiUpw2wcZf8J3WGOodC0KcetswNnxcRaFAgU/CWXeg3BPuwp532W q187BXjsKrACRDFyD7bnDA2QncmwTxAw+aobUS9fXeGtpD8LUq/x8mLL+T1oSEQ8Os52 sIfCIKPPMWGCD6pPZTNo3+nyMKu8w7kAPIiyzvkLj6uwYth3sEQjoKqRcNM6yKYiY1i9 lmj4FxFxZ9QFO4gF+kYNRf9Zb1UFiTa2jtiB2MFxnSi0AxWJiMidKgwr6AWDWjGsERgP dRgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732931110; x=1733535910; 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=eVCmmUf8PBHlUaaL3C3W4VRmmCJtG9CpcUfpN+vwcLE=; b=UyyJTWuwKNsj719XK1+7te0nRgF6JIQYZIKyVpcMPgwyIVRULOR4f9Vz93hwWBug4F 6JEV9Likgt8C1GIa6QshpKhYyb4zsJmNRdPi4gEISAeLia+Fbg5uud5KPC63QX7kFeDt TAvAokawc0WL1Mu1Jg1OhAjGtG3mpfsjYvfrKmKWK/wkLp5FI6B9s/u1YygJ0VmXJOIQ Ix41Ns7e13lVN7GRUR0M3QUJ/RmqOT+gmzbnhuH29djS4Wg3ORfmeyZ4y4pOWegD7YQk RXxq2K1Nd2MwJw/YMMOyanTpByjD5BmkYPH1dEaeKxjdABVU/QEmYy0utDfmcoE6sfHs sH+w== X-Forwarded-Encrypted: i=1; AJvYcCWeIyBVBpjD5TNZJI2/8T8gECNhFUqcIYfWsjLgRiqcldqjjlZpuhGeyDdpBADldvbYA9qw+ksSo90hVjQ=@vger.kernel.org X-Gm-Message-State: AOJu0YyoqpFmDH1htkYqyy6DkpvRQ5quPBHAE94eeWkC3IY2bdj/3HW+ 5j3moNRK98TbWVW+85V2fM5Mw5/hmSjnCI7+ixeJe6IH85Uqfp3w5uzgewHQyvU= X-Gm-Gg: ASbGncvq4nroUJ3sJWG0knmLxy5iM4tLH8DTlvc68WH6NqQAjKlixGO6l0K1CPPVAhh NPKCEUgJeNT8VfpVVxEsaveOSEP9km75YyX1zSRj2mngczbngIL+iF1R6KX1YEg8i8wyiJUyORA Gasc5vf1XieKgRgdZC/MNwwWAMcklwZP3qGWKQu8+zsrl8h74EaWYJtlYByhpWXyYadn7XDAYCE jZ6MjjRKuDuH1MpDaVAMG4zm79Vwb9h4uPGgE2rkqFZzo/gmIKwDJAy4Q== X-Google-Smtp-Source: AGHT+IFesfHPpMCbFCxXsi/n57S7VZGvEbuXC2Xzw8DQX8eNlh5DmPWSv8WYGrXzVaSrbpL1Zf+8Lg== X-Received: by 2002:a05:6512:b15:b0:53d:edba:d3fd with SMTP id 2adb3069b0e04-53df00d9ce9mr8503662e87.29.1732931109708; Fri, 29 Nov 2024 17:45:09 -0800 (PST) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53df64a0742sm631946e87.261.2024.11.29.17.45.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Nov 2024 17:45:08 -0800 (PST) From: Dmitry Baryshkov Date: Sat, 30 Nov 2024 03:44:30 +0200 Subject: [PATCH v2 18/31] arm64: dts: qcom: x1e80100: correct sleep clock frequency 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: quoted-printable Message-Id: <20241130-fix-board-clocks-v2-18-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=918; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=ZvLjLTixMdBQjoPe24nZu6YTlSKcs32JUm86ti1qKNg=; b=owGbwMvMwMXYbdNlx6SpcZXxtFoSQ7pX7tdeIW0JHfv00sobK/M55wbeeu6Y6GF9Zlvycb+9v /sV9bw7GY1YGBi5GGTFFFl8ClqmxmxKDvuwY2o9zCBWJpApDFycAjCRoofs39QiZTY78QbWcGx8 c5vzXYrg5GrJtcnrFJQjA5fEtf4MnyWXPqXM6VTHh2CGfR5GslsXBTtUsT0Q/X7fbCN7TlzaifQ VksICe9m5VnFH1B4/FbfHYFF+a/PNA68nq2065Syo3Rz+Uk+t6MWvQ4l5lWczQkVm7ldgemNeee 908O7Lmq/Ej0cmxR7QEpuzflf6V/0ga872+H3/1+3U6Np3QTRpz48DZUmeyq/sax1lq35kfVO/G axm8LV2uqxXUc5r89m6Z7JVlsTe/Fd9O/gn6wqBztlKRd5cV26EZfm23fhhLriJ20nJ9sVC0c7g jhcOdrefC9wJskpLkLld8l/uclnNdc/18i9OnRdcGg4A X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The X1E80100 platform uses PMK8550 to provide sleep clock. According to the documentation, that clock has 32.7645 kHz frequency. Correct the sleep clock definition. Fixes: af16b00578a7 ("arm64: dts: qcom: Add base X1E80100 dtsi and the QCP = dts") Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/x1e80100.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/q= com/x1e80100.dtsi index c18b99765c25c901b3d0a3fbaddc320c0a8c1716..8f3c4c6a1fbc57412258be820e4= 80c1bff7b520a 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi +++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi @@ -38,7 +38,7 @@ xo_board: xo-board { =20 sleep_clk: sleep-clk { compatible =3D "fixed-clock"; - clock-frequency =3D <32000>; + clock-frequency =3D <32764>; #clock-cells =3D <0>; }; =20 --=20 2.39.5 From nobody Thu Dec 26 20:59:06 2024 Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.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 282E21A01D4 for ; Sat, 30 Nov 2024 01:45:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931116; cv=none; b=bExGqCZYFuuNW6NwuPvoYBxzbRLgxWwXIiTDA52acJEvcdmvnki2j2s1f8Zc9/xPbmhBmNvFOH5pYJv2gp5ePQUxKULo2u+RSGiFjwiTrxm+Fo93O5r7545CDL1JAdz8fWnMJgbLEMJ/gnRue1Z9x60MKLcCw0qko03Fz2Fg7W4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931116; c=relaxed/simple; bh=LXX0tpGxrPC2kis2WoEdR7Ui3mOGhEj+zhg45SEX/Ao=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=TyIvo5dT0a6Gd6ZYL2RaCuDep54xhgnXEpSVSGve9Njfc7LaAUkkyvhwwdvou+oK7zzXGd/6q4d773+BPxrkKlsA4rQBR01lUdblAHbzHh4/RqslGRfau0ZjwKXEkj9TuQpmvGaHazKdMlv1mIhR3EK5CN+qzJkVbs7lte89MfI= 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=ABBHbLac; arc=none smtp.client-ip=209.85.167.51 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="ABBHbLac" Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-53ddb99e9dcso2466804e87.3 for ; Fri, 29 Nov 2024 17:45:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732931112; x=1733535912; 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=qLx30k3oLtldvsgstuJQ+s3SGXKcYe7FaeB1beknjb8=; b=ABBHbLac0BsfsvvwMTXxIOHarXaqT5ETtFSflVcg1Wi8AxKZbXxv6Nd2G6Cn8/83LI VaP5bZYLSMxlTHQPvQUk6W3nwxMDo4RxJ/i5LdFv1RnTXSCs9G5LB6PE4vAnvu7y8zpG QxwdIdzLbhd+B60srYd+30c6Gglg9BUhdyuVdbYpavvFwWfhcn76AY4PyH0VcH1m6iIP B9yVNj47BEWQqLojyg14Y8aq5fwTFKBI+CHnhGjc1oPGW1DAI+U+KRWV1VLHiWy/dAHt 8TFvBou4djray51W9RZpK1LduMYOo5cgtX6A5P8Y2fXzy7nrS1kyUpR3XPpR89phQW3T ZWeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732931112; x=1733535912; 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=qLx30k3oLtldvsgstuJQ+s3SGXKcYe7FaeB1beknjb8=; b=f5ywwRLHYfe1vB9Ly5gq2MhW+Gkr9Lt2K4oEne0C4exXe86pd6hZafFJLpQzIGwF6n 27fLGfSlRvOeVmgyYK7FAiBvjqjsYXMA0OAx5e1YDDIHMFWtKuPYPau9sTgjj8VrOVVl nOuBBBNSn/k/hszD8kBzish8hS5rzkdnRU0clBvZcbpoTf2b+wvMPOUIEaUoIEYXdNcW Vf2Ql44jEcwn9uutWoWPp4toRZH9VqHWtHuLB1laFfmOXZ7BSK+SnFhpmHkUcBR25HsY mXNVzE4tCTVlY5jKr5Xs5P2lsTfw/gy7arvGlR4G9MJYuxFX8iukuucK07CsSQNw+qlY Psxg== X-Forwarded-Encrypted: i=1; AJvYcCUaUskEbIvxjpxq4oyRr1iya/imag1u9qMjGxUuwuw3tW0Q8kSxYmAsuEGWIFBR4NxPG/1lig+hM8YGW6A=@vger.kernel.org X-Gm-Message-State: AOJu0Yxc7mSeEmN7CbdOWZPnhqucgi+DsKACBLhsShBYDA3dn0BFdJ9K iWuE0PCZt4IZ/KiRQx3BvzkQZyKuHpSR0b5jN3aPqV02dCk87GT3WGjgH9fW6Iw= X-Gm-Gg: ASbGncv6N4pDC5Wk/qxRIenusYcrF5XI3Q2l+IuPqJVrhPLeIGTurX5rqxCVqsZjvwC jbk41U8EuUdQ0o6ckGTkTQq7bzVJdli5hwZuBFotkpZXMKEqB6Nqhk+/PusRJoGYPVygpI6hI+X pBVgiUDUfeGcMqKkYm76CjdjBUkhhnpGmSL++2Xw7xufG0fK7so56lHGCbSnEf56xpc5J54tPdy CduaRzgzsx3eMi1V6bXTZABMLTQFYrxTklTFMfYKKS3Vn7ZrnHXZFYAtA== X-Google-Smtp-Source: AGHT+IHFQ0NyCu0orpLKv3xjrWL8Avs0kPgEYdYOIiv//cGCHygZQf4V6eq44clsK8n7/xBG9nCR9g== X-Received: by 2002:a05:6512:3a95:b0:53d:ee75:1443 with SMTP id 2adb3069b0e04-53df00d794fmr7797805e87.18.1732931112305; Fri, 29 Nov 2024 17:45:12 -0800 (PST) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53df64a0742sm631946e87.261.2024.11.29.17.45.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Nov 2024 17:45:11 -0800 (PST) From: Dmitry Baryshkov Date: Sat, 30 Nov 2024 03:44:31 +0200 Subject: [PATCH v2 19/31] arm64: dts: qcom: sc8180x: drop extra XO clock frequencies 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: quoted-printable Message-Id: <20241130-fix-board-clocks-v2-19-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=1337; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=LXX0tpGxrPC2kis2WoEdR7Ui3mOGhEj+zhg45SEX/Ao=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnSm31MhGEqb50neg5rH/N010ZmC9Og/YXRoANL NStRUSHKLuJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ0pt9QAKCRCLPIo+Aiko 1QiUB/94zmzwNbHEHJ+AOpd1HZhwyCNY6wo9c+FWQhpUBhmHCfqol1BAx7EHeYIRqEaZp3Sxx+A U1BuxzFRKYW/Q0iXr7i9jXT526qgec1/Cgj7qI0EBUNjMB4tTIZBo/EXJDr5JWQr99FDfAvWwkB 4WHZkosBo+N56FSMczBDEh6zAtKexiwYNRHzKotN4C1JsAE2e7IUZI0le71ZEImVIdXvoAi90SY SWuxpdcwkqG1tjEqzdkUpk+1yY48w7xPZ2z0VFKfX1TJVBGycgDEALLjwj4wrC+VK2b2YW9GoGF Ma4xs+2KimVlQhElhmSZHr0DE2DhkRTLhdCSzL3z3gf1nRS9 X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A sc8180x.dtsi already defines 38.4 MHz clock frequency for the XO clock. Drop duplicate overrides from Primus and Lenovo Flex 5G DT files. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts | 4 ---- arch/arm64/boot/dts/qcom/sc8180x-primus.dts | 4 ---- 2 files changed, 8 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts b/arch/arm= 64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts index 62de4774c556d3954a797287ba2ecb36d979dc9f..21c2d25a294506de41f6e8b7197= be85c02d03568 100644 --- a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts +++ b/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts @@ -681,10 +681,6 @@ &wifi { status =3D "okay"; }; =20 -&xo_board_clk { - clock-frequency =3D <38400000>; -}; - /* PINCTRL */ =20 &pmc8180c_gpios { diff --git a/arch/arm64/boot/dts/qcom/sc8180x-primus.dts b/arch/arm64/boot/= dts/qcom/sc8180x-primus.dts index 79b4d293ea1e70d68346e7c5458c94f7c2b6f1eb..7a4bd6955470338dd9c7a628c9f= 9a01de8b480ac 100644 --- a/arch/arm64/boot/dts/qcom/sc8180x-primus.dts +++ b/arch/arm64/boot/dts/qcom/sc8180x-primus.dts @@ -773,10 +773,6 @@ &wifi { status =3D "okay"; }; =20 -&xo_board_clk { - clock-frequency =3D <38400000>; -}; - /* PINCTRL */ =20 &pmc8180c_gpios { --=20 2.39.5 From nobody Thu Dec 26 20:59:06 2024 Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) (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 947D12FC52 for ; Sat, 30 Nov 2024 01:45:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931118; cv=none; b=YHSW4/seaANbLCQLWkyNDoAB9a0SQ8SkvPIURJvWW1IzgXYKSNGKPX9UbsGGgNSxoCg4eGKio/njQZcX1tl59pYQRhFZ3IZ4luTahJgvLJTwp/sLlsIt6R/o57FLJpM77pz4hHeK/DudVCpb0+NXOBB3vGCxQsWGG/UF9as/Zeg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931118; c=relaxed/simple; bh=7OHCCY/C9Gi+J8yjNBu9jXr2t5pH4lXuG676E3PqyrQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=QEHb9pYTQCNzoRYIi+Zh97xxOVCQRHmz2luKlU642LYlCmqVY7BFVdzQ+1vc6tF8n+9J52WkcaHtXBtSh3masKOmIpnIjPx8APWeb3f6X+ZnmYNjAKbxC0fvwbuMyFID42Ssmj+Mv6axzkJoMHcVK4yEkIIYnt6z2tajkvXLTkM= 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=NvxzQT8h; arc=none smtp.client-ip=209.85.167.42 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="NvxzQT8h" Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-53de579f775so3647719e87.2 for ; Fri, 29 Nov 2024 17:45:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732931115; x=1733535915; 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=4z856H9JHoTkiVMW2wllXOsniUtBFQ269F+uLj3QMj8=; b=NvxzQT8hEYTXcbyOc5fkC+C0BQ7peJBwB00nAlhFcEY4NknetGm86CBsYPspH9jONW JmGDB2H2hWE8xAeXZX3C4zzos0KWQ+baG42j4rp+Rs90eUkxswTUKJsW+9j/BGO46J4+ 7JdImHjtLLxaiOT3LQ/CF0B43cHE+WkDbj8SoM7Bn2JzdEgkOv+/SdcSZY7wI8GFrIuh UADq6yFyLzhjoW3sv5JzdT3sezg31LhBZP9+QDuonyTzKYty0cWjXX11Fpvp7TRYTW2h idJCVbV+/W6y/BW/rkf4ylWlD18szdL8Kf0XHQJza3w6vpGcsB24NFDVTU2zVg/XJrz6 DHyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732931115; x=1733535915; 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=4z856H9JHoTkiVMW2wllXOsniUtBFQ269F+uLj3QMj8=; b=MW+1wYZog9Mmlfp6nX98pkozNjzGuTQMD+nUykavQK9Do/RkNrakEPuznRh3cO7Moc c0AUxF4yf4vpajnm7VB6ASpZo1gIwangpXyv/nSW01EMqW/WjqvfvifvdEB7B8nP2bYp onwtf13ILXq/ATlcCEfgZ4XU2cFPpXx/WbI++gmfl5RGlt8p3hD0ZMIaXivKHOwMdgOJ FTLsl+Y4Vu1zJVxSbpPOmg1PN5Jl26hiieHrJXVdLGiADjGkp3WfVrsJAYITB1hOrVMC HKsgOnz72icjUXZjqBCOOaXYpmtlun6uKrliAAfKHkovlgpzzwlihEd19Vc+4qh2a6SG OgkA== X-Forwarded-Encrypted: i=1; AJvYcCW6LYwIGFsMLSC0MOVdIMQLaDolq/DOECnNdltAkjHnEzQ0HpL7U9g9FHKImkxn+sOKnN2HrQxGLzYCzX0=@vger.kernel.org X-Gm-Message-State: AOJu0YzbbsRxkv00ueyrBq6RPQpiziUEBA+c31p0EO+OowKy3jRXjBC+ vJAqHtAoD96E4Ub7rXodbCHP3xaQGt3wBgLYTU+VUXMzZyqenBNQ13Taommxw+4= X-Gm-Gg: ASbGncvrsMGNQCiyFXpJbE1zZ2oDR8Rucl+3+CuehnTe4E4wdCtFAnnFqDF68p7uVrV rGjSQO3iomiLsRSlI2m3bVZLXMUyJonzBaltQUTGAXgj/v8aAIralrUtqJZv7Wqn90Tg2hUr8js xGFLy4JW9eE/zVCWjmSJbvywousJaJRnQTaOHym5YfIFh5LvFpAquPsd10pCAekTTydaiMkiIRW YgLlsNZfJcn3hWiKdJfyX5shZ8GxM+ug0M8u3Jo//6RUkz1XjK+6RfUAQ== X-Google-Smtp-Source: AGHT+IF0zW4Tb9smsX05u/8ucSJALcaHFjYyfqVbtDlbID1tAo7/zHKSvldSi48FISJZUqMPBLI+sQ== X-Received: by 2002:a05:6512:3a8d:b0:53d:e83e:a23d with SMTP id 2adb3069b0e04-53df00d952dmr12619712e87.27.1732931114874; Fri, 29 Nov 2024 17:45:14 -0800 (PST) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53df64a0742sm631946e87.261.2024.11.29.17.45.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Nov 2024 17:45:13 -0800 (PST) From: Dmitry Baryshkov Date: Sat, 30 Nov 2024 03:44:32 +0200 Subject: [PATCH v2 20/31] arm64: dts: qcom: ipq5018: move board clocks to ipq5018.dtsi file 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: quoted-printable Message-Id: <20241130-fix-board-clocks-v2-20-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=2648; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=7OHCCY/C9Gi+J8yjNBu9jXr2t5pH4lXuG676E3PqyrQ=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnSm32u9te1Qpn5Qa9ML35WLzEI1r0Xn/Ay2PZV nezXo95cqeJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ0pt9gAKCRCLPIo+Aiko 1c41B/0TGGROPMQI5cFxBBrL+cOETVbJVXbve1qsZlcI88uOjKk4+WJJ40C4Is1ozIi9LEdtUWb UdvQ13lTw/wNECHJ+i3Dsy/HL8+GwfTvemGlrb9ZbTP4bBswkuxygCIj526qWpTl1yycXLty+Og wVh/aus15bo/QYD2K81AztGzmRhYPsoQcfbzSYiFf4IdurIxUELGW6QwkxzApLXqHV0KQt+YDw5 yrUO/ZjEM1tTJGNahFwdp7udfKnVn+Ggc3CJ4FqNpjgM7XLBam9mHBx5mXcWaRY+ya5/pcxWheU UA3D2RXp5P5Nh6XbXScyKlF9okMbuQ7bjWRziSvjVuU1YcfH X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A IPQ5018 is one of the platforms where board-level clocks (XO, sleep) definitions are split between the SoC dtsi file and the board file. This is not optimal, as the clocks are a part of the SoC + PMICs design. Frequencies are common for the whole set of devices using the same SoC. Remove the split and move frequencies to the SoC DTSI file. Suggested-by: Bjorn Andersson Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts | 8 -------- arch/arm64/boot/dts/qcom/ipq5018-tplink-archer-ax55-v1.dts | 8 -------- arch/arm64/boot/dts/qcom/ipq5018.dtsi | 2 ++ 3 files changed, 2 insertions(+), 16 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts b/arch/arm64/bo= ot/dts/qcom/ipq5018-rdp432-c2.dts index 8460b538eb6a3e2d6b971bd9637309809e0c0f0c..9bb87b7fd25777d4ba13bd2bb36= 024b8035d8afd 100644 --- a/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts +++ b/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts @@ -38,10 +38,6 @@ &sdhc_1 { status =3D "okay"; }; =20 -&sleep_clk { - clock-frequency =3D <32000>; -}; - &tlmm { sdc_default_state: sdc-default-state { clk-pins { @@ -78,7 +74,3 @@ &usb_dwc { &usbphy0 { status =3D "okay"; }; - -&xo_board_clk { - clock-frequency =3D <24000000>; -}; diff --git a/arch/arm64/boot/dts/qcom/ipq5018-tplink-archer-ax55-v1.dts b/a= rch/arm64/boot/dts/qcom/ipq5018-tplink-archer-ax55-v1.dts index 5bb021cb29cd39cb95035bfac1bdbc976439838b..af281c285447f9845f542cc9d97= 6fcdc7f1cf766 100644 --- a/arch/arm64/boot/dts/qcom/ipq5018-tplink-archer-ax55-v1.dts +++ b/arch/arm64/boot/dts/qcom/ipq5018-tplink-archer-ax55-v1.dts @@ -95,10 +95,6 @@ &blsp1_uart1 { status =3D "okay"; }; =20 -&sleep_clk { - clock-frequency =3D <32000>; -}; - &tlmm { button_pins: button-pins-state { pins =3D "gpio25", "gpio31"; @@ -122,7 +118,3 @@ uart_pins: uart-pins-state { bias-disable; }; }; - -&xo_board_clk { - clock-frequency =3D <24000000>; -}; diff --git a/arch/arm64/boot/dts/qcom/ipq5018.dtsi b/arch/arm64/boot/dts/qc= om/ipq5018.dtsi index 8914f2ef0bc47fda243b19174f77ce73fc10757d..fe617e9a086e6541854e03bd1f0= a6519079befed 100644 --- a/arch/arm64/boot/dts/qcom/ipq5018.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq5018.dtsi @@ -19,11 +19,13 @@ clocks { sleep_clk: sleep-clk { compatible =3D "fixed-clock"; #clock-cells =3D <0>; + clock-frequency =3D <32000>; }; =20 xo_board_clk: xo-board-clk { compatible =3D "fixed-clock"; #clock-cells =3D <0>; + clock-frequency =3D <24000000>; }; }; =20 --=20 2.39.5 From nobody Thu Dec 26 20:59:06 2024 Received: from mail-lj1-f172.google.com (mail-lj1-f172.google.com [209.85.208.172]) (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 25B8C1A707E for ; Sat, 30 Nov 2024 01:45:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931121; cv=none; b=qhP6Z245k8iI+wGBRgli1kww9xDtJPR9BJsm9gbjiMlON8cKpA2CDTr2B22Q3wHMD2mTmt6oHNVrhSk9RMT1DmY6ueBQwZFpJ8GKUV5VmPWXO0ZMQmXOwrZS1FSmEX7dZmB6wBbIGZfxLplxcD6zKM7DnW9rQw+gpAM00L50jaw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931121; c=relaxed/simple; bh=dkeL8p4HqSsIjxDugM32Q10QGE/4T67RadiEMJJD0gI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=vE0iiUIgnYV3reWb2PofdLaUAQP008vQBsGx11yLGUS4rXKjTalIYCjWZ7h017kVx8VwX5exZQZ0CBQQf5zMNnIrvdzhxH6yqkB4DxWcH5oRk+GIyiVHM3T7U73v8wcRCQKuzV1BWVU05aNpwNBQJcwtjVWDvlizf4QfzYD5cNg= 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=y1LXC5W4; arc=none smtp.client-ip=209.85.208.172 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="y1LXC5W4" Received: by mail-lj1-f172.google.com with SMTP id 38308e7fff4ca-2ffd711274dso29483921fa.0 for ; Fri, 29 Nov 2024 17:45:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732931117; x=1733535917; 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=XGdJvJMseRnvPzCSR0xijdS83gOrTA2HdjB32n+Yub4=; b=y1LXC5W443W/dv046ZHKXbBr/rbbRnKnGxah3QplCTpZ59gydQC6xR3gtqeu0fuDpm mAGL52VWzblnY0ok1DTeHYyebWjXH9K3oCq5hMSQcnE+WsqltrBsc72X963DTv64iTFm gnu6K0BeegX8yBWUTV88IH+BkGxAOtY4TPu4ANXlgCa1wBLrqhDNfW8WzwpEKsTgGi2w BfEL6sorm+aCTDPHIYy2hO9u29hdaUfPPhSwKmJfHs+TYOWgca2WfV4AXyIVivyK1CHx K9Z5r9fAfN3OjxCxGSmRXwfUVvUrFmEX9ZQlF5d3UAte6gEti8tMPaLuijcH+S3ulfvV 7/eQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732931117; x=1733535917; 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=XGdJvJMseRnvPzCSR0xijdS83gOrTA2HdjB32n+Yub4=; b=LfrP364ajyKWtH7AhIz0Ws1spCTEXOgMimrv8neLnsHKg6w7CW3ejQzoGq/3PZYu+x 7Jw6WyytAIYk8jGxS1qu37+yK3/RYYNruI2WkwNHvQ7OaG5YYQDgy/CKYVFgTl0d9oi7 /ssmru4GbmaSmd5McqP1t7XiGvzVjwf6wR4iXKDk8gR+YhKsABJIOJ+nJH0IFP/EULdA HH5bs3EpC6ZYcZ4nUyr4+bHGNGfTh3wEf3DXxLl+deqnn50GLY+ShN6AO6aN/3DogHPk PC39BmCEcxCdyZpiAIMReI640T1wUJ+nxG/TmRa/Yya2urIM+rvtPggbRFuTyU7wpUDA f1YQ== X-Forwarded-Encrypted: i=1; AJvYcCXDNIhKoDqqDhp04eLrmFnnpIt0F18mVr8c9bKB7cqyiCGsSWirFN/iSsaooaAkR1Ly0BuNkS3WNZQBEmk=@vger.kernel.org X-Gm-Message-State: AOJu0YyaT7DsFS3WmZc1Ck+GjZE8+5NliB4ooy4o3HOGjp063VEPM1tR Z4yWUaf+Fx9DYTwsZfAJsbYOhexXjJhKlBBjHRNa98lvtXhvkvXJMAhZtb/WkFE= X-Gm-Gg: ASbGncuRPUxqdllGBuRqPFGFdDz6TtnVOkoJB7my2i8oFx0tDao306QF/ruKOIJCdb7 lFuUDtBRQiH28AAeTIKiqpjYCCxvv+h0qz20g6e0mUgwBLZDR6126oInLTYXHLSfAhdCp8Uhf1w F7LRA9nlY736pGYYzxsUMgCzXdw+IICzrboEzAh18y4SuKxFMlp35pMcpti06Npbs5ySZh6sFSf U/x2YSVnBPEHMlFIL7/Bsu4Hfn0PwWWEsEnu1mQjpLmqKtYsczN4jQvQg== X-Google-Smtp-Source: AGHT+IF7n8cNmi8xhY+pXRXykzFNNknTCu8fREH9pgpXbM7CyHY+hZCaNQnAD3oebkFEc6iH3MGoOA== X-Received: by 2002:a05:6512:3b27:b0:53d:f042:c66c with SMTP id 2adb3069b0e04-53df50795b2mr2997672e87.23.1732931117425; Fri, 29 Nov 2024 17:45:17 -0800 (PST) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53df64a0742sm631946e87.261.2024.11.29.17.45.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Nov 2024 17:45:16 -0800 (PST) From: Dmitry Baryshkov Date: Sat, 30 Nov 2024 03:44:33 +0200 Subject: [PATCH v2 21/31] arm64: dts: qcom: ipq5332: move board clocks to ipq5332.dtsi file 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: quoted-printable Message-Id: <20241130-fix-board-clocks-v2-21-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=1803; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=dkeL8p4HqSsIjxDugM32Q10QGE/4T67RadiEMJJD0gI=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnSm32X/ox1dWMNmNpSwGRsBnocHf/cdBjMzQVw 7vsl7U7+KOJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ0pt9gAKCRCLPIo+Aiko 1d7hB/9+/oXyifnNs5CTfv485a6zBmhHI3Ptc77Y4K8SMCjRhkvmwqRbkPsUVqtVSWReNxdLTY3 9LxoWLzJ9M6KrgY81QkFxwps8zZHSVKlOUTCrP3YI2BNOwbZ6lxLEsv3vxGsRGngTEGd3+oebk6 ySHLdyBQ8ms6pJ4r8vIGjYgtbq0+xi7xNCAU5joyQKlSBWmDX8OFSkb4BNLEaCkcXgw9qMjzsNd 62ZdknBL0xgtKGJ2ZdX47N/EbkOV876Jxvs6IItK3Vt1s6fnmvoTb6JgvT80AY+Pi1FNV7mXNx4 C0B8Q0+vwZcUvjUqvOtRXPm5eIF8d+0a6g4DfBn/iEf4OmHT X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A IPQ5332 is one of the platforms where board-level clocks (XO, sleep) definitions are split between the SoC dtsi file and the board file. This is not optimal, as the clocks are a part of the SoC + PMICs design. Frequencies are common for the whole set of devices using the same SoC. Remove the split and move frequencies to the SoC DTSI file. Suggested-by: Bjorn Andersson Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/ipq5332-rdp-common.dtsi | 8 -------- arch/arm64/boot/dts/qcom/ipq5332.dtsi | 2 ++ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/ipq5332-rdp-common.dtsi b/arch/arm64/= boot/dts/qcom/ipq5332-rdp-common.dtsi index b37ae7749083f43f482231c1de9f99ac28ea2b66..efe4ed4a5d9fabad1137fc7211c= 95ef38e69c0be 100644 --- a/arch/arm64/boot/dts/qcom/ipq5332-rdp-common.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq5332-rdp-common.dtsi @@ -55,14 +55,6 @@ &blsp1_uart0 { status =3D "okay"; }; =20 -&sleep_clk { - clock-frequency =3D <32000>; -}; - -&xo_board { - clock-frequency =3D <24000000>; -}; - /* PINCTRL */ &tlmm { gpio_keys_default: gpio-keys-default-state { diff --git a/arch/arm64/boot/dts/qcom/ipq5332.dtsi b/arch/arm64/boot/dts/qc= om/ipq5332.dtsi index d3c3e215a15cfc3998f8e30656828a46b6991898..29feb27df5d4314bb2d2eac50ab= 320e173e8c7f9 100644 --- a/arch/arm64/boot/dts/qcom/ipq5332.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq5332.dtsi @@ -19,11 +19,13 @@ clocks { sleep_clk: sleep-clk { compatible =3D "fixed-clock"; #clock-cells =3D <0>; + clock-frequency =3D <32000>; }; =20 xo_board: xo-board-clk { compatible =3D "fixed-clock"; #clock-cells =3D <0>; + clock-frequency =3D <24000000>; }; }; =20 --=20 2.39.5 From nobody Thu Dec 26 20:59:06 2024 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 E5A3E1A7AFD for ; Sat, 30 Nov 2024 01:45:21 +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=1732931123; cv=none; b=fYk7JbiWyKMNcymqUPM2FafWWBFJ3J8QoO2nlnn1TP1HsTs1k6eLPsPw6s+x0PXeRAzmc/GuHUrBTYt0PGVAgQCMJkJOYEl8L1K/U4nPoDmaTZMvqgWX9Oe0XgecUnX8LqsHO07YfVjqm0qML9HW4IJWP+V1kFSMyS7TJ0AI2wA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931123; c=relaxed/simple; bh=tzUIrFmtHkqGaZynEqK4WS5Rn+VXfQprwMZT5pAQztw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=gIQLIpCXCPYsuj+in7ByndzIfxA6ecpsGIDP+kEhcQQQ8/nuXP8U2nSUm0Ykc8Jvb/bP+dunhs7FPogGB/FxwW+esyvtCxnJKVXxZ3rLgYeasGUMZaueQOWlmN0bj8183mepzGjxRRJ81nzGi3cyh17XDnHrgWImDkjD3eNHqOc= 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=dd1D2Hi+; 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="dd1D2Hi+" Received: by mail-lj1-f174.google.com with SMTP id 38308e7fff4ca-2f7657f9f62so24708091fa.3 for ; Fri, 29 Nov 2024 17:45:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732931120; x=1733535920; 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=RBd6kLu4CLXaYNqds7prk3Ww69RHVKvVah97AtSlJVw=; b=dd1D2Hi+eM4riAt1i9C7didXCBd7LfYkLhQ2qDdRA0koeEVOF3EssJKeePHaGM+zx1 TgTnxZpA/yNcT3SLATYKWMnAQ8SFF857FhnHbXDaP9qTPHW1STjnZCb09rRxpmar0cqm c2nEWOvi6knMrfaFZ6rggOl2J7O5kG61JLeUmI300CGVIKcgekN7g3WBlfhZDMlsUYor a0bY7uw75pXmh9ZPVEJHRmP8SVVqC5rikeRm5f4WKphusFzjiRhvhQMBFEAUdCNey7J5 K+oLZgVlsIcAkkcVZhrTOR446SrFrhp4hM16vOkqhoEcFZlqXnTOplE3sbT/668v7huv PGhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732931120; x=1733535920; 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=RBd6kLu4CLXaYNqds7prk3Ww69RHVKvVah97AtSlJVw=; b=vwYrzKmCWhAM99kf3CoPl2l1ZFYnAsHuA/3MdvaKAs5nUxkYxZXVnvb3OrrvWqXOtv zXWNPKsegh6RMW8w+qUWKt2G1ttpAHSuXWhgc/vlyz7ce1KUKFdKIfdlStEL6ztrNW+a ccwmqKl92GJBU2LFBsdgz6Tfy0pCSgsJuVicRk+8QcVEjDg/Vlv4gik/yv4yxO7qJkqx LA/Vp8UwWqIEnGdaIJ+Wo8m2K7BCr4sWqiOO0itoRLtIOkKRqrYQEYt4ulY74AVB6aXX 7oyujt5/DW3gh3KzaWYX8NSgTbcijMCSuWjh+W2cj4oZqTIIdvA1r+0Ka56KVgtI6Oi+ 5f4A== X-Forwarded-Encrypted: i=1; AJvYcCWCqtW3hnUKB7ZFsJL/1sU+C6MZbyycA+8+aviuEQB6DfthrZSsKa+Y0WX+qk51p0uTnHZE2RPSt966Oy0=@vger.kernel.org X-Gm-Message-State: AOJu0Yzuu1RkS00Vuapq1iifWiG+VrqzGvyCbsudNZ8caNrlZOUZ29ai 38D+UgIstuf7+a/StreBXv8EZfbdTpSqtvtMmGYHlnPrMrLfILQoxU3az/7nEiY= X-Gm-Gg: ASbGncuo4rG708H1dB7IHZtvOjkyALGfiEUbtmGvrQeZyp4weR6VgKqUfgOcStRCfdG RjCVQJZZ0ns7R6nySzkm60XYew83XtuWI5kmhjd4dr/ycnrD4X5a+Vpx6u120yNEa0zaY34CLLM kzOa0Hy3Tdb9SPC0JwaM9uuXx3b01JRJz7ylBbqNisOZZHHmBAf0KcBpnu4MEmm/quiHCXYNM60 cCIbzuQnZwSKd6UrzRP45ftYsr3tcVj9p+CG22XpOcU5Ni/xQPjHL4sJw== X-Google-Smtp-Source: AGHT+IFHprGjr9oiufgUFNlRu7i3bV+HDX3rUbRZh/Oc0/ghSGE3IbBA3XUkoh5SjUkNsNcRSib/Uw== X-Received: by 2002:a05:6512:4012:b0:539:f7ba:c982 with SMTP id 2adb3069b0e04-53df00de5aamr7177110e87.33.1732931119941; Fri, 29 Nov 2024 17:45:19 -0800 (PST) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53df64a0742sm631946e87.261.2024.11.29.17.45.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Nov 2024 17:45:18 -0800 (PST) From: Dmitry Baryshkov Date: Sat, 30 Nov 2024 03:44:34 +0200 Subject: [PATCH v2 22/31] arm64: dts: qcom: ipq5424: move board clocks to ipq5424.dtsi file 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: quoted-printable Message-Id: <20241130-fix-board-clocks-v2-22-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=1834; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=tzUIrFmtHkqGaZynEqK4WS5Rn+VXfQprwMZT5pAQztw=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnSm32hy+wo8YKljBc5YsZH/dScV7hREaRsyCPH Hh6M3ERgs2JATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ0pt9gAKCRCLPIo+Aiko 1aVxCACnJR+glZe9ByF3Wo/0IdL3OsWS3RVqYsicEWAuWDD4P02EPXYLDPMyKJwukXTmwUH8gnl +gsAI55ElIZEe1TcAIqUxcq+tDDjaRcB0F8zqVlIKfUVariuX8RC6tASPzIX4CuHuYQg1xOE02L E1DmkbgM+BjM2tWrfPyLZH4bjh1GfI41LmEJlm/6/E0DL/gzCnGuq8yTzkJM4JM8H09XCUe0a0H tWCL6j7P/sMapyKyHm2/35BZWz7viFBIFLh7Gj3gC2KMkgoYTZonUgN5ePLWavgyBhWgLLyQnmV hv3WteOuWB4rb/67JZNsbuLZkgYPqX7ZCIMYL/dwoxCEk3I+ X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A IPQ5424 is one of the platforms where board-level clocks (XO, sleep) definitions are split between the SoC dtsi file and the board file. This is not optimal, as the clocks are a part of the SoC + PMICs design. Frequencies are common for the whole set of devices using the same SoC. Remove the split and move frequencies to the SoC DTSI file. Suggested-by: Bjorn Andersson Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/ipq5424-rdp466.dts | 9 --------- arch/arm64/boot/dts/qcom/ipq5424.dtsi | 2 ++ 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/ipq5424-rdp466.dts b/arch/arm64/boot/= dts/qcom/ipq5424-rdp466.dts index d4d31026a02624fb5ca08cd7fc6dde9d10fc9b81..e78d2dd9148d7daaffc00732249= 3577ff2ca6c7a 100644 --- a/arch/arm64/boot/dts/qcom/ipq5424-rdp466.dts +++ b/arch/arm64/boot/dts/qcom/ipq5424-rdp466.dts @@ -18,10 +18,6 @@ aliases { }; }; =20 -&sleep_clk { - clock-frequency =3D <32000>; -}; - &tlmm { sdc_default_state: sdc-default-state { clk-pins { @@ -52,8 +48,3 @@ &uart1 { pinctrl-names =3D "default"; status =3D "okay"; }; - -&xo_board { - clock-frequency =3D <24000000>; -}; - diff --git a/arch/arm64/boot/dts/qcom/ipq5424.dtsi b/arch/arm64/boot/dts/qc= om/ipq5424.dtsi index 5e219f9004123caa45e5e9e303662e3e92a56c57..85bfe5edd9ddc2da0897aa5a4d4= 3a68116007d9a 100644 --- a/arch/arm64/boot/dts/qcom/ipq5424.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq5424.dtsi @@ -20,11 +20,13 @@ clocks { sleep_clk: sleep-clk { compatible =3D "fixed-clock"; #clock-cells =3D <0>; + clock-frequency =3D <32000>; }; =20 xo_board: xo-board-clk { compatible =3D "fixed-clock"; #clock-cells =3D <0>; + clock-frequency =3D <24000000>; }; }; =20 --=20 2.39.5 From nobody Thu Dec 26 20:59:06 2024 Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) (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 54FC71AA1C0 for ; Sat, 30 Nov 2024 01:45:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931126; cv=none; b=uGFIni4boLmTqm4MsSbUk0LxI2TzAcTXMYGhdQYR8WIW23/sSwYyy5pwyynpY4QXxEFnPXTXcgR0Zog9PKykBDiVlinaHXKW4I4SB0pjrCEkXQfE8KVmrEygiFHE6c93kk18UNMDyZxVXVuCygYbm85lc8+UW+wkFcyolGyAbdM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931126; c=relaxed/simple; bh=TFWNpIU22nTtjPrBPXwtPtG3hCCyX6t5KRLVmL2rE50=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=pNwkbIIFD+/FvvcuqSWpDkj7v6sUEVRmd/tRp1QSEwgg+tO9wYJryrc9uGxeDKQgu4vhdn0+2yQZtD9tRfa6jlac4YyHTlO45E7nbuqmvGNgrlHOcXvGbAUOyeSrE2ET/6qBhOx/uwzOXkoDc5MFxckTKQvOft0hm57BeexccN4= 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=seDDVTFY; arc=none smtp.client-ip=209.85.167.47 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="seDDVTFY" Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-53df67d6659so3992673e87.3 for ; Fri, 29 Nov 2024 17:45:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732931122; x=1733535922; 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=AVRzZVbEjcLc5x/T5mJ8GK+5vcUaeSu6vvQKHcUyzAE=; b=seDDVTFYhgl1dWm6TTJLLTabCj+sW3x9T/hWN2+UVVMlVTlKoU2YkRVToGRzHBITl7 8I7zHgBz8nVvjKtoSrAZeV0d6yXZe0z/CjFlwplo7aUq/soT9Mf/tQMEMm7DPoY+/lPz n4Qw52e5JrunnN7I4b+kVAIg0gVURjRp3SiCC+KbRrrsj6ZGj3s3G01T04E4kw5rKaGZ OCENnVd+uSUE0Qn+Eq1B9uJ6NMQx87BAMPT7S/8rhLo9M+oSKexntjGqsenTnUIRRA09 sy5Y1svB7IxqBVaibA+55QMFcUqNW/4KEwfN/lqvY0EtJK4v82TM1O/ge0NLOwlDWMQH 4smw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732931122; x=1733535922; 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=AVRzZVbEjcLc5x/T5mJ8GK+5vcUaeSu6vvQKHcUyzAE=; b=GtIqrBLHJQKCf3XXUYC9duG1a1Zr0fIUaFuCuuLiMr5LYGxw677MZNhu0kLPcQjQpZ uNOyA4gka1XZ+BebKeOqot0Eklxm6hgnUVP1TKk1wIbfp/vzTa3B7v01fZO3stZbcVt6 u+CLuUQZr8YDdgEW/psNRXtBunr4/yw4p3G4PsLSbeyTu6amf8raU/6xLPArBhfo6e5G lFL5mVz4xu0KgE0CTeaplAbhr06pn8LPMDGgvREHAJNXSOaDJwLO0h+1wDBW4k3Fgt7T 8tbecpRA4+rvXnuV5/sRPwr8PBqHr3VLXH2o9E9MP+S9ObRDw6FOyM6rPx/nxruQQK3k vr8Q== X-Forwarded-Encrypted: i=1; AJvYcCULH4uNQLKS/e+iV9cJdeQV/MeuT8YdJqKEaNWdJgyh2rZZ3B9ChjIgOrO7IBESTVXWZ3QV1dXK9ElxuGM=@vger.kernel.org X-Gm-Message-State: AOJu0Yxd7sBpHwnKM/X6zE3Mw+QpF/0q5/NoPmdPSGAmGx3gMFskUkj+ pPj8SnRfC6MegIW2vKIx9QDsnzx8kZdG32KkxhaHtcXBNHdaQB92MWadRTA0C5k= X-Gm-Gg: ASbGncsxxdM0dWkLv47fKIg5Ti1xIobXE1y8btTsdAdwJmcbq/U/sB5+x5GOBt2yx9X W/NxbuqRDx6TRCxt7j7xK4hQuoQ/9cFyzQQS+F+eLoK/4L4XjnyFBye6vFJx61N+r87BR/vHcGv Gx67ovDrHDwJ+4c0xQj5m9Azw7NLU6SuYaR5rGM2qcWmYL9hLivM2RsMTJgCZuu4egF3A8P4tAF F0RJCJyw+fWZb+DzZcwqwLvcFRqNpx1l9PJ6NPsTdMPCr9EcQwKgrS53A== X-Google-Smtp-Source: AGHT+IG/ps0oJXRR9N0frW3v6EiHeEjyhKkP0yenaBkRRJrMeulLaKWjHCYIp1Iv0Z+tSKdh/amW+w== X-Received: by 2002:a05:6512:1249:b0:53d:ed47:3017 with SMTP id 2adb3069b0e04-53df00a9743mr13667267e87.12.1732931122484; Fri, 29 Nov 2024 17:45:22 -0800 (PST) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53df64a0742sm631946e87.261.2024.11.29.17.45.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Nov 2024 17:45:21 -0800 (PST) From: Dmitry Baryshkov Date: Sat, 30 Nov 2024 03:44:35 +0200 Subject: [PATCH v2 23/31] arm64: dts: qcom: ipq9574: move board clocks to ipq9574.dtsi file 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: quoted-printable Message-Id: <20241130-fix-board-clocks-v2-23-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=1889; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=TFWNpIU22nTtjPrBPXwtPtG3hCCyX6t5KRLVmL2rE50=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnSm32BPMAQzJKXT1aKXkF5qYTSpCJQIfHXE2my 6SNtnGP5byJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ0pt9gAKCRCLPIo+Aiko 1VftB/4tg537UIMUbY1WMczWqB7pmkYZ2dep2XLl49J6S7jzVpYMtJQ0gBHxn0XKdqr3xmVpHMb ax6cNI82ZVKw+SWOTSWx+XDnuc0K447lUePZsUR7nZHlRL2SKInS70FO+iaLtcyIRw6oMBV+Gwv lW3qMTYxCpgDyYylXm2anXXk1nLLSy5bqClG4rf5IH0L00v4jvhtp+9FopVoElgbei3jn229L1A cN9tcW1NVynok0I14k25KpNevwEiJVAPIkjDmKHI1iJlAEvTdkXHEp0njKj0JJg5eLwkV6nzF/+ +V7U6G9LJThc4ns/dzJuBR5SeysoVd2hKLcXeNXLhzABCl7m X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A IPQ9574 is one of the platforms where board-level clocks (XO, sleep) definitions are split between the SoC dtsi file and the board file. This is not optimal, as the clocks are a part of the SoC + PMICs design. Frequencies are common for the whole set of devices using the same SoC. Remove the split and move frequencies to the SoC DTSI file. Suggested-by: Bjorn Andersson Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi | 8 -------- arch/arm64/boot/dts/qcom/ipq9574.dtsi | 2 ++ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi b/arch/arm64/= boot/dts/qcom/ipq9574-rdp-common.dtsi index 91e104b0f86534ce02349c7b69b36f4c5e602c6d..d1af7c55f6256e9297c86df2b3a= 1ab68fc636862 100644 --- a/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi @@ -114,10 +114,6 @@ mp5496_l2: l2 { }; }; =20 -&sleep_clk { - clock-frequency =3D <32000>; -}; - &tlmm { spi_0_pins: spi-0-state { pins =3D "gpio11", "gpio12", "gpio13", "gpio14"; @@ -163,7 +159,3 @@ &usb_0_qusbphy { &usb3 { status =3D "okay"; }; - -&xo_board_clk { - clock-frequency =3D <24000000>; -}; diff --git a/arch/arm64/boot/dts/qcom/ipq9574.dtsi b/arch/arm64/boot/dts/qc= om/ipq9574.dtsi index d1fd35ebc4a28bafee77e7be441709f99f482558..7e519db962d140989887f6ca9cc= 270a6666dfb58 100644 --- a/arch/arm64/boot/dts/qcom/ipq9574.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq9574.dtsi @@ -22,11 +22,13 @@ clocks { sleep_clk: sleep-clk { compatible =3D "fixed-clock"; #clock-cells =3D <0>; + clock-frequency =3D <32000>; }; =20 xo_board_clk: xo-board-clk { compatible =3D "fixed-clock"; #clock-cells =3D <0>; + clock-frequency =3D <24000000>; }; }; =20 --=20 2.39.5 From nobody Thu Dec 26 20:59:06 2024 Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) (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 C9CBB1AA1C1 for ; Sat, 30 Nov 2024 01:45:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.180 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931128; cv=none; b=nVM3DoOGkvqI18S48GnLH91fQaPrMLz8PXQSyNc1fbC0S47GDt2JFsmNUmxvQSI+HWP/aacZPIjbef9nKerhicgiMezD4eTY8KEmAykZ2CE3Eo+xyD4UxbtmYWMYt5Ek682CHmmpZFIcYg0Y2mQ7ndmoOVOCqfcRpC3CfDk5C3s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931128; c=relaxed/simple; bh=9BlTJQGEp/lfIbHiyNcAr5VExq0CdgkR8slh3NFoJ2E=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=dTgNPb0N6ieMnl6xhAapppC9vp9uryvDX9rxd3UkwYeCeCn+zuy2OdYQYtTS1mVxqQTLFQpFxYqP/LfU0zOk0njkc5/10QtunJ1i0EPj6ICqpT83XdKfVpxYrX9sde+cvU6qLeLj8rHtWGcDX5wh0Z6YoKBMAgK3b6K1kZighKU= 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=SWXTbiPL; arc=none smtp.client-ip=209.85.208.180 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="SWXTbiPL" Received: by mail-lj1-f180.google.com with SMTP id 38308e7fff4ca-2ffc76368c6so40426721fa.0 for ; Fri, 29 Nov 2024 17:45:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732931125; x=1733535925; 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=JquIV+d+J2wwE7A/mDwBElcK6qUTym7hmuHmlfaX3fk=; b=SWXTbiPL1qgt9VqzdfHZDsadK3NnZQXOZtWcZqw5kfqTyRoc9cyz1sWit9tZ30QaT8 1ZhzA85wIE0ok8XenHh2X7yz6xxpCsX9sc3afaxEtrDFdYSzSyxiPn0M12PzMXfyNGXp lxxD89T8goNU5c7edoyLMFhgTrlKMbk/T/49pEWMGyxHyx63Q4vqeXP5zHArphjUCKuy Hf5bS/qtEgWZyBrI2adj5nGnz0/Z6AJsAYo8yDEZAJnaI72du71iiW3S2ud3Wmnb9hJB 5fsmrai4mtIjHPF3hahkvNxCR7NBP8fZIohVLAkoczkFHnsAXjb6l1agXrr7LCahjtRE 64Gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732931125; x=1733535925; 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=JquIV+d+J2wwE7A/mDwBElcK6qUTym7hmuHmlfaX3fk=; b=NzRMymRSEWNfQr8vVO68kb4mCe7jVxEIFjkQxJ++HsHY0SVci5XYLAwj2hdrS8uetZ lLSHhLMCe6xy1et9nvVzDiy7RYTEygyr0Ge7ib6Wu1djDtrQDqTkyBRhZlemT6zPAG1r wt6WnWLAu9upNV4ZQAT2eQGuZ36QnefPqwhNGPXwHdmPsQEFaCfUDTLqBA/R8Ye/kdTy 95LsPy0j+KHGVbKSLQgZb6TtJujF2bDtfilDI33xMUmTWuz7wfi9YCnwBbTcQbXoePIf kOLOZp0GYO5bp/Nr4kSU2QCUjFI43O9nKF+fowZVd1NsDB0K/FprnfH7STpInmFhlNCD PtNw== X-Forwarded-Encrypted: i=1; AJvYcCWcmqCydi7ocTYpa3SlwnjqTXSfLrrVN6Ns0jTHLr7EAdzm52gJa5Llvubth3oJn0jsXJhtz0E5nlJaD2g=@vger.kernel.org X-Gm-Message-State: AOJu0YxfoSM76tJKgV78Hc2kAptQod1IA1HDqafyRO4jDyY2UWhia3RG CTtbxdqdD17qKnNIhbwzR1Vq3xgh+zriD3EQNKgSRZtUN24eBg2faQPot8ttun8= X-Gm-Gg: ASbGncvuxX3I81yPkX01sRvEjrHKc3i6UWjVryGQ3+BVuGJokHSp0EqbYl0xUTN35QG QV3nTjffriqxveYIirPwCqIHplb4sdkK4iIYkfoojyF6OzJKhbPGxNUaWyaRdVqUzF9aq6mLaJ4 e4PLWNwi2tSr5UFMgTXeI4ZNLMviF1iHIfHRVw11UeuShwaWzYXCPcfydo0kzp/kyAsk7WXWSf/ M9DhcbldFmoFfW+gB89oogCKUUGTvgfY4VZxQVf6U+Cwdb78onmFzsoiQ== X-Google-Smtp-Source: AGHT+IHEO9ESUfBAg7amCnrSAzcVfw45dkLaVd1E3YumSxdIWgBg3Gz1wMkfFnlpdDLnQhItf6G4eg== X-Received: by 2002:a05:6512:1283:b0:53d:d246:5aca with SMTP id 2adb3069b0e04-53df00d1080mr13368590e87.24.1732931125020; Fri, 29 Nov 2024 17:45:25 -0800 (PST) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53df64a0742sm631946e87.261.2024.11.29.17.45.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Nov 2024 17:45:23 -0800 (PST) From: Dmitry Baryshkov Date: Sat, 30 Nov 2024 03:44:36 +0200 Subject: [PATCH v2 24/31] arm64: dts: qcom: qcm2290: move board clocks to qcm2290.dtsi file 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: quoted-printable Message-Id: <20241130-fix-board-clocks-v2-24-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=1531; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=9BlTJQGEp/lfIbHiyNcAr5VExq0CdgkR8slh3NFoJ2E=; b=owGbwMvMwMXYbdNlx6SpcZXxtFoSQ7pX7rdGE+FHyqu4LlauadO9y2O6JXF3mFaupUK7UCBb+ nyTFyqdjMYsDIxcDLJiiiw+BS1TYzYlh33YMbUeZhArE8gUBi5OAZiIsDUHQ0Okoc/dg7Xtyl0v 7PPYT9yb3FV06LbJzJXXXifrsS0xzBT5zHwyrDD5fclLGbdL3CmuJ/xMmU/yXPf127ghR4Pnh07 +3uV8Kbsc9OVW3fENCW+XnPbk4HH2jMITkw1uFG+8x5i79vClACG+d/d+L5Phz9PzUzu7f+5V3e t+re4KL5K8G59MXJmw74ro6kTp2ZrzQppYDXfl6H7iYbr+6XhFtczP1p0FXSocRo3rQl0PFf85J HPsR6iYBr8Ou9+rh9sePfgdorWjWdM8KDL4bOjMt4+81ikuS75gedtD/IJfoGB0QL0Ti5bwyydf 7yRc0ZF0UrMLYox40dPGuL5L6WrPs33ejCsOTTV6nLkPAA== X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A QCM2290 is one of the platforms where board-level clocks (XO, sleep) definitions are split between the SoC dtsi file and the board file. This is not optimal, as the clocks are a part of the SoC + PMICs design. Frequencies are common for the whole set of devices using the same SoC. Remove the split and move frequencies to the SoC DTSI file. Suggested-by: Bjorn Andersson Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/qcm2290.dtsi | 1 + arch/arm64/boot/dts/qcom/qrb2210-rb1.dts | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qcm2290.dtsi b/arch/arm64/boot/dts/qc= om/qcm2290.dtsi index f0746123e594d5ce5cc314c956eaca11556a9211..c653b178f5034d2cb19868b241a= 4c36459028d57 100644 --- a/arch/arm64/boot/dts/qcom/qcm2290.dtsi +++ b/arch/arm64/boot/dts/qcom/qcm2290.dtsi @@ -29,6 +29,7 @@ clocks { xo_board: xo-board { compatible =3D "fixed-clock"; #clock-cells =3D <0>; + clock-frequency =3D <38400000>; }; =20 sleep_clk: sleep-clk { diff --git a/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts b/arch/arm64/boot/dts= /qcom/qrb2210-rb1.dts index 7a789b41c2f1887f0c41ae24da2e2fe8915ab13c..2030e59f8fa162fdd8b66d31dce= 00bb44aabde5e 100644 --- a/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts +++ b/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts @@ -624,7 +624,3 @@ &wifi { firmware-name =3D "qcm2290"; status =3D "okay"; }; - -&xo_board { - clock-frequency =3D <38400000>; -}; --=20 2.39.5 From nobody Thu Dec 26 20:59:06 2024 Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.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 72DF51AA1F8 for ; Sat, 30 Nov 2024 01:45:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931130; cv=none; b=OyKhlE5ouNnNVrjVO4x/N+MI7mylnxBfjgMv+e5Ctc+P48M8Lh75hTJE4mPq+n8DhFNCa3hXFpbdxZfkwlqxaneQt2g8bgZYw44wfV0WqtndNgU+LxCr2BdWI/X3ajA4JjXzqoF8oPSjGD0m75PijjT5qjKrdMLsiVsv9qe4LlU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931130; c=relaxed/simple; bh=JjPpXCp+YkT/eXiY1YYIwN7gXkPlXjyGgVYw6L4BL40=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=K55N+ydijhXFZo5gIKTMACCdsc5BhhsztjbHhubK9ZyQ0atO1/BfciSNEOU5/gN3iGgYGrfBRYAI6t3ntl0upu45Jla9Xa4hi1DBKzjazZoFG2NIOLSyIZf8IzRh47cdoSJefJQrztCN+KC9tOqoK+4U/f/A3QpFq3rwqk7JxPc= 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=eA7mt30U; arc=none smtp.client-ip=209.85.167.53 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="eA7mt30U" Received: by mail-lf1-f53.google.com with SMTP id 2adb3069b0e04-53dd59a2bc1so2805568e87.2 for ; Fri, 29 Nov 2024 17:45:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732931127; x=1733535927; 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=g4DhC3X/gaoKikUDQE86mzH2vJHzM9VbOVLew/6Upq8=; b=eA7mt30UVzReZzkkBctVJQF/iSNXOWN9OIRWp7d6b8R6lJLkQkFgKMuhPvHRjyPrtN yDJcMLUQs0Ofz+cRdpdPNgvP/n10aQLNfZsPuVoB3A76KeDIECc/lZpQ/38E+ks20bkf mVfGWcR69HV8tmWBdXqX9avQyztPbq2j2NlhxabqdNcjyPibVyVK+3ydos7DbYtcmuib MxLXDdp2oVWteuRxNTgIPA9xdlstgOd7wyGAXPAGe0tEZl9hnKmj60Brn6e5pBWTywXX cWZfWzfHeW+UEVdc2jWoCsNeHmw2z0BtYiNyQVRK4csVNj88lzj3P0g30SfBeCh7FT9t f0Rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732931127; x=1733535927; 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=g4DhC3X/gaoKikUDQE86mzH2vJHzM9VbOVLew/6Upq8=; b=I+nq7wYXs33PRSz+vMbvMhGo8dl1FJeRhq46JFap3N2clzR3KOZD7lHHIa48+h3lha UKMuEfAe5E1esJUTzNpyDL4E0HOiIQIqta3HWkymx5O5n2VlB8cbWkE27a7FYXj9SrAr qN/hkry5Ro5Ohjg+srOVgFmXosb1mj2VYFG4QkaBgrcUkYGirVFYP53X3XTGji9cGiCw KKazDpvtIZJNddrD3gzQWzlmlFDb9Xrkq1yqX73+QTudD71oniTnolweEZMbz37YvQFx YQ5xGCaYacDUP4DEHp1cwoW0YOZD9+0c3+1NkKcZNhLZgJKHx42RM0b5CvaPKx06Br4v Pgrg== X-Forwarded-Encrypted: i=1; AJvYcCW5cwxJnC+1119FdLCzS9Arqemg2BBllE67wY05e6OGXRJpddghk12vOdn3bSc9k/CAYlXDAEOu09+tgqQ=@vger.kernel.org X-Gm-Message-State: AOJu0Yzm2dU5bsXVlAa6W3JEP0feIoqZnr2oGmH6tLY4rDUgDaS9VcnW rWFHoUrqHTKDs3JHGJdcMNHLcCNKW20jsRdYXPTqUaqRe2QIoaNYyzY+SPjia8E= X-Gm-Gg: ASbGncslH6Mzq+zW8Ar7vPVZGsizFVvXrpbjkf+bw7EmGQlDKs04lV9eN+9POesprrE 8aJz2BBGN5yGJ1e1yaKCbMgw1MGMJOhYZlQo4VloSJgus1afXNPNYb7rs2d4fvgQXIMGKHAGY8B KFkTFJEh7b2aNJ7a44imDUlmxl2ruFXxkh24nVFMJsv1VKf+Cyuow1+OCsZBMp6290TGD/fDw9V gma+sXLBDFR2wTH14ja15qur/uD7Qz4QAquD+25Pf2/rBx6NvVGPiytFA== X-Google-Smtp-Source: AGHT+IGB+9h29MUOUDhTnmaew4NYiuYWPs0bipcZTTDtdtgzkoVEWLqWDkZP+Ni6xLj44x3hr4T/Cg== X-Received: by 2002:a05:6512:b1c:b0:53d:d19f:1c7e with SMTP id 2adb3069b0e04-53df010ea53mr9076858e87.51.1732931126658; Fri, 29 Nov 2024 17:45:26 -0800 (PST) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53df64a0742sm631946e87.261.2024.11.29.17.45.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Nov 2024 17:45:25 -0800 (PST) From: Dmitry Baryshkov Date: Sat, 30 Nov 2024 03:44:37 +0200 Subject: [PATCH v2 25/31] arm64: dts: qcom: sc8280xp: move board clocks to sc8280xp.dtsi file 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: quoted-printable Message-Id: <20241130-fix-board-clocks-v2-25-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=3869; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=JjPpXCp+YkT/eXiY1YYIwN7gXkPlXjyGgVYw6L4BL40=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnSm32JloeBcaHMD8trR1qmOsBaxUwdHmP74ZvY kJFzPnM5DqJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ0pt9gAKCRCLPIo+Aiko 1WTOB/45i3FcA/MSkn4F8pspIU946puZFdxeMttvqaZOPviCYKTQz9KgKvXTNEz83GvSGH4p2WL EDaq7YnwoMZeXJsKw/5cVeklyKHSsIDSY9JkdaS8PeVtJxx6hRqJHpdOwxmC3s9JWr/CxwWRgMH /sUiA1iB3khayI1tBOoaP30W8O/d5HmLHrBsH7ah/dUlxttxaPvSszeQhtRwCIB3BF1l1setmYN EhBfHvhmsXjXJRLQ3rHmXlvVZ5nqPeOVfcimDXyz+2HaY9sdD2X2+EnsSwRDzfZppHrSOq2Tur3 +C/hlPl/mBrvqLDMx8X0fF6fntbYtD+lXKUU5KYs3KbPNMQA X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A SC8280XP, SA8540P and SA8295P have main XO clock definition split between the SoC dtsi file and the board file. This is not optimal, as the clocks are a part of the SoC + PMICs design. Frequencies are common for the whole set of devices using the same SoC. Remove the split and move frequencies to the SoC DTSI file. Suggested-by: Bjorn Andersson Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sa8295p-adp.dts | 4 ---- arch/arm64/boot/dts/qcom/sa8540p-ride.dts | 4 ---- arch/arm64/boot/dts/qcom/sc8280xp-crd.dts | 4 ---- arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 4 ---- arch/arm64/boot/dts/qcom/sc8280xp-microsoft-arcata.dts | 4 ---- arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 1 + 6 files changed, 1 insertion(+), 20 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sa8295p-adp.dts b/arch/arm64/boot/dts= /qcom/sa8295p-adp.dts index 2fd1dafe63ce7a4f409d19946b9f10ffe324fba3..c536df2acc66276a0bf4e3b2640= ee204109867f7 100644 --- a/arch/arm64/boot/dts/qcom/sa8295p-adp.dts +++ b/arch/arm64/boot/dts/qcom/sa8295p-adp.dts @@ -728,10 +728,6 @@ &usb_2_qmpphy1 { status =3D "okay"; }; =20 -&xo_board_clk { - clock-frequency =3D <38400000>; -}; - /* PINCTRL */ =20 &pmm8540a_gpios { diff --git a/arch/arm64/boot/dts/qcom/sa8540p-ride.dts b/arch/arm64/boot/dt= s/qcom/sa8540p-ride.dts index 177b9dad6ff703467ea4d10e0f5a651d11569275..64c35a72a828c128f9dbe9e3537= a3f777d21713b 100644 --- a/arch/arm64/boot/dts/qcom/sa8540p-ride.dts +++ b/arch/arm64/boot/dts/qcom/sa8540p-ride.dts @@ -503,10 +503,6 @@ &usb_2_qmpphy0 { status =3D "okay"; }; =20 -&xo_board_clk { - clock-frequency =3D <38400000>; -}; - /* PINCTRL */ =20 &tlmm { diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts b/arch/arm64/boot/dt= s/qcom/sc8280xp-crd.dts index 75adaa19d1c3e0c8fcad40c7d0b0afb504331d75..61ae4d0a9e7d10387a8331fbc22= d5f88edaa9c23 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts +++ b/arch/arm64/boot/dts/qcom/sc8280xp-crd.dts @@ -868,10 +868,6 @@ &usb_1_qmpphy_out { remote-endpoint =3D <&pmic_glink_con1_ss>; }; =20 -&xo_board_clk { - clock-frequency =3D <38400000>; -}; - /* PINCTRL - additions to nodes defined in sc8280xp.dtsi */ =20 &pmc8280_1_gpios { diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts b/a= rch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts index f3190f408f4b2c7ca9fe368d652d5d66bb3949af..bee1e143178be5971a5916c368a= 5e8c864927b47 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts +++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts @@ -1481,10 +1481,6 @@ &wsamacro { status =3D "okay"; }; =20 -&xo_board_clk { - clock-frequency =3D <38400000>; -}; - /* PINCTRL */ =20 &lpass_tlmm { diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-microsoft-arcata.dts b/arch/= arm64/boot/dts/qcom/sc8280xp-microsoft-arcata.dts index ae5daeac8fe284bbec86622c10e6831d60a25297..c4a19ecbd894cbdd0521bbf784e= fd23f46eb07f0 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-microsoft-arcata.dts +++ b/arch/arm64/boot/dts/qcom/sc8280xp-microsoft-arcata.dts @@ -837,10 +837,6 @@ &wsamacro { status =3D "okay"; }; =20 -&xo_board_clk { - clock-frequency =3D <38400000>; -}; - /* PINCTRL */ =20 &lpass_tlmm { diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/q= com/sc8280xp.dtsi index ef06d1ac084d3205a149feff880f457822dca2b4..e6517ad9408d9a49da9c00bcb66= 1f32539fa32e6 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi @@ -31,6 +31,7 @@ clocks { xo_board_clk: xo-board-clk { compatible =3D "fixed-clock"; #clock-cells =3D <0>; + clock-frequency =3D <38400000>; }; =20 sleep_clk: sleep-clk { --=20 2.39.5 From nobody Thu Dec 26 20:59:06 2024 Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) (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 1646B143871 for ; Sat, 30 Nov 2024 01:45:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931132; cv=none; b=dY+Ksx1h7RU48z1RnnkngsxtrXrQQI99maAPm4nDQdnJhFCm6t11KRDJdHT9F/TUYpca9WArX+upeJvJTtSkBJmVMj4H/6NotF5kDdiqvs1T4wAFCeBUgtcYbFCQ+cG4tKH+H8Y/HPTiFOic2igxJo5KC6sgg1ilK6c8DxhgivY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931132; c=relaxed/simple; bh=Uy0U0ERr39hDg3O49x0h3zoYcwr/oL9Yd1/e2vOTYSE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=aP43skqZ9KGiGwkVI4B0ddUmuFsfnfmzfOZu9jXLz4iA8hy8OyMS+s3DX2H8CZDiYeThpTGFfBWgUPuMfeKShkjp4ivyWlH3FszDV9nWDxntXgkQ2Qr1PeRqmtvx0SkY+Hir34R+mvIednl/heHHarb6XzNfCE8gF62lSpb2xhQ= 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=Laew7HcZ; arc=none smtp.client-ip=209.85.167.43 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="Laew7HcZ" Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-53dde4f0f23so2517867e87.3 for ; Fri, 29 Nov 2024 17:45:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732931129; x=1733535929; 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=+c+RSzytJFjx7MIg7eaSWg+rDoxb8wPpF5exbHH8xTQ=; b=Laew7HcZpjdbEBEVqR25FXOxYoGuOecpOFT2mupokanPRnN5XknJBWLHGPnVEC5a2B pQLiab47EFwezf2ucR8bNz8qYPm7A6oNm/qk5htbNlgPP+7q4ekCINbZijAWz3NwJl7s mthPYTAp8pVgkoJEzVgKM9Xn3+j04RIZRidycSD6CGdySwf61K3BJu/m+jEUIOVekU+t sfdVKzmrwHgXQrDTvZ1Y2pi3klOjDQKpf6HmMDB5RDTO1atT8DBZ9AqR5KBOaVLuLolP 2ZMo7yEf21xqiMlFVzji683muN3OW6IdRmQgSU5nRj3ytJ3/piMCAY5PfI0uQE8xAX24 kU0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732931129; x=1733535929; 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=+c+RSzytJFjx7MIg7eaSWg+rDoxb8wPpF5exbHH8xTQ=; b=BWjY2YhnF4HHpk0dc6dxMWPuUl47nSVHPy+WSUm7SJfcLLXb3kRjaeGEvKwho9Tfoh ZjaeIl/A3xmN00LG8cIjE21gMzU+v1uUgqXgHPXw9AdqqM7MZMnnYB0C+FUKL1h0xQMT ICDmkekkOm6kSNUdi2+JCmc1HNx0j/oxwmekCt7jBn6gUxgGQHCq1S2//lC7mYtZpyIv 5yRAjcPGVPMpDm6F2qMKPe3D4j+f8IYTerl2xBwxoP5KZ/im44hkXFIC3BPlbA3Y6kLl NpHySEbhN8gVR+kl5HWRXMcyvzmuKlcq8uBv0eILG/4wqMnlpBTA5LXFNl3gluSBwQDf ugSg== X-Forwarded-Encrypted: i=1; AJvYcCVWA3uCT2/P10tyRfOY4C/eZwflQZSVFSy1xgeQNgmKcefR1SVxYnXTAk4YtUBGaSxzB3qEIkqLSJSV+2c=@vger.kernel.org X-Gm-Message-State: AOJu0YwvvRfbTKIuluyKUNhFRhqTVW1v1/ooR/Nv4kBgk3pmaZvlQyHb tTWmlTYK4cKMmCy4W1M5zRR4lPwy51I75lVwyctcduE68gkYKGoltdyPPfjeFfI= X-Gm-Gg: ASbGncvZMfRvTevCQ00Q6t6g+6P5K11kLE9w2K+uL4c1dKYQaO0jllnlxt+Hp8PLWgv cjeN5WqQZ89rJT4HnMccqF2BoRJJdX/s4RAx3d03LllRZtFpiKuyPiOGqAAVPrKlz/RIUeOJkMM weYFFVGC1IdCFUA51G/yOZ4s5X+Z/SBLUXx2oj2WqKR/O31wYsDmJIDjsIl4XhuNVylN1BSew8f wK6o8kcyyD1iKVOVITQ/dHn4xRFKPAl7kwPOh5L+fSjZ9O8khrLv+bipg== X-Google-Smtp-Source: AGHT+IE8uRm6rHrMw7TRWbEpQREzwmtNJXmz1+qCsTtCPbR+h6nvAVNL03Sp2DPMtIyUiP1Re8AeyA== X-Received: by 2002:a05:6512:3ba5:b0:535:82eb:21d1 with SMTP id 2adb3069b0e04-53df01178e6mr9262667e87.57.1732931129250; Fri, 29 Nov 2024 17:45:29 -0800 (PST) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53df64a0742sm631946e87.261.2024.11.29.17.45.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Nov 2024 17:45:28 -0800 (PST) From: Dmitry Baryshkov Date: Sat, 30 Nov 2024 03:44:38 +0200 Subject: [PATCH v2 26/31] arm64: dts: qcom: sm6115: move board clocks to sm6115.dtsi file 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: quoted-printable Message-Id: <20241130-fix-board-clocks-v2-26-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=3935; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=Uy0U0ERr39hDg3O49x0h3zoYcwr/oL9Yd1/e2vOTYSE=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnSm33+KjqyOEr/xJY9QiDeHeTCec5MxeXer3v3 /563gSdcqWJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ0pt9wAKCRCLPIo+Aiko 1SHpB/9HXYBNkPzn7RniXXS5K8Hjs0qzQAZvGwSnyAEaIVO595wk5rkt8gtsNyzffh3xH/XX2vC fmaEx/jrdtVetRV5IGsvfcCVIG7r/5sdf/kr2vyvKC6ahlTdK9e5wVElry+xK1nWvWtNtDiksz6 74/1NdXFLvAVzaUiNH0FkBPSMsXAbDx/m0P9FjxedLtdEb7UrY+x2lUUN+GkJNoqxAWGvC+kjL8 5GFGQB3iEsBRhR4PmKGMEeJMerHCk2Gj4lPk8VG59Rg9rHUAiFiDhnW9AyVDeSN2ffhx2QwsuM3 jSdV1z8WhzA4GmoPbz9DQpLR8N5iSku9fvE9Ea5NidYBLOKP X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A SM6115, SM4250 and QRB4210 have board-level clocks (XO, sleep) definitions split between the SoC dtsi file and the board file. This is not optimal, as the clocks are a part of the SoC + PMICs design. Frequencies are common for the whole set of devices using the same SoC. Remove the split and move frequencies to the SoC DTSI file. Suggested-by: Bjorn Andersson Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/qrb4210-rb2.dts | 8 -------- arch/arm64/boot/dts/qcom/sm4250-oneplus-billie2.dts | 8 -------- arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts | 8 -------- arch/arm64/boot/dts/qcom/sm6115.dtsi | 2 ++ arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts | 8 -------- 5 files changed, 2 insertions(+), 32 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts b/arch/arm64/boot/dts= /qcom/qrb4210-rb2.dts index d8d4cff7d5abed405d1b4cdf9ab8264aab076830..675f9057ed442fb4afd22064b40= 22df5ed8cb882 100644 --- a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts +++ b/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts @@ -544,10 +544,6 @@ can@0 { }; }; =20 -&sleep_clk { - clock-frequency =3D <32764>; -}; - &tlmm { gpio-reserved-ranges =3D <43 2>, <49 1>, <54 1>, <56 3>, <61 2>, <64 1>, @@ -695,7 +691,3 @@ &wifi { =20 status =3D "okay"; }; - -&xo_board { - clock-frequency =3D <19200000>; -}; diff --git a/arch/arm64/boot/dts/qcom/sm4250-oneplus-billie2.dts b/arch/arm= 64/boot/dts/qcom/sm4250-oneplus-billie2.dts index 9153a5a55ed9fe82ea6771ef87dae5620a4fbf2f..ae65dc2abe510d35f1aeeeac5cc= f5c576d688734 100644 --- a/arch/arm64/boot/dts/qcom/sm4250-oneplus-billie2.dts +++ b/arch/arm64/boot/dts/qcom/sm4250-oneplus-billie2.dts @@ -193,10 +193,6 @@ vreg_l24a: l24 { }; }; =20 -&sleep_clk { - clock-frequency =3D <32764>; -}; - &sdhc_2 { vmmc-supply =3D <&vreg_l22a>; vqmmc-supply =3D <&vreg_l5a>; @@ -254,7 +250,3 @@ &usb_hsphy { vdda-phy-dpdm-supply =3D <&vreg_l15a>; status =3D "okay"; }; - -&xo_board { - clock-frequency =3D <19200000>; -}; diff --git a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts b/arch/arm64/b= oot/dts/qcom/sm6115-fxtec-pro1x.dts index f60d36c03b9b51d1ba5fb2db7d619916fe42f084..5cf0d2383019abec53f875c727e= 86656f3ac4478 100644 --- a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts +++ b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts @@ -471,10 +471,6 @@ &sdhc_2 { status =3D "okay"; }; =20 -&sleep_clk { - clock-frequency =3D <32764>; -}; - &tlmm { gpio-reserved-ranges =3D <0 4>, <14 4>; =20 @@ -570,7 +566,3 @@ &wifi { =20 status =3D "okay"; }; - -&xo_board { - clock-frequency =3D <19200000>; -}; diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qco= m/sm6115.dtsi index 9b23534c456bde8c400cc331e847f0f84ae0b74a..29eb179ac519dd0965977902ca0= edf6a06fa147b 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -28,11 +28,13 @@ clocks { xo_board: xo-board { compatible =3D "fixed-clock"; #clock-cells =3D <0>; + clock-frequency =3D <19200000>; }; =20 sleep_clk: sleep-clk { compatible =3D "fixed-clock"; #clock-cells =3D <0>; + clock-frequency =3D <32764>; }; }; =20 diff --git a/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts b/arch/arm64= /boot/dts/qcom/sm6115p-lenovo-j606f.dts index 9d78bb3f71901705fd22d88b472f6fc1d0c0fffb..27936023175bcb73e73a85b463c= 4b9f5c00541cb 100644 --- a/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts +++ b/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts @@ -305,10 +305,6 @@ &sdhc_2 { status =3D "okay"; }; =20 -&sleep_clk { - clock-frequency =3D <32764>; -}; - &tlmm { gpio-reserved-ranges =3D <14 4>; =20 @@ -382,7 +378,3 @@ &wifi { qcom,ath10k-calibration-variant =3D "Lenovo_P11"; status =3D "okay"; }; - -&xo_board { - clock-frequency =3D <19200000>; -}; --=20 2.39.5 From nobody Thu Dec 26 20:59:06 2024 Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) (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 952121AB53F for ; Sat, 30 Nov 2024 01:45:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931135; cv=none; b=AiHXEHv2IGkEiCl3dZl/WXy3xPbgr1FSyP05n5G8mgz44RpFSYaCAZEuNFcvZ2Tejp8aeWuy5h3hHb1eBYEWWLeVyAhDHYQ3th4P0VQXWgZXCgQt9Y1cCwxyGbnlICeGZGI1qEN0hY+q3JxUsBiCLg8qFTLvkVAjSVQaTsJP46g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931135; c=relaxed/simple; bh=FDmwUhTUBNDRmxiOJAuSVnW1s/GAN1vMfT0L5XGuvZ4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Qz7/RtPJjtYuMcORKv9OeRYsD2VRTRIzJjzLvnDiIiz/VB8Aqubk+bIHLjUvqZmUZCG+qTDBbAH7doKHx4uSoW9DLWBcqR+Z4tm5iVHdhuLykSHNKP68bZzNAwt4TEXc8QvJgKepMO1mli7zkCZp50iKNIVaVUDvVzNapDpfX/A= 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=BMnZOIED; arc=none smtp.client-ip=209.85.167.47 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="BMnZOIED" Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-53df119675dso2965978e87.0 for ; Fri, 29 Nov 2024 17:45:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732931132; x=1733535932; 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=1Eufja9sWCtUM98Rvs+DNij6xoEwxDceQpKUgvS2NNM=; b=BMnZOIEDFsEU8526furuRAdZj64aVEYktX8tmgrQgIx3LH+RrPtSRItb0iQWRgfiEU 7eZr5LMPcB7ntR/lZ1MIVqmEDVoeAsiFTThv2vhTJbyqOY/M0i20u8j97Shz1xXnSWWB Wc2esdPPzBjumxZlST8+WT4j7Fgux/JyyGy6lyE8Qc56gbuukt7POhAYzEjppy7L0xsW YJ4ncgWqG2CwWJFtpvulKiUKJnGvWFj7p/Lh4T5MV/RunIfGzUhN4BVC0eJ6tZll+d9y 2tUbolGo+B90RoRnD7t+RItmtDIsE2v9oBfOf6DWo5nDCvtfwnv1BlutE8hfzvPoUa/L USbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732931132; x=1733535932; 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=1Eufja9sWCtUM98Rvs+DNij6xoEwxDceQpKUgvS2NNM=; b=Y3EwW8a6CtDRJX8C8IOZ1g7NuoZ4KMxcbgWf/MuIC9K8nStymo9i3hUXHdvuUpvtEj 3mY0JHughffGxHhie1DEMGstoM55ok/1NPAydYFxYC3av7qr+Rz1DFL02P/qZh5wq7u0 iCDcVHjV4bz6hkxTJWMjjcxYZJ4mJ7dtN/OJKB3kQ1ZGldCwBoRFogltpjuFR9FqsekB YSwNFmrtVnWgCj7D83hbKfJA+ineTvG7m99R6QX5rYyTBeB4rzO0QjbxkNiq9E+ViSCd HIpdfOplQVcLl5rVeXDHhEU92f/EfDDq36bt+H2a34OhStCtKTZtKXjCZKL90/tI82LK rm8A== X-Forwarded-Encrypted: i=1; AJvYcCX2g1+kKh8l28g2ECh9jx+W9QI4aPosrkql9o03yj4OvLrYDMDx84X6DuqMA/mWowUHi1KpVaW4XX4pjdg=@vger.kernel.org X-Gm-Message-State: AOJu0Yy87jJuVGLNQrQO5ZNwj6wRS/3eiYmhdz+131caNXC9rcSGWq1E Y9DbsBUmWYOQLsm4ICo7tGCAB/Xtmdj4L6U0MdgP9DPJ5NOjDeJj1tcqv44UWio= X-Gm-Gg: ASbGncts4RCBOZx8gLbwYyT+ZWWrGQV1+a6d34NNj8ZbmL/bvGYoGe4wKttq3/23hz2 SPfyCoYq3s+rtQpHC2/37bb3AQjz5ix+37qGZq7hDQq3meP4QNs+ZhlMaYx5tv/sytZhpMoJFew 7/RHu4qfyo8aFP+7U93Ce45Dtdqbx3LArLv869s7Ui7LblxXAbxyfKMryekILErCI5tfT9jsZpX 0el/gEzFVGw58ET0fe0sUOW+R8f0yLhOHbAJZOD7iiDVCcsKab60YYx8g== X-Google-Smtp-Source: AGHT+IHaJeND6mN7GEx9m5sQXcVEyy9vZ8S4g4Uvw9M0IPgbX5lv+rz5I8tVKCnTbKubtNKDourcbA== X-Received: by 2002:ac2:51cb:0:b0:53d:a8cd:4285 with SMTP id 2adb3069b0e04-53df010475fmr8842210e87.39.1732931131689; Fri, 29 Nov 2024 17:45:31 -0800 (PST) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53df64a0742sm631946e87.261.2024.11.29.17.45.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Nov 2024 17:45:30 -0800 (PST) From: Dmitry Baryshkov Date: Sat, 30 Nov 2024 03:44:39 +0200 Subject: [PATCH v2 27/31] arm64: dts: qcom: sm6375: move board clocks to sm6375.dtsi file 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: quoted-printable Message-Id: <20241130-fix-board-clocks-v2-27-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=1634; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=FDmwUhTUBNDRmxiOJAuSVnW1s/GAN1vMfT0L5XGuvZ4=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnSm33qoP/xDATuHTcyE3CQ2jcK7EJrEoQdEkDp knU58FQjGmJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ0pt9wAKCRCLPIo+Aiko 1WU9B/wOr2Q2QuYgJs+hRK0zMb2U7SgJ0aRUmUmFz43238xr1OboBMhr/DB8WlEas6KjGj+1pZp 1hdO4FVFkDjaJ5ftmfaV2+EnVB/YjbPU7Qx22is1X4j97HydmeqAG+BIfHvi5WJPcJK6QrQtoJU EAva/mniBX+CH8RI13ViWD+VOGUV/EInfC/I2545BqJdAYQRx3M7ROD8kGMyk4dn8t0ZtBAT1VO 2dnXkE040FIaaef/vRPmdb080Jyj+YSrnIVBB6uFBHcf6wYHqGZWMaS0ILrlketuDecwV+ELQnH +SyqnJvs0FWdftroWK47tam1miS+jB/zF0yTdF3mv5eF5cMG X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A SM6375 platform has main XO clock definition split between the SoC dtsi file and the board file. This is not optimal, as the clocks are a part of the SoC + PMICs design. Frequencies are common for the whole set of devices using the same SoC. Remove the split and move frequencies to the SoC DTSI file. Suggested-by: Bjorn Andersson Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts | 4 ---- arch/arm64/boot/dts/qcom/sm6375.dtsi | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts = b/arch/arm64/boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts index e04a3b8f81c556713550cd22feb2d0f282564baa..9840868fc7196316bbf9d2de9b8= 967ba73e541d9 100644 --- a/arch/arm64/boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts +++ b/arch/arm64/boot/dts/qcom/sm6375-sony-xperia-murray-pdx225.dts @@ -454,7 +454,3 @@ &wifi { vdd-3.3-ch1-supply =3D <&pm6125_l21>; status =3D "okay"; }; - -&xo_board_clk { - clock-frequency =3D <19200000>; -}; diff --git a/arch/arm64/boot/dts/qcom/sm6375.dtsi b/arch/arm64/boot/dts/qco= m/sm6375.dtsi index 7c929168ed0805e832b818516083d48968d3bbce..013666efbbe8b5b9c12f3d7dcab= 0b59de8a69c50 100644 --- a/arch/arm64/boot/dts/qcom/sm6375.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6375.dtsi @@ -25,6 +25,7 @@ clocks { xo_board_clk: xo-board-clk { compatible =3D "fixed-clock"; #clock-cells =3D <0>; + clock-frequency =3D <19200000>; }; =20 sleep_clk: sleep-clk { --=20 2.39.5 From nobody Thu Dec 26 20:59:06 2024 Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) (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 0ECC81ABEA3 for ; Sat, 30 Nov 2024 01:45:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931137; cv=none; b=vFZldAYjLrRRa9R2ZrAvGIznO7TNHk6KERK3SsmarozXyB2DiZWEgkfvGgTSLwxOM48gFmtBP+stmveVxBBC4J9eHnoHEUhCWO5dP3raR3OPmsxfY8Rgrc+gbpENPcD3Nq9SCkRClVQrVLzd2CnoBgO4pigFtQlB65JErDTCSp8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931137; c=relaxed/simple; bh=Nreu1u5iw3CPT/3n6jHeCOVz+ph8i8GPQOf5hBrI5+Y=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=J16WN7kI9EnYk4NxzDkVWguLMCBTK4Nt20LcOd1E/ECG+vHjBVE6zZvZ47DrbMalLMR2rIKCgQ65e54oonJo1WPyZt8fsQZ2Eo8YgU+U6zOPiju1iwJ2l5IzSbKH6bdDxx5R1Irgs5/+sfPpwWvuS1NZuwqY4i9XFKEAtvE9IbY= 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=jEIic/vY; arc=none smtp.client-ip=209.85.167.47 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="jEIic/vY" Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-53dd668c5easo2530515e87.1 for ; Fri, 29 Nov 2024 17:45:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732931134; x=1733535934; 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=DEgT9I0Lh/MZkMW0zZ7UbVH9eyNcxPSCmRl8RTx+uIo=; b=jEIic/vYBy2z+l/KJMKu3AWjFSi8xkCmHvPMOdnXlY0YRX8Mn8InURUOnUuAwIIERk mPGwAI652tIvEGv+4KsWWBTVoWJltAvAcWs7VyZuzwRJhw2NTRrDDDpyrI642pE5rnjg HduD+SG6gt4EfxpDXZOzBRJSDfayng7/ArEzhoboFBuoOKnBBbcGFNXbFvshG8AJyzF7 qUCcu2TaKOLulaY1swwW55RXipihrwOZbxZaEk4Z71jfWAJmBGjIDTdNdYo+Ql4xCMAE poOtWtaQsN4LEjAFzzMsfzKcNklZ9Nn2KhWlXfMU1M1/tg1Jbi6VN7hO50e5HUz5iSdZ EBJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732931134; x=1733535934; 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=DEgT9I0Lh/MZkMW0zZ7UbVH9eyNcxPSCmRl8RTx+uIo=; b=oytCL/Ux5O6I6ko67nH0z+dYv4c22kzskUzPqNvoyLUgggQFu4irn6INJilYsFHsSX kvQAaIGubjReCmIQ8wcKq9sv/ny6G4MRpMSlJjRgE+JgcSc8hkUq15XnNNpV65crETur 3JcgwU58uHlHRlTm2973FMg8omDjxDnsgGtQRH+FokFwoJ204p13MFkK8XtYeS1Nqo1W LDfBRRV07nOOWCwz7NE3rWmOxtNnMjNaFVWN5Qz/xyWvC4pgOCIeDZd1mHn7qwIZBuO0 UFAkM0CNlL/QHagsDxBcEKaZCUbE92S8vHm3rYkeeaT9Tlg3Ze4HgGb28wK2LRMwULmK EJiQ== X-Forwarded-Encrypted: i=1; AJvYcCXzs+rxH9XXUzDvkbNQfRtV1w/OxKAES2j9g8h9+H7SNovsJu2O7KZ3QsOf+iqSTkq7Fj+6WYDJdw3DTPA=@vger.kernel.org X-Gm-Message-State: AOJu0Yx6O7LMY8d/Si/ogNrfjxMlwqtIJLKzN4qIDvshk8oSoibILqg6 lax2fFo3D6o2eNiuFwP7qHAiELiEJMZN34WrWBEJdQlguD7E9w5XFwnyq75neso= X-Gm-Gg: ASbGncsn6eEzdouYLjIfESx2BsGPuIz7s3GoBZZL+XxXTC/GLytkN4FNbpvRGJjpHri 8JFu5XCtaHz1A5t+wV9hSXFXIDE9rvZ8UuNthLgIuxwmWgdkifSSO4oXrrE1Jvnp1VRRcGNZQOI wwPYzqFTNnMiC8OMcId1bglneiKBda4Z/tYKchfFMiRYP6UtLOj3v31F4rI3CuLZWoB8OiEp7M4 JCThTKPn5t5Snr7X0RhdYCGApgpEd4gyS0NCxSEAGZuBDlBKEMKaDUXYg== X-Google-Smtp-Source: AGHT+IGhwe0OMSbFHHOUehMPPfWn2jTA4ABvp6/xPDYHrwK3gTIOw2weHxHElR054XOM3L9z9PdcFw== X-Received: by 2002:a05:6512:5d2:b0:53d:f57e:eb38 with SMTP id 2adb3069b0e04-53df57eeca5mr2940556e87.25.1732931134246; Fri, 29 Nov 2024 17:45:34 -0800 (PST) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53df64a0742sm631946e87.261.2024.11.29.17.45.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Nov 2024 17:45:33 -0800 (PST) From: Dmitry Baryshkov Date: Sat, 30 Nov 2024 03:44:40 +0200 Subject: [PATCH v2 28/31] arm64: dts: qcom: sm8550: move board clocks to sm8550.dtsi file 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: quoted-printable Message-Id: <20241130-fix-board-clocks-v2-28-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=5523; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=Nreu1u5iw3CPT/3n6jHeCOVz+ph8i8GPQOf5hBrI5+Y=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnSm33pfZrPKRbfNTzfbxoE3XkoZqqTSBvkHhTz m6B89ThZYiJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ0pt9wAKCRCLPIo+Aiko 1RTuB/9/fvVB6jLGXy1ipcXvp1c/GzBhPxTJ2aExfiZCJYgjPAZmpAdl1sID4fRTorI97hLJnJB CsNoY4JH0XP0HiRub9vGha0FfcPoBhVSpRVnH9eFv3fUqYMFU9NcFEDH4tYy5hxMnlAlm1T600C 5GfBD/Z39PySdcNHSdBX5rFFvnOhmleY5UHYrFHaKhC2OKj7d6kNaUmDVn0WPyApSMeR2G8VzGo 8qhqUE2ev8QW8XJJ3OVvoogIELj4rFbflnqEJieTK4JYqnhncsh4g2vXxKaGM8MRxctIogmidKu eZwtx1vd5S/AtCDDnXx0Rp+M8+DO37rPkxCFK5O5clWU3MsK X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A SM8550 is one of the platforms where board-level clocks (XO, sleep) definitions are split between the SoC dtsi file and the board file. This is not optimal, as the clocks are a part of the SoC + PMICs design. Frequencies are common for the whole set of devices using the same SoC. Remove the split and move frequencies to the SoC DTSI file. Suggested-by: Bjorn Andersson Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/qcs8550-aim300.dtsi | 8 -------- arch/arm64/boot/dts/qcom/sm8550-hdk.dts | 8 -------- arch/arm64/boot/dts/qcom/sm8550-mtp.dts | 8 -------- arch/arm64/boot/dts/qcom/sm8550-qrd.dts | 8 -------- arch/arm64/boot/dts/qcom/sm8550-samsung-q5q.dts | 8 -------- arch/arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts | 8 -------- arch/arm64/boot/dts/qcom/sm8550.dtsi | 2 ++ 7 files changed, 2 insertions(+), 48 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qcs8550-aim300.dtsi b/arch/arm64/boot= /dts/qcom/qcs8550-aim300.dtsi index e6ac529e6b7216ac4b9e10900c5ddc9a06c9011c..9f1f99f892f5f92ba0e44bd9cc3= daeb2916387b2 100644 --- a/arch/arm64/boot/dts/qcom/qcs8550-aim300.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs8550-aim300.dtsi @@ -366,10 +366,6 @@ &pm8550b_eusb2_repeater { vdd3-supply =3D <&vreg_l5b_3p1>; }; =20 -&sleep_clk { - clock-frequency =3D <32764>; -}; - &ufs_mem_hc { reset-gpios =3D <&tlmm 210 GPIO_ACTIVE_LOW>; vcc-supply =3D <&vreg_l17b_2p5>; @@ -399,7 +395,3 @@ &usb_dp_qmpphy { vdda-phy-supply =3D <&vreg_l3e_1p2>; vdda-pll-supply =3D <&vreg_l3f_0p88>; }; - -&xo_board { - clock-frequency =3D <76800000>; -}; diff --git a/arch/arm64/boot/dts/qcom/sm8550-hdk.dts b/arch/arm64/boot/dts/= qcom/sm8550-hdk.dts index 29bc1ddfc7b25f203c9f3b530610e45c44ae4fb2..656c2b1facd656736495d103b7a= a57708d6ad38b 100644 --- a/arch/arm64/boot/dts/qcom/sm8550-hdk.dts +++ b/arch/arm64/boot/dts/qcom/sm8550-hdk.dts @@ -1171,10 +1171,6 @@ &sdhc_2 { status =3D "okay"; }; =20 -&sleep_clk { - clock-frequency =3D <32764>; -}; - &swr0 { status =3D "okay"; =20 @@ -1367,7 +1363,3 @@ &usb_dp_qmpphy { &usb_dp_qmpphy_out { remote-endpoint =3D <&pmic_glink_ss_in>; }; - -&xo_board { - clock-frequency =3D <76800000>; -}; diff --git a/arch/arm64/boot/dts/qcom/sm8550-mtp.dts b/arch/arm64/boot/dts/= qcom/sm8550-mtp.dts index 5648ab60ba4c4bfaf5baa289969898277ee57cef..0e04ca10d04cefe197bc3278675= 809f73d61b65a 100644 --- a/arch/arm64/boot/dts/qcom/sm8550-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sm8550-mtp.dts @@ -824,10 +824,6 @@ &sdhc_2 { status =3D "okay"; }; =20 -&sleep_clk { - clock-frequency =3D <32764>; -}; - &swr0 { status =3D "okay"; =20 @@ -971,7 +967,3 @@ &usb_dp_qmpphy { &usb_dp_qmpphy_out { remote-endpoint =3D <&pmic_glink_ss_in>; }; - -&xo_board { - clock-frequency =3D <76800000>; -}; diff --git a/arch/arm64/boot/dts/qcom/sm8550-qrd.dts b/arch/arm64/boot/dts/= qcom/sm8550-qrd.dts index 3a6cb279130489168f8d20a6e27808647debdb41..63b5f4be6fe91af799104d13846= 24b0a4dc592fe 100644 --- a/arch/arm64/boot/dts/qcom/sm8550-qrd.dts +++ b/arch/arm64/boot/dts/qcom/sm8550-qrd.dts @@ -1004,10 +1004,6 @@ &remoteproc_mpss { status =3D "okay"; }; =20 -&sleep_clk { - clock-frequency =3D <32764>; -}; - &swr0 { status =3D "okay"; =20 @@ -1229,7 +1225,3 @@ &usb_dp_qmpphy { &usb_dp_qmpphy_out { remote-endpoint =3D <&redriver_ss_in>; }; - -&xo_board { - clock-frequency =3D <76800000>; -}; diff --git a/arch/arm64/boot/dts/qcom/sm8550-samsung-q5q.dts b/arch/arm64/b= oot/dts/qcom/sm8550-samsung-q5q.dts index e8383faac576a2f401fff74231a764712c832291..9d319a0c89be4b67ff4f2934b55= 26ce2ab5734cc 100644 --- a/arch/arm64/boot/dts/qcom/sm8550-samsung-q5q.dts +++ b/arch/arm64/boot/dts/qcom/sm8550-samsung-q5q.dts @@ -564,10 +564,6 @@ &remoteproc_mpss { status =3D "okay"; }; =20 -&sleep_clk { - clock-frequency =3D <32764>; -}; - &tlmm { gpio-reserved-ranges =3D <36 4>, <50 2>; }; @@ -587,7 +583,3 @@ &ufs_mem_phy { vdda-pll-supply =3D <&vreg_l3e_1p2>; status =3D "okay"; }; - -&xo_board { - clock-frequency =3D <76800000>; -}; diff --git a/arch/arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts b/= arch/arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts index d90dc7b37c4a74cbfb03c929646fda3381413084..0e03ab2ac2eed716712833195ae= 56f5689a577cb 100644 --- a/arch/arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts +++ b/arch/arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts @@ -721,10 +721,6 @@ &sdhc_2 { status =3D "okay"; }; =20 -&sleep_clk { - clock-frequency =3D <32764>; -}; - &tlmm { gpio-reserved-ranges =3D <32 8>; }; @@ -759,7 +755,3 @@ &usb_dp_qmpphy { &usb_dp_qmpphy_out { remote-endpoint =3D <&pmic_glink_ss_in>; }; - -&xo_board { - clock-frequency =3D <76800000>; -}; diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qco= m/sm8550.dtsi index e7774d32fb6d2288748ecec00bf525b2b3c40fbb..e6dccb199d7fb4c4a15294c3f22= eb842e4c32ce6 100644 --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi @@ -36,11 +36,13 @@ clocks { xo_board: xo-board { compatible =3D "fixed-clock"; #clock-cells =3D <0>; + clock-frequency =3D <76800000>; }; =20 sleep_clk: sleep-clk { compatible =3D "fixed-clock"; #clock-cells =3D <0>; + clock-frequency =3D <32764>; }; =20 bi_tcxo_div2: bi-tcxo-div2-clk { --=20 2.39.5 From nobody Thu Dec 26 20:59:06 2024 Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.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 8B2211ABEA5 for ; Sat, 30 Nov 2024 01:45:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931140; cv=none; b=sj0LJVEGj50t8+7KMYZ88rFsxix/j7AizT7ftFWGir84YbbEZv1PTKPjoP8+WDPexBW+qYE4P20IMjwDCyyQml7LP2pqBQWsFgeRl53bVnEOhS2bLSbwiBG6OCZMqLdZoAQt4AAZ19U0tf3E5uv6EsouGV9wRYf8gxYUzCUeGyk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931140; c=relaxed/simple; bh=mtCCW5ebfpV8Y7thaprvn+r5wXgk5Z84tH2knZkid3o=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=mPgNtIFZJLs7tR+wBKyTlk0g1mvC+d07jDK8gzMwYxQjEAGOnZYIdpC4cW1uohUIEdInNC1gVSceM3+kYWI0NKbEa1Ea92+7yxRp+VLBkqNgHcYq0Yu8ofkYgoBiSN+HKCjzjisbRxEyBFj5xGBVstfKRh7zeRL6vTO2EkekxUw= 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=ggyEIC6Q; arc=none smtp.client-ip=209.85.167.53 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="ggyEIC6Q" Received: by mail-lf1-f53.google.com with SMTP id 2adb3069b0e04-53df7f6a133so2577973e87.3 for ; Fri, 29 Nov 2024 17:45:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732931137; x=1733535937; 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=sJrh3N4TJd0G0j63cOhg+qBWqNJSKnxQJYR2H3XOGLc=; b=ggyEIC6Q7bwQLbrZ+8UgoVcsOSjmzqWgRIIZ/y09gyVnYKNlejabdCQU2Sv9VKJIab oRi5WDOWaUG97VwFL2EXAkKGdig36m9P9tI/7bm70NGzScgbvz9ixta/kmLrHn8siQli sCJwYa484K0Rymr3/lGjCSlOy1scTCkNSyPKvLgbnLi2lKPEyymjmGwgD6qIEJqN/d1c /L/YRbr0858LiNVjW7JVC78m8RASaNiK7j14Wn1vxx2gEo29hwLIgiJDb/zcJCvbhX3G u1uiKP+eS2ANqcnnSxESglefKUTEExfM5BOz7dTJsaM2N5GihLm+Cb2h1CJQD/Pr3gnf YEFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732931137; x=1733535937; 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=sJrh3N4TJd0G0j63cOhg+qBWqNJSKnxQJYR2H3XOGLc=; b=E0CvjoeqPO8WjkThR7idbMocHmlyKJ364HNw9/bszFRUa9tQ5q0F5WI7hL1SkZvtEH lfW7om0jyCSJo3cT11XeykGViMKl6P/U6QITp46sFGYcfp8VnHoOxaLG68kSQgKakPmJ hDv7mwC3Lfp2uSdtBJCYqXx9Ow6tNeGyuyFPSXnVuV6uw46Z6+wOdHtSErfIDNq2bWoO fy7p8wzegJsZDIfHy0dt62ZeiL8PpxUr1eZYeP1WINrg69UPTz0Vv27Ar+rRk74Rs2OG GfszJ2gq6px2DwlBuQUXA+5XDGiNQzsz06wRABt7XPMWAOTDmWaJi3LwkwZ07fZnW1On 6/Og== X-Forwarded-Encrypted: i=1; AJvYcCWPfyAdwlN8OtXhZGmdnVKPWyUva/zxi3kb36L1B6ChblxHYMZCe0oUpO9q678T7mPqn331gchxqhyuGHk=@vger.kernel.org X-Gm-Message-State: AOJu0YyoGhZMZhF1IRVHTvNJFuwgHjWGFecRzn/CuggmpBlPaCM0TB2W BoJ3TGAxD1dFhEumtEUBtEVIAuXPchx1HgQRqGGrN1SUjaRHzYd0MWtgKf+ll/U= X-Gm-Gg: ASbGncsanW97+lmzh7B1mc8hQivIRMKpDxZV8RwL8uYMm1WlijVaJtBJt6gRd+Vc/pp ieVf/ik3LomFxJkzDdlVTrRauMaCFZDW5KoUBL4ZR3wMTx3P+kZdbLIpVc1mK+i65Y7KiXEX55H 8uiJRqkli56EUm+iiCE6pg1AbYhfPiW6oEdZPIcZ34HiR3C64mBvi4VcZtSlPeI6PsA4uj0OzbR WAvrczWxkQvHN/aJFlwnDRNa3niqInAFYK/3B+HyF5DVz5vF+8tmDHaBA== X-Google-Smtp-Source: AGHT+IFoOul/iG/SC8M2OdeMsm7KJdOUeB5eq8LVkwINZ1bnhuZRxl5V2ZgQVNY+Opdg0kWL4H8DRg== X-Received: by 2002:a05:6512:b14:b0:53d:dda4:8b0c with SMTP id 2adb3069b0e04-53df00d0332mr9214048e87.18.1732931136803; Fri, 29 Nov 2024 17:45:36 -0800 (PST) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53df64a0742sm631946e87.261.2024.11.29.17.45.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Nov 2024 17:45:35 -0800 (PST) From: Dmitry Baryshkov Date: Sat, 30 Nov 2024 03:44:41 +0200 Subject: [PATCH v2 29/31] arm64: dts: qcom: sm8650: move board clocks to sm8650.dtsi file 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: quoted-printable Message-Id: <20241130-fix-board-clocks-v2-29-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=3153; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=mtCCW5ebfpV8Y7thaprvn+r5wXgk5Z84tH2knZkid3o=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnSm332aAqmoo1ZRiHfw22J/w5Zrri5Jjjj2FuJ CzLztXcFIGJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ0pt9wAKCRCLPIo+Aiko 1RwcB/4k3AvKGqR4Cbiv+BQqvha9vEpGD21MX4PloxM2NiO2MmL6pjTrW5Eikov30UFFWhyrw0W ZoP3bSKoc+ONix4AkpargijT6T4ywY+peq31yack7/L3ZGYrcvxcXN44cqLtjkDoGqajH+OLz7F I8jnd49lz4WcgMmvftSWp/2s2vwYXNt9kdr88aAZxFkm1PBPplRoyaGl8leYsq7exc/GwGPrKra W3qBEM2nlPpekWmkSrZxq8lK6n7I9Ydu0lO44hRsnNM7T9313I5Hq8Fm/Cy4C1QVK584YaIqCXt jo4unN6TD+T8CPDcfh7ofA3e+FUFOSZgcHllUiZIpfgTD0pe X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A SM8650 is one of the platforms where board-level clocks (XO, sleep) definitions are split between the SoC dtsi file and the board file. This is not optimal, as the clocks are a part of the SoC + PMICs design. Frequencies are common for the whole set of devices using the same SoC. Remove the split and move frequencies to the SoC DTSI file. Suggested-by: Bjorn Andersson Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8650-hdk.dts | 8 -------- arch/arm64/boot/dts/qcom/sm8650-mtp.dts | 8 -------- arch/arm64/boot/dts/qcom/sm8650-qrd.dts | 8 -------- arch/arm64/boot/dts/qcom/sm8650.dtsi | 2 ++ 4 files changed, 2 insertions(+), 24 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8650-hdk.dts b/arch/arm64/boot/dts/= qcom/sm8650-hdk.dts index d0912735b54e5090f9f213c2c9341e03effbbbff..f509689af1c2e0dd6ea85edebe4= 90538ff43964c 100644 --- a/arch/arm64/boot/dts/qcom/sm8650-hdk.dts +++ b/arch/arm64/boot/dts/qcom/sm8650-hdk.dts @@ -1112,10 +1112,6 @@ &sdhc_2 { status =3D "okay"; }; =20 -&sleep_clk { - clock-frequency =3D <32764>; -}; - &swr0 { status =3D "okay"; =20 @@ -1337,7 +1333,3 @@ &usb_dp_qmpphy { &usb_dp_qmpphy_out { remote-endpoint =3D <&pmic_glink_ss_in>; }; - -&xo_board { - clock-frequency =3D <76800000>; -}; diff --git a/arch/arm64/boot/dts/qcom/sm8650-mtp.dts b/arch/arm64/boot/dts/= qcom/sm8650-mtp.dts index 76ef43c10f77d8329ccf0a05c9d590a46372315f..9a7f98d922af887657b4b56b5e2= 71cc4b590db2f 100644 --- a/arch/arm64/boot/dts/qcom/sm8650-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sm8650-mtp.dts @@ -729,10 +729,6 @@ &sdhc_2 { status =3D "okay"; }; =20 -&sleep_clk { - clock-frequency =3D <32764>; -}; - &swr0 { status =3D "okay"; =20 @@ -884,7 +880,3 @@ &usb_dp_qmpphy { &usb_dp_qmpphy_out { remote-endpoint =3D <&pmic_glink_ss_in>; }; - -&xo_board { - clock-frequency =3D <76800000>; -}; diff --git a/arch/arm64/boot/dts/qcom/sm8650-qrd.dts b/arch/arm64/boot/dts/= qcom/sm8650-qrd.dts index 71033fba21b56bc63620dca3e453c14191739675..4943127e27a15af72f6d3f28155= 0b1d8ac0ab77c 100644 --- a/arch/arm64/boot/dts/qcom/sm8650-qrd.dts +++ b/arch/arm64/boot/dts/qcom/sm8650-qrd.dts @@ -1040,10 +1040,6 @@ &remoteproc_mpss { status =3D "okay"; }; =20 -&sleep_clk { - clock-frequency =3D <32764>; -}; - &spi4 { status =3D "okay"; =20 @@ -1320,7 +1316,3 @@ &usb_dp_qmpphy { &usb_dp_qmpphy_out { remote-endpoint =3D <&redriver_ss_in>; }; - -&xo_board { - clock-frequency =3D <76800000>; -}; diff --git a/arch/arm64/boot/dts/qcom/sm8650.dtsi b/arch/arm64/boot/dts/qco= m/sm8650.dtsi index 25e47505adcb790d09f1d2726386438487255824..cda249f767e5f1766134c62a8e5= f312ed17e17d5 100644 --- a/arch/arm64/boot/dts/qcom/sm8650.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8650.dtsi @@ -38,11 +38,13 @@ clocks { xo_board: xo-board { compatible =3D "fixed-clock"; #clock-cells =3D <0>; + clock-frequency =3D <76800000>; }; =20 sleep_clk: sleep-clk { compatible =3D "fixed-clock"; #clock-cells =3D <0>; + clock-frequency =3D <32764>; }; =20 bi_tcxo_div2: bi-tcxo-div2-clk { --=20 2.39.5 From nobody Thu Dec 26 20:59:06 2024 Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (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 33D021AB52B for ; Sat, 30 Nov 2024 01:45:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931143; cv=none; b=RDDXAnwYbuFUj0wAXLj+eyPxdJiTfm3jQ2dH285GQrg4KrBRTJ+y6YIpfqR5vzwKscHqrSkRLj9QobgAG+nTJOkpTrgnyPPYvJPHan9aIFfhvA+30YAyuJ1uyEGiyNgjPWtDtLkeTEwzaM5oyrtKYkhfINcS0PhwMH5cEWTx8Ys= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931143; c=relaxed/simple; bh=LwSpKOq1GqZouqzSTW+vvDI2/fjTuTTRV2CIEe3lHrs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Yq1m2PZ6R4HhykHICw+gBcWYRpFeCGoZv5LvjtP1noOww5Vq3p+zrkC14SyNFLtWOp/Q66hLfgcZBZH88rcpIHnbjfzX18WxiWE/CJ0HihH8XkABA4ZWInuhl5fBhzqI+Rn46GE2qn8lg5VccdZSfThUd6EuSVvjR1isDWOiAtw= 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=ra5QmT0+; arc=none smtp.client-ip=209.85.167.44 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="ra5QmT0+" Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-53dd2fdcebcso2884018e87.0 for ; Fri, 29 Nov 2024 17:45:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732931139; x=1733535939; 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=iVuVXOPYsKpuOKWxVV75YfQI6Bwi53UfnzrCPKYgu4o=; b=ra5QmT0+hD4HVa3hoxck4OSIQOMymD3MwPaM+RZCmAZ9dnO5fmJWnMN/22kZFEntfj A0NqjmGI4TQ+qsnU4TMMv0Wcwvy9m/yFTD8Xsrnrg/q+M1jUEFgIMPVnUooLIQ8/xbIY O/OVEzlmVApdB5g+8o0aWuZUY6xjig+yuso43WO/QFvqOH7j9w1n2xzC9Fse5vpt6R1C FactUnXqWlV1/fNcA3rChoTq8CY94dFVCJlJCCeOf+FHtiUwZuhKqBSQh4vptg7Nfn6i +XZCoUqp4e6MKdjw+N5qa76VaVNTpQKrf6Y/vc/caF/1ZsRmq/Bfwh9RHB1lLmQjnjQQ wbFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732931139; x=1733535939; 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=iVuVXOPYsKpuOKWxVV75YfQI6Bwi53UfnzrCPKYgu4o=; b=F8EoWEZ93aLvswQGrWQcexY4L3Zk99bzc98FssDxqDnh94JAO6jCOuBRpnjCYgntNu 0jnpLfUAxL8U5CAkiGwZSMyznR09Ei815/OlOMbR8zaMEAgmOpmNwgmpM1bm265Mjf06 iq6373o/YpLYw9CPpOWiq7pqgPLIPxf4oc6qUHqqB1LUyMgXWJIMt6lbENl3bjOShu+f yGw25kqtve5/ROsJXln/Q7aczSjjh/B5KmQMZWfYNKPH/FQRoym32V/qmtnF4fkCczUv upq159oFstCP/pApY1Pb4nubeQHVqldOPqcETjs1QT9GNw97QJMo7izc3ywcO6Q+zbZ8 TNsA== X-Forwarded-Encrypted: i=1; AJvYcCWcXbDaZFoJ5xF0SbtBHz3cnZ1ZQl0mCxbK+4j9ZrlC9Ji//K1h4fTx7B1UFEGuu2ArY5rWd0YTETSU0AY=@vger.kernel.org X-Gm-Message-State: AOJu0YzJvgPgKaooDv63PQv0kB3T/PeUAaahwO6lH/3zXoptZVRVLIt7 kb/nAisajxZbbF9DHbcCOE1ccjFQImGHGS2a2WbOsvKqQ6vVFvLRv9v0k5LdkWU= X-Gm-Gg: ASbGnctdNutKmCWF6CkuduSOccCDwOWyO3z01y7b5RDsry7jARCr6MRa/hAmrh6sJbk BicXT8ivVtCBxyTocF+uoJuELYMedEk7UjL0Iiopd6fSHMMLb15BkNOqdgYR1ODUGSZIEB7uXyZ fOErxGwQt/rjTlFb58FoX5t9GLe7DmHEEarxJvNPxzg4bIe+N5KSGwDWpl28kqAFcFpLkAoJX69 A5m2zFHG9JBC9vyCccoizLFui1Rb3Q3sDME3YNK0RNZ5cIVCxg3hs1FKA== X-Google-Smtp-Source: AGHT+IG/gB1YYyYfYqJDFqNDhyS12TcU92dIbuCRkbjDZGJlyIHkEqRlPOjim71bxlaSf0UoPw1jWA== X-Received: by 2002:a05:6512:3ba3:b0:53d:ed16:7a32 with SMTP id 2adb3069b0e04-53df00ff7bamr7967044e87.36.1732931139385; Fri, 29 Nov 2024 17:45:39 -0800 (PST) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53df64a0742sm631946e87.261.2024.11.29.17.45.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Nov 2024 17:45:38 -0800 (PST) From: Dmitry Baryshkov Date: Sat, 30 Nov 2024 03:44:42 +0200 Subject: [PATCH v2 30/31] arm64: dts: qcom: sdm670: move board clocks to sdm670.dtsi file 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: quoted-printable Message-Id: <20241130-fix-board-clocks-v2-30-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=1867; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=LwSpKOq1GqZouqzSTW+vvDI2/fjTuTTRV2CIEe3lHrs=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnSm33NmIQwFBxIPvKGEcX3mja1XLN8tpDXTi3Z hYENw+jxtWJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ0pt9wAKCRCLPIo+Aiko 1cOBCACpjdhJHKSJDtiOo+gFZ+54Dvs+BgIb46W8od5CZ8yPgwOpGjtQhSljfkfFG1rvRo47o0d aTUmkReCJ/jfuTUkXArISpuA03yjh7UlAuk6SjAXd601nXgq2Z+cjv0kJ1iUncaGmGmAzxvG/5h 9+BXzkIeO+XjKLIvzPZdgBoSI++Ovkq8UOVdf8I9OwadN2h7lcrS20h2HD6Jq/03Wp4qENulECB BKbqrjiEsxKWqRgw0kUhUedUwvYsbwuLEsyiOzXcToQc9/Ru3rwWoa5tiBRZP8qliC2f82U4Uom 7HDiv+NfOhr1U7evafpfct/L67h+0cMfUlI0YMapoiTCnaEE X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The SDM670 devices define XO and clocks completely in the board files, despite sdm670.dtsi file referencing them directly. Follow the example of other platforms and move clock definitions to the sdm670.dtsi file. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sdm670-google-sargo.dts | 14 -------------- arch/arm64/boot/dts/qcom/sdm670.dtsi | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm670-google-sargo.dts b/arch/arm64/= boot/dts/qcom/sdm670-google-sargo.dts index 176b0119fe6d45d7d3fa584f1825f4e4e681c2e7..44b708c8a4e4ef5ee1d9110bba3= 72d230fdd5b4b 100644 --- a/arch/arm64/boot/dts/qcom/sdm670-google-sargo.dts +++ b/arch/arm64/boot/dts/qcom/sdm670-google-sargo.dts @@ -49,20 +49,6 @@ framebuffer@9c000000 { }; }; =20 - clocks { - sleep_clk: sleep-clk { - compatible =3D "fixed-clock"; - #clock-cells =3D <0>; - clock-frequency =3D <32764>; - }; - - xo_board: xo-board { - compatible =3D "fixed-clock"; - #clock-cells =3D <0>; - clock-frequency =3D <38400000>; - }; - }; - gpio-keys { compatible =3D "gpio-keys"; autorepeat; diff --git a/arch/arm64/boot/dts/qcom/sdm670.dtsi b/arch/arm64/boot/dts/qco= m/sdm670.dtsi index c93dd06c0b7d6444aefd0e24201cea999dcb23a4..c4fd7598d1ca8d8baf4c3da0e20= cb191f7883f0a 100644 --- a/arch/arm64/boot/dts/qcom/sdm670.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm670.dtsi @@ -28,6 +28,20 @@ / { =20 chosen { }; =20 + clocks { + sleep_clk: sleep-clk { + compatible =3D "fixed-clock"; + #clock-cells =3D <0>; + clock-frequency =3D <32764>; + }; + + xo_board: xo-board { + compatible =3D "fixed-clock"; + #clock-cells =3D <0>; + clock-frequency =3D <38400000>; + }; + }; + cpus { #address-cells =3D <2>; #size-cells =3D <0>; --=20 2.39.5 From nobody Thu Dec 26 20:59:06 2024 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 C91551B5337 for ; Sat, 30 Nov 2024 01:45:43 +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=1732931145; cv=none; b=k1atfbfyrOn+iSdAd6vk9qVgSzktinv/D0K09cXW72bsY9FTmmFqEvNYOGM2z356wQ8mNiZgmBtUsyfl7y5jmJBdMyobNsXH8WdFs/idqfAt9hAlPeen6SGEOSRzn/X2wbQf5G6NGAEPXx3D8OcNBKkotKTKO5ow6SSVRk/nJkg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732931145; c=relaxed/simple; bh=x2bm9LjU8gDnzSnTK9zY7r1UhakQ0COQvQ8bOcHGsI4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=qn1Ejt1BucAbDPvmqxlrFYjHUYTGu+YNV16tV8IqRJj4kHXHRnvT1CR6HiNzyRCXwgtseeTfezGrUpFkXxDvjpGAYcRyld9z7a16/Np0LeH/gnj5wjc3cnBEuI9aEIoZ1Z9ByWpjEU3qSMDfHIyWpGdkJ9ab/CWpAgtDy0Dj6uk= 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=Ly1+q9gY; 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="Ly1+q9gY" Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-53de579f775so3647865e87.2 for ; Fri, 29 Nov 2024 17:45:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732931142; x=1733535942; 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=VV7cJg54Wosh+nhK6rc7uL5eYZ7PTz0Z5q2l7WfMjeM=; b=Ly1+q9gYiUxqckVFufyk2Py4gGgKr1+QQHtf0xmlACROfOt0dhvWceTzFkY+cHV0RM 5HjSGq5Drzs6LwS1heffT3drWVBf/4P5MzvRrCgwXr00RIl9U8ihBPKgBArTbluIR3Dv LjOhfMZ3zXTRSW1GmEAbVBhOQmduA11MDYlojRgfw7ldTa775PGMTA7LPzjxKeq9XCTP GhdgfO6czyjQh3jcGTfCm1r+wyw2u2PnQ8Z7KfJSnfjTPuBCeFcOsid/NyXiXG0p1sec lm9wxbQcwf3M6n9uiwfyYeqR5+THGnVhc+he2OM0ylBIf0eWsxFZl9H0YGHUucqi1vAi NDkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732931142; x=1733535942; 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=VV7cJg54Wosh+nhK6rc7uL5eYZ7PTz0Z5q2l7WfMjeM=; b=MsHfdYizYVOpuwlflg5tJ6DG08a5dEQnVARyUbttq2tSeIw3ZJQc6lTIdlQe2Z6kr9 7BgvnEEs7mnuwcYI4CzDZoMZZ2tySkfUzBLGzNiJ+KXQwYWsSRmu2n9UC3y4XDYz3wos wNLDU7E3LlRjMAW9peuWZMul0DEYjTuCstMwkSt7p7zlDEV8bZy5713Zm+coQTM29trn RQZVTaWOn2F3F/KU513ZTFKbUToaTexsUV9mIk3eBlQVQOqISOTz/AXrrfhOh3BeSmsS 9idVgv4eOahtCm85oVN1vwBD2qUpkIPFDL2HtmF7nOQYnLMI5E6xS01OYhSY9LA/EQrV MntQ== X-Forwarded-Encrypted: i=1; AJvYcCWR3tIh6OgEWOJUXmcdTrkhVsY9s0HdS0qS5+l0xHVBrL1RaWG3zBEjULvSPLqptk2EUnZ7rhXUa24jpPM=@vger.kernel.org X-Gm-Message-State: AOJu0Yz6oRzZmPkhroqJuniwOg1+woDdnJanEM1SXX0O7/dxccSY+AES uXIjk9HwiU2yH69gYtDHv3dma6JfszS5Hrc1hzRJvmVl42uwsxDLjz2GTT8QIf0= X-Gm-Gg: ASbGncu24fPFwZJnzNBKTLAPg0A0ohY3IpaFEG+eXGWamna3+ujH3BLdrKzzN2Q4GXW vCZpTXhu3pHm3hdojhLy7XZPiV2GTUG3vi0sPFKIPvD08QmL1Jf0fgaZDGQOb16My8ZccxQU8ub M8xYZhT7t7/9COfdYlSHTzt3IvvSzotSv2++315YzW6LcGixMqZPA/E3R6dqLTtmRoK1AHnl6WG q778/oUyfxwf5raiJWDhHk8qPIF55lyhrOG2KX5mXFt64nqSNkZ5gC1lA== X-Google-Smtp-Source: AGHT+IFP2fmRwIoE/ZeVkBQa8svX5hEiJi+sM5HgK24RApwfcVCoYg5GJZSJ9vJbCmYHx2yOoBaEvw== X-Received: by 2002:a05:6512:2216:b0:53d:ee0e:b466 with SMTP id 2adb3069b0e04-53df010b19emr13496176e87.38.1732931141987; Fri, 29 Nov 2024 17:45:41 -0800 (PST) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53df64a0742sm631946e87.261.2024.11.29.17.45.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Nov 2024 17:45:40 -0800 (PST) From: Dmitry Baryshkov Date: Sat, 30 Nov 2024 03:44:43 +0200 Subject: [PATCH v2 31/31] arm64: dts: qcom: q[dr]u1000: move board clocks to qdu1000.dtsi file 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: quoted-printable Message-Id: <20241130-fix-board-clocks-v2-31-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=2729; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=x2bm9LjU8gDnzSnTK9zY7r1UhakQ0COQvQ8bOcHGsI4=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnSm33CNF2WLfr+WyfRFgu7ex2UM/+DSb3LnUtb LJomsgij+yJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZ0pt9wAKCRCLPIo+Aiko 1VDcB/4v+V/Goy6Wzyd/paUJP74PVHkMTI8FJ7fNP21eqaQlNPPR9QGHNffiJlsz70VbOlVmzG6 VkTkPWJPxy1kUN5h8nqpLdVsV9IcNzzo0Wu0C0eKmN9N2Nfpo/Z4Yp+faKAV1VWP+V7fabcTbtl zqyvB2eoxajn0XUrze0pWdrZgr5ERMYce2VmfOnh7thb2zoqoiebZZ7IxFC2uhvZBQxBpzMgRgI YwNcq2mOC8rA6nCmYhU0ywTf4LBbsUbYwRPeM03PxuiMFPQxXTZ3Y4J9IoMqL8ywq8kooe8272r jGVhDHXLIqNbj0GNGc5xswRm/hh+bCMfl99O+wPMNcfi7fXo X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The QDU1000 and QRU1000 devices define XO and clocks completely in the board files, despite qdu1000.dtsi file referencing them directly. Follow the example of other platforms and move clock definitions to the qdu1000.dtsi file. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/qdu1000-idp.dts | 14 -------------- arch/arm64/boot/dts/qcom/qdu1000.dtsi | 14 ++++++++++++++ arch/arm64/boot/dts/qcom/qru1000-idp.dts | 14 -------------- 3 files changed, 14 insertions(+), 28 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts b/arch/arm64/boot/dts= /qcom/qdu1000-idp.dts index c73eda75faf8206181764df4d1ea32f96c9cfcd0..a36a56f03c2d112c6afdae1272b= 81edff890fca1 100644 --- a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts +++ b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts @@ -22,20 +22,6 @@ chosen { stdout-path =3D "serial0:115200n8"; }; =20 - clocks { - xo_board: xo-board-clk { - compatible =3D "fixed-clock"; - clock-frequency =3D <19200000>; - #clock-cells =3D <0>; - }; - - sleep_clk: sleep-clk { - compatible =3D "fixed-clock"; - clock-frequency =3D <32764>; - #clock-cells =3D <0>; - }; - }; - ppvar_sys: ppvar-sys-regulator { compatible =3D "regulator-fixed"; regulator-name =3D "ppvar_sys"; diff --git a/arch/arm64/boot/dts/qcom/qdu1000.dtsi b/arch/arm64/boot/dts/qc= om/qdu1000.dtsi index 47c0dd31aaf2e42d6d85411956207b2509a605b0..30fa8f5f992ff5b440db9871a25= 4b60acddbac94 100644 --- a/arch/arm64/boot/dts/qcom/qdu1000.dtsi +++ b/arch/arm64/boot/dts/qcom/qdu1000.dtsi @@ -21,6 +21,20 @@ / { =20 chosen: chosen { }; =20 + clocks { + xo_board: xo-board-clk { + compatible =3D "fixed-clock"; + clock-frequency =3D <19200000>; + #clock-cells =3D <0>; + }; + + sleep_clk: sleep-clk { + compatible =3D "fixed-clock"; + clock-frequency =3D <32764>; + #clock-cells =3D <0>; + }; + }; + cpus { #address-cells =3D <2>; #size-cells =3D <0>; diff --git a/arch/arm64/boot/dts/qcom/qru1000-idp.dts b/arch/arm64/boot/dts= /qcom/qru1000-idp.dts index 52ce51e56e2fdc51c05fb637ed4b1922801ff94b..f35e3111f516ca1ab59011f8a41= 45d3e21e0a221 100644 --- a/arch/arm64/boot/dts/qcom/qru1000-idp.dts +++ b/arch/arm64/boot/dts/qcom/qru1000-idp.dts @@ -22,20 +22,6 @@ chosen { stdout-path =3D "serial0:115200n8"; }; =20 - clocks { - xo_board: xo-board-clk { - compatible =3D "fixed-clock"; - clock-frequency =3D <19200000>; - #clock-cells =3D <0>; - }; - - sleep_clk: sleep-clk { - compatible =3D "fixed-clock"; - clock-frequency =3D <32764>; - #clock-cells =3D <0>; - }; - }; - ppvar_sys: ppvar-sys-regulator { compatible =3D "regulator-fixed"; regulator-name =3D "ppvar_sys"; --=20 2.39.5