From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Stuebner Subject: [PATCH v3 0/3] gpio-charger: add devicetree support Date: Tue, 23 Sep 2014 13:59:02 +0200 Message-ID: <1411473545-3290-1-git-send-email-heiko@sntech.de> Return-path: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: sre-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, dbaryshkov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org Cc: linux-pm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, mark.rutland-5wv7dgnIgG8@public.gmane.org, pawel.moll-5wv7dgnIgG8@public.gmane.org, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org, galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org, dianders-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org, heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org List-Id: linux-pm@vger.kernel.org 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 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html