brcm2708: update linux 4.4 patches to latest version
[openwrt/openwrt.git] / target / linux / brcm2708 / patches-4.4 / 0242-Add-support-for-mcp7940x-family-of-RTC.patch
1 From 21b5809ad5be5bd18608c9258ff5f571065f8ff9 Mon Sep 17 00:00:00 2001
2 From: Aaron Shaw <shawaj@gmail.com>
3 Date: Fri, 8 Apr 2016 00:06:00 +0100
4 Subject: [PATCH 242/381] Add support for mcp7940x family of RTC
5
6 ---
7 arch/arm/boot/dts/overlays/README | 2 ++
8 arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts | 6 ++++++
9 2 files changed, 8 insertions(+)
10
11 --- a/arch/arm/boot/dts/overlays/README
12 +++ b/arch/arm/boot/dts/overlays/README
13 @@ -435,6 +435,8 @@ Params: ds1307 Select t
14
15 ds3231 Select the DS3231 device
16
17 + mcp7940x Select the MCP7940x device
18 +
19 mcp7941x Select the MCP7941x device
20
21 pcf2127 Select the PCF2127 device
22 --- a/arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts
23 +++ b/arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts
24 @@ -23,6 +23,11 @@
25 reg = <0x68>;
26 status = "disable";
27 };
28 + mcp7940x: mcp7940x@6f {
29 + compatible = "microchip,mcp7940x";
30 + reg = <0x6f>;
31 + status = "disable";
32 + };
33 mcp7941x: mcp7941x@6f {
34 compatible = "microchip,mcp7941x";
35 reg = <0x6f>;
36 @@ -54,6 +59,7 @@
37 ds1307 = <&ds1307>,"status";
38 ds1339 = <&ds1339>,"status";
39 ds3231 = <&ds3231>,"status";
40 + mcp7940x = <&mcp7940x>,"status";
41 mcp7941x = <&mcp7941x>,"status";
42 pcf2127 = <&pcf2127>,"status";
43 pcf8523 = <&pcf8523>,"status";