All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eddie James <eajames@linux.ibm.com>
To: linux-hwmon@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
	jdelvare@suse.com, linux@roeck-us.net, mark.rutland@arm.com,
	robh+dt@kernel.org, Eddie James <eajames@linux.ibm.com>
Subject: [PATCH 0/2] hwmon: (pmbus/ibm-cffps) Add version detection capability
Date: Wed,  9 Oct 2019 14:11:00 -0500	[thread overview]
Message-ID: <1570648262-25383-1-git-send-email-eajames@linux.ibm.com> (raw)

The IBM common form factor power supply driver may need to detect which PSU
version is connected, since some systems can use a variety of power supplies.
This series adds a new compatible string with no version number, and some code
to parse the CCIN of the PSU to determine which version is applicable.

Eddie James (2):
  dt-bindings: hwmon: Document ibm,cffps compatible string
  hwmon: (pmbus/ibm-cffps) Add version detection capability

 .../devicetree/bindings/hwmon/ibm,cffps1.txt       |  3 ++
 drivers/hwmon/pmbus/ibm-cffps.c                    | 37 +++++++++++++++++++---
 2 files changed, 36 insertions(+), 4 deletions(-)

-- 
1.8.3.1


             reply	other threads:[~2019-10-09 19:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-09 19:11 Eddie James [this message]
2019-10-09 19:11 ` [PATCH 1/2] dt-bindings: hwmon: Document ibm,cffps compatible string Eddie James
2019-10-15 22:32   ` Rob Herring
2019-10-17 13:35   ` Guenter Roeck
2019-10-09 19:11 ` [PATCH 2/2] hwmon: (pmbus/ibm-cffps) Add version detection capability Eddie James
2019-10-17 13:36   ` 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=1570648262-25383-1-git-send-email-eajames@linux.ibm.com \
    --to=eajames@linux.ibm.com \
    --cc=devicetree@vger.kernel.org \
    --cc=jdelvare@suse.com \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@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 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.