devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: Praveen Paneri <p.paneri@samsung.com>
Cc: linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org,
	l.majewski@samsung.com, kgene.kim@samsung.com,
	gregkh@linuxfoundation.org, devicetree-discuss@lists.ozlabs.org,
	broonie@opensource.wolfsonmicro.com, balbi@ti.com,
	grant.likely@secretlab.ca, kyungmin.park@samsung.com,
	linux-samsung-soc@vger.kernel.org, thomas.abraham@linaro.org,
	ben-linux@fluff.org
Subject: Re: [PATCH 0/5] usb: phy: samsung: Introducing usb phy driver for samsung SoCs
Date: Thu, 2 Aug 2012 11:26:52 +0000	[thread overview]
Message-ID: <201208021126.52307.arnd@arndb.de> (raw)
In-Reply-To: <CAD6zSYN-prJO=dp8tJT8+4qcC3TxCXyVTU6-Xf5p20650Zb-ow@mail.gmail.com>

On Thursday 02 August 2012, Praveen Paneri wrote:
> Yes! I understand this problem and this is the reason these patches
> were sitting in my system for couple of weeks. In a  discussion with
> Thomas an idea of using the existing regulator framework to
> enable/disable numerous PHYs came up. For example the PMU unit
> of Exynos4210 has a register set dedicated just to control USBD_PHY,
> HDMI_PHY, MIPI_PHY, DAC_PHY and more. If a regulator with
> each phy control register as LDO is written, the phy driver becomes a
> static consumer and will modify as below.

This is roughly what I had in mind, yes. The part I'm not sure about
is the subsystem to use. One could obviously express the same logic
using the clock or gpio framework, which would work but be conceptually
wrong.

Some other parts of the PMU functionality are provided through
pm-domains rather than regulators and I guess in theory it could
all be controlled through pm-domains. Maybe someone else has a better
understanding than me what the tradeoffs are here and which subsystem
should be used for the PMU.

	Arnd

      reply	other threads:[~2012-08-02 11:26 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-01 13:05 [PATCH 0/5] usb: phy: samsung: Introducing usb phy driver for samsung SoCs Praveen Paneri
     [not found] ` <1343826351-8756-1-git-send-email-p.paneri-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2012-08-01 13:05   ` [PATCH 1/5] usb: phy: samsung: Introducing usb phy driver for hsotg Praveen Paneri
     [not found]     ` <1343826351-8756-2-git-send-email-p.paneri-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2012-08-05 21:54       ` Heiko Stübner
     [not found]         ` <201208052354.18978.heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>
2012-08-06  8:20           ` Praveen Paneri
2012-08-06  8:23             ` Kyungmin Park
     [not found]               ` <CAH9JG2Wo83_rO6fEazWij9wo=w7atdCqeuqJUmCPJYeYQ4t5dw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-08-06  9:23                 ` Heiko Stübner
2012-08-06  9:51                   ` Praveen Paneri
     [not found]                     ` <CAD6zSYPyRGgxVXFhcLSqjOpERq-jLrsqnjYNXM3jKsjymiLaTA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-08-07  3:57                       ` Praveen Paneri
2012-08-07  4:33                         ` Kyungmin Park
2012-08-01 13:05   ` [PATCH 2/5] usb: s3c-hsotg: Adding phy driver support Praveen Paneri
2012-08-01 13:05   ` [PATCH 3/5] ARM: S3C64XX: Removing old phy setup code Praveen Paneri
2012-08-01 13:05   ` [PATCH 4/5] ARM: S3C64XX: Enabling sec_usbphy driver Praveen Paneri
2012-08-01 13:05   ` [PATCH 5/5] ARM: Exynos4210: " Praveen Paneri
2012-08-01 15:20   ` [PATCH 0/5] usb: phy: samsung: Introducing usb phy driver for samsung SoCs Arnd Bergmann
2012-08-02  5:44     ` Praveen Paneri
2012-08-02 11:26       ` Arnd Bergmann [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=201208021126.52307.arnd@arndb.de \
    --to=arnd@arndb.de \
    --cc=balbi@ti.com \
    --cc=ben-linux@fluff.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=devicetree-discuss@lists.ozlabs.org \
    --cc=grant.likely@secretlab.ca \
    --cc=gregkh@linuxfoundation.org \
    --cc=kgene.kim@samsung.com \
    --cc=kyungmin.park@samsung.com \
    --cc=l.majewski@samsung.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=p.paneri@samsung.com \
    --cc=thomas.abraham@linaro.org \
    /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).