From nobody Fri Dec 27 14:28:16 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