[PATCH 0/4] ARM: imx6q: clean up board specific CLKO setup

Shawn Guo shawn.guo at linaro.org
Thu Jul 18 03:31:06 EDT 2013


The CLKO is widely used by imx6q board designs to clock audio codec.
Currently, imx6q-sabrelite and imx6qdl-sabresd set up CLKO in board
specific hooks, while imx6qdl-wandboard handles that in U-Boot.
Since most audio codecs accept 24 MHz frequency, the series adds missing
CLKO pieces into clock driver, and initially sets up CLKO with OSC24M
(cko <-- cko2 <-- osc).  Then those board specific CLKO setup for audio
codec can be removed, while it improves the power efficiency at the same
time by saving the use of PLL.

Shawn

Shawn Guo (4):
  ARM: imx6q: add spdif gate clock
  ARM: imx6q: add cko2 clocks
  ARM: imx6q: add the missing cko output selection
  ARM: imx6q: remove board specific CLKO setup

 .../devicetree/bindings/clock/imx6q-clock.txt      |    5 ++
 arch/arm/boot/dts/imx6q-sabrelite.dts              |    2 +-
 arch/arm/boot/dts/imx6qdl-sabresd.dtsi             |    2 +-
 arch/arm/boot/dts/imx6qdl-wandboard.dtsi           |    2 +-
 arch/arm/mach-imx/clk-imx6q.c                      |   30 ++++++++-
 arch/arm/mach-imx/mach-imx6q.c                     |   69 --------------------
 6 files changed, 37 insertions(+), 73 deletions(-)

-- 
1.7.9.5





More information about the linux-arm-kernel mailing list