arm64: dts: sti6140d350: Enable IR
authordeadman96385 <seanhoyt963@gmail.com>
Thu, 1 Jul 2021 23:34:15 +0000 (16:34 -0700)
committerNolen Johnson <johnsonnolen@gmail.com>
Tue, 27 Jul 2021 14:50:17 +0000 (10:50 -0400)
* wade has an IR module, and it's stock remote works with it,
  even in recovery, which is awesome.
* `arch/arm64/boot/dts/amlogic/Makefile` apparently had no
  UNIX file-end newline, so now it does.

Change-Id: I19fbd84981f11af75b5e4ae10533d164cbcf18a3

arch/arm64/boot/dts/amlogic/Makefile
arch/arm64/boot/dts/amlogic/sti6140d350_overlay.dts [new file with mode: 0644]

index 07afe4fd18209053e48a227bc49b1aa3b06bb851..e9c87a93af1031859a55a5a1a1a654baf927604f 100644 (file)
@@ -113,6 +113,7 @@ dtb-y += sm1_s905x3_ac214_drm_buildroot.dtb
 dtb-y += sm1_s905x3_ac215.dtb
 dtb-y += sm1_s905y3_ac223.dtb
 dtb-y += sm1_s905y3_deadpool.dtb
+dtb-y += sti6140d350_overlay.dtb
 dtb-y += tl1_t962x2_t309.dtb
 dtb-y += tl1_t962x2_x301_1g.dtb
 dtb-y += tl1_t962x2_x301_1g_drm.dtb
@@ -139,4 +140,4 @@ dtb-y += txl_t962_p321_720p.dtb
 
 always         := $(dtb-y) $(dtbo-y)
 subdir-y       := $(dts-dirs)
-clean-files    := *.dtb *.dtbo
\ No newline at end of file
+clean-files    := *.dtb *.dtbo
diff --git a/arch/arm64/boot/dts/amlogic/sti6140d350_overlay.dts b/arch/arm64/boot/dts/amlogic/sti6140d350_overlay.dts
new file mode 100644 (file)
index 0000000..375faac
--- /dev/null
@@ -0,0 +1,31 @@
+/*
+ * arch/arm64/boot/dts/amlogic/sti6140d350.dts
+ *
+ * Copyright (C) 2017 Amlogic, Inc. 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/;
+/plugin/;
+
+/ {
+
+       fragment@5 {
+               target-path="/";
+               __overlay__ {
+                       rc@0xff808040 {
+                               status = "okay";
+                       };
+               };
+       };
+};