[PATCH v5 0/6] usb: add support for Intel dual role port mux

2016-03-19 Thread Lu Baolu
for USB port mux controlled through memory mapped registers and the logic to create the mux device. This type of dual role port mux could be found in Cherry Trail and Broxton devices. Lu Baolu (6): extcon: usb-gpio: add device binding for platform device extcon: usb-gpio: add support

[PATCH v5 0/6] usb: add support for Intel dual role port mux

2016-03-19 Thread Lu Baolu
for USB port mux controlled through memory mapped registers and the logic to create the mux device. This type of dual role port mux could be found in Cherry Trail and Broxton devices. Lu Baolu (6): extcon: usb-gpio: add device binding for platform device extcon: usb-gpio: add support

Re: [PATCH v5 3/6] usb: mux: add common code for Intel dual role port mux

2016-03-19 Thread Lu Baolu
Hi Chanwoo, On 03/18/2016 03:52 PM, Chanwoo Choi wrote: > Hi Baolu, > > On 2016년 03월 18일 15:32, Lu Baolu wrote: >> Several Intel PCHs and SOCs have an internal mux that is used to >> share one USB port between device controller and host controller. >> >> A

Re: [PATCH v5 3/6] usb: mux: add common code for Intel dual role port mux

2016-03-19 Thread Lu Baolu
Hi Chanwoo, On 03/18/2016 03:52 PM, Chanwoo Choi wrote: > Hi Baolu, > > On 2016년 03월 18일 15:32, Lu Baolu wrote: >> Several Intel PCHs and SOCs have an internal mux that is used to >> share one USB port between device controller and host controller. >> >> A

[PATCH v4 7/7] mfd: intel_vuport: Add Intel virtual USB port MFD Driver

2016-03-19 Thread Lu Baolu
Some Intel platforms have an USB port mux controlled by GPIOs. There's a single ACPI platform device that provides both USB ID extcon device and a USB port mux device. This MFD driver will split the 2 devices for their respective drivers. Signed-off-by: Lu Baolu <baolu...@linux.intel.

[PATCH v4 7/7] mfd: intel_vuport: Add Intel virtual USB port MFD Driver

2016-03-19 Thread Lu Baolu
Some Intel platforms have an USB port mux controlled by GPIOs. There's a single ACPI platform device that provides both USB ID extcon device and a USB port mux device. This MFD driver will split the 2 devices for their respective drivers. Signed-off-by: Lu Baolu Suggested-by: David Cohen

[PATCH v4 3/7] usb: mux: add common code for Intel dual role port mux

2016-03-19 Thread Lu Baolu
HOST and PERIPHERAL; 3) The required action to do the real port switch. This patch adds the common code to handle usb port mux. With this common code, the individual mux driver, which always is platform dependent, could focus on the real operation of mux switch. Signed-off-by: Lu Baolu <ba

[PATCH v4 3/7] usb: mux: add common code for Intel dual role port mux

2016-03-19 Thread Lu Baolu
HOST and PERIPHERAL; 3) The required action to do the real port switch. This patch adds the common code to handle usb port mux. With this common code, the individual mux driver, which always is platform dependent, could focus on the real operation of mux switch. Signed-off-by: Lu Baolu Reviewed

[PATCH v5 5/6] usb: mux: add driver for Intel drcfg controlled port mux

2016-03-19 Thread Lu Baolu
Several Intel PCHs and SOCs have an internal mux that is used to share one USB port between device controller and host controller. The mux is handled through the Dual Role Configuration Register. Signed-off-by: Heikki Krogerus <heikki.kroge...@linux.intel.com> Signed-off-by: Lu Baolu

[PATCH v5 5/6] usb: mux: add driver for Intel drcfg controlled port mux

2016-03-19 Thread Lu Baolu
Several Intel PCHs and SOCs have an internal mux that is used to share one USB port between device controller and host controller. The mux is handled through the Dual Role Configuration Register. Signed-off-by: Heikki Krogerus Signed-off-by: Lu Baolu Signed-off-by: Wu Hao Reviewed-by: Felipe

Re: [PATCH v4 3/7] usb: mux: add common code for Intel dual role port mux

2016-03-19 Thread Lu Baolu
function with unique id on patch[2] > [2] 5960387a2fb83 (usb: dwc3: omap: Replace deprecated API of extcon) Thanks. That's helpful. By the way, is extcon_get_extcon_dev() still available? > > I'm sorry for late reply. I add the some comment on below. Never mind. Thank you for remin

Re: [PATCH v4 3/7] usb: mux: add common code for Intel dual role port mux

2016-03-19 Thread Lu Baolu
function with unique id on patch[2] > [2] 5960387a2fb83 (usb: dwc3: omap: Replace deprecated API of extcon) Thanks. That's helpful. By the way, is extcon_get_extcon_dev() still available? > > I'm sorry for late reply. I add the some comment on below. Never mind. Thank you for remin

Re: [PATCH v5 6/6] mfd: intel_vuport: Add Intel virtual USB port MFD Driver

2016-03-19 Thread Lu Baolu
On 03/18/2016 04:09 PM, Lee Jones wrote: > On Fri, 18 Mar 2016, Lu Baolu wrote: > >> Some Intel platforms have an USB port mux controlled by GPIOs. >> There's a single ACPI platform device that provides both USB ID >> extcon device and a USB port mux device. This MFD dr

Re: [PATCH v5 6/6] mfd: intel_vuport: Add Intel virtual USB port MFD Driver

2016-03-19 Thread Lu Baolu
On 03/18/2016 04:09 PM, Lee Jones wrote: > On Fri, 18 Mar 2016, Lu Baolu wrote: > >> Some Intel platforms have an USB port mux controlled by GPIOs. >> There's a single ACPI platform device that provides both USB ID >> extcon device and a USB port mux device. This MFD dr

[PATCH v5 1/6] extcon: usb-gpio: add device binding for platform device

2016-03-19 Thread Lu Baolu
This is needed to handle the GPIO connected USB ID pin found on Intel Baytrail devices. Signed-off-by: Lu Baolu <baolu...@linux.intel.com> Reviewed-by: Felipe Balbi <ba...@kernel.org> Acked-by: Chanwoo Choi <cw00.c...@samsung.com> --- drivers/extcon/extcon-usb-gpio.c | 7 +

[PATCH v5 1/6] extcon: usb-gpio: add device binding for platform device

2016-03-19 Thread Lu Baolu
This is needed to handle the GPIO connected USB ID pin found on Intel Baytrail devices. Signed-off-by: Lu Baolu Reviewed-by: Felipe Balbi Acked-by: Chanwoo Choi --- drivers/extcon/extcon-usb-gpio.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/extcon/extcon-usb-gpio.c b

[PATCH v5 4/6] usb: mux: add driver for Intel gpio controlled port mux

2016-03-19 Thread Lu Baolu
In some Intel platforms, a single usb port is shared between USB host and device controller. The shared port is under control of GPIO pins. This patch adds the support for USB GPIO controlled port mux. Signed-off-by: David Cohen <david.a.co...@linux.intel.com> Signed-off-by: Lu Baolu

[PATCH v5 4/6] usb: mux: add driver for Intel gpio controlled port mux

2016-03-19 Thread Lu Baolu
In some Intel platforms, a single usb port is shared between USB host and device controller. The shared port is under control of GPIO pins. This patch adds the support for USB GPIO controlled port mux. Signed-off-by: David Cohen Signed-off-by: Lu Baolu Reviewed-by: Heikki Krogerus Reviewed

[PATCH v4 6/7] usb: pci-quirks: add Intel USB drcfg mux device

2016-03-19 Thread Lu Baolu
mux switch. Signed-off-by: Lu Baolu <baolu...@linux.intel.com> Reviewed-by: Felipe Balbi <ba...@kernel.org> --- drivers/usb/host/pci-quirks.c| 47 ++-- drivers/usb/host/xhci-ext-caps.h | 2 ++ 2 files changed, 47 insertions(+), 2 deletions(-)

[PATCH v4 6/7] usb: pci-quirks: add Intel USB drcfg mux device

2016-03-19 Thread Lu Baolu
mux switch. Signed-off-by: Lu Baolu Reviewed-by: Felipe Balbi --- drivers/usb/host/pci-quirks.c| 47 ++-- drivers/usb/host/xhci-ext-caps.h | 2 ++ 2 files changed, 47 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/pci-quirks.c b/drivers/usb

[PATCH v5 6/6] mfd: intel_vuport: Add Intel virtual USB port MFD Driver

2016-03-19 Thread Lu Baolu
Some Intel platforms have an USB port mux controlled by GPIOs. There's a single ACPI platform device that provides both USB ID extcon device and a USB port mux device. This MFD driver will split the 2 devices for their respective drivers. Signed-off-by: Lu Baolu <baolu...@linux.intel.

[PATCH v5 6/6] mfd: intel_vuport: Add Intel virtual USB port MFD Driver

2016-03-19 Thread Lu Baolu
Some Intel platforms have an USB port mux controlled by GPIOs. There's a single ACPI platform device that provides both USB ID extcon device and a USB port mux device. This MFD driver will split the 2 devices for their respective drivers. Signed-off-by: Lu Baolu Suggested-by: David Cohen

[PATCH v5 2/6] extcon: usb-gpio: add support for ACPI gpio interface

2016-03-19 Thread Lu Baolu
GPIO resource could be retrieved through APCI as well. Signed-off-by: Lu Baolu <baolu...@linux.intel.com> Reviewed-by: Felipe Balbi <ba...@kernel.org> Acked-by: Chanwoo Choi <cw00.c...@samsung.com> --- drivers/extcon/extcon-usb-gpio.c | 3 ++- 1 file changed, 2 insertions(+), 1

[PATCH v5 2/6] extcon: usb-gpio: add support for ACPI gpio interface

2016-03-19 Thread Lu Baolu
GPIO resource could be retrieved through APCI as well. Signed-off-by: Lu Baolu Reviewed-by: Felipe Balbi Acked-by: Chanwoo Choi --- drivers/extcon/extcon-usb-gpio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/extcon/extcon-usb-gpio.c b/drivers/extcon/extcon

[PATCH v4 5/7] usb: mux: add driver for Intel drcfg controlled port mux

2016-03-19 Thread Lu Baolu
Several Intel PCHs and SOCs have an internal mux that is used to share one USB port between device controller and host controller. The mux is handled through the Dual Role Configuration Register. Signed-off-by: Heikki Krogerus <heikki.kroge...@linux.intel.com> Signed-off-by: Lu Baolu

[PATCH v4 5/7] usb: mux: add driver for Intel drcfg controlled port mux

2016-03-19 Thread Lu Baolu
Several Intel PCHs and SOCs have an internal mux that is used to share one USB port between device controller and host controller. The mux is handled through the Dual Role Configuration Register. Signed-off-by: Heikki Krogerus Signed-off-by: Lu Baolu Signed-off-by: Wu Hao Reviewed-by: Felipe

[PATCH v4 1/7] extcon: usb-gpio: add device binding for platform device

2016-03-19 Thread Lu Baolu
This is needed to handle the GPIO connected USB ID pin found on Intel Baytrail devices. Signed-off-by: Lu Baolu <baolu...@linux.intel.com> Reviewed-by: Felipe Balbi <ba...@kernel.org> Acked-by: Chanwoo Choi <cw00.c...@samsung.com> --- drivers/extcon/extcon-usb-gpio.c | 7 +

[PATCH v4 1/7] extcon: usb-gpio: add device binding for platform device

2016-03-19 Thread Lu Baolu
This is needed to handle the GPIO connected USB ID pin found on Intel Baytrail devices. Signed-off-by: Lu Baolu Reviewed-by: Felipe Balbi Acked-by: Chanwoo Choi --- drivers/extcon/extcon-usb-gpio.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/extcon/extcon-usb-gpio.c b

[PATCH v5 3/6] usb: mux: add common code for Intel dual role port mux

2016-03-19 Thread Lu Baolu
HOST and PERIPHERAL; 3) The required action to do the real port switch. This patch adds the common code to handle usb port mux. With this common code, the individual mux driver, which always is platform dependent, could focus on the real operation of mux switch. Signed-off-by: Lu Baolu <ba

[PATCH v5 3/6] usb: mux: add common code for Intel dual role port mux

2016-03-19 Thread Lu Baolu
HOST and PERIPHERAL; 3) The required action to do the real port switch. This patch adds the common code to handle usb port mux. With this common code, the individual mux driver, which always is platform dependent, could focus on the real operation of mux switch. Signed-off-by: Lu Baolu Reviewed

[PATCH v4 2/7] extcon: usb-gpio: add support for ACPI gpio interface

2016-03-19 Thread Lu Baolu
GPIO resource could be retrieved through APCI as well. Signed-off-by: Lu Baolu <baolu...@linux.intel.com> Reviewed-by: Felipe Balbi <ba...@kernel.org> Acked-by: Chanwoo Choi <cw00.c...@samsung.com> --- drivers/extcon/extcon-usb-gpio.c | 3 ++- 1 file changed, 2 insertions(+), 1

[PATCH v4 2/7] extcon: usb-gpio: add support for ACPI gpio interface

2016-03-19 Thread Lu Baolu
GPIO resource could be retrieved through APCI as well. Signed-off-by: Lu Baolu Reviewed-by: Felipe Balbi Acked-by: Chanwoo Choi --- drivers/extcon/extcon-usb-gpio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/extcon/extcon-usb-gpio.c b/drivers/extcon/extcon

[PATCH v4 0/7] usb: add support for Intel dual role port mux

2016-03-19 Thread Lu Baolu
for USB port mux controlled through memory mapped registers and the logic to create the mux device. This type of dual role port mux could be found in Cherry Trail and Broxton devices. Lu Baolu (7): extcon: usb-gpio: add device binding for platform device extcon: usb-gpio: add support

[PATCH v4 0/7] usb: add support for Intel dual role port mux

2016-03-19 Thread Lu Baolu
for USB port mux controlled through memory mapped registers and the logic to create the mux device. This type of dual role port mux could be found in Cherry Trail and Broxton devices. Lu Baolu (7): extcon: usb-gpio: add device binding for platform device extcon: usb-gpio: add support

Re: [PATCH v4 3/7] usb: mux: add common code for Intel dual role port mux

2016-03-18 Thread Lu Baolu
On 03/17/2016 03:27 PM, Chanwoo Choi wrote: > Hi Lu, > > On 2016년 03월 17일 16:16, Lu Baolu wrote: >> Hi Chanwoo, >> >> On 03/17/2016 02:07 PM, Chanwoo Choi wrote: >>> Hi Lu, >>> >>> To handle extcon (external connector), I implemented th

Re: [PATCH v4 3/7] usb: mux: add common code for Intel dual role port mux

2016-03-18 Thread Lu Baolu
On 03/17/2016 03:27 PM, Chanwoo Choi wrote: > Hi Lu, > > On 2016년 03월 17일 16:16, Lu Baolu wrote: >> Hi Chanwoo, >> >> On 03/17/2016 02:07 PM, Chanwoo Choi wrote: >>> Hi Lu, >>> >>> To handle extcon (external connector), I implemented th

Re: [PATCH v3 3/7] usb: mux: add common code for Intel dual role port mux

2016-03-14 Thread Lu Baolu
On 03/14/2016 11:27 AM, Greg Kroah-Hartman wrote: > On Mon, Mar 14, 2016 at 09:09:22AM +0800, Lu Baolu wrote: >> On 03/11/2016 08:06 AM, Greg Kroah-Hartman wrote: >>> On Tue, Mar 08, 2016 at 03:53:44PM +0800, Lu Baolu wrote: >>>> +struct intel_mux_dev { >>>

Re: [PATCH v3 3/7] usb: mux: add common code for Intel dual role port mux

2016-03-14 Thread Lu Baolu
On 03/14/2016 11:27 AM, Greg Kroah-Hartman wrote: > On Mon, Mar 14, 2016 at 09:09:22AM +0800, Lu Baolu wrote: >> On 03/11/2016 08:06 AM, Greg Kroah-Hartman wrote: >>> On Tue, Mar 08, 2016 at 03:53:44PM +0800, Lu Baolu wrote: >>>> +struct intel_mux_dev { >>>

Re: [PATCH v3 3/7] usb: mux: add common code for Intel dual role port mux

2016-03-13 Thread Lu Baolu
Hi, On 03/11/2016 08:06 AM, Greg Kroah-Hartman wrote: > On Tue, Mar 08, 2016 at 03:53:44PM +0800, Lu Baolu wrote: >> Several Intel PCHs and SOCs have an internal mux that is used to >> share one USB port between device controller and host controller. >> >> A usb p

Re: [PATCH v3 3/7] usb: mux: add common code for Intel dual role port mux

2016-03-13 Thread Lu Baolu
Hi, On 03/11/2016 08:06 AM, Greg Kroah-Hartman wrote: > On Tue, Mar 08, 2016 at 03:53:44PM +0800, Lu Baolu wrote: >> Several Intel PCHs and SOCs have an internal mux that is used to >> share one USB port between device controller and host controller. >> >> A usb p

Re: [PATCH v3 3/7] usb: mux: add common code for Intel dual role port mux

2016-03-10 Thread Lu Baolu
On 03/11/2016 07:57 AM, Greg Kroah-Hartman wrote: > On Thu, Mar 10, 2016 at 01:39:43PM +0100, Oliver Neukum wrote: >> On Tue, 2016-03-08 at 15:53 +0800, Lu Baolu wrote: >> >>> diff --git a/Documentation/ABI/testing/sysfs-bus-platform >>> b/Documentation/ABI/tes

Re: [PATCH v3 3/7] usb: mux: add common code for Intel dual role port mux

2016-03-10 Thread Lu Baolu
On 03/11/2016 07:57 AM, Greg Kroah-Hartman wrote: > On Thu, Mar 10, 2016 at 01:39:43PM +0100, Oliver Neukum wrote: >> On Tue, 2016-03-08 at 15:53 +0800, Lu Baolu wrote: >> >>> diff --git a/Documentation/ABI/testing/sysfs-bus-platform >>> b/Documentation/ABI/tes

Re: [PATCH v3 0/7] usb: add support for Intel dual role port mux

2016-03-10 Thread Lu Baolu
On 03/11/2016 08:03 AM, Greg Kroah-Hartman wrote: > On Tue, Mar 08, 2016 at 03:53:41PM +0800, Lu Baolu wrote: >> Intel SOC chips are featured with USB dual role. The host role is >> provided by Intel xHCI IP, and the gadget role is provided by IP >> from designware. Ta

Re: [PATCH v3 0/7] usb: add support for Intel dual role port mux

2016-03-10 Thread Lu Baolu
On 03/11/2016 08:03 AM, Greg Kroah-Hartman wrote: > On Tue, Mar 08, 2016 at 03:53:41PM +0800, Lu Baolu wrote: >> Intel SOC chips are featured with USB dual role. The host role is >> provided by Intel xHCI IP, and the gadget role is provided by IP >> from designware. Ta

[PATCH v3 5/7] usb: mux: add driver for Intel drcfg controlled port mux

2016-03-07 Thread Lu Baolu
Several Intel PCHs and SOCs have an internal mux that is used to share one USB port between device controller and host controller. The mux is handled through the Dual Role Configuration Register. Signed-off-by: Heikki Krogerus <heikki.kroge...@linux.intel.com> Signed-off-by: Lu Baolu

[PATCH v3 2/7] extcon: usb-gpio: add support for ACPI gpio interface

2016-03-07 Thread Lu Baolu
GPIO resource could be retrieved through APCI as well. Signed-off-by: Lu Baolu <baolu...@linux.intel.com> Reviewed-by: Felipe Balbi <ba...@kernel.org> Acked-by: Chanwoo Choi <cw00.c...@samsung.com> --- drivers/extcon/extcon-usb-gpio.c | 3 ++- 1 file changed, 2 insertions(+), 1

[PATCH v3 1/7] extcon: usb-gpio: add device binding for platform device

2016-03-07 Thread Lu Baolu
This is needed to handle the GPIO connected USB ID pin found on Intel Baytrail devices. Signed-off-by: Lu Baolu <baolu...@linux.intel.com> Reviewed-by: Felipe Balbi <ba...@kernel.org> Acked-by: Chanwoo Choi <cw00.c...@samsung.com> --- drivers/extcon/extcon-usb-gpio.c | 7 +

[PATCH v3 5/7] usb: mux: add driver for Intel drcfg controlled port mux

2016-03-07 Thread Lu Baolu
Several Intel PCHs and SOCs have an internal mux that is used to share one USB port between device controller and host controller. The mux is handled through the Dual Role Configuration Register. Signed-off-by: Heikki Krogerus Signed-off-by: Lu Baolu Signed-off-by: Wu Hao Reviewed-by: Felipe

[PATCH v3 2/7] extcon: usb-gpio: add support for ACPI gpio interface

2016-03-07 Thread Lu Baolu
GPIO resource could be retrieved through APCI as well. Signed-off-by: Lu Baolu Reviewed-by: Felipe Balbi Acked-by: Chanwoo Choi --- drivers/extcon/extcon-usb-gpio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/extcon/extcon-usb-gpio.c b/drivers/extcon/extcon

[PATCH v3 1/7] extcon: usb-gpio: add device binding for platform device

2016-03-07 Thread Lu Baolu
This is needed to handle the GPIO connected USB ID pin found on Intel Baytrail devices. Signed-off-by: Lu Baolu Reviewed-by: Felipe Balbi Acked-by: Chanwoo Choi --- drivers/extcon/extcon-usb-gpio.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/extcon/extcon-usb-gpio.c b

[PATCH v3 6/7] usb: pci-quirks: add Intel USB drcfg mux device

2016-03-07 Thread Lu Baolu
mux switch. Signed-off-by: Lu Baolu <baolu...@linux.intel.com> Reviewed-by: Felipe Balbi <ba...@kernel.org> --- drivers/usb/host/pci-quirks.c| 47 ++-- drivers/usb/host/xhci-ext-caps.h | 2 ++ 2 files changed, 47 insertions(+), 2 deletions(-)

[PATCH v3 6/7] usb: pci-quirks: add Intel USB drcfg mux device

2016-03-07 Thread Lu Baolu
mux switch. Signed-off-by: Lu Baolu Reviewed-by: Felipe Balbi --- drivers/usb/host/pci-quirks.c| 47 ++-- drivers/usb/host/xhci-ext-caps.h | 2 ++ 2 files changed, 47 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/pci-quirks.c b/drivers/usb

[PATCH v3 3/7] usb: mux: add common code for Intel dual role port mux

2016-03-07 Thread Lu Baolu
HOST and PERIPHERAL; 3) The required action to do the real port switch. This patch adds the common code to handle usb port mux. With this common code, the individual mux driver, which always is platform dependent, could focus on the real operation of mux switch. Signed-off-by: Lu Baolu <ba

[PATCH v3 7/7] mfd: intel_vuport: Add Intel virtual USB port MFD Driver

2016-03-07 Thread Lu Baolu
Some Intel platforms have an USB port mux controlled by GPIOs. There's a single ACPI platform device that provides both USB ID extcon device and a USB port mux device. This MFD driver will split the 2 devices for their respective drivers. Signed-off-by: Lu Baolu <baolu...@linux.intel.

[PATCH v3 3/7] usb: mux: add common code for Intel dual role port mux

2016-03-07 Thread Lu Baolu
HOST and PERIPHERAL; 3) The required action to do the real port switch. This patch adds the common code to handle usb port mux. With this common code, the individual mux driver, which always is platform dependent, could focus on the real operation of mux switch. Signed-off-by: Lu Baolu Reviewed

[PATCH v3 7/7] mfd: intel_vuport: Add Intel virtual USB port MFD Driver

2016-03-07 Thread Lu Baolu
Some Intel platforms have an USB port mux controlled by GPIOs. There's a single ACPI platform device that provides both USB ID extcon device and a USB port mux device. This MFD driver will split the 2 devices for their respective drivers. Signed-off-by: Lu Baolu Suggested-by: David Cohen

[PATCH v3 4/7] usb: mux: add driver for Intel gpio controlled port mux

2016-03-07 Thread Lu Baolu
In some Intel platforms, a single usb port is shared between USB host and device controller. The shared port is under control of GPIO pins. This patch adds the support for USB GPIO controlled port mux. Signed-off-by: David Cohen <david.a.co...@linux.intel.com> Signed-off-by: Lu Baolu

[PATCH v3 4/7] usb: mux: add driver for Intel gpio controlled port mux

2016-03-07 Thread Lu Baolu
In some Intel platforms, a single usb port is shared between USB host and device controller. The shared port is under control of GPIO pins. This patch adds the support for USB GPIO controlled port mux. Signed-off-by: David Cohen Signed-off-by: Lu Baolu Reviewed-by: Heikki Krogerus Reviewed

[PATCH v3 0/7] usb: add support for Intel dual role port mux

2016-03-07 Thread Lu Baolu
for USB port mux controlled through memory mapped registers and the logic to create the mux device. This type of dual role port mux could be found in Cherry Trail and Broxton devices. Lu Baolu (7): extcon: usb-gpio: add device binding for platform device extcon: usb-gpio: add support

[PATCH v3 0/7] usb: add support for Intel dual role port mux

2016-03-07 Thread Lu Baolu
for USB port mux controlled through memory mapped registers and the logic to create the mux device. This type of dual role port mux could be found in Cherry Trail and Broxton devices. Lu Baolu (7): extcon: usb-gpio: add device binding for platform device extcon: usb-gpio: add support

Re: [PATCH v2 7/7] mfd: intel_vuport: Add Intel virtual USB port MFD Driver

2016-03-07 Thread Lu Baolu
On 03/08/2016 12:40 PM, Lee Jones wrote: > On Mon, 07 Mar 2016, Lu Baolu wrote: > >> Some Intel platforms have an USB port mux controlled by GPIOs. >> There's a single ACPI platform device that provides both USB ID >> extcon device and a USB port mux device. This MFD dr

Re: [PATCH v2 7/7] mfd: intel_vuport: Add Intel virtual USB port MFD Driver

2016-03-07 Thread Lu Baolu
On 03/08/2016 12:40 PM, Lee Jones wrote: > On Mon, 07 Mar 2016, Lu Baolu wrote: > >> Some Intel platforms have an USB port mux controlled by GPIOs. >> There's a single ACPI platform device that provides both USB ID >> extcon device and a USB port mux device. This MFD dr

[PATCH v2 6/7] usb: pci-quirks: add Intel USB drcfg mux device

2016-03-07 Thread Lu Baolu
mux switch. Signed-off-by: Lu Baolu <baolu...@linux.intel.com> Reviewed-by: Felipe Balbi <ba...@kernel.org> --- drivers/usb/host/pci-quirks.c| 47 ++-- drivers/usb/host/xhci-ext-caps.h | 2 ++ 2 files changed, 47 insertions(+), 2 deletions(-)

[PATCH v2 6/7] usb: pci-quirks: add Intel USB drcfg mux device

2016-03-07 Thread Lu Baolu
mux switch. Signed-off-by: Lu Baolu Reviewed-by: Felipe Balbi --- drivers/usb/host/pci-quirks.c| 47 ++-- drivers/usb/host/xhci-ext-caps.h | 2 ++ 2 files changed, 47 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/pci-quirks.c b/drivers/usb

[PATCH v2 3/7] usb: mux: add common code for Intel dual role port mux

2016-03-07 Thread Lu Baolu
HOST and PERIPHERAL; 3) The required action to do the real port switch. This patch adds the common code to handle usb port mux. With this common code, the individual mux driver, which always is platform dependent, could focus on the real operation of mux switch. Signed-off-by: Lu Baolu <ba

[PATCH v2 2/7] extcon: usb-gpio: add support for ACPI gpio interface

2016-03-07 Thread Lu Baolu
GPIO resource could be retrieved through APCI as well. Signed-off-by: Lu Baolu <baolu...@linux.intel.com> Reviewed-by: Felipe Balbi <ba...@kernel.org> Acked-by: Chanwoo Choi <cw00.c...@samsung.com> --- drivers/extcon/extcon-usb-gpio.c | 3 ++- 1 file changed, 2 insertions(+), 1

[PATCH v2 3/7] usb: mux: add common code for Intel dual role port mux

2016-03-07 Thread Lu Baolu
HOST and PERIPHERAL; 3) The required action to do the real port switch. This patch adds the common code to handle usb port mux. With this common code, the individual mux driver, which always is platform dependent, could focus on the real operation of mux switch. Signed-off-by: Lu Baolu Reviewed

[PATCH v2 2/7] extcon: usb-gpio: add support for ACPI gpio interface

2016-03-07 Thread Lu Baolu
GPIO resource could be retrieved through APCI as well. Signed-off-by: Lu Baolu Reviewed-by: Felipe Balbi Acked-by: Chanwoo Choi --- drivers/extcon/extcon-usb-gpio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/extcon/extcon-usb-gpio.c b/drivers/extcon/extcon

[PATCH v2 5/7] usb: mux: add driver for Intel drcfg controlled port mux

2016-03-07 Thread Lu Baolu
Several Intel PCHs and SOCs have an internal mux that is used to share one USB port between device controller and host controller. The mux is handled through the Dual Role Configuration Register. Signed-off-by: Heikki Krogerus <heikki.kroge...@linux.intel.com> Signed-off-by: Lu Baolu

[PATCH v2 5/7] usb: mux: add driver for Intel drcfg controlled port mux

2016-03-07 Thread Lu Baolu
Several Intel PCHs and SOCs have an internal mux that is used to share one USB port between device controller and host controller. The mux is handled through the Dual Role Configuration Register. Signed-off-by: Heikki Krogerus Signed-off-by: Lu Baolu Signed-off-by: Wu Hao Reviewed-by: Felipe

[PATCH v2 4/7] usb: mux: add driver for Intel gpio controlled port mux

2016-03-07 Thread Lu Baolu
In some Intel platforms, a single usb port is shared between USB host and device controller. The shared port is under control of GPIO pins. This patch adds the support for USB GPIO controlled port mux. Signed-off-by: David Cohen <david.a.co...@linux.intel.com> Signed-off-by: Lu Baolu

[PATCH v2 7/7] mfd: intel_vuport: Add Intel virtual USB port MFD Driver

2016-03-07 Thread Lu Baolu
Some Intel platforms have an USB port mux controlled by GPIOs. There's a single ACPI platform device that provides both USB ID extcon device and a USB port mux device. This MFD driver will split the 2 devices for their respective drivers. Signed-off-by: Lu Baolu <baolu...@linux.intel.

[PATCH v2 4/7] usb: mux: add driver for Intel gpio controlled port mux

2016-03-07 Thread Lu Baolu
In some Intel platforms, a single usb port is shared between USB host and device controller. The shared port is under control of GPIO pins. This patch adds the support for USB GPIO controlled port mux. Signed-off-by: David Cohen Signed-off-by: Lu Baolu Reviewed-by: Heikki Krogerus Reviewed

[PATCH v2 7/7] mfd: intel_vuport: Add Intel virtual USB port MFD Driver

2016-03-07 Thread Lu Baolu
Some Intel platforms have an USB port mux controlled by GPIOs. There's a single ACPI platform device that provides both USB ID extcon device and a USB port mux device. This MFD driver will split the 2 devices for their respective drivers. Signed-off-by: Lu Baolu Suggested-by: David Cohen

[PATCH v2 1/7] extcon: usb-gpio: add device binding for platform device

2016-03-07 Thread Lu Baolu
This is needed to handle the GPIO connected USB ID pin found on Intel Baytrail devices. Signed-off-by: Lu Baolu <baolu...@linux.intel.com> Reviewed-by: Felipe Balbi <ba...@kernel.org> Acked-by: Chanwoo Choi <cw00.c...@samsung.com> --- drivers/extcon/extcon-usb-gpio.c | 7 +

[PATCH v2 1/7] extcon: usb-gpio: add device binding for platform device

2016-03-07 Thread Lu Baolu
This is needed to handle the GPIO connected USB ID pin found on Intel Baytrail devices. Signed-off-by: Lu Baolu Reviewed-by: Felipe Balbi Acked-by: Chanwoo Choi --- drivers/extcon/extcon-usb-gpio.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/extcon/extcon-usb-gpio.c b

[PATCH v2 0/7] usb: add support for Intel dual role port mux

2016-03-07 Thread Lu Baolu
for USB port mux controlled through memory mapped registers and the logic to create the mux device. This type of dual role port mux could be found in Cherry Trail and Broxton devices. Lu Baolu (7): extcon: usb-gpio: add device binding for platform device extcon: usb-gpio: add support

[PATCH v2 0/7] usb: add support for Intel dual role port mux

2016-03-07 Thread Lu Baolu
for USB port mux controlled through memory mapped registers and the logic to create the mux device. This type of dual role port mux could be found in Cherry Trail and Broxton devices. Lu Baolu (7): extcon: usb-gpio: add device binding for platform device extcon: usb-gpio: add support

Re: [PATCH 5/7] usb: misc: add driver for Intel drcfg controlled port mux

2016-03-03 Thread Lu Baolu
On 03/04/2016 09:44 AM, Greg Kroah-Hartman wrote: > On Fri, Mar 04, 2016 at 09:38:58AM +0800, Lu Baolu wrote: >> >> On 03/04/2016 12:14 AM, Greg Kroah-Hartman wrote: >>> On Thu, Mar 03, 2016 at 02:37:42PM +0800, Lu Baolu wrote: >>>> Several Intel PCHs and SO

Re: [PATCH 5/7] usb: misc: add driver for Intel drcfg controlled port mux

2016-03-03 Thread Lu Baolu
On 03/04/2016 09:44 AM, Greg Kroah-Hartman wrote: > On Fri, Mar 04, 2016 at 09:38:58AM +0800, Lu Baolu wrote: >> >> On 03/04/2016 12:14 AM, Greg Kroah-Hartman wrote: >>> On Thu, Mar 03, 2016 at 02:37:42PM +0800, Lu Baolu wrote: >>>> Several Intel PCHs and SO

Re: [PATCH 5/7] usb: misc: add driver for Intel drcfg controlled port mux

2016-03-03 Thread Lu Baolu
On 03/04/2016 12:12 AM, Greg Kroah-Hartman wrote: > On Thu, Mar 03, 2016 at 02:37:42PM +0800, Lu Baolu wrote: >> Several Intel PCHs and SOCs have an internal mux that is used to >> share one USB port between device controller and host controller. >> The mux is handled

Re: [PATCH 5/7] usb: misc: add driver for Intel drcfg controlled port mux

2016-03-03 Thread Lu Baolu
On 03/04/2016 12:12 AM, Greg Kroah-Hartman wrote: > On Thu, Mar 03, 2016 at 02:37:42PM +0800, Lu Baolu wrote: >> Several Intel PCHs and SOCs have an internal mux that is used to >> share one USB port between device controller and host controller. >> The mux is handled

Re: [PATCH 5/7] usb: misc: add driver for Intel drcfg controlled port mux

2016-03-03 Thread Lu Baolu
On 03/04/2016 12:14 AM, Greg Kroah-Hartman wrote: > On Thu, Mar 03, 2016 at 02:37:42PM +0800, Lu Baolu wrote: >> Several Intel PCHs and SOCs have an internal mux that is used to >> share one USB port between device controller and host controller. >> The mux is handled

Re: [PATCH 5/7] usb: misc: add driver for Intel drcfg controlled port mux

2016-03-03 Thread Lu Baolu
On 03/04/2016 12:14 AM, Greg Kroah-Hartman wrote: > On Thu, Mar 03, 2016 at 02:37:42PM +0800, Lu Baolu wrote: >> Several Intel PCHs and SOCs have an internal mux that is used to >> share one USB port between device controller and host controller. >> The mux is handled

Re: [PATCH 3/7] usb: misc: add common code for Intel dual role port mux

2016-03-03 Thread Lu Baolu
On 03/04/2016 12:15 AM, Greg Kroah-Hartman wrote: > On Thu, Mar 03, 2016 at 02:37:40PM +0800, Lu Baolu wrote: >> +#if IS_ENABLED(CONFIG_USB_MUX) >> +extern int usb_mux_register(struct usb_mux_dev *mux); >> +extern int usb_mux_unregister(struct device *dev); >>

Re: [PATCH 3/7] usb: misc: add common code for Intel dual role port mux

2016-03-03 Thread Lu Baolu
On 03/04/2016 12:15 AM, Greg Kroah-Hartman wrote: > On Thu, Mar 03, 2016 at 02:37:40PM +0800, Lu Baolu wrote: >> +#if IS_ENABLED(CONFIG_USB_MUX) >> +extern int usb_mux_register(struct usb_mux_dev *mux); >> +extern int usb_mux_unregister(struct device *dev); >>

Re: [PATCH 3/7] usb: misc: add common code for Intel dual role port mux

2016-03-03 Thread Lu Baolu
On 03/04/2016 12:10 AM, Greg Kroah-Hartman wrote: > On Thu, Mar 03, 2016 at 02:37:40PM +0800, Lu Baolu wrote: >> Several Intel PCHs and SOCs have an internal mux that is used to >> share one USB port between device controller and host controller. >> >> A usb p

Re: [PATCH 3/7] usb: misc: add common code for Intel dual role port mux

2016-03-03 Thread Lu Baolu
On 03/04/2016 12:10 AM, Greg Kroah-Hartman wrote: > On Thu, Mar 03, 2016 at 02:37:40PM +0800, Lu Baolu wrote: >> Several Intel PCHs and SOCs have an internal mux that is used to >> share one USB port between device controller and host controller. >> >> A usb p

Re: [PATCH 2/7] extcon: usb-gpio: add support for ACPI gpio interface

2016-03-02 Thread Lu Baolu
On 03/03/2016 03:24 PM, Chanwoo Choi wrote: > Hi Lu, > > On 2016년 03월 03일 15:37, Lu Baolu wrote: >> GPIO resource could be retrieved through APCI as well. >> >> Signed-off-by: Lu Baolu <baolu...@linux.intel.com> >> Reviewed-by: Felipe Balbi <ba...@kernel

Re: [PATCH 2/7] extcon: usb-gpio: add support for ACPI gpio interface

2016-03-02 Thread Lu Baolu
On 03/03/2016 03:24 PM, Chanwoo Choi wrote: > Hi Lu, > > On 2016년 03월 03일 15:37, Lu Baolu wrote: >> GPIO resource could be retrieved through APCI as well. >> >> Signed-off-by: Lu Baolu >> Reviewed-by: Felipe Balbi >> --- >> drivers/extcon/ex

Re: [PATCH 1/7] extcon: usb-gpio: add device binding for platform device

2016-03-02 Thread Lu Baolu
On 03/03/2016 03:24 PM, Chanwoo Choi wrote: > Hell Lu, > > On 2016년 03월 03일 15:37, Lu Baolu wrote: >> This is needed to handle the GPIO connected USB ID pin found on >> Intel Baytrail devices. >> >> Signed-off-by: Lu Baolu <baolu...@linux.intel.com> >>

Re: [PATCH 1/7] extcon: usb-gpio: add device binding for platform device

2016-03-02 Thread Lu Baolu
On 03/03/2016 03:24 PM, Chanwoo Choi wrote: > Hell Lu, > > On 2016년 03월 03일 15:37, Lu Baolu wrote: >> This is needed to handle the GPIO connected USB ID pin found on >> Intel Baytrail devices. >> >> Signed-off-by: Lu Baolu >> Reviewed-by: Felipe Balb

[PATCH 1/7] extcon: usb-gpio: add device binding for platform device

2016-03-02 Thread Lu Baolu
This is needed to handle the GPIO connected USB ID pin found on Intel Baytrail devices. Signed-off-by: Lu Baolu <baolu...@linux.intel.com> Reviewed-by: Felipe Balbi <ba...@kernel.org> --- drivers/extcon/extcon-usb-gpio.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/dr

[PATCH 1/7] extcon: usb-gpio: add device binding for platform device

2016-03-02 Thread Lu Baolu
This is needed to handle the GPIO connected USB ID pin found on Intel Baytrail devices. Signed-off-by: Lu Baolu Reviewed-by: Felipe Balbi --- drivers/extcon/extcon-usb-gpio.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/extcon/extcon-usb-gpio.c b/drivers/extcon/extcon-usb

[PATCH 2/7] extcon: usb-gpio: add support for ACPI gpio interface

2016-03-02 Thread Lu Baolu
GPIO resource could be retrieved through APCI as well. Signed-off-by: Lu Baolu <baolu...@linux.intel.com> Reviewed-by: Felipe Balbi <ba...@kernel.org> --- drivers/extcon/extcon-usb-gpio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/extcon/extcon-

[PATCH 4/7] usb: misc: add driver for Intel gpio controlled port mux

2016-03-02 Thread Lu Baolu
In some Intel platforms, a single usb port is shared between USB host and device controller. The shared port is under control of GPIO pins. This patch adds the support for USB GPIO controlled port mux. Signed-off-by: David Cohen <david.a.co...@linux.intel.com> Signed-off-by: Lu Baolu

[PATCH 2/7] extcon: usb-gpio: add support for ACPI gpio interface

2016-03-02 Thread Lu Baolu
GPIO resource could be retrieved through APCI as well. Signed-off-by: Lu Baolu Reviewed-by: Felipe Balbi --- drivers/extcon/extcon-usb-gpio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/extcon/extcon-usb-gpio.c b/drivers/extcon/extcon-usb-gpio.c index af9c8b0

[PATCH 4/7] usb: misc: add driver for Intel gpio controlled port mux

2016-03-02 Thread Lu Baolu
In some Intel platforms, a single usb port is shared between USB host and device controller. The shared port is under control of GPIO pins. This patch adds the support for USB GPIO controlled port mux. Signed-off-by: David Cohen Signed-off-by: Lu Baolu Reviewed-by: Heikki Krogerus Reviewed

[PATCH 5/7] usb: misc: add driver for Intel drcfg controlled port mux

2016-03-02 Thread Lu Baolu
Several Intel PCHs and SOCs have an internal mux that is used to share one USB port between device controller and host controller. The mux is handled through the Dual Role Configuration Register. Signed-off-by: Heikki Krogerus <heikki.kroge...@linux.intel.com> Signed-off-by: Lu Baolu

[PATCH 3/7] usb: misc: add common code for Intel dual role port mux

2016-03-02 Thread Lu Baolu
HOST and PERIPHERAL; 3) The required action to do the real port switch. This patch adds the common code to handle usb port mux. With this common code, the individual mux driver, which always is platform dependent, could focus on the real operation of mux switch. Signed-off-by: Lu Baolu <ba

<    9   10   11   12   13   14   15   16   17   18   >