From: Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
To: Sebastian Reichel <sre-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: Kishon Vijay Abraham I <kishon-l0cyMroinI0@public.gmane.org>,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Marcel Partap <mpartap-hi6Y0CQ0nG0@public.gmane.org>,
Michael Scott
<michael.scott-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Subject: Re: [PATCH] phy: cpcap-usb: Add CPCAP PMIC USB support
Date: Wed, 22 Mar 2017 14:59:36 -0700 [thread overview]
Message-ID: <20170322215935.GG10760@atomide.com> (raw)
In-Reply-To: <20170322021828.wkbx3es6dpuur42y@earth>
* Sebastian Reichel <sre-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.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-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.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
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: Tony Lindgren <tony@atomide.com>
To: Sebastian Reichel <sre@kernel.org>
Cc: Kishon Vijay Abraham I <kishon@ti.com>,
linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org,
linux-omap@vger.kernel.org, devicetree@vger.kernel.org,
Marcel Partap <mpartap@gmx.net>,
Michael Scott <michael.scott@linaro.org>
Subject: Re: [PATCH] phy: cpcap-usb: Add CPCAP PMIC USB support
Date: Wed, 22 Mar 2017 14:59:36 -0700 [thread overview]
Message-ID: <20170322215935.GG10760@atomide.com> (raw)
In-Reply-To: <20170322021828.wkbx3es6dpuur42y@earth>
* 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
next prev parent reply other threads:[~2017-03-22 21:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-17 3:51 [PATCH] phy: cpcap-usb: Add CPCAP PMIC USB support Tony Lindgren
2017-03-22 2:18 ` Sebastian Reichel
2017-03-22 21:59 ` Tony Lindgren [this message]
2017-03-22 21:59 ` Tony Lindgren
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=20170322215935.GG10760@atomide.com \
--to=tony-4v6ys6ai5vpbdgjk7y7tuq@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=kishon-l0cyMroinI0@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=michael.scott-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
--cc=mpartap-hi6Y0CQ0nG0@public.gmane.org \
--cc=sre-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
/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.