blob: a702ef71373a29c824ef661f331b97aefedbadad [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001From 7871e3600c1190c6cf7968e280bd2fd1ec8bbff2 Mon Sep 17 00:00:00 2001
2From: Phil Elwell <phil@raspberrypi.com>
3Date: Fri, 29 May 2020 14:41:13 +0100
4Subject: [PATCH] overlays: i2c-rtc: Fix trickle-resistor-ohms param
5
6The abx80x implementation of the trickle-resistor-ohms parameter is
7missing the ":0" indicating that the target is an integer/cell value.
8
9See: https://github.com/raspberrypi/linux/issues/3642
10
11Signed-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?",