Skip to contentSkip to conversation

arm64: dts: mediatek: mt8183: fix gce incorrect mbox-cells value

PATCH Applied Fabien Parent 2 participants 2 messages Oct 18, 2020 – Oct 19, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: mediatek: mt8183: fix gce incorrect mbox-cells value

The binding documentation says:
- #mbox-cells: Should be 2.
<&phandle channel priority>
phandle: Label name of a gce node.
channel: Channel of mailbox. Be equal to the thread id of GCE.
priority: Priority of GCE thread.

Fix the value of #mbox-cells.

Fixes d3c306e31bc7 ("arm64: dts: add gce node for mt8183")
---
 arch/arm64/boot/dts/mediatek/mt8183.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/mediatek/mt8183.dtsi +1 -1
index 102105871db2..9a3cf95676e1 100644
@@ -352,7 +352,7 @@ gce: mailbox@10238000 {
 			compatible = "mediatek,mt8183-gce";
 			reg = <0 0x10238000 0 0x4000>;
 			interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_LOW>;
-			#mbox-cells = <3>;
+			#mbox-cells = <2>;
 			clocks = <&infracfg CLK_INFRA_GCE>;
 			clock-names = "gce";
 		};
Signature · 1 line
2.28.0
maintainer Applied
#1 lore raw
Quoted 11 lines · Fabien Parent

The binding documentation says:
- #mbox-cells: Should be 2.
<&phandle channel priority>
phandle: Label name of a gce node.
channel: Channel of mailbox. Be equal to the thread id of GCE.
priority: Priority of GCE thread.

Fix the value of #mbox-cells.

Fixes d3c306e31bc7 ("arm64: dts: add gce node for mt8183")

Applied, to v5.10-tmp/dts64 thanks!

Quoted 18 lines
---
  arch/arm64/boot/dts/mediatek/mt8183.dtsi | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/mediatek/mt8183.dtsi +1 -1
index 102105871db2..9a3cf95676e1 100644
@@ -352,7 +352,7 @@ gce: mailbox@10238000 {
  			compatible = "mediatek,mt8183-gce";
  			reg = <0 0x10238000 0 0x4000>;
  			interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_LOW>;
-			#mbox-cells = <3>;
+			#mbox-cells = <2>;
  			clocks = <&infracfg CLK_INFRA_GCE>;
  			clock-names = "gce";
  		};