mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Anda-Maria Nicolae <anda-maria.nicolae@intel.com>
To: sre@kernel.org, dbaryshkov@gmail.com, robh+dt@kernel.org,
	pawel.moll@arm.com, mark.rutland@arm.com,
	ijc+devicetree@hellion.org.uk, galak@codeaurora.org,
	dwmw2@infradead.org, linux-pm@vger.kernel.org,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org
Subject: [PATCH v7 0/3] Add support for Richtek RT9455 battery charger
Date: Fri, 29 May 2015 17:25:42 +0300	[thread overview]
Message-ID: <1432909545-31895-1-git-send-email-anda-maria.nicolae@intel.com> (raw)

The next 3 patches do the following:
- first patch adds Richtek Technology Corporation in the vendor-prefixes list
- second patch adds device tree binding example for Richtek RT9455 battery charger
- third patch adds the driver for Richtek RT9455 battery charger

The reason why v6 did not contain any modification except for patch splitting, is that
I did not scroll down the e-mail and I thought the patch splitting was the only modification
I need to do. My bad.

Updates from v6:
- added interrupt-parent and interrupts as required properties in DT file rt9455_charger.txt.
- removed interrupt-gpio and reset-gpio from DT file rt9455_charger.txt.
- used IRQ_TYPE_LEVEL_LOW (for this charger, it works the same with IRQ_TYPE_EDGE_RISING and
  with IRQ_TYPE_LEVEL_LOW, but I prefer IRQ_TYPE_LEVEL_LOW) in interrupt specification, 
  in DT file rt9455_charger.txt.
- removed gpiod_irq and gpio_irq from rt9455_info structure.
- set boost voltage value without previously reading the existing value in the register.
- set voreg value without previously reading the existing value in the register.
- removed rt9455_setup_irq function. client->irq is set even without calling of_irq_get().
- used devm_power_supply_register() and removed power_supply_unregister() from rt9455_remove().

Anda-Maria Nicolae (3):
  of: Add vendor prefix for Richtek Technology Corporation
  Documentation: devicetree: Add Richtek RT9455 bindings
  power_supply: Add support for Richtek RT9455 battery charger

 .../devicetree/bindings/power/rt9455_charger.txt   |   46 +
 .../devicetree/bindings/vendor-prefixes.txt        |    1 +
 drivers/power/Kconfig                              |    7 +
 drivers/power/Makefile                             |    1 +
 drivers/power/rt9455_charger.c                     | 1751 ++++++++++++++++++++
 5 files changed, 1806 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/power/rt9455_charger.txt
 create mode 100644 drivers/power/rt9455_charger.c

-- 
1.7.9.5


             reply	other threads:[~2015-05-29 14:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-29 14:25 Anda-Maria Nicolae [this message]
2015-05-29 14:25 ` [PATCH 1/3] of: Add vendor prefix for Richtek Technology Corporation Anda-Maria Nicolae
2015-05-29 14:25 ` [PATCH 2/3] Documentation: devicetree: Add Richtek RT9455 bindings Anda-Maria Nicolae
2015-05-29 14:25 ` [PATCH 3/3] power_supply: Add support for Richtek RT9455 battery charger Anda-Maria Nicolae
2015-06-02 19:27 ` [PATCH v7 0/3] " 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=1432909545-31895-1-git-send-email-anda-maria.nicolae@intel.com \
    --to=anda-maria.nicolae@intel.com \
    --cc=dbaryshkov@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dwmw2@infradead.org \
    --cc=galak@codeaurora.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=pawel.moll@arm.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®