MX35 ROM code will not configre SD clock, while linux
kernel will disable SD clock when there is no data
transfer, so need to enable SD clock before reboot for
SD boot mode
Signed-off-by: Wallace Wang <r59996@freescale.com>
The ASRC cann't work when the SPDIF RX is employed to drive the input
part of the ASRC.
The root cause is miswritting "reg |= 7 << AICPA;" as "reg | 7 <<
AICPA;".
Signed-off-by: William Lai <b04597@freescale.com>
Trying to free already-free IRQ 240 causes the warning dumped out
when boot up the kernel.
Return the error code in the probe function, which indicats the
failure of the platform driver probing. Then the platform driver remove
function will not be called, avoiding of freeing an already-free IRQ again.
Signed-off-by: William Lai <b04597@freescale.com>
Suspend then resume, kernel will print one warning message.
This is due to mtd suspend/resume framework change on 2.6.31 kernel.
Please refer to the follwing commit for detailed information
commit 15bce40cb3
[MTD] Restore suspend/resume support for mtd devices
Signed-off-by: Jason Liu <r64343@freescale.com>
FEC driver is stopped in suspend state. So FEC driver should restart
instead of initialization in resume state
Signed-off-by: Lily Zhang <r58066@freescale.com>
Support DP gamma by setting piecewise linear approximation,
application need set coefficient const[k] and slope[k]. The algorithm to
calculate these coefficient pls refer to unit test.
Signed-off-by: Jason Chen <b02280@freescale.com>
After switch DP(2 layer) from lcd to tvout, fb1 use RGBP format, the
output of fb1's color was not exactly correct.
Signed-off-by: Jason Chen <b02280@freescale.com>
In the rng_test_driver.ko and rng_test, RNG_REGISTER_PEEK_POKE flag
should be defined, otherwise, the rng_read_register() and rng_write_register()
functions will not be defined. And the flag RNG_REGISTER_PEEK_POKE depends on
CONFIG_RNG_TEST_DRIVER, which is not set in the default config file.
Resolve the problem by setting the CONFIG_RNG_TEST_DRIVER.
Signed-off-by: William Lai <b04597@freescale.com>
1. Disable CONFIG_SYSFS_DEPRECATED for udev
2. Enable CONFIG_RFKILL for USB dongle
3. Enable CONFIG_USB_VIDEO_CLASS for cheese
4. Enable ext4 file system
Signed-off-by: Lily Zhang <r58066@freescale.com>
Since the true CAS latency can only be changed subsequently
if WRITEMODEREG is set, and since WRITEMODEREG is not currently
used in the BSP, these 2.5 settings in emi.inc don't really matter.
However, they may give a lot of confusion for whoever is debugging
the EMI driver, since the HW_EMI register will read one thing,
while the controller is doing another thing
remove all frequency settings for DDR1 below 96MHz.
These are not supported and not useful.
Signed-off-by: Frank.Li <Frank.Li@freescale.com>
Added the device identification and timing database. Adjusted the GPMI
NAND Flash driver to use this information.
Signed-off-by: Patrick Turley <patrick.turley@freescale.com>
The ak4647_codec is not initialized as there is no ak4647 codec existing
on MX35 board. In the 31 kernel, the card and codec drivers are
registered separately, and there is no check whether the codec is probed
successfully or not. On MX35 board, the card is sucessfully registered,
but there is no ak4647 codec. In this case, the system will crash if the
system try to invoke the codec's resume function.
To resolve the problem, add a check in registering the card. If the
codec does not exist, give up registering the card either.
Signed-off-by: William Lai <b04597@freescale.com>
LRADC7 for measurements other than battery voltage will cause the wrong
value to be copied over to the power supply.
Connecting 5V and then disconnecting to run from battery will
be unstable.
This fix change LRADC7 to LRADC1 to measure die temparature
Signed-off-by: Frank.Li <Frank.Li@freescale.com>
Fixes problems with incorrect DCDC settings. Adds support for 4p2 power
supply necessary for meeting supply requirement during 5V connections.
Clean up stmp3xxxx_setl and stmp3xxx_clearl because some register have
not _SCT register
Signed-off-by: Robert Lee <robert.lee@freescale.com>
Signed-off-by: Frank.Li <Frank.Li@freescale.com>
The BSP uses the deprecated DCC_RESYNC logic for changing clocks.
This was ok for 37xx, but it is not recommended for 378x
Use DLL_RESET and DLL_SHIFT_RESET for changing clocks
Signed-off-by: Frank.Li <Frank.Li@freescale.com>
When register platform driver in 2.6.31 kernal, suspend
and resume are not set for device driver.
The patch fix this issue by using platform driver's
suspend/resume rountine directly in otg driver.
Signed-off-by: Li Jun <r65092@freescale.com>
In virtual gpio irq init func, fix miscalculation for all GPIO pins.
In gpio chained irq handler, need mask, ack, umask
Signed-off-by: Robby Cai <R63905@freescale.com>
Policy min and max is set to current frequency.
emi.S use wrong register address
Some line miss at clock.c when port from 28 kernel.
Signed-off-by: Frank.Li <Frank.Li@freescale.com>
wm8580 is using regulators that can't change state. The
regulator driver doesn't handle this case well so it crashes
during regulator_bulk_enable. Eventually this will be fixed in the
regulator driver. For now, remove regulators from list in
wm8580 driver.
Fix spi_rw err. hw_write needs to return transferred data length.
Signed-off-by: Alan Tull <r80115@freescale.com>
Signed-off-by: Wallace Wang <r59996@freescale.com>