All of lore.kernel.org
 help / color / mirror / Atom feed
From: sjg at google.com <sjg@google.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 2/2] dm: core: Show driver name with 'dm tree'
Date: Tue, 12 Sep 2017 03:54:38 -0700	[thread overview]
Message-ID: <CAPnjgZ3f1fj=4rM_vduDwKdRKmjTLYCqwnHtijwpUAojdLVk=w@mail.gmail.com> (raw)
In-Reply-To: <20170802181202.52645-2-sjg@chromium.org>

It is often useful to see which driver was actually selected for each
device. Add a new 'Driver' column to provide this information. Sample
output:

 Class       Probed   Driver     Name
----------------------------------------
 root        [ + ]    root_drive root_driver
 keyboard    [ + ]    i8042_kbd  |-- keyboard
 serial      [ + ]    ns16550_se |-- serial
 rtc         [   ]    rtc_mc1468 |-- rtc
 timer       [ + ]    tsc_timer  |-- tsc-timer
 syscon      [ + ]    ich6_pinct |-- pch_pinctrl
 pci         [ + ]    pci_x86    |-- pci
 northbridge [ + ]    bd82x6x_no |   |-- northbridge at 0,0
 video       [ + ]    bd82x6x_vi |   |-- gma at 2,0
 vidconsole0 [ + ]    vidconsole |   |   `-- gma at 2,0.vidconsole0
...

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
---

Changes in v2:
- Drop one space between 'Probed' and 'Driver'

 drivers/core/dump.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Applied to u-boot-dm, thanks!

  parent reply	other threads:[~2017-09-12 10:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-02 18:12 [U-Boot] [PATCH v2 1/2] dm: core: Drop use of strlcpy() Simon Glass
2017-08-02 18:12 ` [U-Boot] [PATCH v2 2/2] dm: core: Show driver name with 'dm tree' Simon Glass
2017-08-02 22:54 ` [U-Boot] [PATCH v2 1/2] dm: core: Drop use of strlcpy() Bin Meng
2017-09-12 10:54 ` sjg at google.com [this message]
2017-09-12 10:54 ` sjg at google.com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAPnjgZ3f1fj=4rM_vduDwKdRKmjTLYCqwnHtijwpUAojdLVk=w@mail.gmail.com' \
    --to=sjg@google.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.