linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: andrew@lunn.ch (Andrew Lunn)
To: linux-arm-kernel@lists.infradead.org
Subject: How to support SDIO wifi/bt in DT
Date: Fri, 17 Jan 2014 11:44:23 +0100	[thread overview]
Message-ID: <20140117104423.GR17530@lunn.ch> (raw)
In-Reply-To: <20140117093909.GB2348@piout.net>

> The TI wilink chips (TiWi, wl12xx, wl18xx) have wifi on SDIO and BT on
> UART but they share the same clock. So, the next question would be what
> if I just want to enable one or the other (and take that decision at
> runtime) ?

At least for the clock is it not an issue. The generic clock framework
does "reference" counting. It will only turn the clock off when all
users have said to turn it off. So put a phandle to the clock in all
nodes which use it.

I've not looked at regulators, but i would hope it also does reference
counting of a regulators users.

	 Andrew

  parent reply	other threads:[~2014-01-17 10:44 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-16 13:36 How to support SDIO wifi/bt in DT Russell King - ARM Linux
2014-01-16 13:51 ` Chen-Yu Tsai
2014-01-16 14:02 ` Arnd Bergmann
2014-01-16 17:15   ` Olof Johansson
2014-01-16 19:58     ` Russell King - ARM Linux
2014-01-16 20:00       ` Olof Johansson
2014-01-16 20:03         ` Russell King - ARM Linux
2014-01-17  9:39         ` Alexandre Belloni
2014-01-17 10:06           ` Chen-Yu Tsai
2014-01-17 10:14             ` Alexandre Belloni
2014-01-17 10:44           ` Andrew Lunn [this message]
2014-02-05 17:11             ` Mark Brown
2014-01-16 21:46     ` Arnd Bergmann
2014-01-16 21:52       ` Olof Johansson
2014-01-16 22:14       ` Marcel Holtmann
2014-01-17  3:08     ` Nicolas Pitre
2014-01-17 14:47       ` Arnd Bergmann
2014-01-17 15:14       ` Rob Herring
2014-01-17 16:58         ` Nicolas Pitre
2014-01-19 19:29           ` Olof Johansson
2014-01-19 20:28             ` Arnd Bergmann
2014-01-19 23:26               ` Olof Johansson
2014-01-19 23:09             ` Alexandre Belloni
2014-01-19 23:30               ` Olof Johansson
2014-01-20  3:57                 ` Olof Johansson
2014-01-17  9:02     ` Alexandre Belloni
2014-01-17  9:38       ` Nicolas Ferre
2014-01-16 14:08 ` Alexandre Belloni
2014-01-16 14:34   ` Russell King - ARM Linux

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=20140117104423.GR17530@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=linux-arm-kernel@lists.infradead.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).