Re: [PATCH 1/2] leds: cpcap: new driver

From: Pavel Machek
Date: Tue Mar 07 2017 - 06:57:10 EST


Hi!

> * Pavel Machek <pavel@xxxxxx> [170306 14:13]:
> > > Motorola CPCAP is a PMIC found in multiple smartphones.
> > > This driver adds support for the chip's LED controllers.
> > > It has explicit support for all controllers used by the
> > > Droid 4. Since no datasheets are available the other
> > > available controllers are not supported until somebody
> > > verified, that the register layout matches.
> >
> > This of course leads me to two questions:
> >
> > 1) Where can I get Droid 4?
>
> There's plenty of them available used for a few tens of $/â
> on ebay as it was a popular phone on Verizon network in the
> US. It works fine on 3G networks outside the U.S, 4G probably
> only works in the US.

Ok, and more importantly, 2G should work outside U.S., too, good.

> > 2) How well is it supported?
>
> Basic things like UART, MMC, eMMC, WLAN, I2C, SPI, HDMI,
> clocks, PMIC and regulators work with lots of other dts
> configured devices heading into tomorrow's Linux next in my
> dts branch omap-for-v4.12/dt-droid4. LCD related patches have
> been posted but are not yet in next.
>
> Things that currently don't work are ADC, USB, charging,
> audio and modems. The modems are on OHCI/EHCI, audio is on the
> PMIC similar to the twl4030. I'm slowly working on a driver for
> ADC/USB/charging with few more issues to sort out. I do have
> ADC/USB/charging working with my current hacks though.

2 cores and more importantly 1GB of RAM. Nice. OTOH, I'm avoiding N950
due to its crazy "security" system and this one is even worse. RAM and
CPUs are nice, but phone calls are what is important for me. And
battery charging, I guess. Serial port on the USB connector _is_ nice,
OTOH.

Anyway, good luck, and thanks for the pointers. I will get Droid 4 if
it is easy. But I guess I'll stick to N900 for now. I want something
that can do voice calls.

Best regards,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: signature.asc
Description: Digital signature