All of lore.kernel.org
 help / color / mirror / Atom feed
From: "hpp.iscas" <hppiscas@163.com>
To: Guenter Roeck <linux@roeck-us.net>
Cc: "hpp.iscas" <hppiscas@163.com>,
	linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org,
	Peter Yin <peteryin.openbmc@gmail.com>
Subject: [PATCH] hwmon: (mp5990) Publish the OF module aliases
Date: Sat,  5 Sep 2026 21:37:21 +0800	[thread overview]
Message-ID: <20260905133721.65588-1-hppiscas@163.com> (raw)

MP5990 and MP5998 Device Tree clients are matched through
mp5990_of_match. Only the I2C ID table is currently published, although
Device Tree clients emit OF modalias events.

Publish the existing OF table without changing PMBus operations or
per-chip match data.

Fixes: ce0742404ad7 ("hwmon: (pmbus) Add support for MPS Multi-phase mp5990")
Signed-off-by: hpp.iscas <hppiscas@163.com>
---
 drivers/hwmon/pmbus/mp5990.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/hwmon/pmbus/mp5990.c b/drivers/hwmon/pmbus/mp5990.c
index f8a5d1b..d514395 100644
--- a/drivers/hwmon/pmbus/mp5990.c
+++ b/drivers/hwmon/pmbus/mp5990.c
@@ -213,6 +213,7 @@ static const struct of_device_id mp5990_of_match[] = {
 	{ .compatible = "mps,mp5998", .data = (void *)mp5998 },
 	{}
 };
+MODULE_DEVICE_TABLE(of, mp5990_of_match);
 
 static struct i2c_driver mp5990_driver = {
 	.driver = {


             reply	other threads:[~2026-09-05 13:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-05 13:37 hpp.iscas [this message]
2026-09-05 13:44 ` [PATCH] hwmon: (mp5990) Publish the OF module aliases sashiko-bot

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=20260905133721.65588-1-hppiscas@163.com \
    --to=hppiscas@163.com \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=peteryin.openbmc@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.