2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 21:54:06 +08:00
linux-next/drivers/clk/imx
Stefan Agner 3b60a26fdc ARM: imx: clk-vf610: fix SAI clock tree
The Synchronous Audio Interface (SAI) instances are clocked by
independent clocks: The bus clock and the audio clock (as shown in
Figure 51-1 in the Vybrid Reference Manual). The clock gates in
CCGR0/CCGR1 for SAI0 through SAI3 are bus clock gates, as access
tests to the registers with/without gating those clocks have shown.
The audio clock is gated by the SAIx_EN gates in CCM_CSCDR1,
followed by a clock divider (SAIx_DIV). Currently, the parent of
the bus clock gates has been assigned to SAIx_DIV, which is not
involved in the bus clock path for the SAI instances (see chapter
9.10.12, SAI clocking in the Vybrid Reference Manual).

Fix this by define the parent clock of VF610_CLK_SAIx to be the bus
clock.

If the driver needs the audio clock (when used in master mode), a
fixed device tree is required which assign the audio clock properly
to VF610_CLK_SAIx_DIV.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2015-12-02 09:46:26 +08:00
..
clk-busy.c
clk-cpu.c
clk-fixup-div.c
clk-fixup-mux.c
clk-gate2.c
clk-gate-exclusive.c
clk-imx1.c clk: i.MX: Remove clk.h include 2015-07-20 10:52:49 -07:00
clk-imx6q.c clk: imx6: Add SPDIF_GCLK clock in clock tree 2015-10-12 21:55:59 +08:00
clk-imx6sl.c clk: imx6: Add SPDIF_GCLK clock in clock tree 2015-10-12 21:55:59 +08:00
clk-imx6sx.c clk: imx6: Add SPDIF_GCLK clock in clock tree 2015-10-12 21:55:59 +08:00
clk-imx6ul.c clk: imx: increase AXI clock rate to 264MHz for i.MX6UL 2015-09-17 08:52:17 +08:00
clk-imx7d.c clk: imx7d: add ADC root clock 2015-10-09 11:01:50 +08:00
clk-imx21.c clk: i.MX: Remove clk.h include 2015-07-20 10:52:49 -07:00
clk-imx25.c clk: imx25: retain early UART clocks during kernel init 2015-09-25 21:58:47 -07:00
clk-imx27.c clk: imx27: add missing of_node_put 2015-10-21 16:16:34 -07:00
clk-imx31.c clk: imx31: add missing of_node_put 2015-10-21 16:16:34 -07:00
clk-imx35.c clk: imx35: retain early UART clocks during kernel init 2015-09-25 21:58:56 -07:00
clk-imx51-imx53.c clk: imx5: retain early UART clocks during kernel init 2015-09-25 21:58:59 -07:00
clk-pfd.c clk: i.MX: Remove clk.h include 2015-07-20 10:52:49 -07:00
clk-pllv1.c clk: i.MX: Remove clk.h include 2015-07-20 10:52:49 -07:00
clk-pllv2.c clk: imx: use sign_extend32() and abs() 2015-10-01 16:40:01 -07:00
clk-pllv3.c clk: i.MX: Remove clk.h include 2015-07-20 10:52:49 -07:00
clk-vf610.c ARM: imx: clk-vf610: fix SAI clock tree 2015-12-02 09:46:26 +08:00
clk.c clk: imx: add common logic to detect early UART usage 2015-09-25 21:58:41 -07:00
clk.h clk: imx: add common logic to detect early UART usage 2015-09-25 21:58:41 -07:00
Makefile clk: imx: add imx6ul clk tree support 2015-07-14 15:02:13 +08:00