]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
mfd: rsmu: Add 8a34002 support
authorMatthew Bystrin <dev.mbstr@gmail.com>
Wed, 29 Apr 2026 07:20:47 +0000 (10:20 +0300)
committerLee Jones <lee@kernel.org>
Wed, 17 Jun 2026 10:31:13 +0000 (11:31 +0100)
Add compatible string, i2c_devcie_id and spi_devcie_id to support
8a34002.

Signed-off-by: Matthew Bystrin <dev.mbstr@gmail.com>
Link: https://patch.msgid.link/20260429072047.1111427-3-dev.mbstr@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/rsmu_i2c.c
drivers/mfd/rsmu_spi.c

index 9e5fc8259eec2eaec64d74a6497a3f4f2baf4d77..c57795ed20f4e7a23602106d00c9cbf4819ed47d 100644 (file)
@@ -330,6 +330,7 @@ static void rsmu_i2c_remove(struct i2c_client *client)
 static const struct i2c_device_id rsmu_i2c_id[] = {
        { "8a34000",  RSMU_CM },
        { "8a34001",  RSMU_CM },
+       { "8a34002",  RSMU_CM },
        { "82p33810", RSMU_SABRE },
        { "82p33811", RSMU_SABRE },
        { "8v19n850", RSMU_SL },
@@ -341,6 +342,7 @@ MODULE_DEVICE_TABLE(i2c, rsmu_i2c_id);
 static const struct of_device_id rsmu_i2c_of_match[] = {
        { .compatible = "idt,8a34000",  .data = (void *)RSMU_CM },
        { .compatible = "idt,8a34001",  .data = (void *)RSMU_CM },
+       { .compatible = "idt,8a34002",  .data = (void *)RSMU_CM },
        { .compatible = "idt,82p33810", .data = (void *)RSMU_SABRE },
        { .compatible = "idt,82p33811", .data = (void *)RSMU_SABRE },
        { .compatible = "idt,8v19n850", .data = (void *)RSMU_SL },
index c931d8cea0a1a908bb8ead816ef851b14b4ffe46..e07f21482439e5196684d0f48acfb750f2601ace 100644 (file)
@@ -241,6 +241,7 @@ static void rsmu_spi_remove(struct spi_device *client)
 static const struct spi_device_id rsmu_spi_id[] = {
        { "8a34000",  RSMU_CM },
        { "8a34001",  RSMU_CM },
+       { "8a34002",  RSMU_CM },
        { "82p33810", RSMU_SABRE },
        { "82p33811", RSMU_SABRE },
        {}
@@ -250,6 +251,7 @@ MODULE_DEVICE_TABLE(spi, rsmu_spi_id);
 static const struct of_device_id rsmu_spi_of_match[] = {
        { .compatible = "idt,8a34000",  .data = (void *)RSMU_CM },
        { .compatible = "idt,8a34001",  .data = (void *)RSMU_CM },
+       { .compatible = "idt,8a34002",  .data = (void *)RSMU_CM },
        { .compatible = "idt,82p33810", .data = (void *)RSMU_SABRE },
        { .compatible = "idt,82p33811", .data = (void *)RSMU_SABRE },
        {}