bcm27xx: import latest patches from the RPi foundation
[openwrt/openwrt.git] / target / linux / bcm27xx / patches-5.4 / 950-0753-overlays-i2c-rtc-Fix-trickle-resistor-ohms-param.patch
1 From 7871e3600c1190c6cf7968e280bd2fd1ec8bbff2 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.com>
3 Date: Fri, 29 May 2020 14:41:13 +0100
4 Subject: [PATCH] overlays: i2c-rtc: Fix trickle-resistor-ohms param
5
6 The abx80x implementation of the trickle-resistor-ohms parameter is
7 missing the ":0" indicating that the target is an integer/cell value.
8
9 See: https://github.com/raspberrypi/linux/issues/3642
10
11 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
12 ---
13 arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16 --- a/arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts
17 +++ b/arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts
18 @@ -229,7 +229,7 @@
19 <&m41t62>, "reg:0";
20 trickle-diode-type = <&abx80x>,"abracon,tc-diode";
21 trickle-resistor-ohms = <&ds1339>,"trickle-resistor-ohms:0",
22 - <&abx80x>,"abracon,tc-resistor",
23 + <&abx80x>,"abracon,tc-resistor:0",
24 <&rv3028>,"trickle-resistor-ohms:0";
25 backup-switchover-mode = <&rv3028>,"backup-switchover-mode:0";
26 wakeup-source = <&ds1339>,"wakeup-source?",