rtc: k3: detect SoC to determine erratum fix
authorBryan Brattlof <bb@ti.com>
Tue, 16 Aug 2022 17:33:12 +0000 (12:33 -0500)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 23 Aug 2022 20:25:28 +0000 (22:25 +0200)
commit1e2585b49d849196f359bbf86677943fe2d80afe
treedff1614e102a0aa2b1b6d1e9f20e64d098014f9b
parentf2c5671a64d2a79341e8ee45d5933f6a76960189
rtc: k3: detect SoC to determine erratum fix

To allow new SoCs to use this device without a new compatible string,
use a soc_device_attribute list to define all SoCs affected by the TI
i2327 erratum and require help from their bootloaders to unlock this
device.

Signed-off-by: Bryan Brattlof <bb@ti.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20220816173312.23243-2-bb@ti.com
drivers/rtc/rtc-ti-k3.c