Re: [PATCH 04/11] usb: xhci: Add Intel cherrytrail extended cap / otg phy mux handling

2017-09-04 Thread Heikki Krogerus
Hi, On Fri, Sep 01, 2017 at 11:48:38PM +0200, Hans de Goede wrote: > The Intel cherrytrail xhci controller has an extended cap mmio-range > which contains registers to control the muxing to the xhci (host mode) > or the dwc3 (device mode) and vbus-detection for the otg usb-phy. > > Having a mux d

Re: [PATCH 06/11] mux: Add Pericom PI3USB30532 Type-C mux driver

2017-09-04 Thread Peter Rosin
Hi! One comment inline... On 2017-09-01 23:48, Hans de Goede wrote: > Add a driver for the Pericom PI3USB30532 Type-C cross switch / > mux chip found on some devices with a Type-C port. > > Signed-off-by: Hans de Goede > --- > drivers/mux/Kconfig | 10 + > drivers/mux/Makefile |

Re: [PATCH 05/11] mux: Add Intel Cherrytrail USB mux driver

2017-09-04 Thread Peter Rosin
Hi! Some comments inline... On 2017-09-01 23:48, Hans de Goede wrote: > Intel Cherrytrail SoCs have an internal USB mux for muxing the otg-port > USB data lines between the xHCI host controller and the dwc3 gadget > controller. On some Cherrytrail systems this mux is controlled through > AML code

Re: [PATCH 02/11] mux: core: Add support for getting a mux controller on a non DT platform

2017-09-04 Thread Peter Rosin
Hi! Some comments inline... On 2017-09-01 23:48, Hans de Goede wrote: > On non DT platforms we cannot get the mux_chip by pnode. Other subsystems > (regulator, clock, pwm) have the same problem and solve this by allowing > platform / board-setup code to add entries to a lookup table and then use

Re: [PATCH 00/11] mux/typec: Add USB / TypeC mux drivers and hook them up on some x86 systems

2017-09-04 Thread Peter Rosin
On 2017-09-01 23:48, Hans de Goede wrote: > Hi All, > > This series consists of 4 parts: > > 1) Core mux changes to add support for getting mux-controllers on >non DT platforms and to add some standardised state values for USB > > 2) Add Intel CHT USB mux and Pericom-PI3USB30532 Type-C mux d

Re: [PATCH 05/11] mux: Add Intel Cherrytrail USB mux driver

2017-09-04 Thread Hans de Goede
Hi, Thank you for the reviews! On 02-09-17 12:19, Andy Shevchenko wrote: On Sat, Sep 2, 2017 at 12:48 AM, Hans de Goede wrote: Intel Cherrytrail SoCs have an internal USB mux for muxing the otg-port USB data lines between the xHCI host controller and the dwc3 gadget controller. On some Cherry

Re: [PATCH 07/11] extcon: intel-int3496: Add support for controlling the USB-role mux

2017-09-04 Thread Hans de Goede
Hi, On 02-09-17 12:39, Andy Shevchenko wrote: On Sat, Sep 2, 2017 at 12:48 AM, Hans de Goede wrote: Cherry Trail SoCs have a built-in USB-role mux for switching between the host and device controllers, rather then using an external mux controller by a GPIO. There is a driver using the mux-sub

Re: [PATCH 11/11] platform/x86: intel_cht_int33fe: Add mux mappings for the Type-C port

2017-09-04 Thread Hans de Goede
Hi, On 02-09-17 12:42, Andy Shevchenko wrote: On Sat, Sep 2, 2017 at 12:48 AM, Hans de Goede wrote: We need to add mappings for the mux subsys to be able to find the muxes for the fusb302 driver to be able to control the PI3USB30532 Type-C mux and the device/host mux integrated in the CHT SoC.

Re: [PATCH 02/11] mux: core: Add support for getting a mux controller on a non DT platform

2017-09-04 Thread Hans de Goede
Hi, On 02-09-17 21:13, sathya wrote: Hi, On 09/01/2017 02:48 PM, Hans de Goede wrote: On non DT platforms we cannot get the mux_chip by pnode. Other subsystems (regulator, clock, pwm) have the same problem and solve this by allowing platform / board-setup code to add entries to a lookup table

[GIT PULL] Staging/IIO driver updates for 4.14-rc1

2017-09-04 Thread Greg KH
The following changes since commit cc4a41fe5541a73019a864883297bd5043aa6d98: Linux 4.13-rc7 (2017-08-27 17:20:40 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/ tags/staging-4.14-rc1 for you to fetch changes up to 28eb51f7468