Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1607056
| From | Tony Lindgren <tony@atomide.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] phy: cpcap-usb: Add CPCAP PMIC USB support |
| Date | 2017-03-22 23:10 +0100 |
| Message-ID | <tnWC5-Yx-3@gated-at.bofh.it> (permalink) |
| References | <tlRdv-8tS-1@gated-at.bofh.it> <tnE2t-3Lh-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
* Sebastian Reichel <sre@kernel.org> [170321 19:20]: > Hi, > > On Thu, Mar 16, 2017 at 08:51:52PM -0700, Tony Lindgren wrote: > > Some Motorola phones like droid 4 use a custom CPCAP PMIC that has a > > multiplexing USB PHY. > > > > This USB PHY can operate at least in four modes using pin multiplexing > > and two control GPIOS: > > > > - Pass through companion PHY for the SoC USB PHY > > - ULPI PHY for the SoC > > - Pass through USB for the modem > > - UART debug console for the SoC > > > > This patch adds support for droid 4 USB PHY and debug UART modes, > > support for other modes can be added later on as needed. > > > > Both peripheral and host mode are working for the USB. The > > host mode depends on the cpcap-charger driver for VBUS. > > > > VBUS and ID pin detection are done using cpcap-adc IIO ADC > > driver. > > I tested UART, USB slave (cdc-ether) & USB host (keyboard & touchpad > from Atrix lapdock) mode with Droid 4: > > Tested-by: Sebastian Reichel <sre@kernel.org> Thanks for testing. I'll repost v2 shortly with a minor change to use iio_read_channel_processed() instead of iio_read_channel_scale() as the ADC values are processed in the driver and not scaled by the IIO framework. Regards, Tony
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] phy: cpcap-usb: Add CPCAP PMIC USB support Tony Lindgren <tony@atomide.com> - 2017-03-17 05:00 +0100
Re: [PATCH] phy: cpcap-usb: Add CPCAP PMIC USB support Sebastian Reichel <sre@kernel.org> - 2017-03-22 03:20 +0100
Re: [PATCH] phy: cpcap-usb: Add CPCAP PMIC USB support Tony Lindgren <tony@atomide.com> - 2017-03-22 23:10 +0100
csiph-web