From 48c144f8ef9c6b35dc76b803bf8277131993381f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pali=20Roh=C3=A1r?= Date: Mon, 14 Feb 2022 11:34:22 +0100 Subject: [PATCH] rtc: ds1307: Add bindings for microchip, mcp7940x MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Compatible string microchip,mcp7940x is used by Turris Mox DTS file in Linux kernel and U-Boot ds1307.c driver works fine with it. Signed-off-by: Pali Rohár Reviewed-by: Stefan Roese --- drivers/rtc/ds1307.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/rtc/ds1307.c b/drivers/rtc/ds1307.c index 1963565c5e..40ca66bdce 100644 --- a/drivers/rtc/ds1307.c +++ b/drivers/rtc/ds1307.c @@ -358,6 +358,7 @@ static const struct udevice_id ds1307_rtc_ids[] = { { .compatible = "dallas,ds1337", .data = ds_1337 }, { .compatible = "dallas,ds1339", .data = ds_1339 }, { .compatible = "dallas,ds1340", .data = ds_1340 }, + { .compatible = "microchip,mcp7940x", .data = mcp794xx }, { .compatible = "microchip,mcp7941x", .data = mcp794xx }, { .compatible = "st,m41t11", .data = m41t11 }, { } -- 2.39.5