aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-09-17SAUNCE: fix parsing of EDID extension block for HDMIlt-2.6.38-2011.09Eric Miao
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>
2011-09-17ENGR00139461-2 mxc alsa soc spdif driverAlan Tull
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>
2011-09-17ENGR00139461-1 mxc alsa soc spdif driverAlan Tull
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>
2011-09-17ENGR00154526 MX5x, SSI: audio capture not supportedLionel Xu
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>
2011-09-17ENGR00156813 MX53 ALSA: Recording no soundLionel Xu
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>
2011-09-17SAUCE: mx53_loco: prevent gpio_keys_button data being releasedEric Miao
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>
2011-09-17ENGR00143341-1 ldb: return error if ldb driver is not enabledLily Zhang
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>
2011-08-16SAUCE: mx53_ard: Add VGA supportZhang Lily-R58066
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>
2011-08-16SAUCE: ipuv3: fix kernel oops in ipu_{init,uninit}_sync_panel()Eric Miao
Signed-off-by: Eric Miao <eric.miao@linaro.org>
2011-08-16SAUCE: mx53_loco: fix SATA clock fuse settingEric Miao
Signed-off-by: Eric Miao <eric.miao@linaro.org>
2011-08-16SAUCE: mx53_loco: cleanup printk() to use pr_*()Eric Miao
Signed-off-by: Eric Miao <eric.miao@linaro.org>
2011-08-16ENGR00151762 vpu: Fix system hang due to long time video playback on mx51Sammy He
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>
2011-08-16ENGR00144306-2 vpu: Add iram info to vpu platform data for each platformSammy He
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>
2011-08-16ENGR00144306-1 vpu: remove VPU IRAM config and add iram info to plat data.Sammy He
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>
2011-08-16ENGR00144053: MX53: Fix iomux definition for PATA_D6Dinh Nguyen
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>
2011-08-16ENGR00142551-3 mxc_v4l2: change IPU interface for triple bufferLiu Ying
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>
2011-08-16ENGR00142551-2 ipuv3fb: Support HW triple bufferLiu Ying
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>
2011-08-16ENGR00142551-1 ipuv3: Support triple bufferLiu Ying
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>
2011-08-16ENGR00143309 ipuv3fb: Set default yres_virtual to be 3*yresLiu Ying
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>
2011-08-16ENGR00143575 ipuv3: Align IDMAC BS with DMFC FIFO BSLiu Ying
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>
2011-08-16ENGR00142865 ipuv3: add pixel clk to clk devJason Chen
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>
2011-08-16ENGR00142683 ipuv3: Increase IDMAC BS for RGBP and DMFC BSLiu Ying
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>
2011-08-16ENGR00141552 ipuv3: fix display pin's power leakJason Chen
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>
2011-08-16ENGR00143294-1: Fix bug in MC13892 driverRanjani Vaidyanathan
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>
2011-08-16ENGR00142734 sdma: fix sdma incorrect lock usage.Zeng Zhaoming
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>
2011-08-16ENGR00142733 MX51: Add sgtl5000 support for babbageZeng Zhaoming
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>
2011-08-16SAUCE: imx5_defconfig: add HID supportJason Chen
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>
2011-08-16SAUCE: enable USB host and otg for mx51-evkJason Chen
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>
2011-08-16SAUCE: MX53: add pmic poweroff supportJason Chen
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>
2011-08-16LINARO: MX51: make DDC off as default boot for mx51-evkJason Chen
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>
2011-08-16SAUCE: MX5: increase coherent DMA size to 128M and remove arch_adjust_zone() ↵Eric Miao
trick BugLink: http://bugs.launchpad.net/bugs/773043 Signed-off-by: Eric Miao <eric.miao@linaro.org>
2011-08-16SAUCE: MX5: fix possible panic due to incorrectly calculated timeoutEric Miao
BugLink: http://bugs.launchpad.net/bugs/768373 Signed-off-by: Eric Miao <eric.miao@linaro.org>
2011-08-16SAUCE: MX5: GPIO registers start differently between i.MX51/53Eric Miao
Signed-off-by: Eric Miao <eric.miao@linaro.org>
2011-08-16SAUCE: MX51: fix build error of mx51_get_cpu_op() not declaredEric Miao
Signed-off-by: Eric Miao <eric.miao@linaro.org>
2011-04-21ENGR00142436-2 SGTL5000: Audio not work in 2.6.38 kernelZeng Zhaoming
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>
2011-04-21ENGR00142436-1 MX53 LOCO: Audio not work in 2.6.38 kernelZeng Zhaoming
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>
2011-04-21ENGR00142413: MX51: Fix mx51 I2c board info multiple defined in 2.6.38Zeng Zhaoming
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>
2011-04-21ENGR00142304: IMX51: Add pmic support for IMX51 babbage in 2.6.38Zeng Zhaoming
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>
2011-04-21ENGR00142303: IMX51: add sgtl5000 support for MX51 babbageZeng Zhaoming
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>
2011-04-21ARM: imx53: set uart_main_clk parent clock to pll2_sw_clkRichard Zhao
uboot possiblly not set it correctly. Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
2011-04-20ENGR00142351 mxc_gpu: autogating: add pending flagRichard Zhao
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>
2011-04-20ENGR00141152-3 make default display option for driversJason Chen
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>
2011-04-20ENGR00141152-2 imx5X MSL: make default display optionJason Chen
Change MSL files. Signed-off-by: Jason Chen <b02280@freescale.com> Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
2011-04-20ENGR00141152-1 header file: make default display optionJason Chen
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>
2011-04-20ENGR00141400 GPU: Improve GPU clock gatingZhou, Jie
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>
2011-04-20ENGR00140700 GPU: fix tiger run the second time causing system hangRichard Zhao
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>
2011-04-20ENGR00140050 GPU: workaround hang with heavy bus loadingZhou, Jie
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>
2011-04-20ENGR00142296-2 SRTC: Upgrade driver to kernel version 2.6.38Anish Trivedi
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>
2011-04-20ENGR00142296-1 ARM: MX5: Add SRTC device supportAnish Trivedi
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>
2011-04-19ENGR00142268 ARM i.MX51 bbg: add display support.Jason Chen
Add display device support for mx51 bbg. Signed-off-by: Jason Chen <b02280@freescale.com> Signed-off-by: Richard Zhao <richard.zhao@freescale.com>