lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 28 Mar 2017 21:04:24 -0500 From: Rob Herring <robh@...nel.org> To: Tony Lindgren <tony@...mide.com> Cc: Kishon Vijay Abraham I <kishon@...com>, linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org, linux-omap@...r.kernel.org, devicetree@...r.kernel.org, Marcel Partap <mpartap@....net>, Michael Scott <michael.scott@...aro.org> Subject: Re: [PATCHv2] phy: cpcap-usb: Add CPCAP PMIC USB support On Wed, Mar 22, 2017 at 04:46:02PM -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. > > Cc: devicetree@...r.kernel.org > Cc: Marcel Partap <mpartap@....net> > Cc: Michael Scott <michael.scott@...aro.org> > Tested-by: Sebastian Reichel <sre@...nel.org> > Signed-off-by: Tony Lindgren <tony@...mide.com> > --- > > Changes since v1: > > - Use iio_read_channel_processed() instead of iio_read_channel_scaled() > as changed in the v2 of the ADC driver > > - Keep Tested-by from Sebastian Reichel <sre@...nel.org> as the change > from v1 is trivial > > --- > .../devicetree/bindings/phy/phy-cpcap-usb.txt | 40 ++ Acked-by: Rob Herring <robh@...nel.org> > drivers/phy/Kconfig | 8 + > drivers/phy/Makefile | 1 + > drivers/phy/phy-cpcap-usb.c | 695 +++++++++++++++++++++ > 4 files changed, 744 insertions(+) > create mode 100644 Documentation/devicetree/bindings/phy/phy-cpcap-usb.txt > create mode 100644 drivers/phy/phy-cpcap-usb.c
Powered by blists - more mailing lists