Age | Commit message (Collapse) | Author |
|
Registered Dryice Security and RTC interrupts as shared.
Signed-off-by: Raj Rajasekaran <b10872@freescale.com>
|
|
The registers setting of usb gadget wakeup only added for
i.MX51, which makes gadget driver failed to register on
i.MX25. This patch narrows down usb remote wake up only
for i.MX51.
Signed-off-by: Li Jun <r65092@freescale.com>
|
|
Change default mtdblock to mtdblock8 to boot from nand in CONFIG_CMDLINE
Signed-off-by: Sammy He <r62914@freescale.com>
|
|
Add rootfstype as jffs2 in CONFIG_CMDLINE.
Signed-off-by: Sammy He <r62914@freescale.com>
|
|
Compress original dac playback volume to 16 levels according to a table, for
example, 0x37 maps to 0 and 0xfe to 15, which makes it more comfortable for
volume adjustment.
Signed-off-by: Lionel Xu <r63889@freescale.com>
|
|
Turn on mic bias earlier to make sure mic bias has time to
ramp up before record starts. Avoid audio artifacts.
Signed-off-by: Alan Tull <r80115@freescale.com>
|
|
Changed AES config option to be built-into the kernel.
stmp3xxx_dcp_probe() - Moved Algorithm registration below
platform driver data setting and interrupt request calls.
So that algorithms are registered after the platform data is
set. This is done to make it work with latest linux crypto
API changes.
Signed-off-by: Raj Rajasekaran <b10872@freescale.com>
|
|
-- drivers/mtd/nand/mxc_nd2.c
Reverted changes to this file for ENGR00103310 in commit:
a9d55053dc8042936cc4fa34153e6e100adba2bc
Signed-off-by: Patrick Turley <patrick.turley@freescale.com>
|
|
With the pop fix and power savings patches, it is possible to bring back the
Jack Function/Speaker Function.
Enable alsa amixer controls Jack Function and Speaker Function. By setting or
unsetting these controls it is now able to turn on or off headphone and speaker
output.
Signed-off-by: Lionel Xu <r63889@freescale.com>
|
|
- Turn off DAC and ADC in ANA_POWER reg during idle.
- Turn on zcd and leave it on. Turning if off dynamically
doesn't save power and can cause a small noise artifact.
- Only need to delay 400mSec if state of VAG bit changes.
- Before record, SOC calls digital_mute to unmute, but does
not call digital_mute to mute again after record.
- After record, SOC skips doing the PREPARE state when powering
down. So make sure VAG and mic bias gets turned off in the
STANDBY state if it hasn't already.
Signed-off-by: Alan Tull <r80115@freescale.com>
|
|
Reduce power in idle while still eliminating pops.
Signed-off-by: Alan Tull <r80115@freescale.com>
|
|
Supply a bias voltage to external microphone to make it work, since there is
no vddio_p supplied to microphone on evk board.
Signed-off-by: Lionel Xu <r63889@freescale.com>
|
|
Reading the EDID doesn't work for some boards/monitors/cables and
causes I2C errors that prevent sgtl5000 audio codec from initializing.
This is due to a board error in Babbage. The decision was to disable
the I2C path to the DVI connector. On Babbage 3.0 boards this is done
by bringing a GPIO low. This GPIO tristates the I2C levelshifter. The
code already exists which already does that, this ticket is to disable
code that brings the GPIO high for reading the EDID. That way the
level shifter will remain tristated.
Signed-off-by: Alan Tull <r80115@freescale.com>
|
|
Remove the headphone noise when there is no wav playing.
Signed-off-by: Lionel Xu <r63889@freescale.com>
|
|
add battery driver to built-in
Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
|
|
Enable the IPUv3 DMFC watermark feature for sync display channels.
This fixes system hangs on heavily loaded system with large
displays (>= XGA).
Signed-off-by: Rob Herring <r.herring@freescale.com>
|
|
-- Documentation/imx_nfc.txt
A document that explains the driver.
-- arch/arm/mach-mx3/crm_regs.h
Added macros for some system registers.
-- arch/arm/mach-mx3/mx31ads.c
Added initialization code for the imx_nfc driver.
-- arch/arm/mach-mx51/clock.c
Added support for changing the NFC clock on the i.MX51.
-- arch/arm/mach-mx51/mx51_3stack.c
Added initialization code for the imx_nfc driver.
-- drivers/mtd/nand/Kconfig
Added a config variable for the imx_nfc driver.
-- drivers/mtd/nand/Makefile
Build support for the imx_nfc driver.
-- drivers/mtd/nand/imx_nfc.c
The imx_nfc driver.
-- drivers/mtd/nand/mxc_nd2.c
Changed the mxc_nd2 driver to attempt to own its interrupt at the very
beginning of the probe. That way, if the imx_nfc driver has already taken
ownership of the controller, the mxc_nd2 driver won't touch the hardware
registers at all.
-- include/asm-arm/arch-mxc/mxc.h
Created the structure that contains platform-specific information needed by
the imx_nfc driver.
Signed-off-by: Patrick Turley <patrick.turley@freescale.com>
|
|
Reset eCSPI before every transfer.
Signed-off-by: Katherine Lu <katherine.lu@freescale.com>
|
|
Fix setting NFC FW for 16bit nand flash support on MX51
Signed-off-by:Jason Liu <r64343@freescale.com>
|
|
Fix ECC mode setting for MX51TO3
Signed-off-by:Jason Liu <r64343@freescale.com>
|
|
Enable NFC symmetric mode on MX51. MX51TO2 NFC
working has somelimitation, refer to ENGcm09121.
NFC symmetric mode should be used as for the NFC
clock is 33M vs AXI clock is 133M. The ratio is
1:4, according to ENGcm09121, only NFC symmetric
mode can work, asymmetric mode does not work.
Signed-off-by:Jason Liu <r64343@freescale.com>
|
|
Scaline arm_axi clock can impact GP power number, so leave it at 166.25MHz.
Also donot lower peripheral bus frequency when ARM is at high frequency
setpoint.
Signed-off-by: Ranjani Vaidyanathan-RA5478 <Ranjani.Vaidyanathan@freescale.com>
(cherry picked from commit 19a023e83be38efa1f393fa31ecdec3506a9f2d3)
|
|
VDDGP and VCC voltages STOP mode voltages have been revised in the DS0.3 MX51
TO2 Consumer datasheet.
Signed-off-by: Ranjani Vaidyanathan-RA5478 <Ranjani.Vaidyanathan@freescale.com>
(cherry picked from commit 579b1243df4a2a5a2cfca9d0063a90f4ac1b6b82)
|
|
Merge UUT patch from EA
Signed-off-by: Frank Li <Frank.Li@freescale.com>
|
|
Merge UUT firmware patch coming from EA
Signed-off-by: Frank Li <Frank.Li@freescale.com>
|
|
MX51: System doesn't enter APM mode if DVFS CORE enabled.
Signed-off-by: Nancy Chen <Nancy.Chen@freescale.com>
|
|
Add algorithms for medium and low motion streams
Signed-off-by: Ran Ferderber Ran.Ferderber@freescale.com
|
|
This patch fix OTG pin-detect failure issue.
via sysfs set power/wakeup, i.MX51 can:
Put usb phy into low power mode when system enters stop or
standby mode; Enable usb device remote wakeup system by Vbus
and usb host remote wakeup system by device connection or
disconnection.
Signed-off-by: Li Jun <r65092@freescale.com>
|
|
Add reg_cache to keep the reg values of audio module in cache, by this it is
able to save all amixer settings, like volume, switch configure, etc, when
system suspend, and restore all of them when system resume.
Signed-off-by: Lionel Xu <r63889@freescale.com>
|
|
Due to the clock source changes, the osc audio clock is disabled by
default. This cause SPDIF failed to play 48KHz/32KHz audio.
Add osc audio clock node in the spdif platform data structure.
And enable it when spdif probe.
Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
|
|
use pgprot_writethru instead
Signed-off-by: Robby Cai <r63905@freescale.com>
|
|
Fix the iomux confliction between the sim and camera modules
Signed-off-by: Richard Zhu <r65037@freescale.com>
|
|
Split memory zone to DMA and normal zone for dma allocation.
Make the DMA zone size configurable.
Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
|
|
change gpu UIO driver to module, to enable OpenVG.
Signed-off-by: Wu Guoxing <b02248@freescale.com>
|
|
MX51: CPUFREQ is not trigged when CPU freq changes through DVFS CORE.
Signed-off-by: Nancy Chen <Nancy.Chen@freescale.com>
|
|
GPIO port 1 (0-based), pin 3 is already reserved! If the GPIO
port is requested again, there will be dumping log.
Signed-off-by: William Lai <b04597@freescale.com>
|
|
Disable SAHARA by default.
Signed-off-by: Katherine Lu <katherine.lu@freescale.com>
|
|
Moved usboh3 clock to source from pll2.
Moved internal usb-phy clock to source from 24MHz oscillator.
Also fixed bugs associated with SW frequency scaling on peripheral domain.
Signed-off-by: Ranjani Vaidyanathan-RA5478 <Ranjani.Vaidyanathan@freescale.com>
|
|
MX51: Add command line to enable/disable SW Frequency scaling
on the peripheral side.
Signed-off-by: Nancy Chen <Nancy.Chen@freescale.com>
|
|
LCDC clock must be derived from UPLL clock.
Signed-off-by: Niu Xule <b23300@freescale.com>
|
|
Privious setting will make system unstable when playback video.
Signed-off-by: Robby Cai <r63905@freescale.com>
|
|
The root cause is that CCGR5 [12 - 13] is defalut set as 00
to save power. ipmux clock will be enabled when MCU read/write
data from AIPS_TZ, while SDMA read/write data from AIPS_TZ can't
enable the ipmux clock when MCU in WAIT mode.
"Bit 12 affects ipmux1 via spare_output_1, and Bit 13 affects
ipmux2 via spare_output_2. The default value of those bits is 11
For the default case, CCM will generate 1 for both spare_output_1
and spare_output_2. If either one of those bits will be set to 0,
then the corresponding output will be set to 0 when system enters
WAIT mode. This will allow system to turn off the IPMUX clocks
in WAIT mode and can be used in LP-APM to preserve the IPMUX power
if no accesses are expected on the IP bus. In run mode the IPMUX
clocks will not be closed and the setting of those bits will not
affect RUN mode."
Signed-off-by: Wallace Wang <r59996@freescale.com>
|
|
Data abort on NFC memory byte access
Signed-off-by:Jason Liu <r64343@freescale.com>
|
|
Reset NFC delay line register to solve the issue in
Symmetric mode low frequencies and in Asymmetric mode
1:2 ratios high frequencies
Signed-off-by:Jason Liu <r64343@freescale.com>
|
|
On Babbage boards there is a collision on the I2C bus between
the audio codec and the dvi port. Reading the EDID from the
DVI leaves the I2C in a funky state, preventing the audio
driver from initializing. The fix for Babbage3.0 boards is to
control the I2C bus level shifter from a GPIO so that the level
shifter is tri-stated by default. When reading the EDID the
level shifter is enabled briefly.
Signed-off-by: Alan Tull <r80115@freescale.com>
|
|
1. Some field of the the PWM control register is
recommended to be changed when the PWM is disabled.
2. Enable and disable the PWM in the enable and disable
functions repectively, but not in the config function.
3. Right now, the PWM module supports MX51 too.
Signed-off-by: William Lai<b04597@freescale.com>
|
|
1. Add the platform device of mxc_pwm
2. Add the platform device of pwm-backlight
3. Change the name of the per_clk for the PWM module from
pwm_clk to pwm, consisting with the code in the open source.
Signed-off-by: William Lai<b04597@freescale.com>
|
|
- This fixes pops that happened after audio playback. These pops
were caused by zcd and DAC being turned off.
- Enable zcd and leave it enabled.
- Turn on DAC early, leave it on.
- We were turning on analog sections during first playback, now turn
them on during initialization instead to avoid delay.
Signed-off-by: Alan Tull <r80115@freescale.com>
|
|
This reverts commit c93dade67610c073b19b8d36080fb386475767f3 (ENGR00111918).
That commit brought back the pops that were fixed by ENGR00110076.
Signed-off-by: Alan Tull <r80115@freescale.com>
|
|
Set GPT clock's parent to ahb_clk for i.MX25.
Signed-off-by: Niu Xule <b23300@freescale.com>
|