Age | Commit message (Collapse) | Author |
|
It's vivante driver 4.5.0 (Sep 5, 2011) with freescale changes.
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Acked-by: Lily Zhang
|
|
The smp_twd clockevents driver currently enables the local timer PPI
before the clockevents device is registered. This can lead to a kernel
panic if a spurious timer interrupt is generated before registration
has completed since the kernel will treat it as an IPI timer.
This patch moves the clockevents device registration before the IRQ
unmasking so that we can always handle timer interrupts once they can
occur.
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
|
|
The BCH needs the pl301_mx6qperl_bch clock.
The BCH will not work if the clock is not enabled.
So add it.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
adjust dma zone max size to 184M.
keep default size as 96M.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
IPU's IC/IRT/VDI modules provide resizing/CSC/combination/de-interlacing
support, this patch make all these features into one processing driver.
A struct ipu_task is the interface between user and this driver, user
just need fill his task struct and queue it through ioctl, then wait
ipu hardware finish its job (now only support BLOCKING operation, not
support NO_BLOCK operation).
Pls refer to inlcude/linux/ipu.h for structure information and unit test
for usage.
This patch is for MSL file change.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
MX[0-9] is the keyword for multimedia applications,
so change the cpuinfo from i.MX 6Quad to MX6 Quad
Signed-off-by: Tony Lin <tony.lin@freescale.com>
|
|
Refer to the ipcg table in the spec to ensure that the parent clocks
are set correctly.
Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
|
|
Random crashes occur in CPUFREQ code when resuming from suspend.
The root cause is due to freeing and allocating of common data structure
(frequency table) shared among all the CPUs.
Fix the code by ensuring that the common data structure is only
created and deleted once.
Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
|
|
- Corrected logic bug in how GPR registers are set
- Add support for configurable ipu-to-hdmi mappings
- Add aspect ratio to EDID mode data
- Expanded HDMI register field defines
- Removed HDMI platform data now handled by HDMI core in MFD
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
periph_clk mux should be set only after the periph_clk2 mux is set.
Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
|
|
pll3 and pll7 have opposite power down bit definition comparing
with other plls.
so reverse the bit when setting these two plls
Signed-off-by: Tony Lin <tony.lin@freescale.com>
|
|
set periph_clk_sel to derive clock from periph_clk2_clk
Signed-off-by: Tony Lin <tony.lin@freescale.com>
|
|
remove unnecessary '\'
Signed-off-by: Tony Lin <tony.lin@freescale.com>
|
|
This is a mfd for the internal HDMI Transmitter on i.Mx. It handles
resources that are shared by the seperate video and audio drivers.
Signed-off-by: Alan Tull <alan.tull@freescale.com>
|
|
Fixed warnings in clocks and cpufreq code.
Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
|
|
1. We should enable mmdc_ch0 clock in init to make
its usecount > 0, or ipu's parent is mmdc_ch0,
when ipu enable/disable clock, mmdc_ch0 will be
also enable/disable, cause system hang when disable.
2. Remove build warning of unuse variable.
Signed-off-by: Anson Huang <b20788@freescale.com>
|
|
un-comment __clk_disable function and
__clk_disable_inwait function.
Signed-off-by: Anson Huang <b20788@freescale.com>
|
|
on mx6q, it supports sd3.0 card with DDR 50MHz, SDR 100Mhz and SDR 200MHz.
sd pads have to be changed dynamically for these large scale of clock
frequencies.
add different pad setting definitions for these clock frequencies under
board file, since these settings are really board dependent.
add callback funtion in sdhc platform data to give driver approach to
change pad setting according to current clock frequency.
Signed-off-by: Tony Lin <tony.lin@freescale.com>
|
|
Sometimes when system very busy,hotplug may fail
because CPU0 has no chance to kill secondary CPUs
from hardware,secondary CPUs keep enter/exit wfi
,and we have a printk after wfi,that makes CPU0
has no chance to kill secondary CPUs,we should
remove this printk.
Signed-off-by: Anson Huang <b20788@freescale.com>
|
|
Add support for CPUFREQ for SMP system.
Added support for 1GHz, 800MHz, 400MHz and 160MHz.
Added support for scaling the voltage along with frequency.
Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
|
|
lvds2 port use i2c3 port.
Add EGA i2c register data to i2c port3.
but two touch can't work at the same time because irq conflict.
Signed-off-by: Frank Li <Frank.Li@freescale.com>
|
|
Add ESAI recording to mx6q platform.
Note: since there is pad conflict between esai record and fec, add a boot
argument esai_record to deal with it. This argument is required to enable
the record functionality.
Signed-off-by: Lionel Xu <R63889@freescale.com>
|
|
ipu2-di should use CCGR3 4&5, ldb_di should use 6&7.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
Change default DMA size to 184M for mx6q. Current 96M size
isn't enough for 1080P encoder + decoder, and HDMI output.
Signed-off-by: Sammy He <r62914@freescale.com>
|
|
ldb_di0 and ldb_di1's gating index is wrong.
Signed-off-by: Anson Huang <b20788@freescale.com>
|
|
Fix build warning.
Signed-off-by: Anson Huang <b20788@freescale.com>
|
|
driver should only care about core clocks and shader clock.
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
|
|
1. clean up ddr io code, using macro define;
2. we should consider if the wake up irq comes
during execution of low-power(ms6q_suspend.S)
code but before ARM enter wfi, in this scenario,
system will not enter STOP mode, thus, the resume
code will cause system fail, so we need to consider
if system can not enter STOP mode, should resume
immediately after wfi.
Signed-off-by: Anson Huang <b20788@freescale.com>
|
|
add wifi driver to default config as a module
Signed-off-by: Tony Lin <tony.lin@freescale.com>
|
|
This is the change for platform files.
Signed-off-by: Terry Lv <r65388@freescale.com>
|
|
Enable CPUFREQ on 2.6.38
Remove the dependency between CPUFREQ and bus_freq driver.
Allow for CPUFREQ and DVFS-CORE to co-exist.
Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
|
|
add EASI ARCH codes.
Signed-off-by: Gary Zhang <b13634@freescale.com>
|
|
ENET should be CCM_CCGR1, CG5.
Signed-off-by: Anson Huang <b20788@freescale.com>
|
|
If the wakeup source irq pending during suspend process, system will
hang, we need to abort suspend, and resume immediately to make system
running normally.
Signed-off-by: Anson Huang <b20788@freescale.com>
|
|
- Add VGA support. The command option to use VGA as primary
display: video=mxcfb0:dev=vga,VGA-XGA,if=GBR24 ard-vga
For VGA, Need to disable Ethernet and short PIN 1-2 of J14
and J16.
- Add LVDS support. The default display is LVDS0. LVDS1 needs
further modification on ldb driver
Signed-off-by: Lily Zhang <r58066@freescale.com>
|
|
1.Need to add condition check after resum, or if we
didn't config L2 cache, build will fail.
2.Need to call the mxc_init_l2x0 instead of l2x0_init.
Signed-off-by: Anson Huang <b20788@freescale.com>
|
|
To save power, we should disable as much as possible
when kernel boot up, only leaving the necessary clocks
on, devices should enable their clock in init.This is
necessary for our MX6q, or the chip will be too hot,
may damage.
After doing this change, we can save more than 150mA@5V.
Signed-off-by: Anson Huang <b20788@freescale.com>
|
|
1. Set MMDC pad ctrl to low-power mode when dormant;
2. DRAM_RESET can't be changed due to hardware design;
3. GPR_CTLDS should be changed to lower the MMDC IO
power to 0mA, but it needs hardware change, will add it
in next hardware version after we figure out how to
change the hardware.
Current MMDC data in dormant is:
IO: 28mA@1.5V;
DDR: 35mA@1.5V.
4. Change the suspend code to run in iRAM;
Signed-off-by: Anson Huang <b20788@freescale.com>
|
|
This patch adds platform changes to system files, including:
1. Add viim platform deivce.
2. Add viim menu.
Signed-off-by: Terry Lv <r65388@freescale.com>
|
|
re-init GPIO interrupt to make GPIO interrupt workable after
suspend/resume (dormant mode)
Signed-off-by: Tony Lin <tony.lin@freescale.com>
|
|
set to 1 if the port on board supports 8 bit MMC card.
else set to 0
Signed-off-by: Tony Lin <tony.lin@freescale.com>
|
|
1. Better to write disable and reset together into
SRC_SCR register;
2. Should wait for reset done.
Signed-off-by: Anson Huang <b20788@freescale.com>
|
|
1. boot_secondary ioremap need unmap, or the
stress test of hot-plug and suspend/resume will
cause the virtual address space leak;
2. Disable secondary CPUs need done by CPU0, move
the SRC_SCR setting to platform_cpu_kill.
Signed-off-by: Anson Huang <b20788@freescale.com>
|
|
gpu multi-core dirver 4.4.2 needs one single gpu device.
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
|
|
Audio capture not support in 2.6.38 kernel, it is caused
by not setting ssi correctly in clock and sync method.
Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
|
|
add the dma device for imx6q.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
add the arch code for APBH-DMA.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
add gpmi device for sabreauto platform.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
add the arch code for GPMI.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
make ldb support two ipu in separate mode.
Signed-off-by: Jason Chen <b02280@freescale.com>
|