devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Wahren <stefan.wahren@i2se.com>
To: Martin Sperl <kernel@martin.sperl.org>,
	linux-rpi-kernel <linux-rpi-kernel@lists.infradead.org>,
	linux-clk <linux-clk@vger.kernel.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>
Cc: Eric Anholt <eric@anholt.net>,
	Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@codeaurora.org>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: clk: bcm2835: what is the best way to limit the selection of parent clocks in the device-tree
Date: Tue, 26 Apr 2016 13:22:32 +0200	[thread overview]
Message-ID: <571F4F78.6000504@i2se.com> (raw)
In-Reply-To: <571DCED0.9010008@martin.sperl.org>

Hi Martin,

Am 25.04.2016 um 10:01 schrieb Martin Sperl:
> Hi!
>
> On the raspberry pi the pcm (and other) clock has multiple parent
> clocks that the driver may select from to get the "best fit" clock.
>
> This list of parents of valid for each clock is hard-coded in the driver.
>
> But this "standard" list of parents includes some clocks that are
> independently controlled by the firmware with - unfortunately for
> now - no notification of changes going back to the linux kernel.
> This is mostly needed for powermanagement and ARM clock
> modifications as well as to avoid overheating.
>
> So how is the best way to define those parent clocks one wants to
> use for an individual clock?

since the device tree should describe the hardware this should be kept
in the driver. So we can't get into trouble if the firmware change it's
behavior.

Regards
Stefan


  reply	other threads:[~2016-04-26 11:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-25  8:01 clk: bcm2835: what is the best way to limit the selection of parent clocks in the device-tree Martin Sperl
2016-04-26 11:22 ` Stefan Wahren [this message]
2016-04-26 11:41   ` Martin Sperl

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=571F4F78.6000504@i2se.com \
    --to=stefan.wahren@i2se.com \
    --cc=devicetree@vger.kernel.org \
    --cc=eric@anholt.net \
    --cc=kernel@martin.sperl.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-rpi-kernel@lists.infradead.org \
    --cc=mturquette@baylibre.com \
    --cc=sboyd@codeaurora.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).