Linux Documentation
 help / color / mirror / Atom feed
From: Leo Yang <leo.yang.sy0@gmail.com>
To: jdelvare@suse.com, linux@roeck-us.net, robh@kernel.org,
	davem@davemloft.net, krzk+dt@kernel.org, conor+dt@kernel.org,
	Leo-Yang@quantatw.com, corbet@lwn.net,
	Delphine_CC_Chiu@Wiwynn.com, linux-hwmon@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-doc@vger.kernel.org
Subject: [PATCH v2 0/2] hwmon: Add support for INA233
Date: Fri, 10 Jan 2025 16:15:44 +0800	[thread overview]
Message-ID: <20250110081546.61667-1-Leo-Yang@quantatw.com> (raw)

Support ina233 driver with binding documents.

---
Change in v2:    
  1. Merge the binding files into ti,ina2xx.yaml.  
  2. Fix typo and non-sense dev_err.
  3. Improve program logic.
  4. pmbus_driver_info changed to be allocated in probe.
  - Link to v1: https://lore.kernel.org/linux-hwmon/20250106071337.3017926-1-Leo-Yang@quantatw.com/
---
Change in v1:     
  1. Change to pmbus standard practice of getting MFR_READ_VSHUNT
     through vmon.
  2. Change the way MFR_CALIBRATION is hard-coded to be obtained by
     calculation.
  - Link to origin: https://lore.kernel.org/linux-hwmon/20230920054739.1561080-1-Delphine_CC_Chiu@wiwynn.com/
---

Leo Yang (2):
  dt-bindings: hwmon: ti,ina2xx: Add INA233 device
  hwmon: Add driver for TI INA232 Current and Power Monitor

 .../devicetree/bindings/hwmon/ti,ina2xx.yaml  |  17 ++
 Documentation/hwmon/ina233.rst                |  77 ++++++++
 MAINTAINERS                                   |   8 +
 drivers/hwmon/pmbus/Kconfig                   |   9 +
 drivers/hwmon/pmbus/Makefile                  |   1 +
 drivers/hwmon/pmbus/ina233.c                  | 184 ++++++++++++++++++
 6 files changed, 296 insertions(+)
 create mode 100644 Documentation/hwmon/ina233.rst
 create mode 100644 drivers/hwmon/pmbus/ina233.c

-- 
2.39.2


             reply	other threads:[~2025-01-10  8:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-10  8:15 Leo Yang [this message]
2025-01-10  8:15 ` [PATCH v2 1/2] dt-bindings: hwmon: ti,ina2xx: Add INA233 device Leo Yang
2025-01-10  8:22   ` Krzysztof Kozlowski
2025-01-10  8:36   ` Krzysztof Kozlowski
2025-01-10  8:15 ` [PATCH v2 2/2] hwmon: Add driver for TI INA232 Current and Power Monitor Leo Yang
2025-01-10  8:25   ` Krzysztof Kozlowski
2025-01-10 16:22   ` Guenter Roeck
2025-01-14  8:02     ` Leo Yang
2025-01-14 19:23       ` Guenter Roeck
2025-01-10 21:19   ` Christophe JAILLET

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=20250110081546.61667-1-Leo-Yang@quantatw.com \
    --to=leo.yang.sy0@gmail.com \
    --cc=Delphine_CC_Chiu@Wiwynn.com \
    --cc=Leo-Yang@quantatw.com \
    --cc=conor+dt@kernel.org \
    --cc=corbet@lwn.net \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=jdelvare@suse.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=robh@kernel.org \
    /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