]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: mediatek: mt6797: Remove bogus id property in i2c nodes
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Thu, 24 Jul 2025 08:38:54 +0000 (10:38 +0200)
committerMatthias Brugger <matthias.bgg@gmail.com>
Fri, 12 Sep 2025 14:00:55 +0000 (16:00 +0200)
All of the I2C nodes in this devicetree has a bogus "id" property,
which was probably specifying the I2C bus number.

This property was never parsed and never used - and besides, it
also gives dtbs_check warnings: remove it from all i2c nodes.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Fei Shao <fshao@chromium.org>
Link: https://lore.kernel.org/r/20250724083914.61351-19-angelogioacchino.delregno@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt6797.dtsi

index be401617dfd8a82f6e16284bb5fbe205e1b3d24d..f2d93bf6a0551db1b5761a755c284f42ba653eb4 100644 (file)
        i2c0: i2c@11007000 {
                compatible = "mediatek,mt6797-i2c",
                             "mediatek,mt6577-i2c";
-               id = <0>;
                reg = <0 0x11007000 0 0x1000>,
                      <0 0x11000100 0 0x80>;
                interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_LOW>;
        i2c1: i2c@11008000 {
                compatible = "mediatek,mt6797-i2c",
                             "mediatek,mt6577-i2c";
-               id = <1>;
                reg = <0 0x11008000 0 0x1000>,
                      <0 0x11000180 0 0x80>;
                interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_LOW>;
        i2c8: i2c@11009000 {
                compatible = "mediatek,mt6797-i2c",
                             "mediatek,mt6577-i2c";
-               id = <8>;
                reg = <0 0x11009000 0 0x1000>,
                      <0 0x11000200 0 0x80>;
                interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_LOW>;
        i2c9: i2c@1100d000 {
                compatible = "mediatek,mt6797-i2c",
                             "mediatek,mt6577-i2c";
-               id = <9>;
                reg = <0 0x1100d000 0 0x1000>,
                      <0 0x11000280 0 0x80>;
                interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_LOW>;
        i2c6: i2c@1100e000 {
                compatible = "mediatek,mt6797-i2c",
                             "mediatek,mt6577-i2c";
-               id = <6>;
                reg = <0 0x1100e000 0 0x1000>,
                      <0 0x11000500 0 0x80>;
                interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_LOW>;
        i2c7: i2c@11010000 {
                compatible = "mediatek,mt6797-i2c",
                             "mediatek,mt6577-i2c";
-               id = <7>;
                reg = <0 0x11010000 0 0x1000>,
                      <0 0x11000580 0 0x80>;
                interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_LOW>;
        i2c4: i2c@11011000 {
                compatible = "mediatek,mt6797-i2c",
                             "mediatek,mt6577-i2c";
-               id = <4>;
                reg = <0 0x11011000 0 0x1000>,
                      <0 0x11000300 0 0x80>;
                interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_LOW>;
        i2c2: i2c@11013000 {
                compatible = "mediatek,mt6797-i2c",
                             "mediatek,mt6577-i2c";
-               id = <2>;
                reg = <0 0x11013000 0 0x1000>,
                      <0 0x11000400 0 0x80>;
                interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_LOW>;
        i2c3: i2c@11014000 {
                compatible = "mediatek,mt6797-i2c",
                             "mediatek,mt6577-i2c";
-               id = <3>;
                reg = <0 0x11014000 0 0x1000>,
                      <0 0x11000480 0 0x80>;
                interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_LOW>;
        i2c5: i2c@1101c000 {
                compatible = "mediatek,mt6797-i2c",
                             "mediatek,mt6577-i2c";
-               id = <5>;
                reg = <0 0x1101c000 0 0x1000>,
                      <0 0x11000380 0 0x80>;
                interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_LOW>;