The MBM can only be accessed in word, removing the potential
bit fields side effect intrudued by the different tool chain.
Signed-off-by: William Lai <b04597@freescale.com>
Uncorrect bits_per_pixel will make wrong fb memaloc size, which will
cause Oops for filling black color operation.
Signed-off-by: Jason Chen <b02280@freescale.com>
DMA will stop working after playback/stop many times, especially for those
high bitrate wav sound, use another way to trigger the audioout playback
can resolve this issue.
Signed-off-by: Lionel Xu <r63889@freescale.com>
AUART should not output error when modem status interrupt pending,
hardware does not support DSRMIS,DCDMIS and RIMIS bit.
Signed-off-by: Frank Li <Frank.Li@freescale.com>
The virtual space of ioremap is reduced after high_memory size is
increased. If GPU uses large memory, ioremap reports error. Before
re-layout the kernel virtual space, set the default GPU memory as
32M to avoid passing command options.
GPU memory can be also adjusted by command options. For example,
the command options "mem=960M gpu_memory=32M" means:
gpu_memory for GPU usage is 32M
fb_mem for X-Acceleration is SZ_1G - <mem> - <gpu_memory> (32M)
Signed-off-by: Lily Zhang <r58066@freescale.com>
In OTG mode, entering low power mode after udc probe causes
otg controller can not exit from it when switch to host mode.
this patch let gadget class driver handle it.
Signed-off-by: Jun Li <r65092@freescale.com>
Enable fb display channel before buffer select, it avoid display frame
lost for small windows between timming of buffer select and channel
enalbe.
Signed-off-by: Jason Chen <b02280@freescale.com>
Due to an apparent hw bug we have to shift data in the audio buffer by
one byte to play out S/PDIF. ENGR00122025 and ENGR00122231 are a
workaround for playback with non-mmapped buffers. This patch is
the workaround for mmapped buffers.
Signed-off-by: Alan Tull <r80115@freescale.com>
Rename stmp_updater to fsl_updater, as the updater will be shared
across all i.MX platforms that needs MFGTool support.
Signed-off-by: Frank Li <Frank.Li@freescale.com>
Register SCC as platform device with resources that the modified
SCC driver needs including base address of register and scc ram
Signed-off-by: Anish Trivedi <anish@freescale.com>
Add mma7455 driver of I2C interface and fix I2C DMA issue.
using common hwmon driver mxc_mma7450 framework.
Signed-off-by: Frank Li <Frank.Li@freescale.com>
Restructure cpufreq driver.
Fix clock count not right.
Fix cpu frequency can not be changed from 64 MHz.
Add cpufreq trig update feature.
Signed-off-by: Nancy Chen <Nancy.Chen@freescale.com>
Machine layer changes for MX51 and MX53 for SCC driver in order
to pass base address for registers and ram as resources
Signed-off-by: Anish Trivedi <anish@freescale.com>
Starting a mono record stream and doing stereo playback resulted in
wrong sample rate. Also starting stereo playback then doing mono
record.
Signed-off-by: Alan Tull <r80115@freescale.com>
The set irq type routing of GPIO irqchip did not set the correct handler
when user want to set it's trigger mode to level.
The PMIC irq request as level trigger, but actually, handle_edge_irq is set.
PMIC irq handler disables the irq, and re-enable it after all event
callbacks complete in thread.
Therefore edge irq handle can not handle this pending irq case correctly,
left the IRQ_PENDING flag always on.
This made the kernel refuse to enter suspend mode.
Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>