devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Mike Turquette <mturquette@linaro.org>
Cc: Sascha Hauer <s.hauer@pengutronix.de>,
	Mark Rutland <mark.rutland@arm.com>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
	"lars@metafoo.de" <lars@metafoo.de>,
	"ian.campbell@citrix.com" <ian.campbell@citrix.com>,
	Pawel Moll <Pawel.Moll@arm.com>,
	"swarren@wwwdotorg.org" <swarren@wwwdotorg.org>,
	"festevam@gmail.com" <festevam@gmail.com>,
	Nicolin Chen <b42378@freescale.com>,
	Tomasz Figa <tomasz.figa@gmail.com>,
	"rob.herring@calxeda.com" <rob.herring@calxeda.com>,
	"timur@tabi.org" <timur@tabi.org>,
	"p.zabel@pengutronix.de" <p.zabel@pengutronix.de>,
	"galak@codeaurora.org" <galak@codeaurora.org>,
	"shawn.guo@linaro.org" <shawn.guo@linaro.org>,
	"linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>
Subject: Re: [alsa-devel] [PATCH v5 1/2] ASoC: fsl: Add S/PDIF CPU DAI driver
Date: Sat, 24 Aug 2013 01:20:00 +0100	[thread overview]
Message-ID: <20130824002000.GA7601@sirena.org.uk> (raw)
In-Reply-To: <20130823214144.8231.2039@quantum>

[-- Attachment #1: Type: text/plain, Size: 1288 bytes --]

On Fri, Aug 23, 2013 at 02:41:44PM -0700, Mike Turquette wrote:

> Seems like the regulator framework is solving this with the new
> regulator_get_optional() call. This leaves the
> optional-versus-not-optional logic up to the driver.

That is possibly for a slightly different case but perhaps not...

The problem we've got with the regulator API is that an awful lot of
regulators are always on and people generally don't want to go and hook
everything up, especially when drivers don't yet have regulator support.
This means that we end up with lots of complaints about having to add
regultors and lots of pain adding regulator support to widely used
devices, or drivers that just ignore errors which is not awesome.

We don't want to provide dummies since if the driver genuinely does have
optional regulators they tend to break them so we're adding that call to
allow the core to know if it can just provide a stub and assume the
board data was lazy.

My impression with clocks on most platforms is that there are fewer of
this sort of always on clock, though that said I know there has been a
bit of an issue with some of the IP clocks when IPs are used in SoCs
from less power sensitive environments that don't bother implementing
gating even in hardware.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2013-08-24  0:20 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-15 11:26 [PATCH v5 0/2] Add freescale S/PDIF CPU DAI and machine drivers Nicolin Chen
2013-08-15 11:26 ` [PATCH v5 1/2] ASoC: fsl: Add S/PDIF CPU DAI driver Nicolin Chen
2013-08-15 12:18   ` Tomasz Figa
     [not found]     ` <20130816044330.GD1846@MrMyself>
2013-08-17 12:56       ` Tomasz Figa
2013-08-17 15:14         ` Sascha Hauer
2013-08-17 15:38           ` Tomasz Figa
2013-08-15 11:26 ` [PATCH v5 2/2] ASoC: fsl: Add S/PDIF machine driver Nicolin Chen
     [not found] ` <20130816080124.GE1846@MrMyself>
     [not found]   ` <20130816085632.GO26614@pengutronix.de>
2013-08-17 12:26     ` [PATCH v5 1/2] ASoC: fsl: Add S/PDIF CPU DAI driver Tomasz Figa
2013-08-17 15:00       ` Sascha Hauer
2013-08-17 15:13         ` Tomasz Figa
2013-08-17 15:14           ` Sascha Hauer
     [not found] ` <20130816095357.GA4694@MrMyself>
     [not found]   ` <20130816101151.GQ26614@pengutronix.de>
2013-08-17 12:28     ` Tomasz Figa
2013-08-17 14:53       ` Sascha Hauer
2013-08-17 15:17         ` Tomasz Figa
2013-08-19  9:35           ` Mark Rutland
2013-08-20  0:06             ` Mike Turquette
2013-08-21  8:50               ` Mark Rutland
2013-08-21 21:34                 ` Tomasz Figa
2013-08-22  7:19                   ` Mike Turquette
2013-08-22 12:09                     ` Mark Rutland
2013-08-22 21:00                       ` Sascha Hauer
2013-08-22 22:43                         ` Mike Turquette
2013-08-22 22:49                           ` Tomasz Figa
2013-08-23  6:34                             ` Sascha Hauer
2013-08-23 12:58                               ` Mark Rutland
2013-08-23 14:01                                 ` [alsa-devel] " Sascha Hauer
2013-08-23 14:57                                   ` Mark Rutland
2013-08-23 21:41                                   ` Mike Turquette
2013-08-24  0:20                                     ` Mark Brown [this message]
2013-08-23 12:44                         ` Mark Rutland

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=20130824002000.GA7601@sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=Pawel.Moll@arm.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=b42378@freescale.com \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=galak@codeaurora.org \
    --cc=ian.campbell@citrix.com \
    --cc=lars@metafoo.de \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mark.rutland@arm.com \
    --cc=mturquette@linaro.org \
    --cc=p.zabel@pengutronix.de \
    --cc=rob.herring@calxeda.com \
    --cc=s.hauer@pengutronix.de \
    --cc=shawn.guo@linaro.org \
    --cc=swarren@wwwdotorg.org \
    --cc=timur@tabi.org \
    --cc=tomasz.figa@gmail.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;
as well as URLs for NNTP newsgroup(s).