From e098ba7a759f15526a3259abb1a0a0df6d8c2d40 Mon Sep 17 00:00:00 2001 From: deadman96385 Date: Thu, 1 Jul 2021 16:34:15 -0700 Subject: [PATCH] arm64: dts: sti6140d350: Enable IR * 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 | 3 +- .../boot/dts/amlogic/sti6140d350_overlay.dts | 31 +++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 arch/arm64/boot/dts/amlogic/sti6140d350_overlay.dts diff --git a/arch/arm64/boot/dts/amlogic/Makefile b/arch/arm64/boot/dts/amlogic/Makefile index 07afe4fd1820..e9c87a93af10 100644 --- a/arch/arm64/boot/dts/amlogic/Makefile +++ b/arch/arm64/boot/dts/amlogic/Makefile @@ -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 index 000000000000..375faac22585 --- /dev/null +++ b/arch/arm64/boot/dts/amlogic/sti6140d350_overlay.dts @@ -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"; + }; + }; + }; +}; -- 2.20.1