]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
arm64: dts: mediatek: mt8173-elm: Drop pmic's #address-cells and #size-cells
authorChen-Yu Tsai <wenst@chromium.org>
Wed, 8 Jan 2025 08:34:21 +0000 (16:34 +0800)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Wed, 5 Feb 2025 14:10:33 +0000 (15:10 +0100)
The PMIC has child nodes for each of its functions. It is not an actual
bus and no addressing is involved.

Dropping the bogus properties fixes a DT validation error:

    arch/arm64/boot/dts/mediatek/mt8173-elm.dtb: pmic: '#address-cells', '#size-cells' do not match any of the regexes: 'pinctrl-[0-9]+'
            from schema $id: http://devicetree.org/schemas/mfd/mediatek,mt6397.yaml#

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202412212322.JTFpRD7X-lkp@intel.com/
Fixes: 689b937bedde ("arm64: dts: mediatek: add mt8173 elm and hana board")
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20250108083424.2732375-1-wenst@chromium.org
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi

index b5d4b5baf4785fd1f3703e018c91d0020dba1dff..0d995b342d46315fcb855ca7da2bfdea52bfc608 100644 (file)
 &pwrap {
        pmic: pmic {
                compatible = "mediatek,mt6397";
-               #address-cells = <1>;
-               #size-cells = <1>;
                interrupts-extended = <&pio 11 IRQ_TYPE_LEVEL_HIGH>;
                interrupt-controller;
                #interrupt-cells = <2>;