arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 14 +++++++------- arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-)
A value of 10 is not valid for "mediatek,pull-down-adv" and
"mediatek,pull-up-adv" properties which have defined values of 0-3. It
appears the "10" was written as a binary value. The driver only looks at
the lowest 2 bits, so the value "10" decimal works out the same as if
"2" was used.
Fixes: cd894e274b74 ("arm64: dts: mt8183: Add krane-sku176 board")
Fixes: 19b6403f1e2a ("arm64: dts: mt8183: add mt8183 pumpkin board")
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
This is just a few of the warnings related to mt8183-pinctrl... Mediatek
is #1 for DT warnings on arm64. And by #1, I mean worst. :( It would be
nice to see some progress on fixing them. Otherwise, seeing new Mediatek
bindings rather than fixing the existing stuff makes me grumpy.
arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 14 +++++++-------
arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts | 14 +++++++-------
2 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
index 400c61d11035..fff93e26eb76 100644
--- a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
@@ -580,7 +580,7 @@ pins-cmd-dat {
pins-clk {
pinmux = <PINMUX_GPIO124__FUNC_MSDC0_CLK>;
drive-strength = <MTK_DRIVE_14mA>;
- mediatek,pull-down-adv = <10>;
+ mediatek,pull-down-adv = <2>;
};
pins-rst {
@@ -609,13 +609,13 @@ pins-cmd-dat {
pins-clk {
pinmux = <PINMUX_GPIO124__FUNC_MSDC0_CLK>;
drive-strength = <MTK_DRIVE_14mA>;
- mediatek,pull-down-adv = <10>;
+ mediatek,pull-down-adv = <2>;
};
pins-ds {
pinmux = <PINMUX_GPIO131__FUNC_MSDC0_DSL>;
drive-strength = <MTK_DRIVE_14mA>;
- mediatek,pull-down-adv = <10>;
+ mediatek,pull-down-adv = <2>;
};
pins-rst {
@@ -633,13 +633,13 @@ pins-cmd-dat {
<PINMUX_GPIO33__FUNC_MSDC1_DAT2>,
<PINMUX_GPIO30__FUNC_MSDC1_DAT3>;
input-enable;
- mediatek,pull-up-adv = <10>;
+ mediatek,pull-up-adv = <2>;
};
pins-clk {
pinmux = <PINMUX_GPIO29__FUNC_MSDC1_CLK>;
input-enable;
- mediatek,pull-down-adv = <10>;
+ mediatek,pull-down-adv = <2>;
};
};
@@ -652,13 +652,13 @@ pins-cmd-dat {
<PINMUX_GPIO30__FUNC_MSDC1_DAT3>;
drive-strength = <6>;
input-enable;
- mediatek,pull-up-adv = <10>;
+ mediatek,pull-up-adv = <2>;
};
pins-clk {
pinmux = <PINMUX_GPIO29__FUNC_MSDC1_CLK>;
drive-strength = <8>;
- mediatek,pull-down-adv = <10>;
+ mediatek,pull-down-adv = <2>;
input-enable;
};
};
diff --git a/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts b/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts
index dbdee604edab..7c3010889ae7 100644
--- a/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts
+++ b/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts
@@ -324,7 +324,7 @@ pins_cmd_dat {
pins_clk {
pinmux = <PINMUX_GPIO124__FUNC_MSDC0_CLK>;
drive-strength = <MTK_DRIVE_14mA>;
- mediatek,pull-down-adv = <10>;
+ mediatek,pull-down-adv = <2>;
};
pins_rst {
@@ -353,13 +353,13 @@ pins_cmd_dat {
pins_clk {
pinmux = <PINMUX_GPIO124__FUNC_MSDC0_CLK>;
drive-strength = <MTK_DRIVE_14mA>;
- mediatek,pull-down-adv = <10>;
+ mediatek,pull-down-adv = <2>;
};
pins_ds {
pinmux = <PINMUX_GPIO131__FUNC_MSDC0_DSL>;
drive-strength = <MTK_DRIVE_14mA>;
- mediatek,pull-down-adv = <10>;
+ mediatek,pull-down-adv = <2>;
};
pins_rst {
@@ -377,13 +377,13 @@ pins_cmd_dat {
<PINMUX_GPIO33__FUNC_MSDC1_DAT2>,
<PINMUX_GPIO30__FUNC_MSDC1_DAT3>;
input-enable;
- mediatek,pull-up-adv = <10>;
+ mediatek,pull-up-adv = <2>;
};
pins_clk {
pinmux = <PINMUX_GPIO29__FUNC_MSDC1_CLK>;
input-enable;
- mediatek,pull-down-adv = <10>;
+ mediatek,pull-down-adv = <2>;
};
pins_pmu {
@@ -401,13 +401,13 @@ pins_cmd_dat {
<PINMUX_GPIO30__FUNC_MSDC1_DAT3>;
drive-strength = <6>;
input-enable;
- mediatek,pull-up-adv = <10>;
+ mediatek,pull-up-adv = <2>;
};
pins_clk {
pinmux = <PINMUX_GPIO29__FUNC_MSDC1_CLK>;
drive-strength = <8>;
- mediatek,pull-down-adv = <10>;
+ mediatek,pull-down-adv = <2>;
input-enable;
};
};
--
2.47.2
On 22/07/2025 19:11, Rob Herring (Arm) wrote: > A value of 10 is not valid for "mediatek,pull-down-adv" and > "mediatek,pull-up-adv" properties which have defined values of 0-3. It > appears the "10" was written as a binary value. The driver only looks at > the lowest 2 bits, so the value "10" decimal works out the same as if > "2" was used. > > Fixes: cd894e274b74 ("arm64: dts: mt8183: Add krane-sku176 board") > Fixes: 19b6403f1e2a ("arm64: dts: mt8183: add mt8183 pumpkin board") > Signed-off-by: Rob Herring (Arm) <robh@kernel.org> Queued, thanks Matthias > --- > This is just a few of the warnings related to mt8183-pinctrl... Mediatek > is #1 for DT warnings on arm64. And by #1, I mean worst. :( It would be > nice to see some progress on fixing them. Otherwise, seeing new Mediatek > bindings rather than fixing the existing stuff makes me grumpy. > > arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 14 +++++++------- > arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts | 14 +++++++------- > 2 files changed, 14 insertions(+), 14 deletions(-) > > diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi > index 400c61d11035..fff93e26eb76 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi > @@ -580,7 +580,7 @@ pins-cmd-dat { > pins-clk { > pinmux = <PINMUX_GPIO124__FUNC_MSDC0_CLK>; > drive-strength = <MTK_DRIVE_14mA>; > - mediatek,pull-down-adv = <10>; > + mediatek,pull-down-adv = <2>; > }; > > pins-rst { > @@ -609,13 +609,13 @@ pins-cmd-dat { > pins-clk { > pinmux = <PINMUX_GPIO124__FUNC_MSDC0_CLK>; > drive-strength = <MTK_DRIVE_14mA>; > - mediatek,pull-down-adv = <10>; > + mediatek,pull-down-adv = <2>; > }; > > pins-ds { > pinmux = <PINMUX_GPIO131__FUNC_MSDC0_DSL>; > drive-strength = <MTK_DRIVE_14mA>; > - mediatek,pull-down-adv = <10>; > + mediatek,pull-down-adv = <2>; > }; > > pins-rst { > @@ -633,13 +633,13 @@ pins-cmd-dat { > <PINMUX_GPIO33__FUNC_MSDC1_DAT2>, > <PINMUX_GPIO30__FUNC_MSDC1_DAT3>; > input-enable; > - mediatek,pull-up-adv = <10>; > + mediatek,pull-up-adv = <2>; > }; > > pins-clk { > pinmux = <PINMUX_GPIO29__FUNC_MSDC1_CLK>; > input-enable; > - mediatek,pull-down-adv = <10>; > + mediatek,pull-down-adv = <2>; > }; > }; > > @@ -652,13 +652,13 @@ pins-cmd-dat { > <PINMUX_GPIO30__FUNC_MSDC1_DAT3>; > drive-strength = <6>; > input-enable; > - mediatek,pull-up-adv = <10>; > + mediatek,pull-up-adv = <2>; > }; > > pins-clk { > pinmux = <PINMUX_GPIO29__FUNC_MSDC1_CLK>; > drive-strength = <8>; > - mediatek,pull-down-adv = <10>; > + mediatek,pull-down-adv = <2>; > input-enable; > }; > }; > diff --git a/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts b/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts > index dbdee604edab..7c3010889ae7 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts > +++ b/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts > @@ -324,7 +324,7 @@ pins_cmd_dat { > pins_clk { > pinmux = <PINMUX_GPIO124__FUNC_MSDC0_CLK>; > drive-strength = <MTK_DRIVE_14mA>; > - mediatek,pull-down-adv = <10>; > + mediatek,pull-down-adv = <2>; > }; > > pins_rst { > @@ -353,13 +353,13 @@ pins_cmd_dat { > pins_clk { > pinmux = <PINMUX_GPIO124__FUNC_MSDC0_CLK>; > drive-strength = <MTK_DRIVE_14mA>; > - mediatek,pull-down-adv = <10>; > + mediatek,pull-down-adv = <2>; > }; > > pins_ds { > pinmux = <PINMUX_GPIO131__FUNC_MSDC0_DSL>; > drive-strength = <MTK_DRIVE_14mA>; > - mediatek,pull-down-adv = <10>; > + mediatek,pull-down-adv = <2>; > }; > > pins_rst { > @@ -377,13 +377,13 @@ pins_cmd_dat { > <PINMUX_GPIO33__FUNC_MSDC1_DAT2>, > <PINMUX_GPIO30__FUNC_MSDC1_DAT3>; > input-enable; > - mediatek,pull-up-adv = <10>; > + mediatek,pull-up-adv = <2>; > }; > > pins_clk { > pinmux = <PINMUX_GPIO29__FUNC_MSDC1_CLK>; > input-enable; > - mediatek,pull-down-adv = <10>; > + mediatek,pull-down-adv = <2>; > }; > > pins_pmu { > @@ -401,13 +401,13 @@ pins_cmd_dat { > <PINMUX_GPIO30__FUNC_MSDC1_DAT3>; > drive-strength = <6>; > input-enable; > - mediatek,pull-up-adv = <10>; > + mediatek,pull-up-adv = <2>; > }; > > pins_clk { > pinmux = <PINMUX_GPIO29__FUNC_MSDC1_CLK>; > drive-strength = <8>; > - mediatek,pull-down-adv = <10>; > + mediatek,pull-down-adv = <2>; > input-enable; > }; > };
On 22/07/2025 19:11, Rob Herring (Arm) wrote: > A value of 10 is not valid for "mediatek,pull-down-adv" and > "mediatek,pull-up-adv" properties which have defined values of 0-3. It > appears the "10" was written as a binary value. The driver only looks at > the lowest 2 bits, so the value "10" decimal works out the same as if > "2" was used. > > Fixes: cd894e274b74 ("arm64: dts: mt8183: Add krane-sku176 board") > Fixes: 19b6403f1e2a ("arm64: dts: mt8183: add mt8183 pumpkin board") > Signed-off-by: Rob Herring (Arm) <robh@kernel.org> Queued, thanks Matthias > --- > This is just a few of the warnings related to mt8183-pinctrl... Mediatek > is #1 for DT warnings on arm64. And by #1, I mean worst. :( It would be > nice to see some progress on fixing them. Otherwise, seeing new Mediatek > bindings rather than fixing the existing stuff makes me grumpy. > > arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 14 +++++++------- > arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts | 14 +++++++------- > 2 files changed, 14 insertions(+), 14 deletions(-) > > diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi > index 400c61d11035..fff93e26eb76 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi > @@ -580,7 +580,7 @@ pins-cmd-dat { > pins-clk { > pinmux = <PINMUX_GPIO124__FUNC_MSDC0_CLK>; > drive-strength = <MTK_DRIVE_14mA>; > - mediatek,pull-down-adv = <10>; > + mediatek,pull-down-adv = <2>; > }; > > pins-rst { > @@ -609,13 +609,13 @@ pins-cmd-dat { > pins-clk { > pinmux = <PINMUX_GPIO124__FUNC_MSDC0_CLK>; > drive-strength = <MTK_DRIVE_14mA>; > - mediatek,pull-down-adv = <10>; > + mediatek,pull-down-adv = <2>; > }; > > pins-ds { > pinmux = <PINMUX_GPIO131__FUNC_MSDC0_DSL>; > drive-strength = <MTK_DRIVE_14mA>; > - mediatek,pull-down-adv = <10>; > + mediatek,pull-down-adv = <2>; > }; > > pins-rst { > @@ -633,13 +633,13 @@ pins-cmd-dat { > <PINMUX_GPIO33__FUNC_MSDC1_DAT2>, > <PINMUX_GPIO30__FUNC_MSDC1_DAT3>; > input-enable; > - mediatek,pull-up-adv = <10>; > + mediatek,pull-up-adv = <2>; > }; > > pins-clk { > pinmux = <PINMUX_GPIO29__FUNC_MSDC1_CLK>; > input-enable; > - mediatek,pull-down-adv = <10>; > + mediatek,pull-down-adv = <2>; > }; > }; > > @@ -652,13 +652,13 @@ pins-cmd-dat { > <PINMUX_GPIO30__FUNC_MSDC1_DAT3>; > drive-strength = <6>; > input-enable; > - mediatek,pull-up-adv = <10>; > + mediatek,pull-up-adv = <2>; > }; > > pins-clk { > pinmux = <PINMUX_GPIO29__FUNC_MSDC1_CLK>; > drive-strength = <8>; > - mediatek,pull-down-adv = <10>; > + mediatek,pull-down-adv = <2>; > input-enable; > }; > }; > diff --git a/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts b/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts > index dbdee604edab..7c3010889ae7 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts > +++ b/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts > @@ -324,7 +324,7 @@ pins_cmd_dat { > pins_clk { > pinmux = <PINMUX_GPIO124__FUNC_MSDC0_CLK>; > drive-strength = <MTK_DRIVE_14mA>; > - mediatek,pull-down-adv = <10>; > + mediatek,pull-down-adv = <2>; > }; > > pins_rst { > @@ -353,13 +353,13 @@ pins_cmd_dat { > pins_clk { > pinmux = <PINMUX_GPIO124__FUNC_MSDC0_CLK>; > drive-strength = <MTK_DRIVE_14mA>; > - mediatek,pull-down-adv = <10>; > + mediatek,pull-down-adv = <2>; > }; > > pins_ds { > pinmux = <PINMUX_GPIO131__FUNC_MSDC0_DSL>; > drive-strength = <MTK_DRIVE_14mA>; > - mediatek,pull-down-adv = <10>; > + mediatek,pull-down-adv = <2>; > }; > > pins_rst { > @@ -377,13 +377,13 @@ pins_cmd_dat { > <PINMUX_GPIO33__FUNC_MSDC1_DAT2>, > <PINMUX_GPIO30__FUNC_MSDC1_DAT3>; > input-enable; > - mediatek,pull-up-adv = <10>; > + mediatek,pull-up-adv = <2>; > }; > > pins_clk { > pinmux = <PINMUX_GPIO29__FUNC_MSDC1_CLK>; > input-enable; > - mediatek,pull-down-adv = <10>; > + mediatek,pull-down-adv = <2>; > }; > > pins_pmu { > @@ -401,13 +401,13 @@ pins_cmd_dat { > <PINMUX_GPIO30__FUNC_MSDC1_DAT3>; > drive-strength = <6>; > input-enable; > - mediatek,pull-up-adv = <10>; > + mediatek,pull-up-adv = <2>; > }; > > pins_clk { > pinmux = <PINMUX_GPIO29__FUNC_MSDC1_CLK>; > drive-strength = <8>; > - mediatek,pull-down-adv = <10>; > + mediatek,pull-down-adv = <2>; > input-enable; > }; > };
Il 22/07/25 19:11, Rob Herring (Arm) ha scritto: > A value of 10 is not valid for "mediatek,pull-down-adv" and > "mediatek,pull-up-adv" properties which have defined values of 0-3. It > appears the "10" was written as a binary value. The driver only looks at > the lowest 2 bits, so the value "10" decimal works out the same as if > "2" was used. > > Fixes: cd894e274b74 ("arm64: dts: mt8183: Add krane-sku176 board") > Fixes: 19b6403f1e2a ("arm64: dts: mt8183: add mt8183 pumpkin board") > Signed-off-by: Rob Herring (Arm) <robh@kernel.org> > --- > This is just a few of the warnings related to mt8183-pinctrl... Mediatek > is #1 for DT warnings on arm64. And by #1, I mean worst. :( It would be > nice to see some progress on fixing them. Otherwise, seeing new Mediatek > bindings rather than fixing the existing stuff makes me grumpy. > Thanks for this fix. You're absolutely right about this, let me check what I can do (and if I can get some colleague(s) of mine to look at that while I'm away in August). Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
On Wed, Jul 23, 2025 at 3:16 AM AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> wrote: > > Il 22/07/25 19:11, Rob Herring (Arm) ha scritto: > > A value of 10 is not valid for "mediatek,pull-down-adv" and > > "mediatek,pull-up-adv" properties which have defined values of 0-3. It > > appears the "10" was written as a binary value. The driver only looks at > > the lowest 2 bits, so the value "10" decimal works out the same as if > > "2" was used. > > > > Fixes: cd894e274b74 ("arm64: dts: mt8183: Add krane-sku176 board") > > Fixes: 19b6403f1e2a ("arm64: dts: mt8183: add mt8183 pumpkin board") > > Signed-off-by: Rob Herring (Arm) <robh@kernel.org> > > --- > > This is just a few of the warnings related to mt8183-pinctrl... Mediatek > > is #1 for DT warnings on arm64. And by #1, I mean worst. :( It would be > > nice to see some progress on fixing them. Otherwise, seeing new Mediatek > > bindings rather than fixing the existing stuff makes me grumpy. > > > > Thanks for this fix. > > You're absolutely right about this, let me check what I can do (and if I can get > some colleague(s) of mine to look at that while I'm away in August). > > Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Is this going to get applied and into linux-next sometime soon? Only been like 6 weeks... Rob
On Wed, Sep 3, 2025 at 9:53 AM Rob Herring <robh@kernel.org> wrote: > > On Wed, Jul 23, 2025 at 3:16 AM AngeloGioacchino Del Regno > <angelogioacchino.delregno@collabora.com> wrote: > > > > Il 22/07/25 19:11, Rob Herring (Arm) ha scritto: > > > A value of 10 is not valid for "mediatek,pull-down-adv" and > > > "mediatek,pull-up-adv" properties which have defined values of 0-3. It > > > appears the "10" was written as a binary value. The driver only looks at > > > the lowest 2 bits, so the value "10" decimal works out the same as if > > > "2" was used. > > > > > > Fixes: cd894e274b74 ("arm64: dts: mt8183: Add krane-sku176 board") > > > Fixes: 19b6403f1e2a ("arm64: dts: mt8183: add mt8183 pumpkin board") > > > Signed-off-by: Rob Herring (Arm) <robh@kernel.org> > > > --- > > > This is just a few of the warnings related to mt8183-pinctrl... Mediatek > > > is #1 for DT warnings on arm64. And by #1, I mean worst. :( It would be > > > nice to see some progress on fixing them. Otherwise, seeing new Mediatek > > > bindings rather than fixing the existing stuff makes me grumpy. > > > > > > > Thanks for this fix. > > > > You're absolutely right about this, let me check what I can do (and if I can get > > some colleague(s) of mine to look at that while I'm away in August). > > > > Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> > > Is this going to get applied and into linux-next sometime soon? Only > been like 6 weeks... AFAIK Angelo is on vacation but should be back shortly in September.
© 2016 - 2025 Red Hat, Inc.