From: Robert Baldyga <r.baldyga@samsung.com>
Cc: robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com,
ijc+devicetree@hellion.org.uk, galak@codeaurora.org,
rob@landley.net, myungjoo.ham@samsung.com, cw00.choi@samsung.com,
dbaryshkov@gmail.com, dwmw2@infradead.org, balbi@ti.com,
gregkh@linuxfoundation.org, grant.likely@linaro.org,
ldewangan@nvidia.com, kishon@ti.com, gg@slimlogic.co.uk,
anton@enomsg.org, jonghwa3.lee@samsung.com, rongjun.ying@csr.com,
linux@roeck-us.net, aaro.koskinen@iki.fi, tony@atomide.com,
devicetree@vger.kernel.org, linux-doc@vger.kernel.org,
linux-kernel@vger.kernel.org,
patches@opensource.wolfsonmicro.com, linux-usb@vger.kernel.org,
linux-omap@vger.kernel.org,
Robert Baldyga <r.baldyga@samsung.com>
Subject: [PATCH 00/13] extcon: major rework
Date: Thu, 10 Apr 2014 15:16:38 +0200 [thread overview]
Message-ID: <1397135811-12866-1-git-send-email-r.baldyga@samsung.com> (raw)
This patchset adds many improvements to extcon class driver and extcon
provider drivers. It changes extcon API to faster and safer by replaceing
function taking extcon and cable names with functions working with
structures representing this objects.
It adds more advanced devicetree support which allows to pass specified
cables to client drivers. It gives independency from cable naming
conventions in individual extcon provider drivers, and allows to simply
connect client drivers with providers in way that being transpatent for
both of them.
It adds also some minor fixes like additional checks for safety increase,
and another improvements.
Also added some improvements to extcon provider drivers, improved devicetree
support and updated them to use faster extcon API.
Patches contains also documentation for extcon, and devicetree bindings
for all provider drivers.
More details can be found in commit messages and Documentation.
Best regards
Robert Baldyga
Samsung R&D Institute Poland
Robert Baldyga (13):
Documentation: add extcon devicetree bindings
Documentation: update charger-manager devicetree bindings
extcon: extcon-class: remove extcon_set_cable_state() function
extcon: extcon-class: match extcon device by devicetree node
extcon: extcon-class: improve extcon client API
extcon: extcon-class: remove unused functions
extcon: extcon-class: improve get_cable_state_()/set_cable_state_()
functions
extcon: extcon-class: simplify extcon_updata_state() function
extcon: extcon-class: move example to Documentation
extcon: extcon-gpio: add devicetree support
extcon: extcon-adc-jack: add devicetree support
extcon: extcon-max8997: check if pdata exists
extcon: extcon-max77693: check if pdata exists
.../devicetree/bindings/extcon/extcon-adc-jack.txt | 60 +++
.../devicetree/bindings/extcon/extcon-arizona.txt | 47 +++
.../devicetree/bindings/extcon/extcon-bindings.txt | 36 ++
.../devicetree/bindings/extcon/extcon-gpio.txt | 63 +++
.../devicetree/bindings/extcon/extcon-max14577.txt | 49 +++
.../devicetree/bindings/extcon/extcon-max77693.txt | 56 +++
.../devicetree/bindings/extcon/extcon-max8997.txt | 49 +++
.../devicetree/bindings/extcon/extcon-palmas.txt | 37 +-
.../bindings/power_supply/charger-manager.txt | 11 +-
Documentation/extcon/extcon.txt | 108 +++++
drivers/extcon/extcon-adc-jack.c | 75 ++++
drivers/extcon/extcon-arizona.c | 1 +
drivers/extcon/extcon-class.c | 412 +++++++++-----------
drivers/extcon/extcon-gpio.c | 64 ++-
drivers/extcon/extcon-max14577.c | 26 +-
drivers/extcon/extcon-max77693.c | 82 ++--
drivers/extcon/extcon-max8997.c | 35 +-
drivers/extcon/extcon-palmas.c | 28 +-
drivers/power/charger-manager.c | 36 +-
drivers/usb/dwc3/dwc3-omap.c | 68 ++--
drivers/usb/phy/phy-omap-otg.c | 72 ++--
include/linux/extcon.h | 157 +++-----
include/linux/extcon/extcon-gpio.h | 2 +-
include/linux/platform_data/usb-omap1.h | 2 -
include/linux/power/charger-manager.h | 6 +-
25 files changed, 1067 insertions(+), 515 deletions(-)
create mode 100644 Documentation/devicetree/bindings/extcon/extcon-adc-jack.txt
create mode 100644 Documentation/devicetree/bindings/extcon/extcon-arizona.txt
create mode 100644 Documentation/devicetree/bindings/extcon/extcon-bindings.txt
create mode 100644 Documentation/devicetree/bindings/extcon/extcon-gpio.txt
create mode 100644 Documentation/devicetree/bindings/extcon/extcon-max14577.txt
create mode 100644 Documentation/devicetree/bindings/extcon/extcon-max77693.txt
create mode 100644 Documentation/devicetree/bindings/extcon/extcon-max8997.txt
create mode 100644 Documentation/extcon/extcon.txt
--
1.7.9.5
next reply other threads:[~2014-04-10 13:16 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-10 13:16 Robert Baldyga [this message]
2014-04-10 13:16 ` [PATCH 01/13] Documentation: add extcon devicetree bindings Robert Baldyga
[not found] ` <1397135811-12866-1-git-send-email-r.baldyga-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-04-10 13:16 ` [PATCH 02/13] Documentation: update charger-manager " Robert Baldyga
2014-04-10 13:16 ` [PATCH 05/13] extcon: extcon-class: improve extcon client API Robert Baldyga
[not found] ` <1397135811-12866-6-git-send-email-r.baldyga-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-04-10 18:09 ` Aaro Koskinen
2014-04-10 13:16 ` [PATCH 06/13] extcon: extcon-class: remove unused functions Robert Baldyga
2014-04-10 13:16 ` [PATCH 03/13] extcon: extcon-class: remove extcon_set_cable_state() function Robert Baldyga
2014-04-10 13:16 ` [PATCH 04/13] extcon: extcon-class: match extcon device by devicetree node Robert Baldyga
2014-04-10 13:16 ` [PATCH 07/13] extcon: extcon-class: improve get_cable_state_()/set_cable_state_() functions Robert Baldyga
2014-04-10 13:16 ` [PATCH 08/13] extcon: extcon-class: simplify extcon_updata_state() function Robert Baldyga
2014-04-10 13:16 ` [PATCH 09/13] extcon: extcon-class: move example to Documentation Robert Baldyga
2014-04-10 13:16 ` [PATCH 10/13] extcon: extcon-gpio: add devicetree support Robert Baldyga
2014-04-10 13:16 ` [PATCH 11/13] extcon: extcon-adc-jack: " Robert Baldyga
2014-04-10 13:16 ` [PATCH 12/13] extcon: extcon-max8997: check if pdata exists Robert Baldyga
2014-04-10 13:16 ` [PATCH 13/13] extcon: extcon-max77693: " Robert Baldyga
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=1397135811-12866-1-git-send-email-r.baldyga@samsung.com \
--to=r.baldyga@samsung.com \
--cc=aaro.koskinen@iki.fi \
--cc=anton@enomsg.org \
--cc=balbi@ti.com \
--cc=cw00.choi@samsung.com \
--cc=dbaryshkov@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=dwmw2@infradead.org \
--cc=galak@codeaurora.org \
--cc=gg@slimlogic.co.uk \
--cc=grant.likely@linaro.org \
--cc=gregkh@linuxfoundation.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=jonghwa3.lee@samsung.com \
--cc=kishon@ti.com \
--cc=ldewangan@nvidia.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=mark.rutland@arm.com \
--cc=myungjoo.ham@samsung.com \
--cc=patches@opensource.wolfsonmicro.com \
--cc=pawel.moll@arm.com \
--cc=rob@landley.net \
--cc=robh+dt@kernel.org \
--cc=rongjun.ying@csr.com \
--cc=tony@atomide.com \
/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;
as well as URLs for NNTP newsgroup(s).