From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
To: matthias.bgg@gmail.com
Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org,
sam.shih@mediatek.com, hanks.chen@mediatek.com,
weiyi.lu@mediatek.com, zhiyong.tao@mediatek.com,
andrew-sh.cheng@mediatek.com, viresh.kumar@linaro.org,
chunfeng.yun@mediatek.com, fparent@baylibre.com,
mars.cheng@mediatek.com, linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>
Subject: [PATCH 2/8] arm64: dts: mt6779: Fix devicetree build warnings
Date: Thu, 13 Oct 2022 17:22:06 +0200 [thread overview]
Message-ID: <20221013152212.416661-3-angelogioacchino.delregno@collabora.com> (raw)
In-Reply-To: <20221013152212.416661-1-angelogioacchino.delregno@collabora.com>
Rename fixed-clock oscillators to oscillator-26m and oscillator-32k
and remove the unit address to fix the unit_address_vs_reg warning;
fix the unit address for interrupt and intpol controllers by
removing a leading zero in their unit address.
This commit fixes the following warnings:
(unit_address_vs_reg): /oscillator@0: node has a unit name, but
no reg or ranges property
(unit_address_vs_reg): /oscillator@1: node has a unit name, but
no reg or ranges property
(simple_bus_reg): /soc/interrupt-controller@0c000000: simple-bus
unit address format error, expected "c000000"
(simple_bus_reg): /soc/intpol-controller@0c53a650: simple-bus
unit address format error, expected "c53a650"
Fixes: 4c7a6260775d ("arm64: dts: add dts nodes for MT6779")
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
---
arch/arm64/boot/dts/mediatek/mt6779.dtsi | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/mediatek/mt6779.dtsi b/arch/arm64/boot/dts/mediatek/mt6779.dtsi
index 9bdf5145966c..dde9ce137b4f 100644
--- a/arch/arm64/boot/dts/mediatek/mt6779.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt6779.dtsi
@@ -88,14 +88,14 @@ pmu {
interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW 0>;
};
- clk26m: oscillator@0 {
+ clk26m: oscillator-26m {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <26000000>;
clock-output-names = "clk26m";
};
- clk32k: oscillator@1 {
+ clk32k: oscillator-32k {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <32768>;
@@ -117,7 +117,7 @@ soc {
compatible = "simple-bus";
ranges;
- gic: interrupt-controller@0c000000 {
+ gic: interrupt-controller@c000000 {
compatible = "arm,gic-v3";
#interrupt-cells = <4>;
interrupt-parent = <&gic>;
@@ -138,7 +138,7 @@ ppi_cluster1: interrupt-partition-1 {
};
- sysirq: intpol-controller@0c53a650 {
+ sysirq: intpol-controller@c53a650 {
compatible = "mediatek,mt6779-sysirq",
"mediatek,mt6577-sysirq";
interrupt-controller;
--
2.37.2
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2022-10-13 15:23 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-13 15:22 [PATCH 0/8] ARM64 MediaTek devicetree fixes - Part 1 AngeloGioacchino Del Regno
2022-10-13 15:22 ` [PATCH 1/8] arm64: dts: mt7896a: Fix unit_address_vs_reg warning for oscillator AngeloGioacchino Del Regno
2022-10-13 15:22 ` AngeloGioacchino Del Regno [this message]
2022-10-13 15:22 ` [PATCH 3/8] arm64: dts: mt2712e: Fix unit_address_vs_reg warning for oscillators AngeloGioacchino Del Regno
2022-10-13 15:22 ` [PATCH 4/8] arm64: dts: mt2712e: Fix unit address for pinctrl node AngeloGioacchino Del Regno
2022-10-13 15:22 ` [PATCH 5/8] arm64: dts: mt2712-evb: Fix vproc fixed regulators unit names AngeloGioacchino Del Regno
2022-10-13 15:22 ` [PATCH 6/8] arm64: dts: mt2712-evb: Fix usb vbus " AngeloGioacchino Del Regno
2022-10-14 2:43 ` Chunfeng Yun
2022-10-14 7:35 ` AngeloGioacchino Del Regno
2022-10-21 6:25 ` Chunfeng Yun
2022-10-21 8:13 ` AngeloGioacchino Del Regno
2022-10-13 15:22 ` [PATCH 7/8] arm64: dts: mediatek: pumpkin-common: Fix devicetree warnings AngeloGioacchino Del Regno
2022-10-13 15:22 ` [PATCH 8/8] arm64: dts: mediatek: mt6797: Fix 26M oscillator unit name AngeloGioacchino Del Regno
2022-11-21 12:03 ` [PATCH 0/8] ARM64 MediaTek devicetree fixes - Part 1 Matthias Brugger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221013152212.416661-3-angelogioacchino.delregno@collabora.com \
--to=angelogioacchino.delregno@collabora.com \
--cc=andrew-sh.cheng@mediatek.com \
--cc=chunfeng.yun@mediatek.com \
--cc=devicetree@vger.kernel.org \
--cc=fparent@baylibre.com \
--cc=hanks.chen@mediatek.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=mars.cheng@mediatek.com \
--cc=matthias.bgg@gmail.com \
--cc=robh+dt@kernel.org \
--cc=sam.shih@mediatek.com \
--cc=viresh.kumar@linaro.org \
--cc=weiyi.lu@mediatek.com \
--cc=zhiyong.tao@mediatek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).