Re: [PATCH 2/2] drivers/core/of: Add symlink to device-tree from devices with an OF node

2015-02-17 Thread Olof Johansson
On Sun, Feb 15, 2015 at 7:59 PM, Benjamin Herrenschmidt wrote: > So I've been annoyed lately with having a bunch of devices such as i2c > eeproms (for use by VPDs, server world !) and other bits and pieces that > I want to be able to identify from userspace, and possibly provide > additional data

Re: [PATCH 2/2] drivers/core/of: Add symlink to device-tree from devices with an OF node

2015-02-17 Thread Benjamin Herrenschmidt
On Tue, 2015-02-17 at 07:09 -0800, Greg Kroah-Hartman wrote: > > > > Doesn't this need sysfs documentation? > > Yes it does. Ok, will do. > > > Signed-off-by: Benjamin Herrenschmidt > > > > I don't mind applying, but this is Greg's code. > > > > Rob > > > > > --- > > > drivers/base/core.c

Re: [PATCH 2/2] drivers/core/of: Add symlink to device-tree from devices with an OF node

2015-02-17 Thread Greg Kroah-Hartman
On Tue, Feb 17, 2015 at 09:00:47AM -0600, Rob Herring wrote: > +GregKH > > On Sun, Feb 15, 2015 at 9:59 PM, Benjamin Herrenschmidt > wrote: > > So I've been annoyed lately with having a bunch of devices such as i2c > > eeproms (for use by VPDs, server world !) and other bits and pieces that > > I

Re: [PATCH 2/2] drivers/core/of: Add symlink to device-tree from devices with an OF node

2015-02-17 Thread Rob Herring
+GregKH On Sun, Feb 15, 2015 at 9:59 PM, Benjamin Herrenschmidt wrote: > So I've been annoyed lately with having a bunch of devices such as i2c > eeproms (for use by VPDs, server world !) and other bits and pieces that > I want to be able to identify from userspace, and possibly provide > additio

Re: [PATCH 2/2] drivers/core/of: Add symlink to device-tree from devices with an OF node

2015-02-16 Thread Arnd Bergmann
On Monday 16 February 2015 14:59:16 Benjamin Herrenschmidt wrote: > So I've been annoyed lately with having a bunch of devices such as i2c > eeproms (for use by VPDs, server world !) and other bits and pieces that > I want to be able to identify from userspace, and possibly provide > additional dat

[PATCH 2/2] drivers/core/of: Add symlink to device-tree from devices with an OF node

2015-02-15 Thread Benjamin Herrenschmidt
So I've been annoyed lately with having a bunch of devices such as i2c eeproms (for use by VPDs, server world !) and other bits and pieces that I want to be able to identify from userspace, and possibly provide additional data about from FW. Basically, it boils down to correlating the sysfs device