brcm2708-gpu-fw: update to latest version
[oweals/openwrt.git] / target / linux / brcm2708 / patches-4.4 / 0381-Implement-a-wakeup-source-option-for-the-i2c-rtc-Dev.patch
1 From 23a16f885df81479a81bc6ba3ebbb4a25716ca6c Mon Sep 17 00:00:00 2001
2 From: Nicolas Boullis <nboullis@debian.org>
3 Date: Sat, 4 Jun 2016 00:57:06 +0200
4 Subject: [PATCH] Implement a "wakeup-source" option for the i2c-rtc DeviceTree
5  overlay.
6
7 See: https://github.com/raspberrypi/linux/pull/1511
8 ---
9  arch/arm/boot/dts/overlays/README              | 3 +++
10  arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts | 4 ++++
11  2 files changed, 7 insertions(+)
12
13 --- a/arch/arm/boot/dts/overlays/README
14 +++ b/arch/arm/boot/dts/overlays/README
15 @@ -445,6 +445,9 @@ Params: ds1307                  Select t
16  
17          trickle-resistor-ohms   Resistor value for trickle charge (DS1339-only)
18  
19 +        wakeup-source           Specify that the RTC can be used as a wakeup
20 +                                source
21 +
22  
23  Name:   i2c0-bcm2708
24  Info:   Enable the i2c_bcm2708 driver for the i2c0 bus. Not all pin combinations
25 --- a/arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts
26 +++ b/arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts
27 @@ -65,5 +65,9 @@
28                 pcf8523 = <&pcf8523>,"status";
29                 pcf8563 = <&pcf8563>,"status";
30                 trickle-resistor-ohms = <&ds1339>,"trickle-resistor-ohms:0";
31 +               wakeup-source = <&ds1339>,"wakeup-source?",
32 +                               <&ds3231>,"wakeup-source?",
33 +                               <&mcp7940x>,"wakeup-source?",
34 +                               <&mcp7941x>,"wakeup-source?";
35         };
36  };