From: Simon Goldschmidt Date: Tue, 12 Mar 2019 22:01:08 +0100 Subject: [U-Boot] [PATCH 2/4] rtc: m41t62: add compatible for m41t82 In-Reply-To: <20190312210110.30910-1-simon.k.r.goldschmidt@gmail.com> References: <20190312210110.30910-1-simon.k.r.goldschmidt@gmail.com> Message-ID: <20190312210110.30910-3-simon.k.r.goldschmidt@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This adds a compatible string for m41t82. This ensures that this driver can be used for m41t82 in DM mode, too (as it was usable for this model in non-DM mode before). This patch ensures this driver works on socfpga_socrates. Signed-off-by: Simon Goldschmidt --- drivers/rtc/m41t62.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/rtc/m41t62.c b/drivers/rtc/m41t62.c index 2ee7e00b02..4b5bf8e7a0 100644 --- a/drivers/rtc/m41t62.c +++ b/drivers/rtc/m41t62.c @@ -163,6 +163,7 @@ static const struct rtc_ops m41t62_rtc_ops = { static const struct udevice_id m41t62_rtc_ids[] = { { .compatible = "st,m41t62" }, + { .compatible = "st,m41t82" }, { .compatible = "microcrystal,rv4162" }, { } }; -- 2.17.1