public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: Flaviu Nistor <flaviu.nistor@googlemail.com>
Cc: Flaviu Nistor <flaviu.nistor@gmail.com>,
	Jean Delvare <jdelvare@suse.com>,
	Guenter Roeck <linux@roeck-us.net>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Jonathan Corbet <corbet@lwn.net>,
	linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org
Subject: [PATCH 0/2] hwmon: Add support for TI TPS389008
Date: Wed, 19 Mar 2025 19:02:27 +0200	[thread overview]
Message-ID: <20250319170234.63723-1-flaviu.nistor@gmail.com> (raw)

This series adds support and documentation for the TI TPS389008,
TPS389006 and TPS389004 voltage monitor IC's.

This I2C device provides 8 bit ADC conversion result for all
input channels.

The proposed driver implements the logic to perform the ADC read.

The features this driver does not support (alarms and thresholds
for the alarms) have been documented in the "Known Issues" section.

The complete supported functionality has been tested with a TPS389008
and TPS389006 voltage monitors connected to a Raspberry Pi 4.
Different device tree node definitions have been tested with success.

Signed-off-by: Flaviu Nistor <flaviu.nistor@gmail.com>

Flaviu Nistor (2):
  hwmon: Add support for TI TPS389008
  dt-bindings: hwmon: Add TI TPS389008

 .../bindings/hwmon/ti,tps389008.yaml          | 140 ++++++
 Documentation/hwmon/index.rst                 |   1 +
 Documentation/hwmon/tps389008.rst             |  56 +++
 MAINTAINERS                                   |   8 +
 drivers/hwmon/Kconfig                         |  10 +
 drivers/hwmon/Makefile                        |   1 +
 drivers/hwmon/tps389008.c                     | 466 ++++++++++++++++++
 7 files changed, 682 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/ti,tps389008.yaml
 create mode 100644 Documentation/hwmon/tps389008.rst
 create mode 100644 drivers/hwmon/tps389008.c

-- 
2.43.0


             reply	other threads:[~2025-03-19 17:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-19 17:02 Flaviu Nistor [this message]
2025-03-19 17:02 ` [PATCH 1/2] hwmon: Add support for TI TPS389008 Flaviu Nistor
2025-03-19 21:21   ` Guenter Roeck
2025-03-19 17:02 ` [PATCH 2/2] dt-bindings: hwmon: Add " Flaviu Nistor
2025-03-19 18:25   ` Rob Herring (Arm)
2025-03-19 19:19   ` Krzysztof Kozlowski

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=20250319170234.63723-1-flaviu.nistor@gmail.com \
    --to=flaviu.nistor@googlemail.com \
    --cc=conor+dt@kernel.org \
    --cc=corbet@lwn.net \
    --cc=devicetree@vger.kernel.org \
    --cc=flaviu.nistor@gmail.com \
    --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