From nobody Fri Dec 27 13:31:21 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