All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2] power: add PFUZE100 PMIC driver
Date: Tue, 04 Feb 2014 10:04:42 +0100	[thread overview]
Message-ID: <52F0AD2A.6050100@denx.de> (raw)
In-Reply-To: <CAJ+vNU2f5eTz1r9L-pjJZmgQ3MzJSAfcGEBd3086CEyFTNX26A@mail.gmail.com>

Hi Tim,

On 03/02/2014 20:30, Tim Harvey wrote:
>> This is always printed, not only on your board - even from other board,
>> if any, that will use this pmic. If you want that your board always
>> prints the pmic revision, move this output to your board file - maybe in
>> checkboard().
> 
> I noticed that all the pmic drivers in drivers/power/pmic print
> something very generic in their pmic_init such as 'Board PMIC init'
> (even though no initialization or communication with the pmic has
> occurred).  I thought I would be a bit more specific and display
> exactly which PMIC init has been called and provide some details about
> the PMIC version.
> 
> I would agree that this can go into checkboard()
> 
> Is there value in adding the 'puts("Board PMIC init\n")? 

I do not think so

> I didn't
> want to display that if the pmic isn't present (as this PMIC isn't
> present on some Ventana boards).

Agree.

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

  reply	other threads:[~2014-02-04  9:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-01 19:49 [U-Boot] [PATCH 0/2] IMX6: Add Gateworks Ventana support Tim Harvey
2014-02-01 19:49 ` [U-Boot] [PATCH 1/2] power: add PFUZE100 PMIC driver Tim Harvey
2014-02-03 12:05   ` Stefano Babic
2014-02-03 19:30     ` Tim Harvey
2014-02-04  9:04       ` Stefano Babic [this message]
2014-02-03 19:34   ` Michael Trimarchi
2014-02-01 19:49 ` [U-Boot] [PATCH 2/2] ventana: Add Gateworks Ventana family support Tim Harvey
2014-02-03 17:39   ` Stefano Babic
2014-02-05  8:17     ` Tim Harvey

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=52F0AD2A.6050100@denx.de \
    --to=sbabic@denx.de \
    --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.