gpio-charger: add devicetree support

A patchset in state Mainline for linux-kernel

From: Heiko Stuebner <heiko@...> Date: Mon, 22 Sep 2014 23:17:23 +0200

This series adds devicetree support to the gpio-charger and fixes a small issue with the return value of gpio_get_value. changes since v2: - fix (hopefully all) issues pointed out by Doug Anderson - add missing of_node assignment to charger changes since v1: - adapt binding example to show how the charger fits into the power-supplies structure Heiko Stuebner (3): dt-bindings: document gpio-charger bindings power: gpio-charger: add device tree support power: gpio-charger: do not use gpio value directly .../bindings/power_supply/gpio-charger.txt | 27 ++++++++ drivers/power/gpio-charger.c | 74 +++++++++++++++++++++- 2 files changed, 98 insertions(+), 3 deletions(-) create mode 100644 Documentation/devicetree/bindings/power_supply/gpio-charger.txt -- 2.1.0

Patches in this set

Statistics

  • 3 individual patches
  • 98 lines added
  • 3 lines removed
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...