Re: [PATCH] power: supply: cpcap-charger: Add minimal CPCAP PMIC battery charger

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




* Sebastian Reichel <sre@xxxxxxxxxx> [170321 19:17]:
> Hi,
> 
> On Thu, Mar 16, 2017 at 07:21:52PM -0700, Tony Lindgren wrote:
> > The custom CPCAP PMIC used on Motorola phones such as Droid 4 has a
> > USB battery charger. It can optionally also have a companion chip that
> > is used for wireless charging.
> > 
> > The charger on CPCAP also can feed VBUS for the USB host mode. This
> > can be handled by the existing kernel phy_companion interface.
> > 
> > Cc: devicetree@xxxxxxxxxxxxxxx
> > Cc: Marcel Partap <mpartap@xxxxxxx>
> > Cc: Michael Scott <michael.scott@xxxxxxxxxx>
> > Signed-off-by: Tony Lindgren <tony@xxxxxxxxxxx>
> 
> Driver looks ok and works for me, but values are not scaled
> correctly. The power-supply subsystem exposes values in microamps
> and microvolt. IIO provides values in millivolt/milliamps instead,
> so it should be scaled with 1000.

Oh OK, will repost. There will also be a minor change for using
the processed IIO values instead of the scaled values when I update
the ADC driver.

Regards,

Tony

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux