2020-06-25 10:19:08

by Enric Balletbo i Serra

[permalink] [raw]
Subject: [PATCH v2 5/7] arm64: dts: mt8183-evb: Fix unit name warnings

Remove the unit address from the DT nodes that doesn't have a reg
property. This fixes the following unit name warnings:

Warning (unit_address_vs_reg): /soc/pinctrl@10005000/mmc0@0: node has a unit name, but no reg or ranges property
Warning (unit_address_vs_reg): /soc/pinctrl@10005000/mmc1@0: node has a unit name, but no reg or ranges property

Signed-off-by: Enric Balletbo i Serra <[email protected]>
---

Changes in v2: None

arch/arm64/boot/dts/mediatek/mt8183-evb.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/mediatek/mt8183-evb.dts b/arch/arm64/boot/dts/mediatek/mt8183-evb.dts
index afd6ddbcbdf2c..ae405bd8f06b0 100644
--- a/arch/arm64/boot/dts/mediatek/mt8183-evb.dts
+++ b/arch/arm64/boot/dts/mediatek/mt8183-evb.dts
@@ -205,7 +205,7 @@ pins_rst {
};
};

- mmc0_pins_uhs: mmc0@0{
+ mmc0_pins_uhs: mmc0 {
pins_cmd_dat {
pinmux = <PINMUX_GPIO123__FUNC_MSDC0_DAT0>,
<PINMUX_GPIO128__FUNC_MSDC0_DAT1>,
@@ -264,7 +264,7 @@ pins_pmu {
};
};

- mmc1_pins_uhs: mmc1@0{
+ mmc1_pins_uhs: mmc1 {
pins_cmd_dat {
pinmux = <PINMUX_GPIO31__FUNC_MSDC1_CMD>,
<PINMUX_GPIO32__FUNC_MSDC1_DAT0>,
--
2.27.0


2020-07-02 05:09:47

by Hsin-Yi Wang

[permalink] [raw]
Subject: Re: [PATCH v2 5/7] arm64: dts: mt8183-evb: Fix unit name warnings

On Thu, Jun 25, 2020 at 6:18 PM Enric Balletbo i Serra
<[email protected]> wrote:
>
> Remove the unit address from the DT nodes that doesn't have a reg
> property. This fixes the following unit name warnings:
>
> Warning (unit_address_vs_reg): /soc/pinctrl@10005000/mmc0@0: node has a unit name, but no reg or ranges property
> Warning (unit_address_vs_reg): /soc/pinctrl@10005000/mmc1@0: node has a unit name, but no reg or ranges property
>
> Signed-off-by: Enric Balletbo i Serra <[email protected]>
Tested-by: Hsin-Yi Wang <[email protected]>
> ---
>
> Changes in v2: None
>
> arch/arm64/boot/dts/mediatek/mt8183-evb.dts | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt8183-evb.dts b/arch/arm64/boot/dts/mediatek/mt8183-evb.dts
> index afd6ddbcbdf2c..ae405bd8f06b0 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8183-evb.dts
> +++ b/arch/arm64/boot/dts/mediatek/mt8183-evb.dts
> @@ -205,7 +205,7 @@ pins_rst {
> };
> };
>
> - mmc0_pins_uhs: mmc0@0{
> + mmc0_pins_uhs: mmc0 {
> pins_cmd_dat {
> pinmux = <PINMUX_GPIO123__FUNC_MSDC0_DAT0>,
> <PINMUX_GPIO128__FUNC_MSDC0_DAT1>,
> @@ -264,7 +264,7 @@ pins_pmu {
> };
> };
>
> - mmc1_pins_uhs: mmc1@0{
> + mmc1_pins_uhs: mmc1 {
> pins_cmd_dat {
> pinmux = <PINMUX_GPIO31__FUNC_MSDC1_CMD>,
> <PINMUX_GPIO32__FUNC_MSDC1_DAT0>,
> --
> 2.27.0
>