Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1424652
| From | Chris Lapa <chris@lapa.com.au> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v3 0/7] max8903: Add device tree support and misc fixes |
| Date | 2016-06-17 07:10 +0200 |
| Message-ID | <rKUcx-2fy-3@gated-at.bofh.it> (permalink) |
| References | <rFuC5-2sz-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Chris Lapa <chris@lapa.com.au>
This patch set adds device tree support for the MAX8903 battery charger.
It also cleans up logic with dc_valid, dok and dcm pins as well as
fixing up validity checking of gpios.
I verified these patches work on a board I have here, which uses the
DC power side (not the USB portition) of the MAX8903.
Changes v2 -> v3:
* Seperate requesting of gpio's into its own commit
* Fixed up validity checking of GPIO's
* Remove dc_valid and usb_valid from device tree
* Remove some unncessary init to psy_cfg.num_supplicants and psy_cfg.supplied_to
* Reorder patches so device tree implementation is final patch
Changes v1 -> v2:
* Seperate DT bindings documentation into its own commit
* Add maxim prefix to DT compatible field
* Add gpios suffix to gpio's in DT
* Remove malloc failed error message
Chris Lapa (7):
max8903: adds documentation for device tree bindings.
max8903: store pointer to pdata instead of copying it.
max8903: cleans up confusing relationship between dc_valid, dok and
dcm.
max8903: adds requesting of gpios.
max8903: removes non zero validity checks on gpios.
max8903: remove unnecessary 'out of memory' error message.
max8903: adds support for initiation via device tree.
.../devicetree/bindings/power/max8903-charger.txt | 25 ++
drivers/power/max8903_charger.c | 278 +++++++++++++++------
include/linux/power/max8903_charger.h | 6 +-
3 files changed, 227 insertions(+), 82 deletions(-)
create mode 100644 Documentation/devicetree/bindings/power/max8903-charger.txt
--
1.9.1
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v3 0/7] max8903: Add device tree support and misc fixes Chris Lapa <chris@lapa.com.au> - 2016-06-17 07:10 +0200
[PATCH v3 1/7] max8903: adds documentation for device tree bindings. Chris Lapa <chris@lapa.com.au> - 2016-06-17 07:10 +0200
Re: [PATCH v3 1/7] max8903: adds documentation for device tree bindings. Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-06-17 08:20 +0200
Re: [PATCH v3 1/7] max8903: adds documentation for device tree bindings. Rob Herring <robh@kernel.org> - 2016-06-20 15:30 +0200
Re: [PATCH v3 1/7] max8903: adds documentation for device tree bindings. Chris Lapa <chris@lapa.com.au> - 2016-06-21 01:50 +0200
[PATCH v3 7/7] max8903: adds support for initiation via device tree. Chris Lapa <chris@lapa.com.au> - 2016-06-17 07:10 +0200
Re: [PATCH v3 7/7] max8903: adds support for initiation via device tree. Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-06-17 08:50 +0200
Re: [PATCH v3 7/7] max8903: adds support for initiation via device tree. Chris Lapa <chris@lapa.com.au> - 2016-06-19 16:00 +0200
csiph-web