Re: [PATCH] mfd: cpcap: Add minimal support

2016-11-29 Thread Tony Lindgren
* Rob Herring [161129 07:20]: > On Thu, Nov 24, 2016 at 2:59 AM, Lee Jones wrote: > > On Wed, 23 Nov 2016, Tony Lindgren wrote: > > > >> * Lee Jones [161121 03:43]: > >> > On Fri, 18 Nov 2016, Tony Lindgren wrote: > >> > > ---

Re: [PATCH] mfd: cpcap: Add minimal support

2016-11-29 Thread Tony Lindgren
* Rob Herring [161129 07:20]: > On Thu, Nov 24, 2016 at 2:59 AM, Lee Jones wrote: > > On Wed, 23 Nov 2016, Tony Lindgren wrote: > > > >> * Lee Jones [161121 03:43]: > >> > On Fri, 18 Nov 2016, Tony Lindgren wrote: > >> > > --- a/drivers/mfd/Makefile > >> > > +++ b/drivers/mfd/Makefile > >> > >

Re: [PATCH] mfd: cpcap: Add minimal support

2016-11-29 Thread Rob Herring
On Thu, Nov 24, 2016 at 2:59 AM, Lee Jones wrote: > On Wed, 23 Nov 2016, Tony Lindgren wrote: > >> * Lee Jones [161121 03:43]: >> > On Fri, 18 Nov 2016, Tony Lindgren wrote: >> > > --- a/drivers/mfd/Makefile >> > > +++ b/drivers/mfd/Makefile >> > > @@

Re: [PATCH] mfd: cpcap: Add minimal support

2016-11-29 Thread Rob Herring
On Thu, Nov 24, 2016 at 2:59 AM, Lee Jones wrote: > On Wed, 23 Nov 2016, Tony Lindgren wrote: > >> * Lee Jones [161121 03:43]: >> > On Fri, 18 Nov 2016, Tony Lindgren wrote: >> > > --- a/drivers/mfd/Makefile >> > > +++ b/drivers/mfd/Makefile >> > > @@ -97,6 +97,7 @@ obj-$(CONFIG_MFD_MC13XXX_I2C)

Re: [PATCH] mfd: cpcap: Add minimal support

2016-11-24 Thread Tony Lindgren
* Lee Jones [161124 00:56]: > On Wed, 23 Nov 2016, Tony Lindgren wrote: > > > * Lee Jones [161121 03:43]: > > > On Fri, 18 Nov 2016, Tony Lindgren wrote: > > > > --- a/drivers/mfd/Makefile > > > > +++ b/drivers/mfd/Makefile > > > > @@ -97,6 +97,7 @@

Re: [PATCH] mfd: cpcap: Add minimal support

2016-11-24 Thread Tony Lindgren
* Lee Jones [161124 00:56]: > On Wed, 23 Nov 2016, Tony Lindgren wrote: > > > * Lee Jones [161121 03:43]: > > > On Fri, 18 Nov 2016, Tony Lindgren wrote: > > > > --- a/drivers/mfd/Makefile > > > > +++ b/drivers/mfd/Makefile > > > > @@ -97,6 +97,7 @@ obj-$(CONFIG_MFD_MC13XXX_I2C) +=

Re: [PATCH] mfd: cpcap: Add minimal support

2016-11-24 Thread Lee Jones
On Wed, 23 Nov 2016, Tony Lindgren wrote: > * Lee Jones [161121 03:43]: > > On Fri, 18 Nov 2016, Tony Lindgren wrote: > > > --- a/drivers/mfd/Makefile > > > +++ b/drivers/mfd/Makefile > > > @@ -97,6 +97,7 @@ obj-$(CONFIG_MFD_MC13XXX_I2C) += mc13xxx-i2c.o > > >

Re: [PATCH] mfd: cpcap: Add minimal support

2016-11-24 Thread Lee Jones
On Wed, 23 Nov 2016, Tony Lindgren wrote: > * Lee Jones [161121 03:43]: > > On Fri, 18 Nov 2016, Tony Lindgren wrote: > > > --- a/drivers/mfd/Makefile > > > +++ b/drivers/mfd/Makefile > > > @@ -97,6 +97,7 @@ obj-$(CONFIG_MFD_MC13XXX_I2C) += mc13xxx-i2c.o > > > obj-$(CONFIG_MFD_CORE)

Re: [PATCH] mfd: cpcap: Add minimal support

2016-11-23 Thread Tony Lindgren
* Lee Jones [161121 03:43]: > On Fri, 18 Nov 2016, Tony Lindgren wrote: > > --- a/drivers/mfd/Makefile > > +++ b/drivers/mfd/Makefile > > @@ -97,6 +97,7 @@ obj-$(CONFIG_MFD_MC13XXX_I2C) += mc13xxx-i2c.o > > obj-$(CONFIG_MFD_CORE) += mfd-core.o > > > >

Re: [PATCH] mfd: cpcap: Add minimal support

2016-11-23 Thread Tony Lindgren
* Lee Jones [161121 03:43]: > On Fri, 18 Nov 2016, Tony Lindgren wrote: > > --- a/drivers/mfd/Makefile > > +++ b/drivers/mfd/Makefile > > @@ -97,6 +97,7 @@ obj-$(CONFIG_MFD_MC13XXX_I2C) += mc13xxx-i2c.o > > obj-$(CONFIG_MFD_CORE) += mfd-core.o > > > > obj-$(CONFIG_EZX_PCAP)

Re: [PATCH] mfd: cpcap: Add minimal support

2016-11-23 Thread Tony Lindgren
* Rob Herring [161121 08:34]: > On Mon, Nov 21, 2016 at 11:45:58AM +, Lee Jones wrote: > > On Fri, 18 Nov 2016, Tony Lindgren wrote: > > > +Example: > > > + > > > + { > > > + #address-cells = <1>; > > > + #size-cells = <1>; > > > + ranges; > > > + cpcap: pmic@0 { > > > +

Re: [PATCH] mfd: cpcap: Add minimal support

2016-11-23 Thread Tony Lindgren
* Rob Herring [161121 08:34]: > On Mon, Nov 21, 2016 at 11:45:58AM +, Lee Jones wrote: > > On Fri, 18 Nov 2016, Tony Lindgren wrote: > > > +Example: > > > + > > > + { > > > + #address-cells = <1>; > > > + #size-cells = <1>; > > > + ranges; > > > + cpcap: pmic@0 { > > > + compatible =

Re: [PATCH] mfd: cpcap: Add minimal support

2016-11-21 Thread Rob Herring
On Mon, Nov 21, 2016 at 11:45:58AM +, Lee Jones wrote: > On Fri, 18 Nov 2016, Tony Lindgren wrote: > > > Many Motorola phones like droid 4 are using a custom PMIC called CPCAP > > or 6556002. We can support it's core features quite easily with regmap_spi > > and regmap_irq. > > > > The

Re: [PATCH] mfd: cpcap: Add minimal support

2016-11-21 Thread Rob Herring
On Mon, Nov 21, 2016 at 11:45:58AM +, Lee Jones wrote: > On Fri, 18 Nov 2016, Tony Lindgren wrote: > > > Many Motorola phones like droid 4 are using a custom PMIC called CPCAP > > or 6556002. We can support it's core features quite easily with regmap_spi > > and regmap_irq. > > > > The

Re: [PATCH] mfd: cpcap: Add minimal support

2016-11-21 Thread Lee Jones
On Fri, 18 Nov 2016, Tony Lindgren wrote: > Many Motorola phones like droid 4 are using a custom PMIC called CPCAP > or 6556002. We can support it's core features quite easily with regmap_spi > and regmap_irq. > > The children of cpcap, such as regulators, ADC and USB, can be just regular >

Re: [PATCH] mfd: cpcap: Add minimal support

2016-11-21 Thread Lee Jones
On Fri, 18 Nov 2016, Tony Lindgren wrote: > Many Motorola phones like droid 4 are using a custom PMIC called CPCAP > or 6556002. We can support it's core features quite easily with regmap_spi > and regmap_irq. > > The children of cpcap, such as regulators, ADC and USB, can be just regular >

[PATCH] mfd: cpcap: Add minimal support

2016-11-18 Thread Tony Lindgren
Many Motorola phones like droid 4 are using a custom PMIC called CPCAP or 6556002. We can support it's core features quite easily with regmap_spi and regmap_irq. The children of cpcap, such as regulators, ADC and USB, can be just regular device drivers and defined in the dts file. They get probed

[PATCH] mfd: cpcap: Add minimal support

2016-11-18 Thread Tony Lindgren
Many Motorola phones like droid 4 are using a custom PMIC called CPCAP or 6556002. We can support it's core features quite easily with regmap_spi and regmap_irq. The children of cpcap, such as regulators, ADC and USB, can be just regular device drivers and defined in the dts file. They get probed