Re: [RFC v2 2/5] tps6586x: Add device tree support |
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [RFC v2 2/5] tps6586x: Add device tree support
- From: Thierry Reding <thierry.reding@xxxxxxxxxxxxxxxxx>
- Date: Wed, 25 Apr 2012 12:41:47 +0200
- Cc: Terje Bergström <tbergstrom@xxxxxxxxxx>, Joerg Roedel <joerg.roedel@xxxxxxx>, devicetree-discuss@xxxxxxxxxxxxxxxx, dri-devel@xxxxxxxxxxxxxxxxxxxxx, Jon Mayo <jmayo@xxxxxxxxxx>, iommu@xxxxxxxxxxxxxxxxxxxxxxxxxx, linux-i2c@xxxxxxxxxxxxxxx, Ben Dooks <ben-linux@xxxxxxxxx>, Colin Cross <ccross@xxxxxxxxxxx>, linux-tegra@xxxxxxxxxxxxxxx, Rob Herring <rob.herring@xxxxxxxxxxx>, Liam Girdwood <lrg@xxxxxx>, Hiroshi Doyu <hdoyu@xxxxxxxxxx>
- Delivered-to: dri-devel@xxxxxxxxxxxxxxxxxxxxx
- In-reply-to: <20120425101429.GA5085@avionic-0098.mockup.avionic-design.de>
- References: <1335347102-14905-1-git-send-email-thierry.reding@avionic-design.de> <1335347102-14905-3-git-send-email-thierry.reding@avionic-design.de> <20120425101031.GH3195@opensource.wolfsonmicro.com> <20120425101429.GA5085@avionic-0098.mockup.avionic-design.de>
- User-agent: Mutt/1.5.21 (2010-09-15)
* Thierry Reding wrote:
> * Mark Brown wrote:
> > On Wed, Apr 25, 2012 at 11:44:59AM +0200, Thierry Reding wrote:
> > > This commit adds device tree support for the TPS6586x regulator.
> > >
> > > Signed-off-by: Thierry Reding <thierry.reding@xxxxxxxxxxxxxxxxx>
> >
> > This looks basically good from a quick scan through but the pattern of
> > looking up regulator nodes by name is very common so should be factored
> > out - I made a similar comment in response to a recent patch from
> > Rhyland Klein and earlier today he posted a patch "regulator: add
> > generic of node parsing for regulators" which does just that. Can you
> > please redo this on top of his code? I'll probably apply it later
> > today, though I didn't properly read the code yet.
>
> I'll take a look.
After taking a closer look I don't think Rhyland's patch is very useful for
this driver. I need to lookup the platform ID by regulator name anyway so
using the new code is actually more work and requires a second table that
lists the regulator names only.
Thierry
Attachment:
pgpELBweGklIS.pgp
Description: PGP signature
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Home]
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Video Projectors]
[PDAs]
[Free Online Dating]
[Hacking TiVo]
[Linux Kernel]
[Linux SCSI]
[XFree86]
[Devices]
[Big List of Linux Books]
[16.7MP]