[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 10 Oct 2017 10:36:42 +0000
From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@...esas.com>
To: Chanwoo Choi <cw00.choi@...sung.com>,
"balbi@...nel.org" <balbi@...nel.org>,
"kishon@...com" <kishon@...com>,
"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>
CC: "sre@...nel.org" <sre@...nel.org>,
"lee.jones@...aro.org" <lee.jones@...aro.org>,
"heiko@...ech.de" <heiko@...ech.de>,
"krzk@...nel.org" <krzk@...nel.org>,
"b.zolnierkie@...sung.com" <b.zolnierkie@...sung.com>,
"maxime.ripard@...e-electrons.com" <maxime.ripard@...e-electrons.com>,
"wens@...e.org" <wens@...e.org>,
"chanwoo@...nel.org" <chanwoo@...nel.org>,
"myungjoo.ham@...sung.com" <myungjoo.ham@...sung.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>,
"linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>,
"linux-renesas-soc@...r.kernel.org"
<linux-renesas-soc@...r.kernel.org>,
"linux-rockchip@...ts.infradead.org"
<linux-rockchip@...ts.infradead.org>
Subject: RE: [PATCH v2] extcon: Split out extcon header file for consumer and
provider device
Hi,
> From: Chanwoo Choi, Sent: Tuesday, October 10, 2017 7:18 PM
>
> The extcon has two type of extcon devices as following.
> - 'extcon provider deivce' adds new extcon device and detect the
> state/properties of external connector. Also, it notifies the
> state/properties to the extcon consumer device.
> - 'extcon consumer device' gets the change state/properties
> from extcon provider device.
> Prior to that, include/linux/extcon.h contains all exported API for
> both provider and consumer device driver. To clarify the meaning of
> header file and to remove the wrong use-case on consumer device,
> this patch separates into extcon.h and extcon-provider.h.
>
> [Description for include/linux/{extcon.h|extcon-provider.h}]
> - extcon.h includes the extcon API and data structure for extcon consumer
> device driver. This header file contains the following APIs:
> : Register/unregister the notifier to catch the change of extcon device
> : Get the extcon device instance
> : Get the extcon device name
> : Get the state of each external connector
> : Get the property value of each external connector
> : Get the property capability of each external connector
>
> - extcon-provider.h includes the extcon API and data structure for extcon
> provider device driver. This header file contains the following APIs:
> : Include 'include/linux/extcon.h'
> : Allocate the memory for extcon device instance
> : Register/unregister extcon device
> : Set the state of each external connector
> : Set the property value of each external connector
> : Set the property capability of each external connector
>
> Cc: Felipe Balbi <balbi@...nel.org>
> Cc: Kishon Vijay Abraham I <kishon@...com>
> Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> Acked-by: Sebastian Reichel <sebastian.reichel@...labora.co.uk>
> Acked-by: Chen-Yu Tsai <wens@...e.org>
> Acked-by: Charles Keepax <ckeepax@...nsource.cirrus.com>
> Acked-by: Lee Jones <lee.jones@...aro.org>
> Signed-off-by: Chanwoo Choi <cw00.choi@...sung.com>
> ---
> Changes from v1:
> - Don't touch drivers/usb/renesas_usbhs/common.h.
> - Add acked-by from Sebastian Reichel (for drivers/power/supply/)
> - Add acked-by from Chen-Yu Tsai (for phy-sun4i-usb.c & extcon-axp288.c)
> - Add acked-by from Charles Keepax (for drivers/extcon/extcon-arizona.c)
> - Add acked-by from Lee Jones (fo include/linux/mfd/palmas.h)
< snip >
> drivers/phy/renesas/phy-rcar-gen3-usb2.c | 2 +-
and
< snip >
> drivers/usb/gadget/udc/renesas_usb3.c | 2 +-
Acked-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@...esas.com>
Best regards,
Yoshihiro Shimoda
Powered by blists - more mailing lists