From: Felipe Balbi <balbi@kernel.org>
To: kishon@ti.com, gregkh@linuxfoundation.org
Cc: sre@kernel.org, lee.jones@linaro.org, heiko@sntech.de,
yoshihiro.shimoda.uh@renesas.com, krzk@kernel.org,
b.zolnierkie@samsung.com, maxime.ripard@free-electrons.com,
wens@csie.org, cw00.choi@samsung.com, chanwoo@kernel.org,
myungjoo.ham@samsung.com, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org,
linux-usb@vger.kernel.org, linux-renesas-soc@vger.kernel.org,
linux-rockchip@lists.infradead.org
Subject: Re: [PATCH v2] extcon: Split out extcon header file for consumer and provider device
Date: Tue, 10 Oct 2017 13:26:44 +0300 [thread overview]
Message-ID: <87efqbmh7f.fsf@linux.intel.com> (raw)
In-Reply-To: <1507630671-23536-1-git-send-email-cw00.choi@samsung.com>
Hi,
Chanwoo Choi <cw00.choi@samsung.com> writes:
> 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@kernel.org>
Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com>
--
balbi
WARNING: multiple messages have this Message-ID (diff)
From: Felipe Balbi <balbi@kernel.org>
To: Chanwoo Choi <cw00.choi@samsung.com>,
kishon@ti.com, gregkh@linuxfoundation.org
Cc: sre@kernel.org, lee.jones@linaro.org, heiko@sntech.de,
yoshihiro.shimoda.uh@renesas.com, krzk@kernel.org,
b.zolnierkie@samsung.com, maxime.ripard@free-electrons.com,
wens@csie.org, cw00.choi@samsung.com, chanwoo@kernel.org,
myungjoo.ham@samsung.com, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org,
linux-usb@vger.kernel.org, linux-renesas-soc@vger.kernel.org,
linux-rockchip@lists.infradead.org
Subject: Re: [PATCH v2] extcon: Split out extcon header file for consumer and provider device
Date: Tue, 10 Oct 2017 13:26:44 +0300 [thread overview]
Message-ID: <87efqbmh7f.fsf@linux.intel.com> (raw)
In-Reply-To: <1507630671-23536-1-git-send-email-cw00.choi@samsung.com>
Hi,
Chanwoo Choi <cw00.choi@samsung.com> writes:
> 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@kernel.org>
Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com>
--
balbi
WARNING: multiple messages have this Message-ID (diff)
From: balbi@kernel.org (Felipe Balbi)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2] extcon: Split out extcon header file for consumer and provider device
Date: Tue, 10 Oct 2017 13:26:44 +0300 [thread overview]
Message-ID: <87efqbmh7f.fsf@linux.intel.com> (raw)
In-Reply-To: <1507630671-23536-1-git-send-email-cw00.choi@samsung.com>
Hi,
Chanwoo Choi <cw00.choi@samsung.com> writes:
> 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@kernel.org>
Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com>
--
balbi
next prev parent reply other threads:[~2017-10-10 10:26 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20171010101758epcas2p3b3f379076f5be5e81edee2bd00354c28@epcas2p3.samsung.com>
2017-10-10 10:17 ` [PATCH v2] extcon: Split out extcon header file for consumer and provider device Chanwoo Choi
2017-10-10 10:17 ` Chanwoo Choi
2017-10-10 10:26 ` Felipe Balbi [this message]
2017-10-10 10:26 ` Felipe Balbi
2017-10-10 10:26 ` Felipe Balbi
2017-10-10 10:36 ` Yoshihiro Shimoda
2017-10-10 10:36 ` Yoshihiro Shimoda
2017-10-10 10:36 ` Yoshihiro Shimoda
2017-10-12 3:40 ` Chanwoo Choi
2017-10-12 3:40 ` Chanwoo Choi
2017-10-18 2:14 ` Chanwoo Choi
2017-10-18 2:14 ` Chanwoo Choi
2017-10-23 5:05 ` Kishon Vijay Abraham I
2017-10-23 5:05 ` Kishon Vijay Abraham I
2017-10-23 5:05 ` Kishon Vijay Abraham I
2017-10-23 5:31 ` Chanwoo Choi
2017-10-23 5:31 ` Chanwoo Choi
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=87efqbmh7f.fsf@linux.intel.com \
--to=balbi@kernel.org \
--cc=b.zolnierkie@samsung.com \
--cc=chanwoo@kernel.org \
--cc=cw00.choi@samsung.com \
--cc=gregkh@linuxfoundation.org \
--cc=heiko@sntech.de \
--cc=kishon@ti.com \
--cc=krzk@kernel.org \
--cc=lee.jones@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=linux-usb@vger.kernel.org \
--cc=maxime.ripard@free-electrons.com \
--cc=myungjoo.ham@samsung.com \
--cc=sre@kernel.org \
--cc=wens@csie.org \
--cc=yoshihiro.shimoda.uh@renesas.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.