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>
2010-07-22 05:56:19 +08:00
|
|
|
Freescale-specific 'hwconfig' options.
|
|
|
|
|
|
|
|
This file documents Freescale-specific key:value pairs for the 'hwconfig'
|
|
|
|
option. See README.hwconfig for general information about 'hwconfig'.
|
|
|
|
|
|
|
|
audclk
|
|
|
|
Specific to the P1022DS reference board.
|
|
|
|
|
|
|
|
This option specifies which of the two oscillator frequencies should be
|
|
|
|
routed to the Wolfson WM8776 codec. The ngPIXIS can be programmed to
|
|
|
|
route either a 11.2896MHz or a 12.288MHz clock. The default is
|
|
|
|
12.288MHz. This option has two effects. First, the MUX on the board
|
|
|
|
will be programmed accordingly. Second, the clock-frequency property
|
|
|
|
in the codec node in the device tree will be updated to the correct
|
|
|
|
value.
|
|
|
|
|
|
|
|
'audclk:11'
|
|
|
|
Select the 11.2896MHz clock
|
|
|
|
|
|
|
|
'audclk:12'
|
|
|
|
Select the 12.288MHz clock
|
2011-03-07 12:17:28 +08:00
|
|
|
|
|
|
|
usb
|
|
|
|
Specific to boards have USB controller
|
|
|
|
|
|
|
|
This option specifies the following for a USB controller:
|
|
|
|
|
|
|
|
- which controller mode to use
|
|
|
|
- which USB PHY to use
|
|
|
|
|
|
|
|
This is used by generic USB device-tree fixup function to update
|
|
|
|
modified values of phy type and controller mode.
|
|
|
|
|
|
|
|
Also used for configuring multiple USB controllers such that
|
|
|
|
'usbN' (where N is 1, 2, etc. refers to controller no.)
|
|
|
|
|
|
|
|
'phy_type'
|
|
|
|
Select USB phy type: 'utmi' OR 'ulpi'
|
|
|
|
|
|
|
|
'dr_mode'
|
|
|
|
Select USB controller mode: 'host', 'peripheral' OR 'otg'
|
|
|
|
|
|
|
|
Examples:
|
|
|
|
usb1:dr_mode=host;usb2:dr_mode=peripheral'
|
|
|
|
|
|
|
|
usb1:dr_mode=host,phy_type=utmi;usb2:dr_mode=host'
|