From nobody Fri Dec 27 13:09:56 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