lkml.org 
[lkml]   [2014]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 7/8] ASoC: atmel: document clock properties of the wm8904 driver
On Thu, Mar 20, 2014 at 10:37:53AM +0800, Bo Shen wrote:

> For this, in my mind, I think we need add following parameters in DT.
> 1. sysclk_src_from_fll --> we need do nothing.

No, how would this work? If nothing else the FLL needs configuration.

> 2. sysclk_src_from_mclk
> 2.1 use_external_xtal --> we need clock_frequency
> 2.2 !use_external_xtal --> we need retrieve clock and clock_frequency.

No, this is all handled in the clock binding. If there's a fixed rate
clock the device tree should have a fixed rate clock provided.

> Does this acceptable? Or any other better suggestion for this?

Just have the device tree describe the hardware and provide a way of
specifying an optional MCLK.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2014-03-20 15:21    [W:0.100 / U:0.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site