From: Peter Robinson <pbrobinson@gmail.com>
To: Guenter Roeck <linux@roeck-us.net>, linux-hwmon@vger.kernel.org
Cc: Peter Robinson <pbrobinson@gmail.com>
Subject: [PATCH] hwmon: emc2305: Add missing device tree compatibles
Date: Fri, 10 Jul 2026 12:21:06 +0100 [thread overview]
Message-ID: <20260710112110.466240-1-pbrobinson@gmail.com> (raw)
Add the missing device tree compatibles for all the variants
so they can be specified. There's at least the use of emc2301
already.
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
---
drivers/hwmon/emc2305.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/hwmon/emc2305.c b/drivers/hwmon/emc2305.c
index eef3b021671b0..38034d7a30901 100644
--- a/drivers/hwmon/emc2305.c
+++ b/drivers/hwmon/emc2305.c
@@ -762,6 +762,9 @@ static void emc2305_shutdown(struct i2c_client *client)
}
static const struct of_device_id of_emc2305_match_table[] = {
+ { .compatible = "microchip,emc2301", },
+ { .compatible = "microchip,emc2302", },
+ { .compatible = "microchip,emc2303", },
{ .compatible = "microchip,emc2305", },
{},
};
--
2.55.0
next reply other threads:[~2026-07-10 11:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-10 11:21 Peter Robinson [this message]
2026-07-10 11:33 ` [PATCH] hwmon: emc2305: Add missing device tree compatibles sashiko-bot
2026-07-10 14:20 ` Guenter Roeck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260710112110.466240-1-pbrobinson@gmail.com \
--to=pbrobinson@gmail.com \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux@roeck-us.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox