linux-tegra.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* moving Tegra30 to the common clock framework
@ 2012-05-03 16:13 Peter De Schrijver
       [not found] ` <20120503161311.GG20304-Rysk9IDjsxmJz7etNGeUX8VPkgjIgRvpAL8bYrjMMd8@public.gmane.org>
  0 siblings, 1 reply; 26+ messages in thread
From: Peter De Schrijver @ 2012-05-03 16:13 UTC (permalink / raw)
  To: mturquette-l0cyMroinI0, paul-DWxLp4Yu+b8AvxtiuMwx3w
  Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA

Hi,

I started looking into what would be needed to move our tegra30 clock code
to the common clock framework. The tegra30 clocktree is rather flat. Basically
there are a bunch of sources (13 PLLs, external audio clocks, osc and 32Khz)
and peripheral clocks which have a mux (with 4 or more inputs), a divider and
a gate. So almost every peripheral clock can have multiple parents.

Some questions:

1) should these peripheral clocks be modelled as 3 different clocks
   (mux -> divider -> gate) or would it be better to make a new clock type for
   this?

2) how to define the default parent? in many cases the hw reset value isn't
   a very sensible choice, so the kernel probably needs to set a parent of
   many of them if we don't want to rely on bootloader configuration.

Cheers,

Peter.

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2012-05-16  5:36 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-03 16:13 moving Tegra30 to the common clock framework Peter De Schrijver
     [not found] ` <20120503161311.GG20304-Rysk9IDjsxmJz7etNGeUX8VPkgjIgRvpAL8bYrjMMd8@public.gmane.org>
2012-05-07  0:03   ` Mike Turquette
     [not found]     ` <20120507000329.GB14559-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-05-07 15:39       ` Stephen Warren
     [not found]         ` <4FA7ECAA.1040104-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-05-07 16:12           ` Turquette, Mike
     [not found]             ` <CAJOA=zNKDFPOQ9-0EuEy=dtq=g-CKFBq94enTuoB7wVPskbkMg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-05-08  5:07               ` zhoujie wu
     [not found]                 ` <CAAXpJNsJiT7s87p6jS5bdi-83n4bwSaagdSK0w3SbrVz+k+O0g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-05-08 17:15                   ` Turquette, Mike
     [not found]                     ` <CAJOA=zP4iEZ+CFfCjT1rgU6shOt_PUf2BRB76NEQCoUPZJ9hVg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-05-09  0:41                       ` Saravana Kannan
     [not found]                         ` <4FA9BD41.2090701-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2012-05-09  2:20                           ` skannan-sgV2jX0FEOL9JmXXK+q4OQ
     [not found]                             ` <d460deebb832d7f62b4298c78ad2b791.squirrel-mMfbam+mt9083fI46fginR2eb7JE58TQ@public.gmane.org>
2012-05-09  6:21                               ` Turquette, Mike
     [not found]                                 ` <CAJOA=zPtTTLc9GyPj_xnS6+J-+79mKjKhPgubmiH6Hq9B=tg1Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-05-10  0:02                                   ` Saravana Kannan
2012-05-09 10:36                           ` Peter De Schrijver
     [not found]                             ` <20120509103606.GY20304-Rysk9IDjsxmJz7etNGeUX8VPkgjIgRvpAL8bYrjMMd8@public.gmane.org>
2012-05-12  2:58                               ` Saravana Kannan
2012-05-13  4:31                                 ` Stephen Warren
     [not found]                                   ` <4FAF392E.7050205-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-05-14 11:08                                     ` Peter De Schrijver
2012-05-15  0:10                                       ` Saravana Kannan
     [not found]                                 ` <4FADD1EA.8090606-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2012-05-14 21:36                                   ` Turquette, Mike
     [not found]                                     ` <20120514213634.GA3075-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-05-14 23:48                                       ` Saravana Kannan
     [not found]                                         ` <4FB199B5.5010607-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2012-05-15  2:00                                           ` Mike Turquette
     [not found]                                             ` <20120515020033.GD3075-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-05-15  4:20                                               ` Saravana Kannan
     [not found]                                                 ` <4FB1D992.9050102-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2012-05-16  5:36                                                   ` Turquette, Mike
2012-05-09 11:13       ` Peter De Schrijver
     [not found]         ` <20120509111335.GC20304-Rysk9IDjsxmJz7etNGeUX8VPkgjIgRvpAL8bYrjMMd8@public.gmane.org>
2012-05-09 16:49           ` Mike Turquette
     [not found]             ` <20120509164915.GA19219-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-05-10 11:36               ` Peter De Schrijver
2012-05-12 18:04           ` Mark Brown
     [not found]             ` <20120512180441.GA11435-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2012-05-14 12:29               ` Peter De Schrijver
2012-05-14 12:36           ` Peter De Schrijver

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).