[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140423234501.GA17827@kroah.com>
Date: Wed, 23 Apr 2014 16:45:01 -0700
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Frank Rowand <frowand.list@...il.com>
Cc: Grant Likely <grant.likely@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Linux Kernel list <linux-kernel@...r.kernel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>
Subject: Re: [PATCH] sysfs, device-tree: aid for debugging device tree boot
problems
On Wed, Apr 23, 2014 at 03:45:11PM -0700, Frank Rowand wrote:
> >> 3) To find list of device tree nodes with a bound driver:
> >>
> >> # output is: driver_name node_full_path
> >> #
> >> cd /proc/device-tree
> >> for k in `find . -name %driver_name` ; do
> >> echo `cat ${k}` `echo ${k} | sed -e 's|./||' -e 's|/%driver_name$||'`
> >> done | sort
> >
> > If we take this patch, these examples should be somewhere in the
> > documentation to make it easy for others.
>
> That is a good idea. I'll package up the equivalent shell code from
> Grant's email. Any suggestions on location?
>
> scripts/debug/devicetree/
> scripts/devicetree/debug/
> Documentation/devicetree/scripts/
tools/ is probably the best place for them, or in Documentation/, either
would work.
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists