arm64: dts: amlogic: Use only meson64_odroidn2.dtb for OdroidN2 boards 19/253219/1 accepted/tizen/unified/20210210.052204 submit/tizen/20210209.230141
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 5 Feb 2021 13:15:35 +0000 (14:15 +0100)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 5 Feb 2021 13:52:07 +0000 (14:52 +0100)
Switch OdroidN2 board to use meson64_odroidn2.dtb. For Tizen, the DRM
subsystem is enabled for the all Amlogic boards, so there is no need to
have separate dtb with the DRM enabled for OdroidN2 board. This also
fixes DRM support for the OdroidN2+ variant, which use
meson64_odroidn2_plus.dtb, which is based on meson64_odroidn2.dts.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: Ideeefcaabe5355e59f564abba730e1ad88ea2ce8

arch/arm64/boot/dts/amlogic/Makefile
arch/arm64/boot/dts/amlogic/meson64_odroidn2.dts
arch/arm64/boot/dts/amlogic/meson64_odroidn2_drm.dts [deleted file]

index 81034e2..d18eaa5 100644 (file)
@@ -24,7 +24,6 @@ dtb-$(CONFIG_ARCH_MESON64_ODROIDC4) += meson64_odroidc4.dtb
 dtb-$(CONFIG_ARCH_MESON64_ODROIDC4) += meson64_odroidhc4.dtb
 dtb-$(CONFIG_ARCH_MESON64_ODROIDN2) += meson64_odroidn2.dtb
 dtb-$(CONFIG_ARCH_MESON64_ODROIDN2) += meson64_odroidn2_plus.dtb
-dtb-$(CONFIG_ARCH_MESON64_ODROIDN2) += meson64_odroidn2_drm.dtb
 
 subdir-$(CONFIG_ARCH_MESON64_ODROIDC4) += overlays/odroidc4
 subdir-$(CONFIG_ARCH_MESON64_ODROIDN2) += overlays/odroidn2
index a2a0ea9..4da3b15 100644 (file)
@@ -19,6 +19,7 @@
 
 #include "mesong12b_a.dtsi"
 #include "meson64_odroidn2.dtsi"
+#include "mesong12b_drm.dtsi"
 
 / {
        model = "Hardkernel ODROID-N2";
                status = "okay";
        };
 }; /* end of / */
+
+&meson_fb {
+       status = "disabled";
+};
+
+&drm_vpu {
+       status = "okay";
+       logo_addr = "0x7f800000";
+};
+
+&drm_amhdmitx {
+       status = "okay";
+       hdcp = "disabled";
+};
+
+&drm_lcd {
+       status = "disabled";
+};
diff --git a/arch/arm64/boot/dts/amlogic/meson64_odroidn2_drm.dts b/arch/arm64/boot/dts/amlogic/meson64_odroidn2_drm.dts
deleted file mode 100644 (file)
index 6c5aa70..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * arch/arm64/boot/dts/amlogic/meson64_odroidn2_drm.dts
- *
- * Copyright (C) 2019 Hardkernel Co,. Ltd. All rights reserved.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- */
-
-/dts-v1/;
-
-#include "meson64_odroidn2.dts"
-#include "mesong12b_drm.dtsi"
-
-&meson_fb {
-       status = "disabled";
-};
-
-&drm_vpu {
-       status = "okay";
-       logo_addr = "0x7f800000";
-};
-
-&drm_amhdmitx {
-       status = "okay";
-       hdcp = "disabled";
-};
-
-&drm_lcd {
-       status = "disabled";
-};