]> git.karo-electronics.de Git - karo-tx-linux.git/log
karo-tx-linux.git
10 years agoENGR00278504-6 imx_v7_defconfig: enable /proc/config.gz
Dong Aisheng [Fri, 6 Sep 2013 03:32:11 +0000 (11:32 +0800)]
ENGR00278504-6 imx_v7_defconfig: enable /proc/config.gz

This could make you be able to check the configuration of current kernel
at running time. It is helpful for debug and with minor overhead.

Signed-off-by: Dong Aisheng <b29396@freescale.com>
10 years agoENGR00278504-5 imx_v7_defconfig: enable CONFIG_LOCALVERSION_AUTO
Dong Aisheng [Fri, 6 Sep 2013 03:30:44 +0000 (11:30 +0800)]
ENGR00278504-5 imx_v7_defconfig: enable CONFIG_LOCALVERSION_AUTO

Used for uniquely identify a kernel version.

Signed-off-by: Dong Aisheng <b29396@freescale.com>
10 years agoENGR00278504-4 imx_v7_defconfig: add atheros ath6kl wifi support
Dong Aisheng [Fri, 6 Sep 2013 03:15:57 +0000 (11:15 +0800)]
ENGR00278504-4 imx_v7_defconfig: add atheros ath6kl wifi support

Add ath6kl wifi in defconfig.

Signed-off-by: Dong Aisheng <b29396@freescale.com>
10 years agoENGR00277843-03 ARM: clk: update imx6sl lcdif clock tree.
Sandor Yu [Wed, 4 Sep 2013 07:46:44 +0000 (15:46 +0800)]
ENGR00277843-03 ARM: clk: update imx6sl lcdif clock tree.

Add CLK_SET_RATE_PARENT flag for IMX6SL_CLK_LCDIF_PIX_SEL.

Signed-off-by: Sandor Yu <R01008@freescale.com>
10 years agoENGR00278350 gpu:viante 4.6.9p13 kernel part integration
Loren HUANG [Mon, 2 Sep 2013 05:43:59 +0000 (13:43 +0800)]
ENGR00278350 gpu:viante 4.6.9p13 kernel part integration

Integrated 4.6.9p13 kernel part change.

Signed-off-by: Loren HUANG <b02279@freescale.com>
Acked-by: Shawn Guo
10 years agoENGR00243120 rtc:snvs: support power off system by SNVS
Robin Gong [Mon, 4 Feb 2013 08:20:05 +0000 (16:20 +0800)]
ENGR00243120 rtc:snvs: support power off system by SNVS

Enable the function by SNVS which located in snvs-rtc driver

Signed-off-by: Robin Gong <b38343@freescale.com>
10 years agoENGR00278097-2 usb: chipidea: imx: Add usb_phy_shutdown at probe's error path
Peter Chen [Wed, 4 Sep 2013 07:06:21 +0000 (15:06 +0800)]
ENGR00278097-2 usb: chipidea: imx: Add usb_phy_shutdown at probe's error path

If not, the PHY will be active even the controller is not in use.
We find this issue due to the PHY's clock refcount is not correct
due to -EPROBE_DEFER return after phy's init.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
10 years agoENGR00277955-2 rtc: rtc-snvs: support wakeup system from freeze mode
Anson Huang [Wed, 4 Sep 2013 01:46:47 +0000 (21:46 -0400)]
ENGR00277955-2 rtc: rtc-snvs: support wakeup system from freeze mode

To support wakeup system from freeze mode of suspend,
device's irq can NOT be disabled during devices suspend,
so we need to add IRQF_NO_SUSPEND flag to irqflags.

Signed-off-by: Anson Huang <b20788@freescale.com>
10 years agoENGR00277955-1 keyboard: gpio_keys: support wakeup system from freeze mode
Anson Huang [Wed, 4 Sep 2013 01:43:48 +0000 (21:43 -0400)]
ENGR00277955-1 keyboard: gpio_keys: support wakeup system from freeze mode

To support wakeup system from freeze mode of suspend,
device's irq can NOT be disabled during devices suspend,
so we need to add IRQF_NO_SUSPEND flag to irqflags.

Signed-off-by: Anson Huang <b20788@freescale.com>
10 years agoENGR00278098 Make gpu modulable driver passing build
Loren HUANG [Wed, 4 Sep 2013 05:54:38 +0000 (13:54 +0800)]
ENGR00278098 Make gpu modulable driver passing build

Gpu driver requires to do cache invalid, clean and flush operation.
 But in 3.10 kernel, these APIs are not supposed to be called from
 device driver. To avoid too much code change, Revert "ARM: Fix bad
 merge bd1274dc005 (Merge branch 'v6v7' into devel)" to make the
 situation the same as 3.0.35 kernel.

This reverts commit a67e1ce145785d884b29b17e4d82a6ecd67bb97a.

Signed-off-by: Loren HUANG <b02279@freescale.com>
Acked-by: Shawn Guo
10 years agoENGR00277333 gpu: Enable OT limitation for gc880
Loren HUANG [Wed, 4 Sep 2013 07:58:04 +0000 (15:58 +0800)]
ENGR00277333 gpu: Enable OT limitation for gc880

Enable OT limitation for gc880, without this limitation
3D core may stall system bus when it is running at a very low clock.

Signed-off-by: Loren HUANG <b02279@freescale.com>
Acked-by: Shawn Guo
10 years agoENGR00275033-3 ARM: imx_v7_defconfig: enable pxp v4l2 output driver
Robby Cai [Thu, 22 Aug 2013 10:11:10 +0000 (18:11 +0800)]
ENGR00275033-3 ARM: imx_v7_defconfig: enable pxp v4l2 output driver

enable pxp v4l2 output driver on imx6sl by default

Signed-off-by: Robby Cai <R63905@freescale.com>
10 years agoENGR00275033-2 ARM: dts: enable pxp v4l2 output device
Robby Cai [Thu, 22 Aug 2013 10:02:46 +0000 (18:02 +0800)]
ENGR00275033-2 ARM: dts: enable pxp v4l2 output device

Enable pxp v4l2 output device on imx6sl evk board

Signed-off-by: Robby Cai <R63905@freescale.com>
10 years agoENGR00275033-1 mx6sl: pxp/v4l: port v4l2 output driver to 3.10
Robby Cai [Thu, 22 Aug 2013 10:01:59 +0000 (18:01 +0800)]
ENGR00275033-1 mx6sl: pxp/v4l: port v4l2 output driver to 3.10

port v4l2 output driver to 3.10 kernel

- replace .ioctl with .unlocked_ioctl
- add .vfl_dir flag - VFL_DIR_TX (newly introduced) for video_device
- drop __devinit,  __devexit, __exit and __exit_p
- replace mxc_elcdif_frame_addr_setup() with pxp_show_buf(), where pan_display
  be called due to the adoption of mxsfb.c from community
- change the fb id to be compared due to use new mxsfb.c
- mark the s_crop() and s_fbuf() third parameter const
- move local fbi variable to struct pxps
- use module_platform_driver()

Signed-off-by: Robby Cai <R63905@freescale.com>
10 years agoENGR00277805-6 usb: chipidea: add ci_hdrc_enter_lpm API
Peter Chen [Tue, 13 Aug 2013 07:18:01 +0000 (15:18 +0800)]
ENGR00277805-6 usb: chipidea: add ci_hdrc_enter_lpm API

It is used to let the PHY enters low power mode at
controller suspend routine.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
10 years agoENGR00277805-2 usb: chipidea: udc: Consolidate the call of disconnect
Peter Chen [Wed, 10 Jul 2013 09:21:23 +0000 (17:21 +0800)]
ENGR00277805-2 usb: chipidea: udc: Consolidate the call of disconnect

The udc-core will call gadget's driver->disconnect, so we should avoid
calling gadget's disconnect again at ci_udc_stop in case the gadget's
unbind free some structs which is still used at gadget's disconnect.

Tested-by: Marek Vasut <marex@denx.de>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
10 years agoENGR00277663-3 power: sabresd_battery: remove check charger offset on mx6slevk
Robin Gong [Fri, 30 Aug 2013 07:29:10 +0000 (15:29 +0800)]
ENGR00277663-3 power: sabresd_battery: remove check charger offset on mx6slevk

No need check the charger offset on mx6slevk, since there is no adc converter

Signed-off-by: Robin Gong <b38343@freescale.com>
10 years agoENGR00277299-7 ARM: imx_v7_defconfig: Build in hdmi audio
Nicolin Chen [Mon, 2 Sep 2013 03:15:45 +0000 (11:15 +0800)]
ENGR00277299-7 ARM: imx_v7_defconfig: Build in hdmi audio

Build hdmi audio as default

Signed-off-by: Nicolin Chen <b42378@freescale.com>
10 years agoENGR00277299-5 ASoC: fsl: Add hdmi audio machine driver
Nicolin Chen [Mon, 2 Sep 2013 03:09:54 +0000 (11:09 +0800)]
ENGR00277299-5 ASoC: fsl: Add hdmi audio machine driver

Add hdmi audio machine dirver

Signed-off-by: Nicolin Chen <b42378@freescale.com>
10 years agoENGR00269945: ARM: enable FSL_OTP in imx_v7_defconfig
Shawn Guo [Mon, 2 Sep 2013 06:08:55 +0000 (14:08 +0800)]
ENGR00269945: ARM: enable FSL_OTP in imx_v7_defconfig

It enables FSL_OTP device driver support in imx_v7_defconfig.

Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoENGR00269945: char: add fsl_otp deivce driver
Shawn Guo [Mon, 2 Sep 2013 02:20:05 +0000 (10:20 +0800)]
ENGR00269945: char: add fsl_otp deivce driver

This is a porting of fsl_otp driver from 3.0.35 kernel to 3.10.  It
cleans up the driver a little bit and adds device tree probe support.

Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoENGR00276023-3: mxc: gpu-viv: get regulator by dts instead of hard code
Robin Gong [Wed, 21 Aug 2013 06:35:00 +0000 (14:35 +0800)]
ENGR00276023-3: mxc: gpu-viv: get regulator by dts instead of hard code

Use devm_regulator_get rather than regulator_get in gpu driver since we have
use DTS.

Signed-off-by: Robin Gong <b38343@freescale.com>
10 years agoENGR00277223-3 ARM: imx_v7_defconfig: enable elan touch driver
Robby Cai [Thu, 29 Aug 2013 06:19:59 +0000 (14:19 +0800)]
ENGR00277223-3 ARM: imx_v7_defconfig: enable elan touch driver

Enable CONFIG_TOUCHSCREEN_ELAN kernel option by default.

Signed-off-by: Robby Cai <R63905@freescale.com>
10 years agoENGR00277223-1 input: port elan touch driver to 3.10 kernel
Robby Cai [Thu, 29 Aug 2013 05:44:37 +0000 (13:44 +0800)]
ENGR00277223-1 input: port elan touch driver to 3.10 kernel

It's ported from 3.5.7 kernel. To test this driver, the EBook Daughter
Board need to be attached (on imx6dl sabresd or imx6sl evk board).

Signed-off-by: Robby Cai <R63905@freescale.com>
10 years agoENGR00276832-9 ARM: imx_v7_defconfig: enable epdc framebuffer driver
Robby Cai [Wed, 28 Aug 2013 10:58:49 +0000 (18:58 +0800)]
ENGR00276832-9 ARM: imx_v7_defconfig: enable epdc framebuffer driver

Enable CONFIG_FB_MXC_EINK_PANEL option by default.

Signed-off-by: Robby Cai <R63905@freescale.com>
10 years agoENGR00276832-7 firmware: add epdc waveform firmware
Robby Cai [Mon, 17 Jun 2013 08:41:48 +0000 (16:41 +0800)]
ENGR00276832-7 firmware: add epdc waveform firmware

Add firmware for EPDC waveform
 (cherry-picked from 8187e68d0659d2540ffd9b9420b6e2858be57105)

Signed-off-by: Robby Cai <R63905@freescale.com>
10 years agoENGR00276832-3 ARM: imx_v7_defconfig: add max17135 pmic support
Robby Cai [Wed, 14 Aug 2013 03:06:58 +0000 (11:06 +0800)]
ENGR00276832-3 ARM: imx_v7_defconfig: add max17135 pmic support

Enable max17135 PMIC support for imx6 duallite and sololite

Signed-off-by: Robby Cai <R63905@freescale.com>
10 years agoENGR00277458-4 ARM: imx_v7_defconfig: Build in imx-spdif
Nicolin Chen [Fri, 30 Aug 2013 07:40:28 +0000 (15:40 +0800)]
ENGR00277458-4 ARM: imx_v7_defconfig: Build in imx-spdif

Build imx-spdif as default

Acked-by: Wang Shengjiu <b02247@freescale.com>
Signed-off-by: Nicolin Chen <b42378@freescale.com>
10 years agoENGR00276567-9 ARM: defconfig: Enable si476x support in imx_v7_defconfig
Nicolin Chen [Thu, 29 Aug 2013 06:59:24 +0000 (14:59 +0800)]
ENGR00276567-9 ARM: defconfig: Enable si476x support in imx_v7_defconfig

Build-in si476x support as default.

Signed-off-by: Nicolin Chen <b42378@freescale.com>
10 years agoENGR00276567-7 ASoC: fsl: Add si476x machine driver
Nicolin Chen [Fri, 23 Aug 2013 11:55:00 +0000 (19:55 +0800)]
ENGR00276567-7 ASoC: fsl: Add si476x machine driver

Add si476x machine dirver for i.MX series SoC and binding doc.

Signed-off-by: Nicolin Chen <b42378@freescale.com>
10 years agoENGR00276567-6 mfd: si476x: Use default configuration when no platform data
Nicolin Chen [Thu, 29 Aug 2013 06:35:44 +0000 (14:35 +0800)]
ENGR00276567-6 mfd: si476x: Use default configuration when no platform data

This would allow the driver to work normally without specific platform data,
when using devicetree for example.

Signed-off-by: Nicolin Chen <b42378@freescale.com>
10 years agoENGR00276567-5 mfd: si476x: Add two involatile registers support
Nicolin Chen [Thu, 29 Aug 2013 06:27:32 +0000 (14:27 +0800)]
ENGR00276567-5 mfd: si476x: Add two involatile registers support

These two regsiters would be used by si476x-codec driver. Setting them as
involatile registers would allow codec driver to set the value into cache
and to sync them after power-up.

Signed-off-by: Nicolin Chen <b42378@freescale.com>
10 years agoENGR00276567-4 mfd: si476x: Fix power up failure
Nicolin Chen [Thu, 29 Aug 2013 06:25:22 +0000 (14:25 +0800)]
ENGR00276567-4 mfd: si476x: Fix power up failure

This's some logical error in power-up code, thus fix it.

Signed-off-by: Nicolin Chen <b42378@freescale.com>
10 years agoserial: i.MX: evaluate linux,stdout-path property
Sascha Hauer [Mon, 5 Aug 2013 12:40:45 +0000 (14:40 +0200)]
serial: i.MX: evaluate linux,stdout-path property

devicetrees may have the linux,stdout-path property to specify the
console. This patch adds support to the i.MX serial driver for this.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Huang Shijie <b32955@freescale.com>
10 years agoENGR00277201-2 gpu: potential memory leak when umapping vg memory
Loren HUANG [Thu, 29 Aug 2013 03:27:12 +0000 (11:27 +0800)]
ENGR00277201-2 gpu: potential memory leak when umapping vg memory

Release the allocate memory properly to avoid memory leak.

Signed-off-by: Loren HUANG <b02279@freescale.com>
Acked-by: Shawn Guo
10 years agoENGR00277201-1 3.10 kernel panic when running gpu stress test
Loren HUANG [Thu, 29 Aug 2013 03:18:18 +0000 (11:18 +0800)]
ENGR00277201-1 3.10 kernel panic when running gpu stress test

The kernel panic is caused by gcc 4.8.1 build logic.
8044b000:       e24bd010        sub     sp, fp, #16
8044b004:       e1500004        cmp     r0, r4
8044b008:       b1a00004        movlt   r0, r4
8044b00c:       a51b0018        ldrge   r0, [fp, #-24]
8044b010:       e89da810        ldm     sp, {r4, fp, sp, pc}
With this logic, r0 may return 0xffffffff randomly in Cortex A9 processor.

Current workaround is enable ARM_UNWIND to avoid such disassemble logic.

Signed-off-by: Loren HUANG <b02279@freescale.com>
10 years agoARM: dts: Add pcie controller node for Samsung EXYNOS5440 SoC
Jingoo Han [Fri, 21 Jun 2013 07:25:51 +0000 (16:25 +0900)]
ARM: dts: Add pcie controller node for Samsung EXYNOS5440 SoC

Exynos5440 has two PCIe controllers which can be used as root complex
for PCIe interface.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
10 years agoENGR00269945: ARM: imx6: remove sabresd hdcp dtb targets
Shawn Guo [Wed, 28 Aug 2013 12:33:45 +0000 (20:33 +0800)]
ENGR00269945: ARM: imx6: remove sabresd hdcp dtb targets

The commit fc52e42 (ENGR00269945: ARM: imx6: remove sabresd hdcp dts
files) removes dts but leaves dtb targets in Makefile.  This causes
build issue with 'make ARCH=arm dtbs'.  Remove the dead targets.

Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoENGR00277003 IPUv3: Update IC RGB2YUV CSC matrix parameters
Liu Ying [Wed, 28 Aug 2013 03:07:52 +0000 (11:07 +0800)]
ENGR00277003 IPUv3: Update IC RGB2YUV CSC matrix parameters

This patch updates IPUv3 IC RGB to YUV color space conversion
matrix's parameters to align with the default VIV GPU CSC
implementation so that we may pass relevant Android CTS test
cases.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
10 years agoARM: dts: enable the gpmi-nand for imx6q{dl}-sabreauto boards
Huang Shijie [Tue, 7 May 2013 07:39:20 +0000 (15:39 +0800)]
ARM: dts: enable the gpmi-nand for imx6q{dl}-sabreauto boards

enable the gpmi-nand for imx6q-sabreauto and imx6qdl-sabreauto boards.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoENGR00269945: ARM: imx: add an ARMv7 only defconfig
Shawn Guo [Wed, 28 Aug 2013 08:03:53 +0000 (16:03 +0800)]
ENGR00269945: ARM: imx: add an ARMv7 only defconfig

To utilize ARMv7 optimization, let's maintain an ARMv7 only defconfig
imx_v7_defconfig.  It's generated as below.

 * make ARCH=arm imx_v6_v7_defconfig
 * make ARCH=arm menuconfig
 * System Type  ---> Multiple platform selection  ---> Deselect ARMv6
   based platforms (ARM11)
 * make ARCH=arm savedefconfig
 * cp defconfig arch/arm/configs/imx_v7_defconfig

Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoENGR00276705 Fix build error for wayland driver in Yocto environment
ganyong [Wed, 28 Aug 2013 06:31:36 +0000 (14:31 +0800)]
ENGR00276705 Fix build error for wayland driver in Yocto environment

Update the macro gcmPROFILE_DECLARE_ONLY to fix Werror(unused-local-typedefs)
when gcdENABLE_PROFILING is not enabled.

Signed-off-by Yong Gan <B45748@freescale.com>

10 years agoENGR00269945: ARM: imx6: maintain pinctrl setting outside bus topology
Shawn Guo [Tue, 27 Aug 2013 03:47:29 +0000 (11:47 +0800)]
ENGR00269945: ARM: imx6: maintain pinctrl setting outside bus topology

The patch moves all pinctrl setting nodes outside bus topology using
label, so that we can reduce some indent levels for these nodes and
avoid churning main device nodes structure chunk.

While at it, the patch also sorts those pinctrl setting nodes
alphabetically.

Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoENGR00269945: ARM: imx6: remove sabresd hdcp dts files
Shawn Guo [Tue, 27 Aug 2013 03:56:44 +0000 (11:56 +0800)]
ENGR00269945: ARM: imx6: remove sabresd hdcp dts files

Since U-Boot provide good support for modify device tree blob (DTB) at
run-time with 'fdt' command, we do not have to maintain extra DTS files
just for pin conflict case.

Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoENGR00276865 hwmon: mma8451: Change warning to error
Luwei Zhou [Tue, 27 Aug 2013 09:17:28 +0000 (17:17 +0800)]
ENGR00276865 hwmon: mma8451: Change warning to error

Change the string tranform warning to error.

Signed-off-by: Luwei Zhou <b45643@freescale.com>
10 years agoENGR00275031-2 ARM: dts: add lcdif and backlight support
Robby Cai [Thu, 22 Aug 2013 06:39:42 +0000 (14:39 +0800)]
ENGR00275031-2 ARM: dts: add lcdif and backlight support

Add dts for lcdif, backlight(pwm).
- use display timing dts bindings for lcd timing setting.
- add an axi clock node for mx23/mx28 to accommadate the change in driver

Signed-off-by: Robby Cai <R63905@freescale.com>
10 years agoENGR00275031-1 mx6sl fb: support lcdif framebuffer on 3.10
Robby Cai [Thu, 22 Aug 2013 06:35:09 +0000 (14:35 +0800)]
ENGR00275031-1 mx6sl fb: support lcdif framebuffer on 3.10

re-use the upstreaming mxsfb.c code.
- add the lcdif axi clock for register and dram access
- set the lcdif pix's parent as pll5_video to get most accurate pix clock
- add binding doc for lcdif dts

Signed-off-by: Robby Cai <R63905@freescale.com>
10 years agoENGR00276684-1 hwmon: isl29023 Add support for isl29023
Luwei Zhou [Mon, 26 Aug 2013 08:10:17 +0000 (16:10 +0800)]
ENGR00276684-1 hwmon: isl29023  Add support for isl29023

Cherry-pick  isl29023.h from 3.0.35.

Signed-off-by: Luwei Zhou <b45643@freescale.com>
10 years agoENGR00276501 sensor: Add mag3110 driver support
Luwei Zhou [Mon, 26 Aug 2013 02:40:15 +0000 (10:40 +0800)]
ENGR00276501 sensor: Add mag3110 driver support

Add mag3110.c to support mag3110 sensor. Copy
the file from 3.0.35_4.1.0. Add Kconfig and
Makefile support.

Signed-off-by: Luwei Zhou <b45643@freescale.com>
10 years agoENGR00275983 sensor: Add mma8451 sensor driver
Luwei Zhou [Wed, 21 Aug 2013 08:53:32 +0000 (16:53 +0800)]
ENGR00275983 sensor: Add mma8451 sensor driver

Add mxa-mma8451.c to support mma8451 sensor. Copy
the file from 3.0.35_4.1.0. Modificaiton List:
1.Remove __devinit,__devexit out of code
2.Support device tree.
3.Replace simple_strtoul with strict_strtoul.

Signed-off-by: Luwei Zhou <b45643@freescale.com>
10 years agoENGR00275999 Makefile:Support mma8451 sensor on i.MX6Q/DL SD/AUTO
Luwei Zhou [Wed, 21 Aug 2013 05:14:24 +0000 (13:14 +0800)]
ENGR00275999 Makefile:Support mma8451 sensor on i.MX6Q/DL SD/AUTO

Add mma8451 in Makefile.

Signed-off-by: Luwei Zhou <b45643@freescale.com>
10 years agoENGR00275992 Kconfig: Support mma8451 sensor on i.MX6Q/DL SD/AUTO
Luwei Zhou [Wed, 21 Aug 2013 05:08:50 +0000 (13:08 +0800)]
ENGR00275992 Kconfig: Support mma8451 sensor on i.MX6Q/DL SD/AUTO

Add mma8451 in Kconfig.

Signed-off-by: Luwei Zhou <b45643@freescale.com>
10 years agoENGR00275739 Correct GPU delay implmentation in kernel code
Loren HUANG [Mon, 19 Aug 2013 14:29:36 +0000 (22:29 +0800)]
ENGR00275739 Correct GPU delay implmentation in kernel code

Original code can't handle delay larger than 1s.

Signed-by: Loren Huang <b02279@freescale.com>
Acked-by: Shawn Guo
10 years agoENGR00275737-1 dts: Enable gpu in MX6SL
Loren HUANG [Wed, 14 Aug 2013 04:57:02 +0000 (12:57 +0800)]
ENGR00275737-1 dts: Enable gpu in MX6SL

Add gpu information in mx6sl dts.

Signed-off-by: Loren HUANG <b02279@freescale.com>
10 years agoENGR00275473-2 Support PU regulator on/off in VPU driver
Hongzhang Yang [Fri, 16 Aug 2013 02:33:41 +0000 (10:33 +0800)]
ENGR00275473-2 Support PU regulator on/off in VPU driver

Add functions to hide different implemention for different
kernel
- vpu_power_get: get/put power/regulator
- vpu_power_up: enable/disable power/regulator
- vpu_reset

Implement regulator operations for Linux 3.10
- find regulator from VPU device node property
  pu-supply

Replace printk/pr_xxx with dev_xxx

Signed-off-by: Hongzhang Yang <Hongzhang.Yang@freescale.com>
10 years agoENGR00275473-1 Support PU regulator on/off in VPU driver
Hongzhang Yang [Mon, 19 Aug 2013 10:12:48 +0000 (18:12 +0800)]
ENGR00275473-1 Support PU regulator on/off in VPU driver

- add pu-supply property to VPU device node

Signed-off-by: Hongzhang Yang <Hongzhang.Yang@freescale.com>
10 years agoENGR00275542-4 ARM: imx: Enable thermal driver for i.MX6SL
Anson Huang [Mon, 19 Aug 2013 20:19:34 +0000 (16:19 -0400)]
ENGR00275542-4 ARM: imx: Enable thermal driver for i.MX6SL

Add thermal dts to enable thermal driver for i.MX6SL.

Signed-off-by: Anson Huang <b20788@freescale.com>
10 years agoENGR00258733 WEIM-NOR: mtd: cfi_cmdset_0002: Do not release the mutex lock
Huang Shijie [Fri, 12 Apr 2013 07:33:11 +0000 (15:33 +0800)]
ENGR00258733 WEIM-NOR: mtd: cfi_cmdset_0002: Do not release the mutex lock

The NOR(M29W256GL7AN6E) may suffers a write-buffer timeout during
the bonnie++/ubifs stress test. Micron has confirmed that it is
a silicon bug in the Nor.

This patch is just a workaround to fix this issue for this NOR.

With this patch, the read/write/erase will do in the synchronous way.

Signed-off-by: Huang Shijie <b32955@freescale.com>
10 years agoENGR00257947 mtd: use memcpy to replace the memcpy_fromio
Huang Shijie [Mon, 8 Apr 2013 08:56:46 +0000 (16:56 +0800)]
ENGR00257947 mtd: use memcpy to replace the memcpy_fromio

During the read of NOR, the kernel actually calls the inline_map_copy_from()
to read the data out. And inline_map_copy_from() will use the memcpy_fromio()
to do the real job.

The memcpy_fromio macro maps _memcpy_fromio() in the current code.
But the _memcpy_fromio() will use readb() to do the copy work one byte
by one byte. This makes the read performance of NOR very slow(about 2~3MB/s).

A similiar discussion could be found in:
http://lists.infradead.org/pipermail/linux-arm-kernel/2009-November/003860.html

This patch replace the memcpy_fromio with memcpy which is optimized by the
kernel.

The following is the result from mtd_speedtest with M29W256GL7AN6E:
=================================================
mtd_speedtest: MTD device: 2
mtd_speedtest: not NAND flash, assume page size is 512 bytes.
mtd_speedtest: MTD device size 4194304, eraseblock size 131072, page size 512,
count of eraseblocks 32, pages per eraseblock 256, OOB size 0
mtd_speedtest: testing eraseblock write speed
mtd_speedtest: eraseblock write speed is 845 KiB/s
mtd_speedtest: testing eraseblock read speed
mtd_speedtest: eraseblock read speed is 19504 KiB/s
mtd_speedtest: testing page write speed
mtd_speedtest: page write speed is 845 KiB/s
mtd_speedtest: testing page read speed
mtd_speedtest: page read speed is 19140 KiB/s
mtd_speedtest: testing 2 page write speed
mtd_speedtest: 2 page write speed is 846 KiB/s
mtd_speedtest: testing 2 page read speed
mtd_speedtest: 2 page read speed is 19320 KiB/s
mtd_speedtest: Testing erase speed
mtd_speedtest: erase speed is 233 KiB/s
mtd_speedtest: Testing 2x multi-block erase speed
mtd_speedtest: 2x multi-block erase speed is 225 KiB/s
mtd_speedtest: Testing 4x multi-block erase speed
mtd_speedtest: 4x multi-block erase speed is 224 KiB/s
mtd_speedtest: Testing 8x multi-block erase speed
mtd_speedtest: 8x multi-block erase speed is 225 KiB/s
mtd_speedtest: Testing 16x multi-block erase speed
mtd_speedtest: 16x multi-block erase speed is 225 KiB/s
mtd_speedtest: Testing 32x multi-block erase speed
mtd_speedtest: 32x multi-block erase speed is 225 KiB/s
mtd_speedtest: Testing 64x multi-block erase speed
mtd_speedtest: 64x multi-block erase speed is 224 KiB/s
mtd_speedtest: finished
=================================================

Signed-off-by: Huang Shijie <b32955@freescale.com>
10 years agoENGR00275619 net: fec: set reset phy gpio to high in .probe().
Fugang Duan [Mon, 19 Aug 2013 02:58:24 +0000 (10:58 +0800)]
ENGR00275619 net: fec: set reset phy gpio to high in .probe().

In .probe() call fec_of_init() to parse phy reset gpio, and
request the gpio for later use. For the init, we must set the
gpio to high to let phy power on.

Signed-off-by: Fugang Duan <B38611@freescale.com>
10 years agoENGR00275004-4: power: sabresd_battery: add sabresd_battery driver
Robin Gong [Tue, 13 Aug 2013 09:49:54 +0000 (17:49 +0800)]
ENGR00275004-4: power: sabresd_battery: add sabresd_battery driver

Add sabresd battery driver which based on Max8903 charger IC.

Signed-off-by: Robin Gong <b38343@freescale.com>
10 years agoENGR00275394 i.MX6:IEEE1588: disable phy Ar8031 SmartEEE
Luwei Zhou [Thu, 15 Aug 2013 06:35:32 +0000 (14:35 +0800)]
ENGR00275394 i.MX6:IEEE1588: disable phy Ar8031 SmartEEE

Connecting two boards directly more than 2 hours, Ar8031 phy link
status generates glitch, which cause ethernet link down/up issue, but
ethernet still be active. There have three cases to validate the issue:

Item#1: If add performance stress test while runing IEEE1588, the link
down/up issue cannot be found.
Item#2: If insert switch between two net nodes and run IEEE1588 test,
the issue also cannot be found.
Item#3: If disable AR8031 SmartEEE feature, after two days overnight test,
no such issue found.

The issue is caused by phy Ar8031 SmartEEE feature, Item#1 and Item#2 can
prevent phy enter lpm mode, which match the Item#3 test result, so disable
SmartEEE feature to avoid the link issue generation.

Signed-off-by: Luwei Zhou <B45643@freescale.com>
10 years agoENGR00275023-1 ARM: imx: Enable unsafe resume for MMC
Anson Huang [Wed, 14 Aug 2013 15:26:46 +0000 (11:26 -0400)]
ENGR00275023-1 ARM: imx: Enable unsafe resume for MMC

As we often use SD/MMC rootfs, need to enable this configuration
for successfully resume of rootfs, otherwise, rootfs will be
broken after resume.

Signed-off-by: Anson Huang <b20788@freescale.com>
10 years agoENGR00275384 touch: config: Add egalax touch support in Kconfig
Luwei Zhou [Thu, 15 Aug 2013 04:20:19 +0000 (12:20 +0800)]
ENGR00275384 touch: config: Add egalax touch support in Kconfig

Add  egalax touchscreen as single-touch support in Kconfig.

Signed-off-by: Luwei Zhou <B45643@freescale.com>
10 years agoENGR00275310 mxc: asrc: update asrc by dma_slave_config is updated.
Shengjiu Wang [Wed, 14 Aug 2013 10:54:02 +0000 (18:54 +0800)]
ENGR00275310 mxc: asrc: update asrc by dma_slave_config is updated.

Because of adding two parameter in dma_slave_config, so asrc driver need to
be updated.

Signed-off-by: Shengjiu Wang <b02247@freescale.com>
10 years agoENGR00275246-05: net: fec: add mac address init for imx25/imx53 fec
Fugang Duan [Wed, 14 Aug 2013 10:06:52 +0000 (18:06 +0800)]
ENGR00275246-05: net: fec: add mac address init for imx25/imx53 fec

Add mac address init for imx25/imx53 fec in restart function.

Signed-off-by: Fugang Duan <B38611@freescale.com>
10 years agoENGR00275246-04: net: fec: fix phy reset operation
Fugang Duan [Wed, 14 Aug 2013 09:55:25 +0000 (17:55 +0800)]
ENGR00275246-04: net: fec: fix phy reset operation

Current driver only do phy reset in probe function, which is
not right. Since some phy clock is disabled after module probe,
the phy enter abnormal status, which needs do reset to recovery
the phy. And do ifconfig ethx up/down test, the phy also enter
abnormal status.

The log as:
libphy: 2188000.ethernet:04 - Link is Up - 10/Full
libphy: 2188000.ethernet:04 - Link is Up - 100/Full
libphy: 2188000.ethernet:04 - Link is Down
libphy: 2188000.ethernet:04 - Link is Up - 10/Half
libphy: 2188000.ethernet:04 - Link is Up - 10/Full
libphy: 2188000.ethernet:04 - Link is Up - 100/Full
...

So, do phy reset if ethx up/down or do clock enable/disable
operation.

Signed-off-by: Fugang Duan <B38611@freescale.com>
10 years agoENGR00274585-9 ASoC: change error message to debug message
Shengjiu Wang [Fri, 9 Aug 2013 06:45:51 +0000 (14:45 +0800)]
ENGR00274585-9 ASoC: change error message to debug message

This error message is not actual error, which is a warning. When using
FE/BE, if there is widget which is used by playback and capture route, then
this message will be printed.

Signed-off-by: Shengjiu Wang <b02247@freescale.com>
10 years agoENGR00274585-5 ASoC: fsl: add cs42888 machine driver.
Shengjiu Wang [Mon, 12 Aug 2013 06:16:32 +0000 (14:16 +0800)]
ENGR00274585-5 ASoC: fsl: add cs42888 machine driver.

add cs42888 machine driver.
add bindings document of cs42888 machine.

Signed-off-by: Shengjiu Wang <b02247@freescale.com>
10 years agoENGR00274412-3 ARM: imx_v6_v7_defconfig: enable ePxP driver
Robby Cai [Tue, 13 Aug 2013 09:33:16 +0000 (17:33 +0800)]
ENGR00274412-3 ARM: imx_v6_v7_defconfig: enable ePxP driver

Enable ePxP DMAENGINE driver by default.

Signed-off-by: Robby Cai <R63905@freescale.com>
10 years agoENGR00274412-2 ARM: dts: enable ePxP for imx6dl_sd and imx6sl_evk
Robby Cai [Mon, 12 Aug 2013 07:07:18 +0000 (15:07 +0800)]
ENGR00274412-2 ARM: dts: enable ePxP for imx6dl_sd and imx6sl_evk

Enable ePxP in DTS for imx6 duallite sabresd and imx6 sololite evk board.

Signed-off-by: Robby Cai <R63905@freescale.com>
10 years agoENGR00274412-1 dma: pxp: Port ePxP driver to 3.10
Robby Cai [Thu, 8 Aug 2013 03:23:54 +0000 (11:23 +0800)]
ENGR00274412-1 dma: pxp: Port ePxP driver to 3.10

It's ported from v3.5.7, which contains ePxP DMAENGINE driver and
a client driver named pxp_device. This patch also includes the changes:
- use uapi header file
- remove VM_RESERVED since it's deprecated, and drop redundant VM_IO flag
  since it's automatically set in remap_pfn_range()
- use <linux/platform_data/dma-imx.h> instead of <mach/dma.h>
- use devm_kzalloc() instead in pxp_probe()
- use macro __KERNEL__ in pxp_dma uapi header to avoid definition conflict

Signed-off-by: Robby Cai <R63905@freescale.com>
10 years agoENGR00274059-02 ARM: Add new dts for imx6q/imx6dl SabreSD hdcp
Sandor Yu [Tue, 13 Aug 2013 08:55:20 +0000 (16:55 +0800)]
ENGR00274059-02 ARM: Add new dts for imx6q/imx6dl SabreSD hdcp

hdcp ddc pins conflict with i2c2,
add new dts file for imx6q and imx6dl SabreSD board,
enable hdcp and disable i2c2 in these dts files.
Remove hdmi pins property from mx6qdl-sabresd.dtsi.

Signed-off-by: Sandor Yu <R01008@freescale.com>
10 years agoENGR00274226-01 MX6 HDMI: document for mxc specific properties.
Sandor Yu [Wed, 7 Aug 2013 11:12:28 +0000 (19:12 +0800)]
ENGR00274226-01 MX6 HDMI: document for mxc specific properties.

Add hdmi core and video dts properties description document.

Signed-off-by: Sandor Yu <R01008@freescale.com>
10 years agoENGR00274473-4 mxc: gpu-viv: support regulator on/off
Anson Huang [Thu, 8 Aug 2013 21:19:08 +0000 (17:19 -0400)]
ENGR00274473-4 mxc: gpu-viv: support regulator on/off

Support PU regulator dynamical on/off on kernel v3.10.

Acked-by: Jason Liu
Signed-off-by: Anson Huang <b20788@freescale.com>
10 years agoENGR00274473-3 ARM: dts: imx6qdl: remove PU LDO always-on attribute
Anson Huang [Thu, 8 Aug 2013 21:15:19 +0000 (17:15 -0400)]
ENGR00274473-3 ARM: dts: imx6qdl: remove PU LDO always-on attribute

PU regulator can be turned off when there is no PU module
running, so remove always-on attribute.

Signed-off-by: Anson Huang <b20788@freescale.com>
10 years agoENGR00274473-1 regulator: add more notifier events
Anson Huang [Thu, 8 Aug 2013 21:05:38 +0000 (17:05 -0400)]
ENGR00274473-1 regulator: add more notifier events

Some hardware modules need strict flows according
to regulator's enable/disable, such as for i.MX6
SOC's PU regulator, there is another power gate
in GPC module, it needs to disable PU modules' clock
before PU regulator is disabled and need to enable
clock right after PU regulator is enabled, then it
can do GPC's power gate operation.

So we need to add REGULATOR_EVENT_PRE_DISABLE and
REGULATOR_EVENT_ENABLE for regulator's notifier events.

Signed-off-by: Anson Huang <b20788@freescale.com>
10 years agoENGR00274761-3 Upgrade VPU driver for Linux 3.10 kernel
Hongzhang Yang [Mon, 12 Aug 2013 07:38:07 +0000 (15:38 +0800)]
ENGR00274761-3 Upgrade VPU driver for Linux 3.10 kernel

Modify mxc_vpu.c to adapt to kernel 3.10 change
- Remove all references to header files in mach folder
- Include linux/clk.h instead of mach/clock.h
- Call device_reset instead of imx_src_reset_vpu
- Dummy PU and PM api callings before they are ready
- Dummy cpu_is_mx5? api callings
- Remove VM_RESERVED flags
- Call gen_pool instead of iram_alloc

Modify mxc_vpu.h
- Change CONFIG_ARCH_MX6 to CONFIG_SOC_IMX6Q

Modify Kconfig:
- Change ARCH_MX? to SOC_IMX?, remove ARCH_MX3/ARCH_MX37
  because for MX3 series only SOC_IMX31 and SOC_IMX35 are
  defined in Linux 3.10, and these chips don't have VPU.
  Need to add SOC_IMX37 to VPU Kconfig if MX37 could be
  supported later.

Add VPU to config and build path
- mxc/Kconfig
- mxc/Makefile

Signed-off-by: Hongzhang Yang <Hongzhang.Yang@freescale.com>
10 years agoENGR00274761-2 Upgrade VPU driver for Linux 3.10 kernel
Hongzhang Yang [Mon, 12 Aug 2013 07:23:41 +0000 (15:23 +0800)]
ENGR00274761-2 Upgrade VPU driver for Linux 3.10 kernel

Add VPU node in dtsi
- Add VPU node (common part) in imx6qdl.dtsi. It was defined
  in imx6.dtsi in Linux 3.5.7.
- Add "iram" property for gen_pool api callings
- Add "resets" property for device_reset api calling
- Add VPU node (soc specific part) in imx6q.dtsi and imx6dl.dtsi

Signed-off-by: Hongzhang Yang <Hongzhang.Yang@freescale.com>
10 years agoENGR00274761-1 Upgrade VPU driver for Linux 3.10 kernel
Hongzhang Yang [Mon, 12 Aug 2013 07:14:23 +0000 (15:14 +0800)]
ENGR00274761-1 Upgrade VPU driver for Linux 3.10 kernel

Pick files from origin/imx_3.5.7 commit 135bf02a0727ea5ce96
- mxc_vpu.h is picked from arch/arm/plat-mxc/include/mach/
  and put to include/linux/
- drivers/mxc/vpu/Kconfig
- drivers/mxc/vpu/Makefile
- drivers/mxc/vpu/mxc_vpu.c

Signed-off-by: Hongzhang Yang <Hongzhang.Yang@freescale.com>
10 years agoENGR00274768-1 ARM: imx6q: update gint bit definitions of IOMUXC_GPR1
Anson Huang [Mon, 12 Aug 2013 21:13:52 +0000 (17:13 -0400)]
ENGR00274768-1 ARM: imx6q: update gint bit definitions of IOMUXC_GPR1

Need to use IOMUXC_GPR1_GINT bit for cpuidle driver, so update this
bit's definitions.

Signed-off-by: Anson Huang <b20788@freescale.com>
10 years agoENGR00274821 ARM: Add i.MX6 FB properties to dts for SabreAuto board
Sandor Yu [Mon, 12 Aug 2013 10:51:52 +0000 (18:51 +0800)]
ENGR00274821 ARM: Add i.MX6 FB properties to dts for SabreAuto board

- Add Framebuffer and ldb properties to dts for i.MX6Q and
i.MX6DL SabreAuto board.
- Add PWM3 and backlight properties to dts for i.MX6Q and
i.Mx6DL SabreAuto board.
- fix i2c2 indent in dts.

Signed-off-by: Sandor Yu <R01008@freescale.com>
10 years agoENGR00274247: touch: add egalax touch driver support on i.MX6Q/DL AUTO/SD
Luwei [Thu, 8 Aug 2013 08:35:24 +0000 (16:35 +0800)]
ENGR00274247: touch: add egalax touch driver support on i.MX6Q/DL AUTO/SD

Copy the egalax touch screen driver from linux3.5.7.Make some
modification.Remove the __devinit __devexit __devexit_p out
of the file, because 3.10 does not support.

Signed-off-by: Luwei Zhou <b45643@freescale.com>
10 years agoENGR00274749 ARM: imx6q: Improve lvds cabc gpio request logic
Liu Ying [Mon, 12 Aug 2013 04:57:25 +0000 (12:57 +0800)]
ENGR00274749 ARM: imx6q: Improve lvds cabc gpio request logic

This patch removes the unnecessary gpio_set_value() and
gpio_free() function calls after request the gpios with
gpio_requestion_one() successfully. Also, this patch adds
a warning message if the request fails.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
10 years agoENGR00264465-3 arm: imx6qdl:Disable Hannstar LVDS panel CABC
Liu Ying [Tue, 28 May 2013 05:49:06 +0000 (13:49 +0800)]
ENGR00264465-3 arm: imx6qdl:Disable Hannstar LVDS panel CABC

Hannstar LVDS panel CABC function turns backlight density
automatically according to display content. This may introduce
annoying unstable backlight when display content changes.
So, this patch disables the CABC function if a platform's of
device tree provides controlling gpios in lvds_cabc_ctrl node.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit 35048e80235a7e337a35d8747b153bdd0afb621a)

10 years agoENGR00264465-2 arm: dts: imx6qdl-sabresd:Add lvds_cabc_ctrl node
Liu Ying [Tue, 28 May 2013 05:45:18 +0000 (13:45 +0800)]
ENGR00264465-2 arm: dts: imx6qdl-sabresd:Add lvds_cabc_ctrl node

This patch adds lvds_cabc_ctrl node in imx6qdl-sabresd.dtsi file.
This node contains two gpio entries for the Hannstar LVDS panel
CABC control function on LVDS0 and LVDS1 interfaces.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit 974371d0b8e57a47fc2a0f500376d61c47340d24)

10 years agoENGR00264465-1 arm: dts: imx6qdl-sabresd:Add LVDS CABC pinmux
Liu Ying [Tue, 28 May 2013 05:38:20 +0000 (13:38 +0800)]
ENGR00264465-1 arm: dts: imx6qdl-sabresd:Add LVDS CABC pinmux

This patch adds pinmux entries for LVDS0 and LVDS1 to control the
Hannstar LVDS panel CABC function. Pin NANDF_CS2 and pin NANDF_CS3
are configured to be gpio so that they can control the CABC function.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit e5607e333915ddd8650af02895979fde3a82197d)

10 years agoENGR00274056-4 mxc: gpu-viv: add gpu freq throttle
Anson Huang [Thu, 8 Aug 2013 18:11:30 +0000 (14:11 -0400)]
ENGR00274056-4 mxc: gpu-viv: add gpu freq throttle

add gpu freq throttle to protect SOC, when temperature
is too high, lower gpu freq to 4/64, and gpu freq will
restore when SOC cool down.

Acked-by: Jason Liu
Signed-off-by: Anson Huang <b20788@freescale.com>
10 years agoENGR00274056-3 thermal: imx: binding device cooling to thermal
Anson Huang [Thu, 8 Aug 2013 17:57:23 +0000 (13:57 -0400)]
ENGR00274056-3 thermal: imx: binding device cooling to thermal

1. imx thermal depends on device cooling config, as only cpu
cooling is not enough for cooling down SOC;

2. binding device cooling to imx thermal driver.

3. add temperature buffer for passive trip, which means when
temperature cross passive trip, cooling devices will be triggered,
but only when temperature drop to more than the number we defined(10 C)
lower than passive trip, cooling devices will be canceled. this
is to avoid triggering/canceling cooling device back and forth when
temperature is around passive trip.

Signed-off-by: Anson Huang <b20788@freescale.com>
10 years agoENGR00274056-1 thermal: add device cooling for thermal driver
Anson Huang [Thu, 8 Aug 2013 17:20:40 +0000 (13:20 -0400)]
ENGR00274056-1 thermal: add device cooling for thermal driver

cpu cooling is not enough when temperature is
too hot, as some devices may contribute a lot of heat
to SOC, such as GPU, so we need to add device cooling
as well, when system is too hot, devices can also take
their actions to lower SOC temperature.

when temperature cross the passive trip, device cooling
driver will send out notification, those devices who
register this devfreq_cooling notification will take
actions to lower SOC temperature.

Signed-off-by: Anson Huang <b20788@freescale.com>
10 years agoENGR00274286-3 arm: dts: imx6qdl: Add asrc support
Nicolin Chen [Wed, 7 Aug 2013 08:28:55 +0000 (16:28 +0800)]
ENGR00274286-3 arm: dts: imx6qdl: Add asrc support

Complete required DT bindings.

Signed-off-by: Nicolin Chen <b42378@freescale.com>
10 years agoENGR00274286-2 mxc: asrc: Add asrc m2m driver
Nicolin Chen [Wed, 7 Aug 2013 08:28:35 +0000 (16:28 +0800)]
ENGR00274286-2 mxc: asrc: Add asrc m2m driver

Add ASRC M2M driver.

Signed-off-by: Nicolin Chen <b42378@freescale.com>
10 years agoENGR00274286-1 dma: imx-sdma: Use correct sdma script for asrc
Nicolin Chen [Wed, 7 Aug 2013 08:27:43 +0000 (16:27 +0800)]
ENGR00274286-1 dma: imx-sdma: Use correct sdma script for asrc

Use correct sdma script for ASRC.

Signed-off-by: Nicolin Chen <b42378@freescale.com>
10 years agoENGR00274215: dts: imx6: add egalax support on i.MX6Q/DL AUTO/SD
Luwei [Thu, 8 Aug 2013 03:07:10 +0000 (11:07 +0800)]
ENGR00274215: dts: imx6: add egalax support on i.MX6Q/DL AUTO/SD

Add egalax touchscreen devicetree support on i.MX6Q/DL sabre-auto/sd platform.

Signed-off-by: Luwei Zhou <b45643@freescale.com>
10 years agoENGR00273425 ARM: imx: enable suspend code for imx6q/dl
Robin Gong [Mon, 5 Aug 2013 09:40:02 +0000 (17:40 +0800)]
ENGR00273425 ARM: imx: enable suspend code for imx6q/dl

Enable DSM code for imx6, the code porting form kernel 3.5.7.So with the patch,
we can suspend imx6q, imx6dl from iram to decrease power number of DDR IO:
save ~15mA@1.5V on imx6qsabresd, but need more ~30us in suspend and resume back.

Signed-off-by: Robin Gong <b38343@freescale.com>
10 years agoENGR00273974-3 ARM: imx_v6_v7_defconfig: enable mxc vout driver
Liu Ying [Mon, 5 Aug 2013 07:48:24 +0000 (15:48 +0800)]
ENGR00273974-3 ARM: imx_v6_v7_defconfig: enable mxc vout driver

Enable the mxc v4l2 output driver.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
10 years agoENGR00273974-2 ARM: dts: imx6qdl-sabresd: enable mxc vout
Liu Ying [Mon, 5 Aug 2013 07:48:11 +0000 (15:48 +0800)]
ENGR00273974-2 ARM: dts: imx6qdl-sabresd: enable mxc vout

Enable the mxc vout for imx6q{dl}-sabresd boards.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
10 years agoENGR00273974-1 media: port mxc vout driver from 3.5.7 to 3.10
Liu Ying [Mon, 5 Aug 2013 07:47:22 +0000 (15:47 +0800)]
ENGR00273974-1 media: port mxc vout driver from 3.5.7 to 3.10

This is porting mxc vout driver from imx_3.5.7 kernel to
imx_3.10 kernel.

* Put the driver in drivers/media/platform/ directory instead
  of drivers/media/video/ directory, since the later one is
  renamed to the former one in 3.10 kernel.
* Change the ipu-v3.h header file from <mach/ipu-v3.h> to
  <linux/ipu-v3.h>.
* Change the mxc_vidioc_s_crop() function's implementation since
  the definition of the vidioc_s_crop() function is modified to
  make the last argument be constant.
* Set vfl_dir to be VFL_DIR_TX since the ioctrl validity checks
  are improved in 3.10 kernel.
* Remove 'defaut y' setting for VIDEO_MXC_OUTPUT and
  VIDEO_MXC_IPU_OUTPUT Kconfigs. They may be configured by kernel
  default configure or by user.
* Make VIDEO_MXC_OUTPUT Kconfig depend on FB_MXC Kconfig since
  we need framebuffers to be rendered.
* Make VIDEO_MXC_IPU_OUTPUT Kconfig be tristate.
* Split <linux/mxc_v4l2.h> header file up into include/linux/
  and include/uapi/linux/ directories so that the userspace may
  include the mxc_v4l2.h header file.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
10 years agoENGR00273852 ipu: header file split up
Liu Ying [Mon, 5 Aug 2013 07:33:49 +0000 (15:33 +0800)]
ENGR00273852 ipu: header file split up

This patch splits ipu header file up to
include/linux/ directory and include/uapi/linux/
directory so that the userspace may include
the ipu header file. This patch also fixes some
annotations and macros about the header file's
naming.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
10 years agoENGR00273972-2 ARM:dts:imx6qdl-sabresd:Add pfuze100 support on Sabresd board
Robin Gong [Tue, 6 Aug 2013 04:31:15 +0000 (12:31 +0800)]
ENGR00273972-2 ARM:dts:imx6qdl-sabresd:Add pfuze100 support on Sabresd board

Add pfuze100 regulator device node in imx6qdl-sabresd.dtsi.

Signed-off-by: Robin Gong <b38343@freescale.com>