Age | Commit message (Collapse) | Author |
|
BugLink: http://bugs.launchpad.net/bugs/837155
Fixed parsing of EDID extension block so HDMI capability will be
correctly identified and in turn S/PDIF audio will be correctly
configured.
Signed-off-by: Eric Miao <eric.miao@linaro.org>
|
|
BugLink: http://bugs.launchpad.net/bugs/837155
S/PDIF tx and rx using ASoC layer.
Signed-off-by: Alan Tull <alan.tull@freescale.com>
Signed-off-by: Eric Miao <eric.miao@linaro.org>
|
|
BugLink: http://bugs.launchpad.net/bugs/837155
S/PDIF tx and rx using ASoC layer.
Signed-off-by: Alan Tull <alan.tull@freescale.com>
Signed-off-by: Eric Miao <eric.miao@linaro.org>
|
|
BugLink: http://bugs.launchpad.net/bugs/837797
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>
Signed-off-by: Lionel Xu <Lionel.Xu@freescale.com>
Signed-off-by: Eric Miao <eric.miao@linaro.org>
|
|
BugLink: http://bugs.launchpad.net/bugs/837797
There is no sound in the recorded wav, to enable recording, the VAG should be
powered up, and the mic bias resistor should be setup with proper value.
Signed-off-by: Lionel Xu <Lionel.Xu@freescale.com>
Signed-off-by: Eric Miao <eric.miao@linaro.org>
|
|
BugLink: http://bugs.launchpad.net/bugs/746994
gpio_keys_button data will be used in the gpio_keys.c driver for
later access, esp. in the gpio_keys_isr(). And this also caused
resuming to be not working, prevent the data from being released
by removing __initconst here.
The true fix, however, will be gpio_keys.c not to assume the data
will be always available and make a copy.
Signed-off-by: Eric Miao <eric.miao@linaro.org>
|
|
BugLink: http://bugs.launchpad.net/bugs/746994
On mx53 QS board, set boot option as "console=ttymxc0,115200 root=
/dev/nfs ip=dhcp nfsroot=x.x.x.x:/nfs/rootfs". Run "echo mem >
/sys/power/state" and then press power key to resume. The following
error is reported:
ffe0: 00000000 7efcc5e0 2ab33c48 2ab8624c 60000010 00000001 ddffdb57 e735e8fd
[<8020ad6c>] (ldb_enable+0x28/0x298) from [<8020b058>] (ldb_resume+0x7c/0x88)
[<8020b058>] (ldb_resume+0x7c/0x88) from [<8023ed0c>]
(platform_pm_resume+0x40/0x4c)
[<8023ed0c>] (platform_pm_resume+0x40/0x4c) from [<802412f4>] (pm_op+0xac/0x118)
To fix above error, return -ENODEV if the ldb driver is not enabled.
Signed-off-by: Lily Zhang <r58066@freescale.com>
Signed-off-by: Eric Miao <eric.miao@linaro.org>
|
|
BugLink: http://bugs.launchpad.net/bugs/826627
Enable the VGA port at the iMX53 ARD board.
Note: To use the VGA port at the iMX53 ARD board:
* Flash the images on SD or NAND and avoid to use Ethernet.
* HW configuration: Short the pins 1-2 for jumpers J14 and J16 on the
CPU board.
* Add 'video=mxcdi1fb:GBR24,VGA-XGA di1_primary vga' ot the ARD board
bootargs. I.e. by modifying the boot.scr.
Signed-off-by: Zhang Lily-R58066 <r58066@freescale.com>
Signed-off-by: Eric Miao <eric.miao@linaro.org>
|
|
Signed-off-by: Eric Miao <eric.miao@linaro.org>
|
|
Signed-off-by: Eric Miao <eric.miao@linaro.org>
|
|
Signed-off-by: Eric Miao <eric.miao@linaro.org>
|
|
Fix system hang due to long time video playback. This issue is only
on i.MX51 platfrom due to changing vpu clock parent in vpu_enable/
disable. Set vpu clock parent to axi_a forever to fix it.
Signed-off-by: Sammy He <r62914@freescale.com>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Eric Miao <eric.miao@linaro.org>
|
|
Add iram info to vpu platform data for each platform in linux/arch folder.
Disable iram on MX51 and enable iram on MX53 platform.
And remove VPU_IRAM_SIZE usage.
Signed-off-by: Sammy He <r62914@freescale.com>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Eric Miao <eric.miao@linaro.org>
|
|
One kernel image is requested, however, we need to enable iram
for performance improvement on mx53, and disable it on mx51 due
to known issue. So use platform data to pass vpu iram disable/enable
flag. And considering requested iram size also can be different per
requirement, iram size is also set in platform data.
Signed-off-by: Sammy He <r62914@freescale.com>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Eric Miao <eric.miao@linaro.org>
|
|
The iomux definition for MX53 PATA_D6 has the wrong modes for
the various mux modes of the pin. This patch adds the correct
modes for the pin.
Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Eric Miao <eric.miao@linaro.org>
|
|
This patch changes IPU interface for MXC V4L2 to align with
IPUv3 triple buffer support.
When V4L2 is used, we'll change to use double buffer for
display channel via internal framebuffer interface.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit db97e4d616f105bec1cfadf33e842fc624ecf0d5)
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Eric Miao <eric.miao@linaro.org>
|
|
This patch supports HW triple buffer for IPUv3
framebuffer.
1) Remove buf ready check in EOF irq handler, as we
think the swap logic will not fail for HW triple
buffer case.
2) When V4L2 output/overlay are used, switch to double
buffer mode.
3) Changes IPU interface for IPUv1 framebuffer to pass
building.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Signed-off-by: Jason Chen <b02280@freescale.com>
(cherry picked from commit 4ada3031e13207902f8c90b33c082759889cb22a)
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Eric Miao <eric.miao@linaro.org>
|
|
This patch supports IPUv3 triple buffer.
Only channel 23, 27 and 28 are tested.
Test was done on MX51 BBG and MX53 SMD.
IPUv1 interface is changed accordingly
to pass building.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit 73ef4408712acfee2d132f73555085a61be7b17c)
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Eric Miao <eric.miao@linaro.org>
|
|
This patch sets framebuffer yres_virtual to be 3*yres defaultly.
Before this patch is applied, the yres_virtual will be changed
to yres when hdmi cable is hot plugged out and in, which
reduces yres_virtual to yres and pan display mechanism cannot
work well.
Signed-off-by: Liu Ying <b17645@freescale.com>
(cherry picked from commit 99a218e876a3a4831ec121fdff0e2b4e39408eda)
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Eric Miao <eric.miao@linaro.org>
|
|
This patch aligns IDMAC burst size and DMFC FIFO burst
size to get better performance and workarounds black
flash issue when playing video on DP-FG with full
screen mode at 1024x768M@60.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit 0e81c738566c2c97541dd92a5978c756b5c22e76)
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Eric Miao <eric.miao@linaro.org>
|
|
add pixel clk to clk dev
Signed-off-by: Jason Chen <b02280@freescale.com>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Eric Miao <eric.miao@linaro.org>
|
|
This patch increases IDMAC burst size from 16 pixels to
32 pixels for RGBP pixel format and increases DMFC burst
size to 128 pixels to workaround 1080P60 display video
black flash issue.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit c9fbed971c5a1adf7c727a6b1eba67e179bd1502)
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Eric Miao <eric.miao@linaro.org>
|
|
If you disable display, the display port's pin may keep high voltage which
may cause power leakage. Fix this issue by make all pin go into low level
after display disable.
Signed-off-by: Jason Chen <b02280@freescale.com>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Eric Miao <eric.miao@linaro.org>
|
|
In set_voltage function, all voltages are not in microvolts.
Hence set_voltage function was failing. Change all voltages in
the function to be in microvolts.
Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Eric Miao <eric.miao@linaro.org>
|
|
In very seldom, play audio will caused system hangs in 2.6.38 kernel.
This is caused by new sdma driver wrongly enable irq after enable channel.
Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Eric Miao <eric.miao@linaro.org>
|
|
BugLink: http://bugs.launchpad.net/bugs/805426
Add sgtl5000 support for imx51 babbage in 2.6.38 kernel
Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Eric Miao <eric.miao@linaro.org>
|
|
BugLink: http://bugs.launchpad.net/bugs/787929
Signed-off-by: Jason Chen<jason.chen@linaro.org>
Signed-off-by: Eric Miao <eric.miao@linaro.org>
|
|
BugLink: http://bugs.launchpad.net/bugs/787929
Signed-off-by: Jason Chen<jason.chen@linaro.org>
Signed-off-by: Eric Miao <eric.miao@linaro.org>
|
|
BugLink: http://bugs.launchpad.net/bugs/738217
Signed-off-by: Jason Chen <jason.chen@linaro.org>
Signed-off-by: Eric Miao <eric.miao@linaro.org>
|
|
BugLink: http://bugs.launchpad.net/bugs/769493
Signed-off-by: Jason Chen<jason.chen@linaro.org>
Signed-off-by: Eric Miao <eric.miao@linaro.org>
|
|
trick
BugLink: http://bugs.launchpad.net/bugs/773043
Signed-off-by: Eric Miao <eric.miao@linaro.org>
|
|
BugLink: http://bugs.launchpad.net/bugs/768373
Signed-off-by: Eric Miao <eric.miao@linaro.org>
|
|
Signed-off-by: Eric Miao <eric.miao@linaro.org>
|
|
Signed-off-by: Eric Miao <eric.miao@linaro.org>
|
|
If platform not provide headphone status detect gpio, should not failed
the audio subsystem.
Fix it by complains with a warning.
Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
|
|
Audio init failed with:
failed to call snd_soc_jack_add_gpios
soc-audio soc-audio: asoc: failed to init HiFi: -16
asoc: failed to instantiate card sgtl5000-audio: -16
This is caused by hp_status() callback gpio setting introduced by:
9dbaab8db17c3ce6bbe368a2b708c41ea1db33f8
Fix it by provide gpio setting in platform data.
Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
|
|
Multiple defined i2c board info in 2.6.38 kernel for mx51 bbg.
This cause a build error.
Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
|
|
Add pmic support for imx51 babbage in upgrading to 2.6.38
Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
|
|
Add sgtl5000 audio support for imx51 babbage in upgrading to 2.6.38.
Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
|
|
uboot possiblly not set it correctly.
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
|
|
pending indicate the timer has been fired but clock not yet disabled.
This patch fixs the bug that sometimes in irq handle it tries to enable
clock and cause BUG.
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
|
|
make default display option for tve/vga/hdmi/ddc
Signed-off-by: Jason Chen <b02280@freescale.com>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
|
|
Change MSL files.
Signed-off-by: Jason Chen <b02280@freescale.com>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
|
|
After this patch, default display for below platforms:
mx51 bbg: DVI-XGA on DI0
mx53 ard: LVDS-XGA on DI0
mx53 evk: CLAA-WVGA on DI0
mx53 loco: VGA-XGA on DI1
mx53 smd: LVDS-XGA on DI1
The default options will work if you do not enter other video cmdline options.
For platform need enable other drivers, it will enable it automatically.
For example, under default option, mx53 loco will enable tve-vga driver
automatically; before this patch, it need add 'vga' to cmdline to enable it.
And 'di1_primary' option also will be enabled automatically if need.
If you want to overwrite the default option, please refer to below:
enable vga: 'vga'
disable vga: 'vga=off'
enable tve: 'tve'
disable tve: 'tve=off'
enable ddc: 'ddc'
disable ddc: 'ddc=off'
enable hdmi: 'hdmi'
disable hdmi: 'hdmi=off'
choose di0 as primary: 'di0_primary'
choose di1 as primary: 'di1_primary'
Signed-off-by: Jason Chen <b02280@freescale.com>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
|
|
seperate interrupt handling and clk_enable for Z160 and Z430
Signed-off-by: Zhou, Jie <b30303@freescale.com>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
|
|
The root cause is endless GSL_INTR_BLOCK_YDX_CP interrupt.
Apply interrupt status read work around only when yamato started.
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
|
|
The GPU hang when run two cubes together with one video playback.
According to the suggestion from AMD, we'd better not read register
when GPU active, especially for CP block.
Signed-off-by: Zhou, Jie <b30303@freescale.com>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
|
|
RTC-DEV ioctl interface changed, which required a definition
of new callback mxc_rtc_alarm_irq_enable in SRTC driver.
Also, added a sync call to mxc_rtc_interrupt after a write to
LP domain register to make sure we wait 3 clock cycles in order
for the write to complete, as required by the hardware.
Signed-off-by: Anish Trivedi <anish@freescale.com>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
|
|
Machine layer changes to add SRTC device for MX5x platforms.
Signed-off-by: Anish Trivedi <anish@freescale.com>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
|
|
Add display device support for mx51 bbg.
Signed-off-by: Jason Chen <b02280@freescale.com>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
|