linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] arm64: dts: marvell: puzzle-m801: add board specific compatible
@ 2021-09-28 11:00 Robert Marko
  2021-09-28 11:00 ` [PATCH 2/2] arm64: dts: marvell: puzzle-m801: update model name Robert Marko
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Marko @ 2021-09-28 11:00 UTC (permalink / raw)
  To: andrew, gregory.clement, sebastian.hesselbarth, robh+dt,
	linux-arm-kernel, devicetree, linux-kernel
  Cc: Robert Marko

Currently, the Puzzle M801 board has no compatible specified for it
and just uses the generic Armada ones.
This prevents projects like OpenWrt that depend on using the compatible
on DT aware systems to actually identify the board for configuration.

So, add the vendor and board specific compatible like its common practice
with other boards.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
---
 arch/arm64/boot/dts/marvell/armada-8040-puzzle-m801.dts | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/marvell/armada-8040-puzzle-m801.dts b/arch/arm64/boot/dts/marvell/armada-8040-puzzle-m801.dts
index dac85fa748de..a6126e4c7fbd 100644
--- a/arch/arm64/boot/dts/marvell/armada-8040-puzzle-m801.dts
+++ b/arch/arm64/boot/dts/marvell/armada-8040-puzzle-m801.dts
@@ -13,7 +13,8 @@
 
 / {
 	model = "IEI-Puzzle-M801";
-	compatible = "marvell,armada8040", "marvell,armada-ap806-quad", "marvell,armada-ap806";
+	compatible = "iei,puzzle-m801", "marvell,armada8040",
+		     "marvell,armada-ap806-quad", "marvell,armada-ap806";
 
 	aliases {
 		ethernet0 = &cp0_eth0;
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH 2/2] arm64: dts: marvell: puzzle-m801: update model name
  2021-09-28 11:00 [PATCH 1/2] arm64: dts: marvell: puzzle-m801: add board specific compatible Robert Marko
@ 2021-09-28 11:00 ` Robert Marko
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Marko @ 2021-09-28 11:00 UTC (permalink / raw)
  To: andrew, gregory.clement, sebastian.hesselbarth, robh+dt,
	linux-arm-kernel, devicetree, linux-kernel
  Cc: Robert Marko

Update the model name to match the vendor advertised one.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
---
 arch/arm64/boot/dts/marvell/armada-8040-puzzle-m801.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/marvell/armada-8040-puzzle-m801.dts b/arch/arm64/boot/dts/marvell/armada-8040-puzzle-m801.dts
index a6126e4c7fbd..24431ec6a0dc 100644
--- a/arch/arm64/boot/dts/marvell/armada-8040-puzzle-m801.dts
+++ b/arch/arm64/boot/dts/marvell/armada-8040-puzzle-m801.dts
@@ -3,7 +3,7 @@
  * Copyright (C) 2016 Marvell Technology Group Ltd.
  * Copyright (C) 2020 Sartura Ltd.
  *
- * Device Tree file for IEI Puzzle-M801
+ * Device Tree file for iEi Puzzle-M801
  */
 
 #include "armada-8040.dtsi"
@@ -12,7 +12,7 @@
 #include <dt-bindings/leds/common.h>
 
 / {
-	model = "IEI-Puzzle-M801";
+	model = "iEi Puzzle-M801";
 	compatible = "iei,puzzle-m801", "marvell,armada8040",
 		     "marvell,armada-ap806-quad", "marvell,armada-ap806";
 
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-28 11:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-28 11:00 [PATCH 1/2] arm64: dts: marvell: puzzle-m801: add board specific compatible Robert Marko
2021-09-28 11:00 ` [PATCH 2/2] arm64: dts: marvell: puzzle-m801: update model name Robert Marko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).