]> git.karo-electronics.de Git - karo-tx-linux.git/log
karo-tx-linux.git
10 years agoENGR00283508-2 arm: dts: imx6sl: support pwm pin sleep mode
Anson Huang [Mon, 14 Oct 2013 19:07:51 +0000 (15:07 -0400)]
ENGR00283508-2 arm: dts: imx6sl: support pwm pin sleep mode

As i.MX6SL EVK board is very sensitive to DSM power, so we
need to lower IO power of PWM pin:

MX6SL_PAD_PWM1__GPIO3_IO23

Signed-off-by: Anson Huang <b20788@freescale.com>
10 years agoENGR00283496 ARM: clk: imx6sl: update epdc pixel clock tree
Robby Cai [Mon, 14 Oct 2013 03:32:25 +0000 (11:32 +0800)]
ENGR00283496 ARM: clk: imx6sl: update epdc pixel clock tree

Add CLK_SET_RATE_PARENT flag for epdc pixel clock to allow the rate change
operation to propagate up to the clock's parent in order to get desired rate.

Signed-off-by: Robby Cai <R63905@freescale.com>
10 years agoserial: imx: implement the flush_buffer hook
Huang Shijie [Wed, 9 Oct 2013 07:13:23 +0000 (15:13 +0800)]
serial: imx: implement the flush_buffer hook

The current driver does not implement the flush_buffer hook for
uart_ops. When we enable the DMA for the driver, and test it with Bluetooth,
we may meet the following bug for TX:

    [1] User application may call the flush operation at any time.
        The uart_flush_buffer() calls the uart_circ_clear() to set
        the xmit->head and xmit->tail with 0.

    [2] The TX DMA callback can be called at any time too.
        The dma_tx_call() will update the xmit->tail.

    If [2] occurs just after the [1], we will get the wrong xmit->tail.

This patch implements the flush_buffer hook to fix this issue.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
10 years agoENGR00283480 imx_v7_defconfig: enable MLB150 module
Luwei Zhou [Sat, 12 Oct 2013 07:53:48 +0000 (15:53 +0800)]
ENGR00283480 imx_v7_defconfig: enable MLB150 module

Add MLB150 module support in imx_v7_defconfig

Signed-off-by: Luwei Zhou <b45643@freescale.com>
10 years agoENGR00281186 dmaengine: pxp: not fetch data from AS buffer if it's not used
Robby Cai [Wed, 25 Sep 2013 05:35:46 +0000 (13:35 +0800)]
ENGR00281186 dmaengine: pxp: not fetch data from AS buffer if it's not used

There's no explicit BIT in PxP register to disable AS buffer.
The right way to disable AS is to set ULC to a higher value than the LRC.
It has been done once in probe time, but not in run time.
This could cause one potential problem because even when ULC, LRC
and buffer address is set to 0 PxP will still fetch one pixel data from addr 0.
This patch fixes it by set ULC higher than LRC for AS if it's not used (i.e.,
no alpha-blending) at run time.

Signed-off-by: Robby Cai <R63905@freescale.com>
10 years agoENGR00283192 Avoid vpu rmmod failure and modprobe warning
Hongzhang Yang [Thu, 10 Oct 2013 03:12:06 +0000 (11:12 +0800)]
ENGR00283192 Avoid vpu rmmod failure and modprobe warning

- Avoid vpu rmmod failure caused by regulator free failure
  Do not call regulator_put because regulators returned from
  devm_regulator_get are automatically regulator_put() on
  driver detach

- Avoid vpu modprobe warning caused by unbalanced pm_runtime_enable
  Add missing call to pm_runtime_disable

Signed-off-by: Hongzhang Yang <Hongzhang.Yang@freescale.com>
10 years agoENGR00283037 [gpu]Avoid gpu rmmod failure caused by regulator free failure
Loren HUANG [Wed, 9 Oct 2013 08:33:39 +0000 (16:33 +0800)]
ENGR00283037 [gpu]Avoid gpu rmmod failure caused by regulator free failure

The failure is caused by duplicate regulator resource free.
New devm_xxx API will free the resource automatically after remove()
is called.

Signed-off-by: Loren HUANG <b02279@freescale.com>
Acked-by: Shawn Guo
10 years agoserial: imx: Use NULL as the last argument of add_preferred_console()
Fabio Estevam [Mon, 2 Sep 2013 01:24:35 +0000 (22:24 -0300)]
serial: imx: Use NULL as the last argument of add_preferred_console()

Commit f7d2c0bbd (serial: i.MX: evaluate linux,stdout-path property) introduced
the following sparse warning:

drivers/tty/serial/imx.c:1916:77: warning: Using plain integer as NULL pointer

Pass NULL as the last argument of add_preferred_console() instead of zero.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-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 agoENGR00280494-2 Add config for mfgtools
Frank Li [Thu, 3 Oct 2013 19:51:58 +0000 (14:51 -0500)]
ENGR00280494-2 Add config for mfgtools

Build in USB Mass storage
Enable CONFIG_FSL_UTP

Must list all gadgets in config file
otherwise CONFIG_USB_MASS_STORAGE becomes to m

+# CONFIG_USB_ZERO is not set
+# CONFIG_USB_AUDIO is not set
+# CONFIG_USB_ETH is not set
+# CONFIG_USB_G_NCM is not set
+# CONFIG_USB_GADGETFS is not set
+# CONFIG_USB_FUNCTIONFS is not set
+CONFIG_USB_MASS_STORAGE=y
+CONFIG_FSL_UTP=y
+# CONFIG_USB_G_SERIAL is not set
+# CONFIG_USB_MIDI_GADGET is not set
+# CONFIG_USB_G_PRINTER is not set
+# CONFIG_USB_CDC_COMPOSITE is not set
+# CONFIG_USB_G_ACM_MS is not set
+# CONFIG_USB_G_MULTI is not set
+# CONFIG_USB_G_HID is not set
+# CONFIG_USB_G_DBGP is not set
+# CONFIG_USB_G_WEBCAM is not set

Signed-off-by: Frank Li <Frank.li@freescale.com>
10 years agoENGR00280852-8 mxc: asrc: Add polling mode working without dma for debugging
Nicolin Chen [Wed, 25 Sep 2013 11:10:58 +0000 (19:10 +0800)]
ENGR00280852-8 mxc: asrc: Add polling mode working without dma for debugging

Add polling mode for data transmitting without dma support for debugging when
sdma may have issue.

Signed-off-by: Nicolin Chen <b42378@freescale.com>
10 years agoENGR00280852-4 mxc: asrc: Use completion instead of counter
Nicolin Chen [Tue, 24 Sep 2013 10:27:34 +0000 (18:27 +0800)]
ENGR00280852-4 mxc: asrc: Use completion instead of counter

Use completion instead of counter to make driver clean and drop
implicit mdelay by using wait_for_completion().

Signed-off-by: Nicolin Chen <b42378@freescale.com>
10 years agoENGR00281613 imx_v7_defconfig: enable net VLAN 802.1Q
Fugang Duan [Fri, 27 Sep 2013 07:33:36 +0000 (15:33 +0800)]
ENGR00281613 imx_v7_defconfig: enable net VLAN 802.1Q

Enable net VLAN 8021Q in imx_v7_defconfig.

Signed-off-by: Fugang Duan <B38611@freescale.com>
10 years agoENGR00279204-2 mxc vout: reconfig overlay fb correctly
Liu Ying [Thu, 26 Sep 2013 06:11:08 +0000 (14:11 +0800)]
ENGR00279204-2 mxc vout: reconfig overlay fb correctly

The overlay framebuffer's position and resolution are
set with two different APIs. They depend on each other to
make sure the overlay framebuffer window will not go out
of the background framebuffer window. Potentially, this
causes the overlay framebuffer's position or resolution
of the current video pipeline be impacted by the settings
of the last time. To setup the overlay fb from scratch
correctly, this patch takes the following steps:
- blank framebuffer
- set framebuffer position to the starting point
- reconfigure framebuffer
- set framebuffer position to a specific point
- unblank framebuffer
This procedure applies to non-overlay framebuffers as well.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
10 years agoENGR00279204-1 mxc vout: reconfig fb when necessary
Liu Ying [Thu, 26 Sep 2013 05:41:17 +0000 (13:41 +0800)]
ENGR00279204-1 mxc vout: reconfig fb when necessary

Users may call VIDIOC_S_CTRL or VIDIOC_S_CROP ioctrls
to update streaming parameters on-the-fly after video
has been streamed on, such as for rotation/output
resolution/overlay output position change. Any
unnecessary frame buffer reconfiguration would cause
a pair of frame buffer blank/unblank events happen and
even makes the background framebuffer show up for a
short period of time if the video is rendered on an
overlay framebuffer. This patch compares the last time
video output pipe line settings with the current ones
to determine whether frame buffer reconfiguration is
necessary or not.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
10 years agoENGR00280140 pxp/v4l2: restore the display content after video playback finishes
Robby Cai [Sun, 22 Sep 2013 09:31:06 +0000 (17:31 +0800)]
ENGR00280140 pxp/v4l2: restore the display content after video playback finishes

After finish video playback, the last frame remains on the display.
It's because the UI display start address (smem_start) has been changed when
do video playback but not changed back again after the playback finishes.
From the function call point of view,

 pxp_set_fbinfo()         // pxp->fb.base tracks right addr for UI framebuffer
 pxp_show_buf(toshow)     // smem_start changed to v4l2 display addr
 pxp_set_fbinfo()         // pxp->fb.base changed to v4l2 display addr
 pxp_show_buf(not toshow) // smem_start still equal to v4l2 display addr
                          // for pan_display

This patch fixes it by calling pxp_set_fbinfo once in open function.

Signed-off-by: Robby Cai <R63905@freescale.com>
10 years agoENGR00280663-3 mxc vout: handle downsize ratio overflow
Liu Ying [Sun, 22 Sep 2013 04:45:29 +0000 (12:45 +0800)]
ENGR00280663-3 mxc vout: handle downsize ratio overflow

This patch handles downsize ratio overflow error by doing
input cropping with 8 pixel step.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
10 years agoENGR00280663-2 IPUv3 device: check downsize ratio overflow
Liu Ying [Sun, 22 Sep 2013 04:37:39 +0000 (12:37 +0800)]
ENGR00280663-2 IPUv3 device: check downsize ratio overflow

IPUv3 IC task downsize scaling ratio cannot exceed or be
equal to 8:1. This patch makes the code return error code
if the ratio overflows.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
10 years agoENGR00280663-1 IPUv3: improve IC scale check logic
Liu Ying [Sun, 22 Sep 2013 02:34:24 +0000 (10:34 +0800)]
ENGR00280663-1 IPUv3: improve IC scale check logic

This patch improves IPU IC task scale check logic
so that we may return with error code if the calculation
for scale coefficients fails.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
10 years agoENGR00280101-3 [iMX6x] Add support for bypass mode rates
Ranjani Vaidyanathan [Tue, 17 Sep 2013 22:14:05 +0000 (17:14 -0500)]
ENGR00280101-3 [iMX6x] Add support for bypass mode rates

Fix the code to report correct PFD and PLL clock rates when
the PLL is in bypass state.

Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
10 years agoENGR00280115 videobuf-dma-contig: make mmapped video buffer bufferable
Liu Ying [Wed, 18 Sep 2013 02:15:34 +0000 (10:15 +0800)]
ENGR00280115 videobuf-dma-contig: make mmapped video buffer bufferable

This patch makes mmapped video buffers bufferable so that software
decoders may render the video buffers efficiently.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
10 years agoENGR00279413 pxp/v4l2: get the right framebuffer start address at run time
Robby Cai [Thu, 12 Sep 2013 11:11:54 +0000 (19:11 +0800)]
ENGR00279413 pxp/v4l2: get the right framebuffer start address at run time

Previously the driver gets the framebuffer start address at probe time.
But this address might be changed if the framebuffer drivers re-allocate
the frame buffers due to the application changes the yres_virtual.
As a result, some garbage data can be observed on display.
This patch adjusts the way to detect the start address at run time to
fix this problem.

Signed-off-by: Robby Cai <R63905@freescale.com>
10 years agoENGR00279436 input: touchscreen: egalax: enable multitouch
Fugang Duan [Thu, 12 Sep 2013 09:39:27 +0000 (17:39 +0800)]
ENGR00279436 input: touchscreen: egalax: enable multitouch

Disable single-touch support in imx_v7_defconfig to enable
multitouch feature for egalax.

Signed-off-by: Fugang Duan <B38611@freescale.com>
10 years agoENGR00279368-3 mxc: asrc: Add missing clock control
Nicolin Chen [Thu, 12 Sep 2013 06:56:36 +0000 (14:56 +0800)]
ENGR00279368-3 mxc: asrc: Add missing clock control

* Add missing clock control
* Set ASRC clock to 7.5MHz as 3.0.35 does
* Use the same divisor for ideal ratio mode as 3.0.35 does

Acked-by: Wang Shengjiu <b02247@freescale.com>
Signed-off-by: Nicolin Chen <b42378@freescale.com>
10 years agoENGR00279401 mxc v4l2 capture: use flush_work instead of flush_work_sync
Liu Ying [Thu, 12 Sep 2013 07:50:13 +0000 (15:50 +0800)]
ENGR00279401 mxc v4l2 capture: use flush_work instead of flush_work_sync

Since commit 43829731d (workqueue: deprecate flush[_delayed]_work_sync()),
flush_work() should be used instead of flush_work_sync().

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
10 years agoENGR00279226 media: ov5642: correct io_regulator sanity check
Liu Ying [Wed, 11 Sep 2013 10:25:44 +0000 (18:25 +0800)]
ENGR00279226 media: ov5642: correct io_regulator sanity check

The following commit introduced a wrong sanity check for
the io_regulator which is intended to be got from device tree.
a364635a535705a8c16df49ff9bc7b9362b083ec

This patch corrects the sanity check.

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

10 years agoENGR00278667-3 [ARM]: imx_v7_defconfig enable adv7180 TV decoder
Oliver Brown [Tue, 10 Sep 2013 08:53:26 +0000 (03:53 -0500)]
ENGR00278667-3 [ARM]: imx_v7_defconfig enable adv7180 TV decoder

Enable the ADV7180 TV Decoder to imx_v7_defconfig

Signed-off-by: Oliver Brown <oliver.brown@freescale.com>
10 years agoENGR00278667-1 [mxc_v4l2_capture]: Add adv7180 driver in 3.10.9 Kernel
Oliver Brown [Sun, 8 Sep 2013 20:05:28 +0000 (15:05 -0500)]
ENGR00278667-1 [mxc_v4l2_capture]: Add adv7180 driver in 3.10.9 Kernel

Copied file from 3.5.7 Kernel
commit de6459732a23402cbe520812bf4202299330fd68
Author: Oliver Brown <oliver.brown@freescale.com>
Date:   Mon Jun 24 16:41:17 2013 -0500

Added missing call to clk_disable_unprepare() in adv7180_probe.

Signed-off-by: Oliver Brown <oliver.brown@freescale.com>
10 years agoENGR00278665-3 [ARM]: imx_v7_defconfig enable ov5640_mipi support
Oliver Brown [Tue, 10 Sep 2013 08:19:53 +0000 (03:19 -0500)]
ENGR00278665-3 [ARM]: imx_v7_defconfig enable ov5640_mipi support

Enable the ov5640 camera driver in the imx_v7_defconfig.

Signed-off-by: Oliver Brown <oliver.brown@freescale.com>
10 years agoENGR00278665-2 [ARM]: dtsi: imx6qdl-sabresd: add ov5640_mipi camera support
Oliver Brown [Sun, 8 Sep 2013 19:46:13 +0000 (14:46 -0500)]
ENGR00278665-2 [ARM]: dtsi: imx6qdl-sabresd: add ov5640_mipi camera support

Enabled ov5640_mipi in the SabreSD device tree.

Signed-off-by: Oliver Brown <oliver.brown@freescale.com>
10 years agoENGR00278665-1 [mxc_v4l2_capture]: Add ov5640_mipi driver files
Oliver Brown [Sun, 8 Sep 2013 19:41:02 +0000 (14:41 -0500)]
ENGR00278665-1 [mxc_v4l2_capture]: Add ov5640_mipi driver files

Copied file from 3.5.7 Kernel:
commit 0682e12bf9a3b5085fe5dd70574fe856340894d0
Author: Liu Ying <Ying.Liu@freescale.com>
Date:   Thu May 16 12:02:14 2013 +0800

-Added function and file name to some error messages that are
in multiple places.
-Added calls to clk_prepare_enable() and clk_disable_unprepare()
 in ov5640_probe() to manage the sensor clock.
-Added missing sanity check for "io_regulator"
-Fixed several whitespace errors

Signed-off-by: Oliver Brown <oliver.brown@freescale.com>
10 years agoENGR00278646-5 ARM: dts: imx6qdl-sabresd: add no-1-8-v property for usdhc
Dong Aisheng [Fri, 6 Sep 2013 11:57:30 +0000 (19:57 +0800)]
ENGR00278646-5 ARM: dts: imx6qdl-sabresd: add no-1-8-v property for usdhc

The sabresd board does not have external 1.8v/3.3v signal voltage switch
support for usdhc.

Signed-off-by: Dong Aisheng <b29396@freescale.com>
10 years agoENGR00279150 ARM: Kconfig: increase FORCE_MAX_ZONEORDER for ARCH_MXC
Jason Liu [Wed, 11 Sep 2013 02:50:09 +0000 (10:50 +0800)]
ENGR00279150 ARM: Kconfig: increase FORCE_MAX_ZONEORDER for ARCH_MXC

Need increase the FORCE_MAX_ZONEORDER to 14 for high resolution camera
(GPU 2D user case). The default value 11(4MB) is not enough now.

Signed-off-by: Jason Liu <r64343@freescale.com>
10 years agoENGR00279087-2 csi_v4l2_capture: move int_dev_init() to open function
Robby Cai [Wed, 11 Sep 2013 05:27:59 +0000 (13:27 +0800)]
ENGR00279087-2 csi_v4l2_capture: move int_dev_init() to open function

By later initialization for camera dev (to call int_dev_init), the driver
works well whether the master (csi_v4l2_capture) or the slave (ov5640)
has been attached first. In this way, the driver can stick to the philosophy
for the V4L2_INT_DEVICE framework (the attach sequence shouldn't matter).

The following way to insert modules should work:

$ insmod fsl_csi.ko
$ insmod ov5640_camera.ko
$ insmod csi_v4l2_capture.ko

or,

$ insmod fsl_csi.ko
$ insmod csi_v4l2_capture.ko
$ insmod ov5640_camera.ko

Signed-off-by: Robby Cai <R63905@freescale.com>
10 years agoENGR00279087-1 camera: enable mclk before read the camera ID
Robby Cai [Wed, 11 Sep 2013 02:37:07 +0000 (10:37 +0800)]
ENGR00279087-1 camera: enable mclk before read the camera ID

When the camera driver is built as module and done 'insmod' command,
the camera will not be detected. The error message is as follows.

$ insmod ov5640_camera.ko
ov5640 2-003c: cannot get io voltage
ov5640_read_reg:write reg error:reg=300a
camera ov5640 is not found

The reason is the mclk need to be enabled before read camera registers.
This patch fixes it.

To balance the usecount for the mclk, we need disable the mclk afterwards.

Signed-off-by: Robby Cai <R63905@freescale.com>
10 years agoENGR00278666-3 [ARM]: Add ov5642 driver to imx_v7_defconfig
Oliver Brown [Tue, 10 Sep 2013 06:44:33 +0000 (01:44 -0500)]
ENGR00278666-3 [ARM]: Add ov5642 driver to imx_v7_defconfig

Enable the ov5640 camera driver in the imx_v7_defconfig.

Signed-off-by: Oliver Brown <oliver.brown@freescale.com>
10 years agoENGR00278666-1 [mxc_v4l2_capture]: Add ov5642 driver files in 3.10.9 Kernel
Oliver Brown [Sun, 8 Sep 2013 19:11:09 +0000 (14:11 -0500)]
ENGR00278666-1 [mxc_v4l2_capture]: Add ov5642 driver files in 3.10.9 Kernel

Copied file from 3.5.7 Kernel:
commit 0682e12bf9a3b5085fe5dd70574fe856340894d0
Author: Liu Ying <Ying.Liu@freescale.com>
Date:   Thu May 16 12:02:14 2013 +0800

-Added calls to clk_prepare_enable() and clk_disable_unprepare()
in ov5642_probe() to manage the sensor clock.
-Fixed whitespace errors

Signed-off-by: Oliver Brown <oliver.brown@freescale.com>
10 years agoENGR00278970 fix build error when build capture driver as module
Robby Cai [Tue, 10 Sep 2013 08:38:48 +0000 (16:38 +0800)]
ENGR00278970 fix build error when build capture driver as module

fix error for 'make modules':
ENROR: "csi_dmareq_rff_enable"
[drivers/media/platform/mxc/capture/csi_v4l2_capture.ko] undefined!
ERROR: "csi_dmareq_rff_disable"
[drivers/media/platform/mxc/capture/csi_v4l2_capture.ko] undefined!
ERROR: "csi_regbase"
[drivers/media/platform/mxc/capture/csi_v4l2_capture.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

Signed-off-by: Robby Cai <R63905@freescale.com>
10 years agoENGR00278663-4 [ARM]: imx_v7_defconfig add IPU v4l2
Oliver Brown [Mon, 9 Sep 2013 20:11:52 +0000 (15:11 -0500)]
ENGR00278663-4 [ARM]: imx_v7_defconfig add IPU v4l2

Enable V4L2 capture driver in imx_v7_defconfig.

Signed-off-by: Oliver Brown <oliver.brown@freescale.com>
10 years agoENGR00278663-3 [ARM]: dts add IPU v4l2 capture driver
Oliver Brown [Sun, 8 Sep 2013 16:01:49 +0000 (11:01 -0500)]
ENGR00278663-3 [ARM]: dts add IPU v4l2 capture driver

Add V4L2 Capture support to device tree for SabreSD and SabreAuto
Boards.

Signed-off-by: Oliver Brown <oliver.brown@freescale.com>
10 years agoENGR00278663-2 [ARM]: documentation for IPU v4l2 capture driver
Oliver Brown [Fri, 6 Sep 2013 19:40:39 +0000 (14:40 -0500)]
ENGR00278663-2 [ARM]: documentation for IPU v4l2 capture driver

-Copied Documentation from 3.5.7 Kernel
-Updated pinctrl node names.
-Corrected vendor fields in compatible fields

Signed-off-by: Oliver Brown <oliver.brown@freescale.com>
10 years agoENGR00278663-1 [mxc_v4l2_capture]: Add IPU v4l2 capture driver files
Oliver Brown [Fri, 6 Sep 2013 19:22:07 +0000 (14:22 -0500)]
ENGR00278663-1 [mxc_v4l2_capture]: Add IPU v4l2 capture driver files

Copied files from
commit 0339bfd7164324c5c0208cf6467ef244f714c43a
Author: Liu Ying <Ying.Liu@freescale.com>
Date:   Wed Sep 4 13:21:21 2013 +0800

-Added function and file names to error messages that are similar
-Changed mxc_v4l_open to use clk_prepare_enable()
-Changed mxc_v4l_open to use clk_disable_unprepare()

Signed-off-by: Oliver Brown <oliver.brown@freescale.com>
10 years agoENGR00278652-4 [ARM]: enable MIPI CSI2 in imx_v7_defconfig
Oliver Brown [Tue, 10 Sep 2013 04:06:38 +0000 (23:06 -0500)]
ENGR00278652-4 [ARM]: enable MIPI CSI2 in imx_v7_defconfig

Enable  MIPI CSI2 as builtin in imx_v7_defconfig

Signed-off-by: Oliver Brown <oliver.brown@freescale.com>
10 years agoENGR00278652-3 [ARM]: documentation for MIPI CSI2 driver
Oliver Brown [Fri, 6 Sep 2013 18:23:51 +0000 (13:23 -0500)]
ENGR00278652-3 [ARM]: documentation for MIPI CSI2 driver

Added documentation for MIPI CSI2.

Signed-off-by: Oliver Brown <oliver.brown@freescale.com>
10 years agoENGR00278822 ARM: imx_v7_defconfig: disable CONFIG_SWP_EMULATE
Shengjiu Wang [Mon, 9 Sep 2013 10:54:25 +0000 (18:54 +0800)]
ENGR00278822 ARM: imx_v7_defconfig: disable CONFIG_SWP_EMULATE

According to the help text in the config SWP_EMULATE in arch/arm/mm/Kconfig:

"In some older versions of glibc [<=2.8] SWP is used during futex trylock()
operations with the assumption that the code will not be preempted. This
invalid assumption may be more likely to fail with SWP emulation enabled,
leading to deadlock of the user application."

The audio codec toolchain version is gcc-4.1.1-glibc-2.4, we need turn off
the CONFIG_SWP_EMULATE in the imx_v7_defconfig.

Signed-off-by: Shengjiu Wang <b02247@freescale.com>
10 years agoENGR00278672-3 ARM: imx_v7_defconfig: add the defconfig support for crypto/caam
Jason Liu [Sat, 7 Sep 2013 05:12:42 +0000 (13:12 +0800)]
ENGR00278672-3 ARM: imx_v7_defconfig: add the defconfig support for crypto/caam

This patch add the defconfig support for crypto/caam

Signed-off-by: Kudrick Jeffery <B37172@freescale.com>
10 years agoENGR00277382-1 [MX6SL] Ensure that PLL1 and PLL2 are always enabled.
Ranjani Vaidyanathan [Tue, 27 Aug 2013 22:57:55 +0000 (17:57 -0500)]
ENGR00277382-1 [MX6SL] Ensure that PLL1 and PLL2 are always enabled.

Need to ensure that PLL1 and PLL2 have the enabled bit set even when
the PLL is powered down and disabled.

1. Modifications to the ARM_PODF bits in the CCM require PLL1 to be enabled.
2. PLL2 will be set to bypass and enabled state (can be powered down) in low
power IDLE mode.

Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
10 years agoENGR00275034-5 ARM: imx_v7_defconfig: enable camera and v4l2 capture support
Robby Cai [Tue, 3 Sep 2013 09:42:22 +0000 (17:42 +0800)]
ENGR00275034-5 ARM: imx_v7_defconfig: enable camera and v4l2 capture support

Enable the following options on imx6sl
CONFIG_VIDEO_V4L2_INT_DEVICE=y
CONFIG_VIDEO_MXC_CAPTURE=y
CONFIG_VIDEO_MXC_CSI_CAMERA=y
CONFIG_MXC_CAMERA_OV5640=y

Signed-off-by: Robby Cai <R63905@freescale.com>
10 years agoENGR00275034-3 camera: ov5640: port the driver from 3.5.7
Robby Cai [Thu, 5 Sep 2013 09:55:15 +0000 (17:55 +0800)]
ENGR00275034-3 camera: ov5640: port the driver from 3.5.7

from commit 9293d3aaef4886eae9a500f0dabdcd2b679422b4
and commit cb1d78fc935fa00be03ae1a7b66477ad518a09dc, branch imx_3.5.7

This patch also does
- use module_i2c_driver() instead of module_init/exit.
- set the regulator reference pointer to NULL if it's not found in DT.
  Otherwise call regulator_enable/disable() on it will cause dump
  since the codes only check the regulator against NULL before the call
  and it's not NULL but still invalid.
- drop gpo regulator definition and operations since it's of no use

Signed-off-by: Robby Cai <R63905@freescale.com>
10 years agoENGR00275034-1 media: Add CSI/CSI v4l2 capture driver support
Robby Cai [Thu, 29 Aug 2013 07:39:12 +0000 (15:39 +0800)]
ENGR00275034-1 media: Add CSI/CSI v4l2 capture driver support

- change the includes
  <asm/uaccess.h> to <linux/uaccess.h>
  <mach/ipu-v3.h> to <linux/ipu-v3.h>
  <mach/dma.h> to <linux/platform_data/dma-imx.h>
- add an extra parameter for device_prep_slave_sg() as the prototype's changed.
- drop csi_mclk_recalc() func since there's no divider in CSI module
- drop deprecated __devinit, __devexit and __devexit_p
- use module_platform_driver()
- use of_match_table()
- replace ioremap() with devm_ioremap()
- replace clk_get() with devm_clk_get()
- replace clk_enable/disable() with clk_prepare_enable/clk_disable_unprepare()
- add check for no camera attached on board
- drop function csi_mclk_enable(), csi_mclk_enable() in fsl_csi.c,
  and move clock enable/disable to csi_v4l2_capture.c

Signed-off-by: Robby Cai <R63905@freescale.com>
10 years agoENGR00277864 input: mma8450: Add chip id check in probe
Luwei Zhou [Tue, 3 Sep 2013 09:32:55 +0000 (17:32 +0800)]
ENGR00277864 input: mma8450: Add chip id check in probe

Add chip ID check in probe function. The mma8450 is
on the E-INK daughter board. When the daughter board
is not pluged, there would be polling error log
continuously. Add the check to avoid this.

Signed-off-by: Luwei Zhou <b45643@freescale.com>
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>