mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Virendra Kakade <virendra.kakade@ni.com>
To: <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<linux-pm@vger.kernel.org>
Cc: <lee.jones@linaro.org>, <robh+dt@kernel.org>,
	<mark.rutland@arm.com>, <sre@kernel.org>,
	<moritz.fischer@ettus.com>,
	Virendra Kakade <virendra.kakade@ni.com>
Subject: [RFC 0/6] Add support for Ettus Research E31x devices PMU
Date: Mon, 11 Feb 2019 19:01:37 -0600	[thread overview]
Message-ID: <20190212010143.3729-1-virendra.kakade@ni.com> (raw)

E31x devices are embedded devices made by Ettus Research which have
a Zynq based FPGA architecture. This code adds driver support for the
charger and battery to enable query of properties like voltage,
temperature, charge and online status among others via the device tree
on addition of overlay.

The driver follows a MFD structure with a parent driver and two
sub-drivers.

* Patch 1 and 2: Add device bindings and E31x-PMU MFD device driver

* Patch 3 and 4: Add device bindings for the charger and the sub-driver
  for it. This driver shares the register map from its parent MFD
  driver.

* Patch 5 and 6: Add device bindings for the battery and the sub-driver
  for it. Register map is re-used.

Virendra Kakade (6):
  mfd: Support for Ettus Research E31x devices PMU
  mfd: Support for Ettus Research E31x devices PMU
  power: supply: Ettus Research E31x charger driver
  power: supply: Ettus Research E31x charger driver
  power: supply: Ettus Research E31x battery driver
  power: supply: Ettus Research E31x battery driver

 .../devicetree/bindings/mfd/e31x-pmu.txt      |  28 ++
 .../bindings/power/supply/e31x-battery.txt    |  14 +
 .../bindings/power/supply/e31x-charger.txt    |  14 +
 drivers/mfd/Kconfig                           |   7 +
 drivers/mfd/Makefile                          |   2 +-
 drivers/mfd/e31x-pmu.c                        |  89 +++++
 drivers/power/supply/Kconfig                  |  12 +
 drivers/power/supply/Makefile                 |   2 +
 drivers/power/supply/e31x-battery.c           | 357 ++++++++++++++++++
 drivers/power/supply/e31x-charger.c           | 190 ++++++++++
 include/linux/mfd/e31x-pmu.h                  |  35 ++
 11 files changed, 749 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/mfd/e31x-pmu.txt
 create mode 100644 Documentation/devicetree/bindings/power/supply/e31x-battery.txt
 create mode 100644 Documentation/devicetree/bindings/power/supply/e31x-charger.txt
 create mode 100644 drivers/mfd/e31x-pmu.c
 create mode 100644 drivers/power/supply/e31x-battery.c
 create mode 100644 drivers/power/supply/e31x-charger.c
 create mode 100644 include/linux/mfd/e31x-pmu.h

-- 
2.17.1


             reply	other threads:[~2019-02-12  1:02 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-12  1:01 Virendra Kakade [this message]
2019-02-12  1:01 ` [RFC 1/6] mfd: Support " Virendra Kakade
2019-02-12 10:51   ` Moritz Fischer
2019-02-14  9:23   ` Lee Jones
2019-02-12  1:01 ` [RFC 2/6] " Virendra Kakade
2019-02-14  9:34   ` Lee Jones
2019-02-17 16:37     ` Moritz Fischer
2019-02-18  8:56       ` Lee Jones
2019-02-12  1:01 ` [RFC 3/6] power: supply: Ettus Research E31x charger driver Virendra Kakade
2019-02-14  9:38   ` Lee Jones
2019-02-25 23:38   ` Rob Herring
2019-02-12  1:01 ` [RFC 4/6] " Virendra Kakade
2019-02-12 21:46   ` Sebastian Reichel
2019-02-12  1:01 ` [RFC 5/6] power: supply: Ettus Research E31x battery driver Virendra Kakade
2019-02-14  9:39   ` Lee Jones
2019-02-12  1:01 ` [RFC 6/6] " Virendra Kakade
2019-02-12 22:26   ` Sebastian Reichel

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=20190212010143.3729-1-virendra.kakade@ni.com \
    --to=virendra.kakade@ni.com \
    --cc=devicetree@vger.kernel.org \
    --cc=lee.jones@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=moritz.fischer@ettus.com \
    --cc=robh+dt@kernel.org \
    --cc=sre@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

all inboxes | Powered by JetHome®