]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: davinci: da850: use clk->set_parent for async3
authorDavid Lechner <david@lechnology.com>
Thu, 14 Apr 2016 19:13:36 +0000 (14:13 -0500)
committerSekhar Nori <nsekhar@ti.com>
Wed, 27 Apr 2016 10:34:41 +0000 (16:04 +0530)
commit3f2a09d57bb12ca55f92209b3ef0c0684cdb20b0
treeb929d1c6e9025d9200217f0aaceff297b9270321
parent6fc9ebbdeb75197df780c52f5ebcc3eeffb9cd91
ARM: davinci: da850: use clk->set_parent for async3

The da850 family of processors has an async3 clock domain that can be
muxed to either pll0_sysclk2 or pll1_sysclk2. Now that the davinci clocks
have a set_parent callback, we can use this to control the async3 mux
instead of a stand-alone function.

This adds a new async3_clk and sets the appropriate child clocks. The
default is use to pll1_sysclk2 since it is not affected by processor
frequency scaling.

Signed-off-by: David Lechner <david@lechnology.com>
[nsekhar@ti.com: drop unnecessary comment]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/da850.c