From: Fabio Estevam <fabio.estevam@freescale.com>
To: Matt Sealey <matt@genesi-usa.com>
Cc: alsa-devel@alsa-project.org, Mark Brown <broonie@kernel.org>,
festevam@gmail.com, Eric Nelson <eric.nelson@boundarydevices.com>,
"troy.kisky" <troy.kisky@boundarydevices.com>
Subject: Re: [PATCH 1/2] ASoC: sgtl5000: Simplify the handling of VDDD
Date: Mon, 13 May 2013 14:36:00 -0300 [thread overview]
Message-ID: <51912480.90700@freescale.com> (raw)
In-Reply-To: <CAKGA1bmKEnp9aLqu46c8Gn+h6-aoYu1yajOFgX-c3+5wkgysNw@mail.gmail.com>
On 05/13/2013 01:41 PM, Matt Sealey wrote:
> Nack.
>
> While I like the concept, I don't like the following:
>
> * That the regulator-before-read-chip-id should be a separate patch (please)
I thought about doing like this initially and that would require some
heavy cleanup.
> * That this revision check went away without anyone fully knowing WHY
> it was there in the first place
> * I am fairly certain the first run consumer-purchased Efika MX boards
> have an older SGTL5000 on them and I would like to know if the
> internal LDO actually operates on those.. and don't want to churn by
> reintroducing such a patch.
Can you test on this platform, please?
>
> As far as I see the operation after patch would be that VDDD is
> accepted in the DT, enabled, and then LDO is enabled (thus shunting
> VDDD-LDO supply to the highest of VDDA or VDDIO, or VDDA in the case
> VDDA&VDDIO >3.1V) which leaves the board VDDD enabled until the driver
> is removed.
How does this differ from current code?
>
> If you're enabling the LDO, please disable board VDDD.
Agree, but that would be another patch.
> And please
> consider that on Efika MX and Babbage, VDDD is supplied at 1.2V by a
> separate on-board regulator, so using VDDIO->LDO->1.2V is completely
> obtuse and doubles codec power consumption.
Babbage leaves VDDD unconnected.
>
> I am leaning towards the case that the revision check is redundant, in
> that since there is no design data that says the LDO was
> non-operational or has any differences between versions the only
> difference is in the particulars of the implementation on the board
> itself. It seems like it is coded as a non-intrusive hack on the
> assumption that "any board with SGTL5000 0x11 is a production
> Freescale reference platform which does not supply VDDD" rather than
> having to go and re-validate a ridiculous number of supported
> reference designs. Unless I see data otherwise..
Yes, I also do not find any data for this revision check.
>
> If that's true, what we need here is to keep VDDD if it's supplied,
> and remove VDDD from the DT where it is not, and optionally tell the
> codec to force usage of the internal LDO in the case of supplied VDDD
> (i.e. please disable VDDD), and WHICH source to use for the charge
> pump (VDDIO or VDDA) in case the automated default setting is not
> desirable..
Yes, but this would also need to be another patch.
prev parent reply other threads:[~2013-05-13 17:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-13 15:39 [PATCH 1/2] ASoC: sgtl5000: Simplify the handling of VDDD Fabio Estevam
2013-05-13 15:39 ` [PATCH 2/2] sgtl5000.txt: Explain the required and optional power supplies Fabio Estevam
2013-05-13 16:07 ` Matt Sealey
2013-05-13 16:41 ` [PATCH 1/2] ASoC: sgtl5000: Simplify the handling of VDDD Matt Sealey
2013-05-13 17:36 ` Fabio Estevam [this message]
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=51912480.90700@freescale.com \
--to=fabio.estevam@freescale.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=eric.nelson@boundarydevices.com \
--cc=festevam@gmail.com \
--cc=matt@genesi-usa.com \
--cc=troy.kisky@boundarydevices.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox