aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/patches-4.19/950-0224-lirc-rpi-Remove-in-favour-of-gpio-ir.patch
blob: 2aafb20c6e473ec2af02682f6f1ac9dd91f58609 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
From e2c77b86039e8f16d6dd75e06a50dc7290e95233 Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Fri, 30 Nov 2018 18:55:23 +0000
Subject: [PATCH 224/703] lirc-rpi: Remove in favour of gpio-ir

---
 arch/arm/boot/dts/overlays/Makefile           |  1 -
 .../boot/dts/overlays/lirc-rpi-overlay.dts    | 57 -------------------
 2 files changed, 58 deletions(-)
 delete mode 100644 arch/arm/boot/dts/overlays/lirc-rpi-overlay.dts

--- a/arch/arm/boot/dts/overlays/Makefile
+++ b/arch/arm/boot/dts/overlays/Makefile
@@ -68,7 +68,6 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \
 	jedec-spi-nor.dtbo \
 	justboom-dac.dtbo \
 	justboom-digi.dtbo \
-	lirc-rpi.dtbo \
 	ltc294x.dtbo \
 	mbed-dac.dtbo \
 	mcp23017.dtbo \
--- a/arch/arm/boot/dts/overlays/lirc-rpi-overlay.dts
+++ /dev/null
@@ -1,57 +0,0 @@
-// Definitions for lirc-rpi module
-/dts-v1/;
-/plugin/;
-
-/ {
-	compatible = "brcm,bcm2708";
-
-	fragment@0 {
-		target-path = "/";
-		__overlay__ {
-			lirc_rpi: lirc_rpi {
-				compatible = "rpi,lirc-rpi";
-				pinctrl-names = "default";
-				pinctrl-0 = <&lirc_pins>;
-				status = "okay";
-
-				// Override autodetection of IR receiver circuit
-				// (0 = active high, 1 = active low, -1 = no override )
-				rpi,sense = <0xffffffff>;
-
-				// Software carrier
-				// (0 = off, 1 = on)
-				rpi,softcarrier = <1>;
-
-				// Invert output
-				// (0 = off, 1 = on)
-				rpi,invert = <0>;
-
-				// Enable debugging messages
-				// (0 = off, 1 = on)
-				rpi,debug = <0>;
-			};
-		};
-	};
-
-	fragment@1 {
-		target = <&gpio>;
-		__overlay__ {
-			lirc_pins: lirc_pins {
-				brcm,pins = <17 18>;
-				brcm,function = <1 0>; // out in
-				brcm,pull = <0 1>; // off down
-			};
-		};
-	};
-
-	__overrides__ {
-		gpio_out_pin =  <&lirc_pins>,"brcm,pins:0";
-		gpio_in_pin =   <&lirc_pins>,"brcm,pins:4";
-		gpio_in_pull =  <&lirc_pins>,"brcm,pull:4";
-
-		sense =         <&lirc_rpi>,"rpi,sense:0";
-		softcarrier =   <&lirc_rpi>,"rpi,softcarrier:0";
-		invert =        <&lirc_rpi>,"rpi,invert:0";
-		debug =         <&lirc_rpi>,"rpi,debug:0";
-	};
-};