[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241224-gpio74-v2-2-bbcf14183191@posteo.net>
Date: Tue, 24 Dec 2024 09:02:11 +0100
From: J. Neuschäfer via B4 Relay <devnull+j.ne.posteo.net@...nel.org>
To: Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <brgl@...ev.pl>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Maxime Ripard <mripard@...nel.org>
Cc: linux-gpio@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
J. Neuschäfer <j.ne@...teo.net>
Subject: [PATCH v2 2/3] gpio: 74x164: Add On Semi MC74HC595A compat
From: "J. Neuschäfer" <j.ne@...teo.net>
The On Semi MC74HC595A/MC74HCT595A is another part that is compatible
with the Fairchild MM74HC595. This patch adds it to the driver.
Reviewed-by: Linus Walleij <linus.walleij@...aro.org>
Signed-off-by: J. Neuschäfer <j.ne@...teo.net>
---
v2:
- Add Linus Walleij's R-b
- Add missing spi_device_id entry, required by the SPI core
---
drivers/gpio/gpio-74x164.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpio/gpio-74x164.c b/drivers/gpio/gpio-74x164.c
index fca6cd2eb1ddacb3c330111343ebecf9b7c9234d..2ce00e90ea5650673420d7852999d13c298c2db6 100644
--- a/drivers/gpio/gpio-74x164.c
+++ b/drivers/gpio/gpio-74x164.c
@@ -165,6 +165,7 @@ static void gen_74x164_remove(struct spi_device *spi)
static const struct spi_device_id gen_74x164_spi_ids[] = {
{ .name = "74hc595" },
+ { .name = "74hc595a" },
{ .name = "74lvc594" },
{},
};
@@ -173,6 +174,7 @@ MODULE_DEVICE_TABLE(spi, gen_74x164_spi_ids);
static const struct of_device_id gen_74x164_dt_ids[] = {
{ .compatible = "fairchild,74hc595" },
{ .compatible = "nxp,74lvc594" },
+ { .compatible = "onnn,74hc595a" },
{},
};
MODULE_DEVICE_TABLE(of, gen_74x164_dt_ids);
--
2.45.2
Powered by blists - more mailing lists