]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rtc: m41t62: add compatible for m41st87
authorMarek Vasut <marex@denx.de>
Sat, 15 Feb 2020 13:46:10 +0000 (14:46 +0100)
committerMarek Vasut <marex@denx.de>
Sun, 1 Mar 2020 21:07:32 +0000 (22:07 +0100)
This adds a compatible string for m41st87. This ensures that this driver
can be used for m41st87.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Cc: Stefan Roese <sr@denx.de>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/rtc/m41t62.c

index 6161b7671284aaa0ae353e7642b00fb2f23170f6..f52e1291a98139372cb947eab6741c17f519eb94 100644 (file)
@@ -173,6 +173,7 @@ static const struct rtc_ops m41t62_rtc_ops = {
 static const struct udevice_id m41t62_rtc_ids[] = {
        { .compatible = "st,m41t62" },
        { .compatible = "st,m41t82" },
+       { .compatible = "st,m41st87" },
        { .compatible = "microcrystal,rv4162" },
        { }
 };