]> git.karo-electronics.de Git - karo-tx-linux.git/log
karo-tx-linux.git
11 years agoENGR00141152-2 imx5X MSL: make default display option
Jason Chen [Tue, 19 Apr 2011 08:34:02 +0000 (16:34 +0800)]
ENGR00141152-2 imx5X MSL: make default display option

Change MSL files.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00141152-1 header file: make default display option
Jason Chen [Tue, 19 Apr 2011 08:33:28 +0000 (16:33 +0800)]
ENGR00141152-1 header file: make default display option

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>
11 years agoENGR00141400 GPU: Improve GPU clock gating
Zhou, Jie [Thu, 31 Mar 2011 17:01:27 +0000 (01:01 +0800)]
ENGR00141400 GPU: Improve GPU clock gating

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>
11 years agoENGR00140700 GPU: fix tiger run the second time causing system hang
Richard Zhao [Wed, 16 Mar 2011 02:37:52 +0000 (10:37 +0800)]
ENGR00140700 GPU: fix tiger run the second time causing system hang

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>
11 years agoENGR00140050 GPU: workaround hang with heavy bus loading
Zhou, Jie [Wed, 2 Mar 2011 17:02:40 +0000 (01:02 +0800)]
ENGR00140050 GPU: workaround hang with heavy bus loading

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>
11 years agoENGR00142296-2 SRTC: Upgrade driver to kernel version 2.6.38
Anish Trivedi [Mon, 18 Apr 2011 19:38:48 +0000 (14:38 -0500)]
ENGR00142296-2 SRTC: Upgrade driver to kernel version 2.6.38

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>
11 years agoENGR00142296-1 ARM: MX5: Add SRTC device support
Anish Trivedi [Mon, 18 Apr 2011 18:59:27 +0000 (13:59 -0500)]
ENGR00142296-1 ARM: MX5: Add SRTC device support

Machine layer changes to add SRTC device for MX5x platforms.

Signed-off-by: Anish Trivedi <anish@freescale.com>
11 years agoENGR00142268 ARM i.MX51 bbg: add display support.
Jason Chen [Mon, 18 Apr 2011 09:14:02 +0000 (17:14 +0800)]
ENGR00142268 ARM i.MX51 bbg: add display support.

Add display device support for mx51 bbg.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00142266-7 eSDHC:Add the GPIO CD/WP on MX53 EVK boards
Richard Zhu [Mon, 18 Apr 2011 10:25:48 +0000 (18:25 +0800)]
ENGR00142266-7 eSDHC:Add the GPIO CD/WP on MX53 EVK boards

arm: enable the eSDHC CD/WP on MX53 EVK board

Signed-off-by: Richard Zhu <r65037@freescale.com>
11 years agoENGR00142266-6 eSDHC:Add the GPIO CD/WP on MX53 ARD boards
Richard Zhu [Mon, 18 Apr 2011 08:18:35 +0000 (16:18 +0800)]
ENGR00142266-6 eSDHC:Add the GPIO CD/WP on MX53 ARD boards

arm: enable the eSDHC CD/WP on MX53 ARD board

Signed-off-by: Richard Zhu <r65037@freescale.com>
11 years agoENGR00142266-5 eSDHC:Add the GPIO CD/WP on MX53 SMD boards
Richard Zhu [Mon, 18 Apr 2011 07:18:06 +0000 (15:18 +0800)]
ENGR00142266-5 eSDHC:Add the GPIO CD/WP on MX53 SMD boards

arm: enable the eSDHC CD/WP on MX53 SMD board

Signed-off-by: Richard Zhu <r65037@freescale.com>
11 years agoENGR00142266-4 eSDHC:Add the GPIO CD/WP on MX53 LOCO boards
Richard Zhu [Mon, 18 Apr 2011 06:53:16 +0000 (14:53 +0800)]
ENGR00142266-4 eSDHC:Add the GPIO CD/WP on MX53 LOCO boards

arm: enable the eSDHC CD/WP on MX53 LOCO board

Signed-off-by: Richard Zhu <r65037@freescale.com>
11 years agoENGR00142266-3 eSDHC:Add the GPIO CD/WP on MX51 BBG boards
Richard Zhu [Mon, 18 Apr 2011 06:53:56 +0000 (14:53 +0800)]
ENGR00142266-3 eSDHC:Add the GPIO CD/WP on MX51 BBG boards

arm: enable the eSDHC CD/WP on MX51 BBG board

Signed-off-by: Richard Zhu <r65037@freescale.com>
11 years agoENGR00142266-2 eSDHC:Add the GPIO CD/WP on MX5x boards
Richard Zhu [Mon, 18 Apr 2011 06:52:50 +0000 (14:52 +0800)]
ENGR00142266-2 eSDHC:Add the GPIO CD/WP on MX5x boards

sdhc: add the CD/WP on the MX5x boards

Signed-off-by: Richard Zhu <r65037@freescale.com>
11 years agoENGR00142266-1 eSDHC:Add the GPIO CD/WP on MX5x boards
Richard Zhu [Mon, 18 Apr 2011 07:39:19 +0000 (15:39 +0800)]
ENGR00142266-1 eSDHC:Add the GPIO CD/WP on MX5x boards

sdhc: add always present member into esdhc platform data struct

Signed-off-by: Richard Zhu <r65037@freescale.com>
11 years agoENGR00142132 SPI: Fix the wrong SPI clocks definitions in 2.6.38
Richard Zhu [Thu, 14 Apr 2011 10:03:36 +0000 (18:03 +0800)]
ENGR00142132 SPI: Fix the wrong SPI clocks definitions in 2.6.38

Fix the wrong SPI clocks definitions after upgrade from 2.6.35
to 2.6.38

Signed-off-by: Richard Zhu <r65037@freescale.com>
11 years agoENGR00137340-2 MX53_SMD: add headphone detection support.
Zhang Jiejing [Fri, 15 Apr 2011 02:02:33 +0000 (10:02 +0800)]
ENGR00137340-2 MX53_SMD: add headphone detection support.

add headphone gpio in imx sound card platform data.
delete old method of headphone detection codec.

Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
11 years agoENGR00137340-1 ASOC: add headphone detection support for imx-sgtl5000.c
Zhang Jiejing [Fri, 15 Apr 2011 01:59:03 +0000 (09:59 +0800)]
ENGR00137340-1 ASOC: add headphone detection support for imx-sgtl5000.c

add a asoc headphone detection, it's a generic way using by asoc area.

Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
11 years agoENGR00142089-3 MX51/MX53: Upgrade SCC2 and SAHARA drivers to 2.6.38
Anish Trivedi [Wed, 13 Apr 2011 19:21:30 +0000 (14:21 -0500)]
ENGR00142089-3 MX51/MX53: Upgrade SCC2 and SAHARA drivers to 2.6.38

Starting with 2.6.36, ioctl file operation is removed; therefore,
changed ioctl function to unlocked_ioctl function, which has a
different function prototype and requires local locking mechanism
to prevent more than 1 user from accessing ioctls at the same time.

Modified SCC2 driver to obtain IRQs from resource array.

Modified SAHARA driver to use either MX53 or MX51 base address and
irq definitions since the generic versions are no longer defined
in the machine layer header files.

Signed-off-by: Anish Trivedi <anish@freescale.com>
11 years agoENGR00142089-2 MX51/MX53 Upgrade SCC2 and SAHARA drivers to 2.6.38
Anish Trivedi [Wed, 13 Apr 2011 19:18:45 +0000 (14:18 -0500)]
ENGR00142089-2 MX51/MX53 Upgrade SCC2 and SAHARA drivers to 2.6.38

Removed SCC2 IRQ definitions from header file since
IRQs will be obtained from resource array during probe
function.

Signed-off-by: Anish Trivedi <anish@freescale.com>
11 years agoENGR00142089-1 MX51/MX53: Upgrade SCC2 and SAHARA drivers to 2.6.38
Anish Trivedi [Wed, 13 Apr 2011 19:16:04 +0000 (14:16 -0500)]
ENGR00142089-1 MX51/MX53: Upgrade SCC2 and SAHARA drivers to 2.6.38

Machine layer changes to add SCC2 device.

Signed-off-by: Anish Trivedi <anish@freescale.com>
11 years agoENGR00141554 tve: fix atomic schedule issue in uevent
Jason Chen [Fri, 15 Apr 2011 08:35:21 +0000 (16:35 +0800)]
ENGR00141554 tve: fix atomic schedule issue in uevent

uevent should not be sent during lock hold.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00141363 ARM imx53 clock: change di0 clock default parent to pll3
Jason Chen [Fri, 15 Apr 2011 08:25:57 +0000 (16:25 +0800)]
ENGR00141363 ARM imx53 clock: change di0 clock default parent to pll3

If enable both LVDS and one display device use external di clock, there will
be conflict between their clock parent -- both use pll4 on mx53. So it need
change di0 clock parent to pll3, and then uart parent need change to pll2 to
avoid console mess.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00141312 tve: add uevent for tve cable detection
Jason Chen [Fri, 15 Apr 2011 08:23:13 +0000 (16:23 +0800)]
ENGR00141312 tve: add uevent for tve cable detection

When cable mode changed, below uevent will be sent out:
EVENT=NONE
EVENT=CVBS0
EVENT=YPBPR
EVENT=SVIDEO
under /sys/devices/platform/tve.0

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00141161 ipuv3: add bgr24 fmt support for di
Jason Chen [Fri, 15 Apr 2011 07:07:18 +0000 (15:07 +0800)]
ENGR00141161 ipuv3: add bgr24 fmt support for di

add bgr24 fmt support for di

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00141155-2 sii902x: add related regulator
Jason Chen [Fri, 15 Apr 2011 07:05:38 +0000 (15:05 +0800)]
ENGR00141155-2 sii902x: add related regulator

Add related regulator.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00141155-1 ARM mx53_smd: add related regulator for hdmi
Jason Chen [Fri, 15 Apr 2011 07:04:23 +0000 (15:04 +0800)]
ENGR00141155-1 ARM mx53_smd: add related regulator for hdmi

add related regulator for hdmi.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00139755 mxc edid: work around no support interlaced mode
Jason Chen [Fri, 25 Feb 2011 08:00:17 +0000 (16:00 +0800)]
ENGR00139755 mxc edid: work around no support interlaced mode

Remove interlaced mode from fb modelist before it can be supported.
Should revert this patch after interlaced mode support on normal display port.

Signed-off-by: Jason Chen <b02280@freescale.com>
(cherry picked from commit 079a6024a7369117b8f2ca8f3a905702a0175394)

11 years agoENGR00139635 mxc edid: add edid name sysnode
Jason Chen [Wed, 23 Feb 2011 10:18:50 +0000 (18:18 +0800)]
ENGR00139635 mxc edid: add edid name sysnode

Add name sysnode to mxc_ddc and sii902x, which can be check under:
/sys/devices/platform/mxc_ddc.0/fb_name
or
/sys/devices/platform/sii902x.0/fb_name
It's the name of fb fix id which it associated.

Signed-off-by: Jason Chen <b02280@freescale.com>
(cherry picked from commit 5dbcc3e22a82d849ee69576857bb54060e432fc8)

11 years agoENGR00139643 mxc edid: can not read edid at probe for first power on
Jason Chen [Fri, 15 Apr 2011 08:09:59 +0000 (16:09 +0800)]
ENGR00139643 mxc edid: can not read edid at probe for first power on

Need enable analog regulator.

Signed-off-by: Jason Chen <b02280@freescale.com>
(cherry picked from commit ff2c76f8204555ae789dfc12e8e06f6ba188e7fe)

11 years agoENGR00142020-3: MX50: Add SPI and MC13892 support
Ranjani Vaidyanathan [Wed, 13 Apr 2011 16:49:10 +0000 (11:49 -0500)]
ENGR00142020-3: MX50: Add SPI and MC13892 support

Add SPI and PMIC support for MX50

Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
11 years agoENGR00142020-2: MX50: Add SPI and MC13892 support
Ranjani Vaidyanathan [Wed, 13 Apr 2011 16:48:00 +0000 (11:48 -0500)]
ENGR00142020-2: MX50: Add SPI and MC13892 support

Add PMIC and SPI support for MX50

Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
11 years agoENGR00142020-1: MX50: Add SPI and MC13892 support
Ranjani Vaidyanathan [Wed, 13 Apr 2011 16:19:03 +0000 (11:19 -0500)]
ENGR00142020-1: MX50: Add SPI and MC13892 support

Add PMIC support for MX50

Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
11 years agoENGR00142124-2 ipu: Use preserved memory for primary DI only
Richard Zhao [Thu, 14 Apr 2011 09:27:20 +0000 (17:27 +0800)]
ENGR00142124-2 ipu: Use preserved memory for primary DI only

Only fb0 uses reserved memory.

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
11 years agoENGR00142124-1 arm: imx5: add fixup function to reserve memory
Richard Zhao [Thu, 14 Apr 2011 09:00:36 +0000 (17:00 +0800)]
ENGR00142124-1 arm: imx5: add fixup function to reserve memory

Reserve memory for gpu and ipu.

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
11 years agoENGR00142119-2 arm: imx5: add mxc_gpu_platform_data
Richard Zhao [Thu, 14 Apr 2011 08:08:05 +0000 (16:08 +0800)]
ENGR00142119-2 arm: imx5: add mxc_gpu_platform_data

The struct inclues z160_revision and reserved mem info .

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
11 years agoENGR00142119-1 mxc_gpu: add mxc_gpu_platform_data
Richard Zhao [Thu, 14 Apr 2011 08:07:14 +0000 (16:07 +0800)]
ENGR00142119-1 mxc_gpu: add mxc_gpu_platform_data

The struct inclues z160_revision and reserved mem info.

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
11 years agoENGR00142005-6 ARM: mx5x: enable LDB in the default config
Lily Zhang [Thu, 14 Apr 2011 08:09:31 +0000 (16:09 +0800)]
ENGR00142005-6 ARM: mx5x: enable LDB in the default config

Enable LDB in the default configuration file.

Signed-off-by: Lily Zhang <r58066@freescale.com>
11 years agoENGR00142005-5 ARM: mx53 loco: add LVDS support
Lily Zhang [Thu, 14 Apr 2011 07:52:48 +0000 (15:52 +0800)]
ENGR00142005-5 ARM: mx53 loco: add LVDS support

Add LVDS support in MX53 LOCO board

Signed-off-by: Lily Zhang <r58066@freescale.com>
11 years agoENGR00142005-4 ARM: mx53 smd: Add LDVS support
Lily Zhang [Thu, 14 Apr 2011 06:48:00 +0000 (14:48 +0800)]
ENGR00142005-4 ARM: mx53 smd: Add LDVS support

Add LVDS support in MX53 SMD board.
Add ipu device, vpu device and v4l2 output device in MX53
SMD.

Signed-off-by: Lily Zhang <r58066@freescale.com>
11 years agoENGR00142005-3 ldb: update platform_data definition
Lily Zhang [Thu, 14 Apr 2011 06:28:51 +0000 (14:28 +0800)]
ENGR00142005-3 ldb: update platform_data definition

This patch is used to update platform_data definition to fix build
error and remove unused function.

Signed-off-by: Lily Zhang <r58066@freescale.com>
11 years agoENGR00142005-2 ARM: imx: Add LDB device
Lily Zhang [Thu, 14 Apr 2011 06:18:43 +0000 (14:18 +0800)]
ENGR00142005-2 ARM: imx: Add LDB device

Add LDB device into i.MX platform

Signed-off-by: Lily Zhang <r58066@freescale.com>
11 years agoENGR00142005-1 ARM: imx: srtc: the end address minus 1
Lily Zhang [Thu, 14 Apr 2011 05:24:02 +0000 (13:24 +0800)]
ENGR00142005-1 ARM: imx: srtc: the end address minus 1

The end address of SRTC device in i.MX platform should be minus
1. Otherwise, it conflicts with the address of LDB device

Signed-off-by: Lily Zhang <r58066@freescale.com>
11 years agoENGR00141987-2 add the definition of pwm platform data
Yuxi Sun [Wed, 13 Apr 2011 03:08:02 +0000 (11:08 +0800)]
ENGR00141987-2 add the definition of pwm platform data

Add the definition of pwm platform data

Signed-off-by: Sun Yuxi <b36102@freescale.com>
11 years agoENGR00141987-1 PWM: upgrade to 2.6.38 kernel
Yuxi Sun [Wed, 13 Apr 2011 03:08:02 +0000 (11:08 +0800)]
ENGR00141987-1 PWM: upgrade to 2.6.38 kernel

- Upgrade PWM driver to 2.6.38 kernel
- Add PWM support for MX53 SMD

Signed-off-by: Sun Yuxi <b36102@freescale.com>
11 years agoENGR00137979-3 add header file for performance monitor driver
Tony Lin [Tue, 11 Jan 2011 10:01:03 +0000 (18:01 +0800)]
ENGR00137979-3 add header file for performance monitor driver

add header file for performance monitor driver under include/linux

Signed-off-by: Tony Lin <tony.lin@freescale.com>
11 years agoENGR00137979-2 [MX50]add performance monitor driver
Tony Lin [Tue, 11 Jan 2011 10:01:03 +0000 (18:01 +0800)]
ENGR00137979-2 [MX50]add performance monitor driver

enable performance monitor driver for system loading analysis

Signed-off-by: Tony Lin <tony.lin@freescale.com>
11 years agoENGR00137979-1 add performance monitor driver
Tony Lin [Tue, 11 Jan 2011 10:01:03 +0000 (18:01 +0800)]
ENGR00137979-1 add performance monitor driver

add performance monitor driver.
sample:
cd /sys/devices/platform/mxs-perfmon.0/
    'echo 1 > MIDn-xxx' to enable monitor this channel
n: channel number; xxx: name of channel (PXP, LCD...)
you can enable the multiple channels you want to
monitor respectively using this command.
use following command to check the channel is enabled
'cat MIDn-xxx'
1: enable; 0: disable

'echo read > Monitor' to monitor all read activities
'echo start > Monitor' to start monitoring
'echo fetch > Monitor' to get a snapshot of monitor statistics.
'cat xxx_Count' to show the statistics.
xxx: name of statistics, (Data, Transfer, Latency...)

'echo clear > Monitor' to clear snapshot of monitor statistics.
'echo stop > Monitor' to stop monitoring

Signed-off-by: Tony Lin <tony.lin@freescale.com>
11 years agoENGR00140737 - ARM: imx50: Fix APLL relocking and remove APLL auto-disable
Robby Cai [Wed, 13 Apr 2011 07:56:18 +0000 (15:56 +0800)]
ENGR00140737 - ARM: imx50: Fix APLL relocking and remove APLL auto-disable

- Removed setting of pfd_disable_mask bits in pfd enable/disable functions.
This feature, which automates the disabling of the APLL, was being used
incorrectly and is less clear than manually enabling/disabling PFD and
APLL clocks directly.
- Added wait for APLL relocking after APLL is enabled.

Signed-off-by: Danny Nold <dannynold@freescale.com>
(cherry picked from commit c7f452925bc245581fc0933d05ae69563d79ab28)

11 years agoENGR00140950 mfg: fix the bug that ubiformat utility breaks utp protocol
Peter Chen [Tue, 22 Mar 2011 09:27:17 +0000 (17:27 +0800)]
ENGR00140950 mfg: fix the bug that ubiformat utility breaks utp protocol

ubiformat includes command, data, command periods,
it breaks utp protocol for PUT commands. So we add two operations to fix it.
One is sending busy to host before the data periods begins.
The second is adding a new command to waiting ubiformat's command period.

Signed-off-by: Li Xingyu <b02754@freescale.com>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
11 years agoENGR00140390 MX53_SMD: IOMUX: Fix UART3 iomux or Atheros BT will hang.
Zhang Jiejing [Tue, 8 Mar 2011 05:52:31 +0000 (13:52 +0800)]
ENGR00140390 MX53_SMD: IOMUX: Fix UART3 iomux or Atheros BT will hang.

Fix UART3_CTS Pad setting, this will cause Atheros UART BT
chip hang, the _select_input_ofs bit is for ALT6, not CTS: ALT2

Please Refer: IMX53RM(p.1732).

Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
11 years agoENGR00140036 Set init max poll delay time in mma sensor driver
Sammy He [Wed, 2 Mar 2011 12:45:53 +0000 (20:45 +0800)]
ENGR00140036 Set init max poll delay time in mma sensor driver

1. Set initial max poll delay time in mma8450 and mma8451
   accelerometer sensor driver. And remove one build warning.
2. Remove dev parent set.

Signed-off-by: Sammy He <r62914@freescale.com>
11 years agoENGR00138201 MX53_SMD: BT: add delay after BT chip reset
Zhang Jiejing [Wed, 19 Jan 2011 10:36:07 +0000 (18:36 +0800)]
ENGR00138201 MX53_SMD: BT: add delay after BT chip reset

add 100ms delay after BT chip reset, make it work stable.

Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
11 years agoENGR00141977 MX50: Kernel can't boot up
Jason Liu [Tue, 12 Apr 2011 06:24:00 +0000 (14:24 +0800)]
ENGR00141977 MX50: Kernel can't boot up

Kernel can't boot up on 2.6.38 branch due to the that
Russell has made one change to MT_HIGH_VECTORS, which
result in this memory region is read-only, so, memcpy
will fail when copy suspend code into iram.

Since the iram code region need excuting and rw attribue,
change the MT_HIGH_VECTORS to MT_MEMORY.

Signed-off-by: Jason Liu <r64343@freescale.com>
11 years agoENGR00122019 SAHARA: Add padding around buffers to prevent cache incoherency
Anish Trivedi [Mon, 11 Apr 2011 19:49:02 +0000 (14:49 -0500)]
ENGR00122019 SAHARA: Add padding around buffers to prevent cache incoherency

Added padding of 64 bytes (cache line size for Cortex-A8) around
buffers that are used by the hardware to prevent any cache
coherency problems that could arise if buffers share a cache line
with some other data that is used by the CPU.

Signed-off-by: Anish Trivedi <anish@freescale.com>
11 years agoENGR00141478-2 SAHARA: Move header file to include directory
Anish Trivedi [Fri, 8 Apr 2011 15:11:54 +0000 (10:11 -0500)]
ENGR00141478-2 SAHARA: Move header file to include directory

The user mode libsahara library relied on header file
drivers/mxc/security/sahara2/include/sahara.h. However, to make
the lib build after headers_install step and to remove dependency on
kernel source, moved this header to include/linux/mxc_sahara.h.

These changes are specific to the include/linux folder.

Signed-off-by: Anish Trivedi <anish@freescale.com>
Acked-by: Lily Zhang
11 years agoENGR00141478-1 SAHARA: Move header file to include directory
Anish Trivedi [Fri, 8 Apr 2011 15:10:10 +0000 (10:10 -0500)]
ENGR00141478-1 SAHARA: Move header file to include directory

The user mode libsahara library relied on header file
drivers/mxc/security/sahara2/include/sahara.h. However, to make
the lib build after headers_install step and to remove dependency on
kernel source, moved this header to include/linux/mxc_sahara.h.

These are the necessary changes in the SAHARA driver to use the new
header file in the new location.

Signed-off-by: Anish Trivedi <anish@freescale.com>
11 years agoENGR00137669 rfkill: mx53: ath3k rfkill interface.
Zhang Jiejing [Mon, 6 Dec 2010 12:03:35 +0000 (20:03 +0800)]
ENGR00137669 rfkill: mx53: ath3k rfkill interface.

MX53 SMD board use ath3k Bluetooth Chip.
Add rfkill interface to control AR3K BT's power and reset.
when power on bt, it require to reset BT chip.

Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
11 years agoENGR00140122 MX53_SMD: p1003: report single pointer.
Zhang Jiejing [Mon, 11 Apr 2011 07:36:38 +0000 (15:36 +0800)]
ENGR00140122 MX53_SMD: p1003: report single pointer.

Since Ubuntu needs report single pointer, I add BTN_TOUCH
event in single pointer event report.

It will not affact Android, also made ubuntu touchscreen works.

Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
11 years agoENGR00138130-3 MX53_ARD: add i2c and max11801 touch screen
Zhang Jiejing [Mon, 11 Apr 2011 08:04:29 +0000 (16:04 +0800)]
ENGR00138130-3 MX53_ARD: add i2c and max11801 touch screen

add i2c and max11801 to MSL.

Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
11 years agoENGR00138130-2 input: max11801: add calibrat function for mx53_ard RevA board
Zhang Jiejing [Mon, 11 Apr 2011 08:02:43 +0000 (16:02 +0800)]
ENGR00138130-2 input: max11801: add calibrat function for mx53_ard RevA board

Add calibration for MX53 ARD Rev A board.

Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
11 years agoENGR00138130-1 input: add max11801 resistance touchscreen controller driver
Zhang Jiejing [Wed, 6 Apr 2011 15:52:22 +0000 (23:52 +0800)]
ENGR00138130-1 input: add max11801 resistance touchscreen controller driver

Add MAXI max11801 resistance touch screen controller driver,
This driver use Auto Mode and Aperture Mode.

Other max1180x driver can support in this driver, they use
almost same register address and define, you can find a table in
max11801_ts.c

You can find data sheet under this link:
http://www.maxim-ic.com/datasheet/index.mvp/id/5943

Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
11 years agoENGR00140391 ISL29023:Keep int thresholds in interrupt handler
Liu Ying [Tue, 8 Mar 2011 06:59:21 +0000 (14:59 +0800)]
ENGR00140391 ISL29023:Keep int thresholds in interrupt handler

We used to set the interrupt thresholds to the measure range
of the light sensor in the interrupt handler, this potentially
makes user poll on the input event and never be waken up.

This patch keeps the interrupt thresholds in the interrupt
handler and is tested on MX53 SMD.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
11 years agoENGR00139383-4 MX5 defconfig:Support ISL29023 light sensor
Liu Ying [Tue, 22 Feb 2011 09:13:51 +0000 (17:13 +0800)]
ENGR00139383-4 MX5 defconfig:Support ISL29023 light sensor

This patch builds in ISL29023 light sensor driver.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
11 years agoENGR00139383-3 MX53 SMD:Support ISL29023 light sensor
Liu Ying [Tue, 22 Feb 2011 09:13:28 +0000 (17:13 +0800)]
ENGR00139383-3 MX53 SMD:Support ISL29023 light sensor

This patch adds ISL29023 light sensor support.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Signed-off-by: Frank Li <Frank.Li@freescale.com>
11 years agoENGR00139383-2 Add ISL29023 light sensor support
Liu Ying [Tue, 22 Feb 2011 09:11:30 +0000 (17:11 +0800)]
ENGR00139383-2 Add ISL29023 light sensor support

This patch adds ISL29023 light sensor support.
Users may control the light sensor work at
different modes/ranges/resolutions or read
the lux value via sysfs.
A power state node is also created in sysfs.
If the light sensor works at ALS once mode,
users need to power down/power up the sensor
before read the lux value again.
Currently, IR(Infra Red) mode is not supported.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Signed-off-by: Frank Li <Frank.Li@freescale.com>
11 years agoENGR00139383-1 include: add platform data for ISL29023
Liu Ying [Tue, 22 Feb 2011 09:11:30 +0000 (17:11 +0800)]
ENGR00139383-1 include: add platform data for ISL29023

Add fsl_mxc_light_platform_data

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Signed-off-by: Frank Li <Frank.Li@freescale.com>
11 years agoENGR00139119: mxc_iim: add console output for iim value
Terry Lv [Tue, 15 Feb 2011 17:07:28 +0000 (01:07 +0800)]
ENGR00139119: mxc_iim: add console output for iim value

Add console output for iim value.

Signed-off-by: Terry Lv <r65388@freescale.com>
11 years agoENGR00138547: mxc_iim: can't release twice in mxc_iim
Terry Lv [Thu, 27 Jan 2011 12:54:32 +0000 (20:54 +0800)]
ENGR00138547: mxc_iim: can't release twice in mxc_iim

When open mxc_iim twice, mxc_iim can't be close twice.

Signed-off-by: Terry Lv <r65388@freescale.com>
11 years agoENGR00138532: mxc_iim: let mxc_iim work with dd and echo
Terry Lv [Wed, 26 Jan 2011 17:52:22 +0000 (01:52 +0800)]
ENGR00138532: mxc_iim: let mxc_iim work with dd and echo

mxc_iim: let mxc_iim work with dd and echo.

Signed-off-by: Terry Lv <r65388@freescale.com>
11 years agoENGR00138480: mxc_iim can't be open twice
Terry Lv [Tue, 25 Jan 2011 18:34:56 +0000 (02:34 +0800)]
ENGR00138480: mxc_iim can't be open twice

mxc_iim can't be open twice.
The reason is that request_irq failed when open mxc_iim again.
So put request_irq function to probe function.

Signed-off-by: Terry Lv <r65388@freescale.com>
11 years agoENGR00141859 Firmware: Fix Kernel build failed with firmware not find errors
Zeng Zhaoming [Thu, 7 Apr 2011 07:59:04 +0000 (15:59 +0800)]
ENGR00141859 Firmware: Fix Kernel build failed with firmware not find errors

Linux kernel build failed when source and output object separate store.

Fix it by add srctree to prefix firmware.

Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
11 years agoENGR00141732 SDMA: Fix bootup stop at sdma firmware loading
Zeng Zhaoming [Thu, 7 Apr 2011 01:16:51 +0000 (09:16 +0800)]
ENGR00141732 SDMA: Fix bootup stop at sdma firmware loading

Linux 2.6.38 kernel bootup slow, it stopped at sdma firmware
loading for about one minute.

It is caused by firmware store on rootfs lib/firmware directory,
while sdma initialization happens before rootfs mounted.

To fix it, we have to build firmware in kernel image.
Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
11 years agoENGR00141654: Mx53 SMD: Add audio support for upgrading to 2.6.38
Zeng Zhaoming [Wed, 6 Apr 2011 00:02:35 +0000 (08:02 +0800)]
ENGR00141654: Mx53 SMD: Add audio support for upgrading to 2.6.38

add audio support to Mx53 SMD for upgrading to 2.6.38 kernel
Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
11 years agoENGR00117843 Missing i.MX headers for kernel headers_install
Lily Zhang [Sun, 1 Nov 2009 03:14:53 +0000 (11:14 +0800)]
ENGR00117843 Missing i.MX headers for kernel headers_install

Add i.MX specific files into include/linux/Kbuild
ISL29023:Add device head file to Kbuild

This patch adds device head file to Kbuild to pass

Signed-off-by: Lily Zhang <r58066@freescale.com>
11 years agoENGR00141651-2 Audio: audio not work when ipmux2 clock disabled in idle
Zeng Zhaoming [Tue, 5 Apr 2011 20:48:28 +0000 (04:48 +0800)]
ENGR00141651-2 Audio: audio not work when ipmux2 clock disabled in idle

When SOC enter wait mode, ipmux2_clk will disable to save power, if using
ssi1 for audio transfer, audio will not work correctly.

To around this, using ssi2.

Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
11 years agoENGR00141651-1 MX53,Loco: audio not work when ipmux2 clock disabled in idle
Zeng Zhaoming [Tue, 5 Apr 2011 20:47:32 +0000 (04:47 +0800)]
ENGR00141651-1 MX53,Loco: audio not work when ipmux2 clock disabled in idle

When SOC enter wait mode, ipmux2_clk will disable to save power, if using
ssi1 for audio transfer, audio will not work correctly.

To around this, using ssi2.

Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
11 years agoENGR00141647 AUDIO,SGTL5000: Fix codec error after reset
Zeng Zhaoming [Tue, 5 Apr 2011 18:19:15 +0000 (02:19 +0800)]
ENGR00141647 AUDIO,SGTL5000: Fix codec error after reset

sgtl5000 codec not work after board reset, this is caused by
sgtl5000 using register address step is 2, and snd-soc-core can't
handle this as we expect, so we have to fill the register cache by
reading register out when initialization instead of providing a default
value array.

Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
11 years agoENGR00141399-5 OCOTP: add the ocotp driver
Huang Shijie [Mon, 30 Aug 2010 01:51:18 +0000 (09:51 +0800)]
ENGR00141399-5 OCOTP: add the ocotp driver

Add a new driver for On-Chip OTP controller. The driver
will register all the register names of all the banks to /sys/.
You can use the following commands to manipulate the OTP banks:

read:
#cat HW_OCOTP_MAC0
write:
#echo 0x11223344 > HW_OCOTP_MAC0

Signed-off-by: Huang Shijie <b32955@freescale.com>
11 years agoENGR00141399-4 RNGB: add RNGB driver for 2.6.38
Anish Trivedi [Tue, 29 Mar 2011 15:09:45 +0000 (10:09 -0500)]
ENGR00141399-4 RNGB: add RNGB driver for 2.6.38

Add RNGB driver support by porting fsl_rngc driver from 2.6.35.

Signed-off-by: Anish Trivedi <anish@freescale.com>
11 years agoENGR00141399-3 DCP: add dcp driver support
Frank Li [Thu, 24 Mar 2011 06:12:39 +0000 (14:12 +0800)]
ENGR00141399-3 DCP: add dcp driver support

upgrade to 2.6.38

Signed-off-by: Frank Li <Frank.Li@freescale.com>
11 years agoENGR00141399-2 iMX5x: add clock debug information
Richard Zhao [Tue, 22 Mar 2011 02:22:15 +0000 (10:22 +0800)]
ENGR00141399-2 iMX5x: add clock debug information

Expose clock debug information to debugfs, which makes it easier for clock
system debug by using tools like powerdebug developed by Linaro power
management group.
For long term, this can go into common clock framework, but so far it depends
on the process of common clk API development. Once the common clk API is
ready in upstream, the clock debug information will be based on it too.
The implementation based on common clk API had also been finished and
reviewed with Jeremy.

ARM: iMX5x: fix clock debug enable_count error

Signed-off-by: Yong Shen <yong.shen@linaro.org>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00141399-1 Add MX50 support for 2.6.38
Ranjani Vaidyanathan [Wed, 9 Mar 2011 14:55:44 +0000 (08:55 -0600)]
ENGR00141399-1 Add MX50 support for 2.6.38

mx50_rdp: add ocotp device
mx50_rdp: add dcp device
mx50_rdp: Add RNGB device support for MX50
PM: Fix suspend_iram_base can't execute code

Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
Signed-off-by: Frank Li <Frank.Li@freescale.com>
Signed-off-by: Anish Trivedi <anish@freescale.com>
11 years agoENGR00141398 Security: add security driver for 2.6.38
Frank Li [Tue, 29 Mar 2011 11:05:06 +0000 (19:05 +0800)]
ENGR00141398 Security: add security driver for 2.6.38

Add secuirty driver

Acked-by: Lily Zhang <r58066@freescale.com>
Signed-off-by: Frank Li <Frank.Li@freescale.com>
11 years agoENGR00141397 GPU: Add gpu driver for 2.6.38
Frank Li [Tue, 29 Mar 2011 08:21:50 +0000 (16:21 +0800)]
ENGR00141397 GPU: Add gpu driver for 2.6.38

add gpu driver

Signed-off-by: Frank Li <Frank.Li@freescale.com>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Acked-by: Lily Zhang <r58066@freescale.com>
11 years agoENGR00141395-2 PMIC: porting mc13892 driver to 2.6.38
Zhou Jingyu [Thu, 3 Mar 2011 06:16:26 +0000 (14:16 +0800)]
ENGR00141395-2 PMIC: porting mc13892 driver to 2.6.38

Add pmic13892

Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
11 years agoENGR00141395-1 include: PMIC: porting mc13892 driver to 2.6.38
Zhou Jingyu [Thu, 3 Mar 2011 06:16:26 +0000 (14:16 +0800)]
ENGR00141395-1 include: PMIC: porting mc13892 driver to 2.6.38

add some missing headers

Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
11 years agoENGR00141391-2 PMIC: porting da9053 to i.mx platform
Zhou Jingyu [Wed, 2 Mar 2011 08:28:25 +0000 (16:28 +0800)]
ENGR00141391-2 PMIC: porting da9053 to i.mx platform

Fix da9053 backlight Kconfig error
porting da9052 regulator driver

Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
Acked-by: Lily Zhang <r58066@freescale.com>
11 years agoENGR00141391-1 PMIC: Add DA9053 source code from Dialog
Zhou Jingyu [Wed, 2 Mar 2011 07:36:28 +0000 (15:36 +0800)]
ENGR00141391-1 PMIC: Add DA9053 source code from Dialog

Add DA9053 original source code

Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
Acked-by: Lily Zhang <r58066@freescale.com>
11 years agoENGR00141217-9 iim: add iim driver support
Frank Li [Mon, 14 Mar 2011 02:37:22 +0000 (10:37 +0800)]
ENGR00141217-9 iim: add iim driver support

add iim driver for 2.6.38

Signed-off-by: Frank Li <Frank.Li@freescale.com>
11 years agoENGR00141217-8 ASoC: SGTL5000: Add DAP support for sgtl5000 codec
Frank Li [Tue, 29 Mar 2011 01:45:35 +0000 (09:45 +0800)]
ENGR00141217-8 ASoC: SGTL5000: Add DAP support for sgtl5000 codec

upgrade to 2.6.38 kernel
Add Digital Audio Process(DAP) for sgtl5000 codec
Audio: imx53,loco,audio: make Loco sgtl5000 codec work
config audmux when ssi probed, and fix sdma watermark settings

Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
11 years agoENGR00141217-7 touch: p1003 touch screen driver for 2.6.38
Frank Li [Mon, 28 Mar 2011 08:27:55 +0000 (16:27 +0800)]
ENGR00141217-7 touch: p1003 touch screen driver for 2.6.38

add p1003

Signed-off-by: Frank Li <Frank.Li@freescale.com>
11 years agoENGR00141217-6 srtc: add rtc driver for 2.6.38
Frank Li [Thu, 24 Feb 2011 09:56:09 +0000 (17:56 +0800)]
ENGR00141217-6 srtc: add rtc driver for 2.6.38

Add srtc support

Signed-off-by: Frank Li <Frank.Li@freescale.com>
11 years agoENGR00141217-5 IPU\VPU\GPU: upgrade to 2.6.38
Jason Chen [Wed, 23 Feb 2011 09:31:54 +0000 (17:31 +0800)]
ENGR00141217-5 IPU\VPU\GPU: upgrade to 2.6.38

Add drivers/mxc
Add drivers/video/mxc
Add drivers/media/mxc
fb device: change acquire_console_sem to console_lock
And release_console_sem to console_unlock
Add DMA Zone support
Add TVE driver, add regulator
Add hdmi support
Add VPU

Fix build error
ioctl --> unlocked_ioctl
DECLARE_MUTEX --> DEFINE_SEMAPHORE

Signed-off-by: Jason Chen <b02280@freescale.com>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
11 years agoENGR00141217-4 USB: Add USB Host/device/otg drivers support
Zhang Yan [Mon, 7 Mar 2011 02:00:58 +0000 (10:00 +0800)]
ENGR00141217-4 USB: Add USB Host/device/otg drivers support

Add usb support for 2.6.38

Signed-off-by: Zhang Yan <b34916@freescale.com>
11 years agoENGR00141217-3 MX53 MSL part upgrade to 2.6.38
Frank Li [Tue, 22 Feb 2011 09:34:58 +0000 (17:34 +0800)]
ENGR00141217-3 MX53 MSL part upgrade to 2.6.38

imx51_babbage:
imx53_smd: add i2c device
imx53_smd: add i2c board device info
imx53_smd: add esdhc device support
imx53_smd: Add SRTC devices
imx53_smd: enable the AHCI SATA
imx53_smd: Add GPIO Keypad support
imx53_ard: enable ARD board bootup
imx53_ard: add ethernet pin mux
imx53_ard: add smsc911x device
imx53_loco: add i2c device
imx53_loco: change sii902x i2c device
imx53_loco: register v4l2 output device
imx53_loco: add srtc device
imx53_loco: enable the AHCI SATA
imx53_loco: Add GPIO Keypad support
imx53_evk: add evk and arm2 boards io setting and set up display
imx5: add ipu\vpu
imx5: clock.c: remove RATE_PROPAGATES
imx5: Add clock, dvfs, busfreq, sdram_autogating support.
imx5: fix warnings on boot
imx5: add v4l2 device
imx5: add board_is_rev support
imx5: Add sdma support for i.Mx53 and i.Mx51
imx5: add p1003
imx5: add ipuv3
imx5: add sata
imx5: add pmic board files
imx5: add pm function
imx5: add iram config
imx5: add gpu
imx5: fix clock debug enable_count error
imx53: add gpio irq support for mx53
imx53: change PWM backlight device register method to dynamic
imx53: change v4l2 device register method to dynamic
imx53: add vpu devices support
imx53: add dvfs-core and busfreq devices register method
imx53: Add usb devices
imx53: add i2c pad settings
imx53: add ssi support

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Frank Li <Frank.Li@freescale.com>
Signed-off-by: Jason Chen <b02280@freescale.com>
Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
Signed-off-by: Richard Zhu <r65037@freescale.com>
Signed-off-by: Zhou Jingyu <Jingyu.Zhou@freescale.com>
Signed-off-by: Zhang Yan <b34916@freescale.com>
11 years agoENGR00141217-2 include file upgrade to 2.6.38
Frank Li [Mon, 28 Mar 2011 15:02:27 +0000 (23:02 +0800)]
ENGR00141217-2 include file upgrade to 2.6.38

Add ipu tve header file

Signed-off-by: Frank Li <Frank.Li@freescale.com>
11 years agoENGR00141217-1 Add imx5_defconfig for 2.6.38
Frank Li [Mon, 21 Feb 2011 06:07:30 +0000 (14:07 +0800)]
ENGR00141217-1 Add imx5_defconfig for 2.6.38

add config files for imx5

Signed-off-by: Frank Li <Frank.Li@freescale.com>
11 years agoENGR00133978 PM: add time sensitive debug function to suspend & resume
Zhang Jiejing [Mon, 22 Nov 2010 09:14:32 +0000 (17:14 +0800)]
ENGR00133978 PM: add time sensitive debug function to suspend & resume

There was some driver is slow on suspend/resume,
but some embeded system like eReader,Cellphone
are time sensitive,this commit will report the slow
driver on suspend/resume, the default value is 500us(0.5ms)

Also, the threshold can be change by modify
'/sys/power/device_suspend_time_threshold' to change the threshold,
it is in microsecond.

The output is like:

PM: device platform:soc-audio.2 suspend too slow, takes          606.696 msecs
PM: device platform:mxc_sdc_fb.1 suspend too slow, takes         7.708 msecs

the default state of suspend driver is default off,
if you want to debug the suspend time, echo time in
microsecond(u Second) to /sys/powe/device_suspend_time_threshold

eg: I want to know which driver suspend & resume takes
more that 0.5 ms (500 us), you can just :

ehco 500 > /sys/power/device_suspend_time_threshold

Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
11 years agoENGR00137546-1 MMA8450: Add mma8450 accelerometer driver
Sammy He [Tue, 4 Jan 2011 06:19:05 +0000 (14:19 +0800)]
ENGR00137546-1 MMA8450: Add mma8450 accelerometer driver

Add mma8450 accelerometer driver.

Signed-off-by: Sammy He <r62914@freescale.com>