ENGR00303122-3 ARM: imx6sx: fix ASRC related clocks in the clock tree
authorNicolin Chen <Guangyu.Chen@freescale.com>
Tue, 11 Mar 2014 08:21:44 +0000 (16:21 +0800)
committerNitin Garg <nitin.garg@freescale.com>
Wed, 16 Apr 2014 13:57:54 +0000 (08:57 -0500)
commit62dccddc1955e828cfb17f37c68e8cd6870bf7a5
tree16309a36aadd2687b1b5fb57725d09d9ef97bf80
parent60d7985b5a2e7a9ce2011aa6883a62b3cc178e80
ENGR00303122-3 ARM: imx6sx: fix ASRC related clocks in the clock tree

According to imx6sx RM, there are three clock providers for ASRC:
Module clock    Clock root      Gate
asrck_clock_d   spdif0_clk_root N/A
ipg_clk         ahb_clk_root    asrc_clk_enable
mem_clk         ahb_clk_root    asrc_clk_enable

while the current clock tree describes a clock named 'ASRC' that only
describes the asrc_clk_enable function.

Thus this patch first adds the other missing clocks to ASRC.

[ Since we don't have the gate for asrck_clock_d, we can pass spdif0_clk
  to ASRC in the devicetree directly. ]

Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com>
arch/arm/mach-imx/clk-imx6sx.c
include/dt-bindings/clock/imx6sx-clock.h