From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6A57EC433F5 for ; Mon, 14 Feb 2022 10:35:24 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1831883BC3; Mon, 14 Feb 2022 11:35:22 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="o+A3t9uX"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 727EF83BF2; Mon, 14 Feb 2022 11:35:12 +0100 (CET) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8973183BB8 for ; Mon, 14 Feb 2022 11:34:59 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 03D5C61354; Mon, 14 Feb 2022 10:34:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AB148C340EF; Mon, 14 Feb 2022 10:34:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1644834897; bh=ytxeAP/zza46DrLwH8JsEojrmQTUW7bDbVZcQfaQRqM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=o+A3t9uX0BdjlufCke3HCYYosuVpGIk0mC7a7Yb0rkS0wIX/M5HY9SAUIP60rhnIy UFbzqXdxUTrpAjJMH2BVClr3Su8wv4/jpp2ngW6PctPL8b3zj9yjkqV66FiHVAKEGb pB6Cc/4p1wGiOO6/Hj/qjnCsj/V88ffkLLRU15IEBiE7SekFRNxxoQh1Bbrpx+iTV7 ljEkjri8lv5ADhizO3OQqfrpIpiICL4k7QPXx/BMCfxZoWbk1/gt3+SKO0GYmzYzLn FH8iBasYWF0OcOngFg5pKjS8L9vCAOzmEpu3+BnCHdA88DOETwrHeNK1TDDSK/HYR+ dWZs4tuG8Yqug== Received: by pali.im (Postfix) id 6A618153C; Mon, 14 Feb 2022 11:34:55 +0100 (CET) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Stefan Roese , Konstantin Porotchkin , Marek Behun , Vladimir Vid , Luka Perkov , Luis Torres , Scott Roberts , Paul Arola Cc: u-boot@lists.denx.de Subject: [PATCH u-boot-marvell 1/9] rtc: ds1307: Add bindings for microchip, mcp7940x Date: Mon, 14 Feb 2022 11:34:22 +0100 Message-Id: <20220214103430.24242-2-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220214103430.24242-1-pali@kernel.org> References: <20220214103430.24242-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean 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 --- drivers/rtc/ds1307.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/rtc/ds1307.c b/drivers/rtc/ds1307.c index 1963565c5ee5..40ca66bdceee 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.20.1