summaryrefslogtreecommitdiffstats
path: root/include/configs/P1022DS.h
diff options
context:
space:
mode:
authorTimur Tabi <timur@freescale.com>2010-07-21 16:56:19 -0500
committerKumar Gala <galak@kernel.crashing.org>2010-10-07 09:49:47 -0500
commita2d12f88129a0a1a7c18630b7a48ade22a48416e (patch)
treeacda8b16207894aabd2627f05119500eeee88c8c /include/configs/P1022DS.h
parentb6bde930901b1375264865b979507eb25806cb77 (diff)
downloadblackbird-obmc-uboot-a2d12f88129a0a1a7c18630b7a48ade22a48416e.tar.gz
blackbird-obmc-uboot-a2d12f88129a0a1a7c18630b7a48ade22a48416e.zip
p1022ds: add audclk hwconfig setting to enable codec reference clock
The Freescale P1022DS can use either a 12.288MHz or a 11.2896MHz reference clock for the audio codec, but by default both are disabled. Add a 'audclk' hwconfig option that allows the user to choose which clock he wants. The 12.288MHz clock allows the codec to use sampling rates of 16, 24, 32, 48, 64, and 96KHz. The 11.2896 clock allows 14700, 22050, 29400, 44100, 58800, and 88200Hz. Also configure a pin muxing to select some SSI signals, which will disable I2C1. Signed-off-by: Timur Tabi <timur@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/configs/P1022DS.h')
-rw-r--r--include/configs/P1022DS.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/P1022DS.h b/include/configs/P1022DS.h
index 2306e7f90c..da826fc26f 100644
--- a/include/configs/P1022DS.h
+++ b/include/configs/P1022DS.h
@@ -134,6 +134,7 @@
#define CONFIG_BOARD_EARLY_INIT_F
#define CONFIG_BOARD_EARLY_INIT_R
#define CONFIG_MISC_INIT_R
+#define CONFIG_HWCONFIG
#define CONFIG_FSL_NGPIXIS
#define PIXIS_BASE 0xffdf0000 /* PIXIS registers */
OpenPOWER on IntegriCloud