[Gta04-owner] [PATCH] mfd: twl4030-power: Support compatible = "ti, twl4030-power" again.

NeilBrown neilb at suse.de
Mon Nov 10 02:27:22 CET 2014


On Sat, 8 Nov 2014 08:24:28 +0100 "Dr. H. Nikolaus Schaller"
<hns at goldelico.com> wrote:

> 
> Am 08.11.2014 um 01:22 schrieb NeilBrown <neilb at suse.de>:
> 
> > 
> > commit e7cd1d1eb16fcdf53001b926187a82f1f3e1a7e6
> >    mfd: twl4030-power: Add generic reset configuration
> > 
> > claims:
> >    Let's add device tree support and configure things for warm reset
> >    as the default when compatible = "ti,twl4030-power".
> > and
> >    Documentation/devicetree/bindings/mfd/twl4030-power.txt
> > claims that "ti,twl4030-power" is still a valid "compatible" setting.
> > 
> > However the current driver fails to probe with that 'compatible'
> > setting.
> > Restore the old default.
> 
> I think this is a duplicate to 
> 
> 599a1ca80d1d8269d54fdc4abdec8e65141381fe
> 
> (in linux-next)


Ahh, so it is.  Thanks.

NeilBrown


> 
> > 
> > Signed-off-by: NeilBrown <neilb at suse.de>
> > 
> > diff --git a/drivers/mfd/twl4030-power.c b/drivers/mfd/twl4030-power.c
> > index 4d3ff3771491..1a7794f6be15 100644
> > --- a/drivers/mfd/twl4030-power.c
> > +++ b/drivers/mfd/twl4030-power.c
> > @@ -776,6 +776,10 @@ static struct twl4030_power_data osc_off_idle = {
> > 
> > static struct of_device_id twl4030_power_of_match[] = {
> > 	{
> > +		.compatible = "ti,twl4030-power",
> > +		.data = NULL,
> > +	},
> > +	{
> > 		.compatible = "ti,twl4030-power-reset",
> > 		.data = &omap3_reset,
> > 	},
> > _______________________________________________
> > Gta04-owner mailing list
> > Gta04-owner at goldelico.com
> > http://lists.goldelico.com/mailman/listinfo.cgi/gta04-owner

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 811 bytes
Desc: OpenPGP digital signature
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20141110/eaaaea74/attachment.asc>


More information about the Gta04-owner mailing list