]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
rtc: x1205: Fix Xicor X1205 vendor prefix
authorRob Herring (Arm) <robh@kernel.org>
Thu, 21 Aug 2025 21:57:02 +0000 (16:57 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 19 Oct 2025 14:23:06 +0000 (16:23 +0200)
[ Upstream commit 606d19ee37de3a72f1b6e95a4ea544f6f20dbb46 ]

The vendor for the X1205 RTC is not Xircom, but Xicor which was acquired
by Intersil. Since the I2C subsystem drops the vendor prefix for driver
matching, the vendor prefix hasn't mattered.

Fixes: 6875404fdb44 ("rtc: x1205: Add DT probing support")
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20250821215703.869628-2-robh@kernel.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/rtc/rtc-x1205.c

index f587afa843573d2c7fa69a035f5b5886337c4544..6ae7b6f1f3167988da8679cd4ab3a22edd5c9b22 100644 (file)
@@ -669,7 +669,7 @@ static const struct i2c_device_id x1205_id[] = {
 MODULE_DEVICE_TABLE(i2c, x1205_id);
 
 static const struct of_device_id x1205_dt_ids[] = {
-       { .compatible = "xircom,x1205", },
+       { .compatible = "xicor,x1205", },
        {},
 };
 MODULE_DEVICE_TABLE(of, x1205_dt_ids);