-------------------------------------------------------------------------
config.txt

Information on configuration options in the Linux kernel for the Cirrus 
EP93xx.

Note to developers:  Let's stick to the essentials on "how to turn things 
on in the Linux build."  This information is presented from the standpoint 
of someone doing a build, looking at a make menuconfig screen.  If what you 
are describing doesn't fit here, it should get its own document to go into 
the level of detail you feel is most practicle.
-------------------------------------------------------------------------

All options configured as built-in drivers, not loadable modules.  
So on options that are selected by < >, select <*>, not <M>.  To
do this either hit 'y' or hit the space bar twice.


----------------
Audio
----------------
Needed by:
Needs: DMA Support, dev fs.

Ac97 and I2S audio are currently mutually exclusive.  

To enable Ac97 Audio:
	Go into "Sound --->"
	Enable "Sound Support"
	Enable "OSS sound modules"
	Select "Ac97" for "Cirrus EP93xx Sound Support"

To enable I2S Audio:
	Go into "Sound --->"
	Enable "Sound Support"
	Enable "OSS sound modules"
	Select "I2S" for "Cirrus EP93xx Sound Support"
	If you have an EDB9312 board, select "CS4228A" for "Cirrus I2S Codec Support"
	If you have an EDB9301 board, select "CS4271" for "Cirrus I2S Codec Support"


----------------
Dev Fs
----------------
Needed by: Drivers
Needs: To turn on Dev fs support, you have to enable CONFIG_EXPERIMENTAL, 
CONFIG_DEVFS_FS, and CONFIG_DEVFS_MOUNT in that order.

To enable CONFIG_EXPERIMENTAL:
	Go into "Code maturity level options --->"
	Enable "Prompt for development and/or incomplete code/drivers"

To enable CONFIG_DEVFS_FS:
	Go into "File systems --->"
	Enable "/dev file system support (EXPERIMENTAL)"
	
To enable CONFIG_DEVFS_MOUNT:
	Go into "File systems --->"
	Enable "Automatically mount at boot"


----------------
DMA
----------------
Needed by: Audio, IDE/DMA
Needs:

To enable DMA:
	Go into "System Type --->"
	Go into "EP93XX Options --->"
	Enable "EP93XX Internal DMA Support"


----------------
IDE
----------------
Needed by:
Needs: 
	To Turn on IDE support for the platform, you need to enable
General IDE support first - CONFIG_BLK_DEV_IDE, CONFIG_BLK_DEV_IDEDISK,
CONFIG_BLK_DEV_IDECD.

	If multiword DMA and ultra DMA support is needed, general DMA support for
the platform must be enabled first.  See DMA section of this document for
options to enable DMA for the platform.

	If CDROM support is enabled, ISO9660 file system support should be enabled.
If a DVD support is needed, UDF file system support should be enabled.

To enable CONFIG_BLK_DEV_IDE:
	Go into "ATA /ATAPI/MFM/RLL support --->"
	Enable "ATA/ATAPI/MFM/RLL support"
	Go into "IDE, ATA, and ATAPI Block devices --->"
	Enable "Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support"

To enable CONFIG_BLK_DEV_IDEDISK:
	Go into "ATA /ATAPI/MFM/RLL support --->"
	Go into "IDE, ATA, and ATAPI Block devices --->"
	Enable "Include IDE/ATA-2 DISK support"

To enable CONFIG_BLK_DEV_IDECD:
	Go into "ATA /ATAPI/MFM/RLL support --->"
	Go into "IDE, ATA, and ATAPI Block devices --->"
	Enable "Include IDE/ATAPI CDROM support"
	
To enable EP93XX IDE (PIO mode only):
	Go into "ATA /ATAPI/MFM/RLL support --->"
	Go into "IDE, ATA, and ATAPI Block devices --->"
	Enable "EP93XX IDE Support"

To enable EP93XX IDE DMA (mdma and udma modes):
	Go into "ATA /ATAPI/MFM/RLL support --->"
	Go into "IDE, ATA, and ATAPI Block devices --->"
	Enable "EP93XX IDE DMA support"

To enabled ISO 9660 file system support:
	Go into "File systems --->"
	Enable "ISo 9660 CDROM file system support"
	Enable "Microsoft Joliet CDROM extensions"

To enable UDF file system support:
	Go into "File systems --->"
	Enable "UDF file system support (read only)"

See also /Documentation/arm/ep93xx/ide-hard-drive-support.txt for information
on configuring the hard drive.

----------------
IrDA
----------------
Described in /Documentation/arm/ep93xx/irda.txt


----------------
NFS
----------------
Described in /Documentation/arm/ep93xx/nfs.txt


----------------
Serial Terminal
----------------
To enable serial terminal:
	Go into "Character devices --->"
	Turn off "Support for console on virtual terminal"
	Turn off "Virtual terminal"
	Go into "Serial drivers --->"
	Turn on "Cirrus EP93xx ARM AMBA serial port support"
	Turn on "Support for console on EP93xx serial port"

Serial terminal is the bottom jack of J7.  
Format is 57600,8N1, flow control: "none".


----------------
Touchscreen
----------------
To enable touchscreen driver:
	Go into "Character devices --->"
	Go into "Mice --->"
	Enable "Mouse Support (not serial and bus mice)"
	Disable "PS/2 Mouse (aka "auxiliary device") support
	Enable "EP93xx touch screen support"


----------------
USB
----------------
The order of all of the following statements is critical as some options enable 
other options.
                                                                                  
To enable basic USB support(required for all devices listed below):
   Go into "USB support --->"
   Enable "Support for USB"
   Enable "Preliminary USB device filesystem" (optional)
   Enable "EP93XX OHCI-compatible host interface support"
                                                                                 
To enable support for USB mouse:
   Go into "Input core support --->"
   Enable "Input core support"
   Enable "Mouse support" 
   
   Go back to the top level of menuconfig
   
   Go into "USB support --->"
   Enable "USB Human Interface Device (full HID) support"
   Enable "HID input layer support"
                                                                                  
To enable support for USB Keyboard:
   Go into "Input core support --->"
   Enable "Input core support"
   Enable "Keyboard support"
   
   Go back to the top level of menuconfig

   Go into "USB support --->"
   Enable "USB Human Interface Device (full HID) support"
   Enable "HID input layer support"
   
   Go back to the top level of menuconfig
   Go into "Character devices --->"
   Set EP93xx Keyboard Support to "USB"

To enable USB Mass Storage support:
   Go into "SCSI Support --->"
   Enable "SCSI Support"
   Enable "SCSI disk support"
   
   Go back to the top level of menuconfig
   
   Go into "USB support --->"
   Enable "USB Mass Storage support"

   Go back to the top level of menuconfig

(optional - Do this if you want to mount a USB flash drive)
   Go into "File systems --->"
   Enable "DOS FAT fs support"
   Enable "VFAT (Windows-95) fs support"
