]> git.karo-electronics.de Git - karo-tx-linux.git/log
karo-tx-linux.git
11 years agoENGR00171564-3 MX6Q ARM2: Enable TVIN based on AutoBoard
Even Xu [Mon, 9 Jan 2012 08:44:31 +0000 (16:44 +0800)]
ENGR00171564-3 MX6Q ARM2: Enable TVIN based on AutoBoard

- Add adv7180 driver to ARM2 support
- Add adv7180 configure
- Chenge CSI configure for BT656 support

Signed-off-by: Even Xu <b21019@freescale.com>
11 years agoENGR00171564-2 MX6Q ARM2: Enable TVIN based on AutoBoard
Even Xu [Mon, 9 Jan 2012 08:41:33 +0000 (16:41 +0800)]
ENGR00171564-2 MX6Q ARM2: Enable TVIN based on AutoBoard

- Add TVin platform data
- Configure TVin io: such as RESET, POWERDOWN

Signed-off-by: Even Xu <b21019@freescale.com>
11 years agoENGR00171564-1 MX6Q ARM2: Enable TVin based on AUTO Board
Even Xu [Mon, 9 Jan 2012 08:37:02 +0000 (16:37 +0800)]
ENGR00171564-1 MX6Q ARM2: Enable TVin based on AUTO Board

Add TVin struct to Head file.

Signed-off-by: Even Xu <b21019@freescale.com>
11 years agoENGR00171535:gpu-viv: ENGR00170946 is missed when upgrading to viv 4.6.4
wu guoxing [Mon, 9 Jan 2012 01:56:37 +0000 (09:56 +0800)]
ENGR00171535:gpu-viv: ENGR00170946 is missed when upgrading to viv 4.6.4

rmmod fix for gpu is missed, add it back.
and also, change from manual reset to auto reset when gckOS_CreateSignal

Signed-off-by: Wu Guoxing <b39297@freescale.com>
Acked-by: Lily Zhang
11 years agoENGR00170912 HDMI: system hang if set hdmi_mode video=mxcfb1
Sandor Yu [Thu, 5 Jan 2012 12:29:52 +0000 (20:29 +0800)]
ENGR00170912 HDMI: system hang if set hdmi_mode video=mxcfb1

System will hang at PHY PLL lock wating loop, if HDMI PHY is down.
Added timeout check for HDMI PHY PLL lock waiting.

Signed-off-by: Sandor Yu <R01008@freescale.com>
11 years agoENGR00170444: [v3]imx6sabreauto adv7180 TVin port
b37753 [Fri, 6 Jan 2012 21:50:40 +0000 (15:50 -0600)]
ENGR00170444: [v3]imx6sabreauto adv7180 TVin port

Kconfig and Makefile was modified in order to
enable adv7180 driver for mx6q architecture.
adv7180.c mutex was changed to semaphore as is described in
"https://lwn.net/Articles/304725/ ".
sensor data structure is added in fsl_devices.h.
mxc_v4l2_capture.c condition in mxc_v4l2_sparam
was removed because is going to be always true
capture mode only have 1 possible value as is described in
"https://lwn.net/Articles/235023/".
ipu_capture.c clock divisor setup was added at init the csi.

Signed-off-by: B37753 <B37753@freescale.com>
11 years agoENGR00170444: [v3]imx6sabreauto adv7180 TVin port
b37753 [Fri, 6 Jan 2012 21:03:08 +0000 (15:03 -0600)]
ENGR00170444: [v3]imx6sabreauto adv7180 TVin port

imx6sabreauto adv7180 TVin port
ioexpanders addresss were incorrect, modification in
board-mx6q_sabreauto.c was done.
adv7180 boot structures and i2c structures were added in board-mx6q_sabreauto.c
i2c3 was not configured properly modified in iomux-mx6q.h.

Signed-off-by: B37753 <B37753@freescale.com>
11 years agoENGR00170124: Fix for USBH1 OTG IOMUX and GPIOs in board-mx6q_sabreauto.c
Francisco Munoz [Fri, 16 Dec 2011 23:16:03 +0000 (17:16 -0600)]
ENGR00170124: Fix for USBH1 OTG IOMUX and GPIOs in board-mx6q_sabreauto.c

USBH1 was not responding to plug events
USBH1 power up settings trough Port Exp B
OTG power up settings trough Port Exp C
Functionality was tested using a mx6qsabreauto cpu board + 53ARD main board

Signed-off-by: Francisco Munoz <b37752@freescale.com>
11 years agoENGR00171452 [MX6Qsabrelite]:wifi failed to work after system resume.
Ryan QIAN [Fri, 6 Jan 2012 05:58:12 +0000 (13:58 +0800)]
ENGR00171452 [MX6Qsabrelite]:wifi failed to work after system resume.

Set keep power on suspend flag for sd3 & sd4

Signed-off-by: Ryan QIAN <b32804@freescale.com>
11 years agoENGR0017124 Merge vivante 4.6.4 kernel driver
Loren Huang [Wed, 4 Jan 2012 10:47:33 +0000 (18:47 +0800)]
ENGR0017124 Merge vivante 4.6.4 kernel driver

Signed-off-by: Loren Huang <b02279@freescale.com>
Acked-by: Lily Zhang
11 years agoENGR00171259 mx6 Fix warning while remove GPU module
Larry Li [Wed, 4 Jan 2012 09:07:50 +0000 (17:07 +0800)]
ENGR00171259 mx6 Fix warning while remove GPU module

Avoid necessary clk_disable operation

Signed-off-by: Larry Li <b20787@freescale.com>
11 years agoENGR00169747 MX6Q:ARD:Enable SD1 Card reader from ARD Main board
Prabhu Sundararaj [Mon, 2 Jan 2012 20:12:06 +0000 (15:12 -0500)]
ENGR00169747 MX6Q:ARD:Enable SD1 Card reader from ARD Main board

Fix to enable SD1 Card reader for MX6Q ARD. This enables SD1 reader
from main board. SD1 does not support SD3.0 to maintain compatiblity
of MX53 Mainboard.

Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@freescale.com>
11 years agoENGR00171115 mx6_ard: Enable the enet on mx6q ard
Hake Huang [Sat, 31 Dec 2011 09:37:35 +0000 (17:37 +0800)]
ENGR00171115 mx6_ard: Enable the enet on mx6q ard

Fix Mux config
Need hardware rework:
1. Add R450 10.0k
2. Remove R1105 1k
3. short Pin 1,2 of u516: will impact CAN1

Signed-off-by: Hake Huang <b20222@freescale.com>
11 years agoENGR00171113 flexcan: add self wakeup function
Dong Aisheng [Sat, 31 Dec 2011 09:08:03 +0000 (17:08 +0800)]
ENGR00171113 flexcan: add self wakeup function

Flexcan can use the self wakeup function to wakeup system in system
suspend state.

Signed-off-by: Dong Aisheng <b29396@freescale.com>
11 years agoENGR00171043 gadget-audio: Kernel panic after insert g_audio at second time
Peter Chen [Sat, 31 Dec 2011 06:56:47 +0000 (14:56 +0800)]
ENGR00171043 gadget-audio: Kernel panic after insert g_audio at second time

The reason is it does not call usb_ep_disable at gadget disable routine.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
11 years agoENGR00162913-1 ASRC:fix asrc_audio_clock divider set bug
Chen Liangjun [Sat, 31 Dec 2011 03:03:33 +0000 (11:03 +0800)]
ENGR00162913-1 ASRC:fix asrc_audio_clock divider set bug

The asrc_audio_clock in MX5 is different from MX6.Thus the divider
value set can not be used in the MX6. Part of noise of ASRC output
is caused by this.

Add the function to calculate the divider and prescaler value
according to the sample rate and asrc_audio_clock.

Signed-off-by: Chen Liangjun <b36089@freescale.com>
11 years agoENGR00171083 Revert "ENGR00170944 [MX6Q MMC]suspend/resume crash"
Ryan QIAN [Sat, 31 Dec 2011 06:12:18 +0000 (14:12 +0800)]
ENGR00171083 Revert "ENGR00170944 [MX6Q MMC]suspend/resume crash"

issue:
in the reverted patch, sdhc driver will claim host on its
entering suspend state. and the wifi driver will hold host on
its loading. so once system is about to enter suspend state,
system will be pended on claiming host.

fix:
- Revert "ENGR00170944 [MX6Q MMC]suspend/resume crash"

This reverts commit 3b2e3729dc57a5ff532552cde49de7ace4c5792c.

Signed-off-by: Ryan QIAN <b32804@freescale.com>
11 years agoENGR00171111 MX6Q/TOUCHSCREEN : change the printk to dynamic print
Huang Shijie [Sat, 31 Dec 2011 05:43:00 +0000 (13:43 +0800)]
ENGR00171111 MX6Q/TOUCHSCREEN : change the printk to dynamic print

Too much printk make the dmesg mess.
Change it to dynamic print mode.

Signed-off-by: Huang Shijie <b32955@freescale.com>
11 years agoENGR00171026 SGTL5000: remove mono support
Gary Zhang [Fri, 30 Dec 2011 08:39:41 +0000 (16:39 +0800)]
ENGR00171026 SGTL5000: remove mono support

there is a issue on 24bit mono transmit of sgtl5000,
temporarily disable mono support

Signed-off-by: Gary Zhang <b13634@freescale.com>
11 years agoENGR00171035 Fix OV3640 XGA can not work
Even Xu [Fri, 30 Dec 2011 10:03:45 +0000 (18:03 +0800)]
ENGR00171035 Fix OV3640 XGA can not work

- Fix OV3640 XGA cannot work, XGA can be supported
- Add OV3640 720P, 1080P at 15fps support
- Fix a MXC_V4L2_CAPTURE driver bug, when setting param,
only when current mode and framerate are the same
with param, then not change current setting again

Signed-off-by: Even Xu <b21019@freescale.com>
11 years agoENGR00171027-3 usbcore:after plug in/out on the hub,host can't work
Tony LIU [Fri, 30 Dec 2011 06:34:38 +0000 (14:34 +0800)]
ENGR00171027-3 usbcore:after plug in/out on the hub,host can't work

This issue will happen only when suspend bit is set but phcd is not set
The root cause of this issue is the IC defect.
    - If the suspend bit is set without phcd bit set, host controller
      can't resume normally
    - The workaround is after set suspend bit, we need set the following
      bit in USB PHY at once:
      HW_USBPHY_PWD_RXPWDRX
      HW_USBPHY_PWD_RXPWDDIFF
      HW_USBPHY_PWD_RXPWD1PT1
      HW_USBPHY_PWD_RXPWDENV
      HW_USBPHY_PWD_TXPWDv2I
      HW_USBPHY_PWD_TXPWDIBIAS
      HW_USBPHY_PWD_TXPWDFS
    - Furthermore, after resume, we must clear these bits during the K state
    - IC has no plan to fix this issue
    - This issue only happen on MX6Q/MX28

core part

Signed-off-by: Tony LIU <junjie.liu@freescale.com>
11 years agoENGR00171027-2 [USB_HOST]after plug in/out on the hub,host can't work
Tony LIU [Fri, 30 Dec 2011 06:32:41 +0000 (14:32 +0800)]
ENGR00171027-2 [USB_HOST]after plug in/out on the hub,host can't work

This issue will happen only when suspend bit is set but phcd is not set
The root cause of this issue is the IC defect.
    - If the suspend bit is set without phcd bit set, host controller
      can't resume normally
    - The workaround is after set suspend bit, we need set the following
      bit in USB PHY at once:
      HW_USBPHY_PWD_RXPWDRX
      HW_USBPHY_PWD_RXPWDDIFF
      HW_USBPHY_PWD_RXPWD1PT1
      HW_USBPHY_PWD_RXPWDENV
      HW_USBPHY_PWD_TXPWDv2I
      HW_USBPHY_PWD_TXPWDIBIAS
      HW_USBPHY_PWD_TXPWDFS
    - Furthermore, after resume, we must clear these bits during the K state
    - IC has no plan to fix this issue
    - This issue only happen on MX6Q/MX28

driver part

Signed-off-by: Tony LIU <junjie.liu@freescale.com>
11 years agoENGR00171027-1 [USB_HOST]after plug in/out on the hub,host can't work
Tony LIU [Fri, 30 Dec 2011 06:07:18 +0000 (14:07 +0800)]
ENGR00171027-1 [USB_HOST]after plug in/out on the hub,host can't work

This issue will happen only when suspend bit is set but phcd is not set
The root cause of this issue is the IC defect.
- If the suspend bit is set without phcd bit set, host controller
  can't resume normally
- The workaround is after set suspend bit, we need set the following
  bit in USB PHY at once:
  HW_USBPHY_PWD_RXPWDRX
  HW_USBPHY_PWD_RXPWDDIFF
  HW_USBPHY_PWD_RXPWD1PT1
  HW_USBPHY_PWD_RXPWDENV
  HW_USBPHY_PWD_TXPWDv2I
  HW_USBPHY_PWD_TXPWDIBIAS
  HW_USBPHY_PWD_TXPWDFS
- Furthermore, after resume, we must clear these bits during the K state
- IC has no plan to fix this issue
- This issue only happen on MX6Q/MX28

MSL part
Signed-off-by: Tony LIU <junjie.liu@freescale.com>
11 years agoENGR00171094 MX6 GPIO keys: build in GPIO keys
Yuxi Sun [Fri, 30 Dec 2011 05:55:01 +0000 (13:55 +0800)]
ENGR00171094 MX6 GPIO keys: build in GPIO keys

This commit mainly build in GPIO keypad.But because config
file have not been update for long time, some item is added
by kconfig automatically.

The step is make imx6_defconfig,
Make menuconfig,
Choose gpio keypad enable
Cp .config to imx6_defconfig

Signed-off-by:Yuxi Sun <b36102@freescale.com>

11 years agoENGR00171087 [MX6]Need to add L1 Icache invalidate
Anson Huang [Fri, 30 Dec 2011 06:55:14 +0000 (14:55 +0800)]
ENGR00171087 [MX6]Need to add L1 Icache invalidate

As there might be dirty data line on any core of MX6
SOC when power on or reset, we need to do L1 I-cache
invalidation in the resume process and start up
process for all cores.

This is very important for us, as not all of the hardware
will do cache invalidation during power on or reset, so
we need to do the invalidation for all cache(L1, L2,
I and D) before first time enabling. Please keep in mind.

Signed-off-by: Anson Huang <b20788@freescale.com>
11 years agoENGR00171096 [MX6]Remove unnecessary workaroud of L2 in suspend/resume
Anson Huang [Fri, 30 Dec 2011 06:52:18 +0000 (14:52 +0800)]
ENGR00171096 [MX6]Remove unnecessary workaroud of L2 in suspend/resume

We have many operation before enabling L2 cache, which can
make sure L2 already can be accessed before enabled.

Signed-off-by: Anson Huang <b20788@freescale.com>
11 years agoENGR00171047 Fix ov5640 QSXGA can not work
Even Xu [Fri, 30 Dec 2011 05:25:31 +0000 (13:25 +0800)]
ENGR00171047 Fix ov5640 QSXGA can not work

Change sensor configuration to fix this issue.

Signed-off-by: Even Xu <b21019@freescale.com>
11 years agoENGR00171064 [MX6]Complete SNVS RTC feature
Anson Huang [Thu, 29 Dec 2011 09:17:35 +0000 (17:17 +0800)]
ENGR00171064 [MX6]Complete SNVS RTC feature

Add ioctl support to complete RTC feature.

Signed-off-by: Anson Huang <b20788@freescale.com>
11 years agoENGR00171052 mxc hdmi: fix HDMI CSC clock setting
Sandor Yu [Thu, 29 Dec 2011 08:25:51 +0000 (16:25 +0800)]
ENGR00171052 mxc hdmi: fix HDMI CSC clock setting

Move HDMI csc clock setting to fucntion mxc_hdmi_enable_video_path.

Signed-off-by: Sandor Yu <R01008@freescale.com>
11 years agoENGR00170999 Fix the record end, playback mute
b02247 [Mon, 26 Dec 2011 05:28:21 +0000 (13:28 +0800)]
ENGR00170999 Fix the record end, playback mute

SGTL5000_VAG_POWERUP used by record and playback.
when playback and record are opened, close one of them will cause
the other mute

Signed-off-by: b02247 <b02247@freescale.com>
11 years agoENGR00171010 enable exposure calculate function
Yuxi Sun [Wed, 28 Dec 2011 06:20:20 +0000 (14:20 +0800)]
ENGR00171010 enable exposure calculate function

Exposure calculate function was not used and this produce build
warning, enable this function not only remove this warning, but
also get a better image quality when take picture.

Signed-off-by: Yuxi Sun <b36102@freescale.com>
11 years agoENGR00171001-2 MX6Q PFUZE100: fix build warnings
Robin Gong [Wed, 28 Dec 2011 03:43:08 +0000 (11:43 +0800)]
ENGR00171001-2 MX6Q PFUZE100: fix build warnings

fix build warnings on pfuze driver:

arch/arm/mach-mx6/mx6q_sabreauto_pmic_pfuze100.c:388:
  warning: initialization from incompatible pointer type
drivers/mfd/pfuze-core.c:523:
  warning: initialization from incompatible pointer type
drivers/mfd/pfuze-core.c:412:
  warning: 'pfuze_add_subdevice' defined but not used

Signed-off-by: Robin Gong <B38343@freescale.com>
11 years agoENGR00171001-1 PFUZE100 MX6Q: fix build warning
Robin Gong [Wed, 28 Dec 2011 03:41:58 +0000 (11:41 +0800)]
ENGR00171001-1 PFUZE100 MX6Q: fix build warning

fix the board level function
Signed-off-by: Robin Gong <B38343@freescale.com>
11 years agoENGR00170969: Remove build warnings in MLB driver
Terry Lv [Tue, 27 Dec 2011 10:25:05 +0000 (18:25 +0800)]
ENGR00170969: Remove build warnings in MLB driver

Remove build warnings in MLB driver.

Signed-off-by: Terry Lv <r65388@freescale.com>
11 years agoENGR00171000 [MX6]Fix build warning
Anson Huang [Wed, 28 Dec 2011 02:59:02 +0000 (10:59 +0800)]
ENGR00171000 [MX6]Fix build warning

Fix the following build warning:

1.arch/arm/mach-mx6/cpu.c:36: warning: function declaration isn't a
prototype

2.arch/arm/mach-mx6/system.c:55: warning: function declaration isn't a
prototype

3.arch/arm/mach-mx6/board-mx6q_sabreauto.c:751: warning: unused variable
'iterations'

Signed-off-by: Anson Huang <b20788@freescale.com>
11 years agoENGR00170998 [MX6Q MMC]build warning
Tony Lin [Wed, 28 Dec 2011 02:34:17 +0000 (10:34 +0800)]
ENGR00170998 [MX6Q MMC]build warning

fix following build warning:

drivers/mmc/host/sdhci.c: In function 'sdhci_clk_worker':
drivers/mmc/host/sdhci.c:53: warning: unused variable 'flags'
drivers/mmc/host/sdhci.c: In function 'sdhci_resume_host':
drivers/mmc/host/sdhci.c:1751:
warning: 'ret' may be used uninitialized in this function

Signed-off-by: Tony Lin <tony.lin@freescale.com>
11 years agoENGR00161871: ENET: Changing MDIO read and write timeout
Rogerio Pimentel [Mon, 26 Dec 2011 18:23:48 +0000 (10:23 -0800)]
ENGR00161871: ENET: Changing MDIO read and write timeout

The original FEC_MII_TIMEOUT was set to 1ms, which is too low when
passed to the usecs_to_jiffies macro.

On ARM one jiffy is 10ms, so use msecs_to_jiffies instead and use
a timeout of 30ms, which corresponds to 3 jiffies.

After running 3 hours NFS boots, the MDIO timeout do not occur
anymore.

Signed-off-by: Rogerio Pimentel <rogerio.pimentel@freescale.com>
11 years agoENGR00170938-2 mxc hdmi: Enable HDMI output color space convert
Sandor Yu [Tue, 27 Dec 2011 01:50:46 +0000 (09:50 +0800)]
ENGR00170938-2 mxc hdmi: Enable HDMI output color space convert

Enable HDMI output CSC.
Enable HDMI under scan.

Signed-off-by: Sandor Yu <R01008@freescale.com>
11 years agoENGR00170938-1 mxc hdmi: Enable HDMI output color space convert
Sandor Yu [Mon, 26 Dec 2011 15:20:31 +0000 (23:20 +0800)]
ENGR00170938-1 mxc hdmi: Enable HDMI output color space convert

Fix HDMI AVI info frame config register bit define error.

Signed-off-by: Sandor Yu <R01008@freescale.com>
11 years agoENGR00170951 arm2 camera: change default camera to ov5640
Yuxi Sun [Tue, 27 Dec 2011 07:13:57 +0000 (15:13 +0800)]
ENGR00170951 arm2 camera: change default camera to ov5640

Set ov5640 as the default camera

Signed-off-by: Yuxi Sun <b36102@freescale.com>
11 years agoENGR00170946:gpu:fix gpu kernel module can not be removed issue
wu guoxing [Tue, 27 Dec 2011 05:43:55 +0000 (13:43 +0800)]
ENGR00170946:gpu:fix gpu kernel module can not be removed issue

fix gpu kernel module can not be removed issue

Signed-off-by: Wu Guoxing <b39297@freescale.com>
Acked-by: Lily Zhang
11 years agoENGR00170945:mx6: clk: __clk_disable operates only when usecount > 0
wu guoxing [Tue, 27 Dec 2011 05:32:43 +0000 (13:32 +0800)]
ENGR00170945:mx6: clk: __clk_disable operates only when usecount > 0

in __clk_disable, check usecount, if it is 0, return, otherwise,
the usecount will be un-correct.

Signed-off-by: Wu Guoxing <b39297@freescale.com>
11 years agoENGR00139278-3: Add MLB main driver for mx6q
Terry Lv [Mon, 26 Dec 2011 08:21:26 +0000 (16:21 +0800)]
ENGR00139278-3: Add MLB main driver for mx6q

Add MLB main driver for mx6q.

Signed-off-by: Terry Lv <r65388@freescale.com>
11 years agoENGR00139278-2: Add MLB driver platform data structure for mx6q
Terry Lv [Mon, 26 Dec 2011 06:26:07 +0000 (14:26 +0800)]
ENGR00139278-2: Add MLB driver platform data structure for mx6q

Add MLB driver platform data structure.

Signed-off-by: Terry Lv <r65388@freescale.com>
11 years agoENGR00139278-1: Add MLB driver board level code for mx6q
Terry Lv [Mon, 26 Dec 2011 04:16:20 +0000 (12:16 +0800)]
ENGR00139278-1: Add MLB driver board level code for mx6q

Add board level code for mlb, including platform data, clock, etc.

Signed-off-by: Terry Lv <r65388@freescale.com>
11 years agoENGR00170944 [MX6Q MMC]suspend/resume crash
Tony Lin [Tue, 27 Dec 2011 05:47:09 +0000 (13:47 +0800)]
ENGR00170944 [MX6Q MMC]suspend/resume crash

if the system suspend in the process of data transfer, current request
is broken by the suspend request, thus there're sd/mmc requests error logs.

to prevent this error, add a claim host in suspend function and release it
in resume function to make sure the request is finished before entering suspend
and next request could be started after resuming.

Signed-off-by: Tony Lin <tony.lin@freescale.com>
11 years agoENGR00170784 - FEC : dma skb buffer map is not used rightly.
Fugang Duan [Wed, 21 Dec 2011 10:32:11 +0000 (18:32 +0800)]
ENGR00170784 - FEC : dma skb buffer map is not used rightly.

Enable "CONFIG_DMA_API_DEBUG" in kernel, and system print:

DMA-API: device driver tries to free DMA memory it has not
allocated [device address=0x0000000046688020]...[<80222494>]
(debug_dma_unmap_page+0x8c/0x98) from [<802a36a0>]
(fec_enet_interrupt+0x430/0x5ac)

Correct the usage of "dma_map_single" function.

Signed-off-by: Fugang Duan <B38611@freescale.com>
11 years agoENGR00170940 MX6Q: Add OV8820 MIPI as default module
Even Xu [Tue, 27 Dec 2011 04:49:31 +0000 (12:49 +0800)]
ENGR00170940 MX6Q: Add OV8820 MIPI as default module

OV8820 MIPI camera driver will be built as a module default.

Signed-off-by: Even Xu <b21019@freescale.com>
11 years agoENGR00170929 [MX6Q MMC]might sleep in atomic context
Tony Lin [Mon, 26 Dec 2011 05:44:20 +0000 (13:44 +0800)]
ENGR00170929 [MX6Q MMC]might sleep in atomic context

call clk_enable/clk_disable in atomic is forbidden.
move all the calls out of atomic context.

Signed-off-by: Tony Lin <tony.lin@freescale.com>
11 years agoENGR00170751 Enable clock gating while gpu core comes to idle
Loren Huang [Mon, 26 Dec 2011 07:46:06 +0000 (15:46 +0800)]
ENGR00170751 Enable clock gating while gpu core comes to idle

-Correct gc355 initial power state to poweroff.
-Separate clock gating operation in function gckOS_SetGPUPower().
-Turn on clock while suspend GPU cores.
-Remove clock switch in drv_open().

Signed-off-by: Loren Huang <b02279@freescale.com>
Acked-by: Lily Zhang
11 years agoENGR00170819-3 usb-gadget: add usb audio support at imx6 defconfig
Peter Chen [Thu, 22 Dec 2011 01:37:32 +0000 (09:37 +0800)]
ENGR00170819-3 usb-gadget: add usb audio support at imx6 defconfig

Add usb audio gadget support at imx6 defconfig

Signed-off-by: Peter Chen <peter.chen@freescale.com>
11 years agoENGR00170819-2 usb-gadget: add test document for usb audio
Peter Chen [Thu, 22 Dec 2011 01:34:02 +0000 (09:34 +0800)]
ENGR00170819-2 usb-gadget: add test document for usb audio

Add test document

Signed-off-by: Peter Chen <peter.chen@freescale.com>
11 years agoENGR00170819-1 usb-gadget: add usb audio support
Peter Chen [Mon, 19 Dec 2011 03:08:31 +0000 (11:08 +0800)]
ENGR00170819-1 usb-gadget: add usb audio support

- Only 44.1Khz audio are supported at i.MX6q, since only 44.1Khz
local playback are supported at i.MX6q.

- Since there is no feedback at current usb audio framework,
it may have pop noise/no sound after play some minutes.

- About how to test: please refer Documentation/arm/imx/udc.txt

Signed-off-by: Peter Chen <peter.chen@freescale.com>
11 years agoENGR00170901-2 IMX/UART : add a wait queue for DMA RX in SMP
Huang Shijie [Wed, 21 Dec 2011 08:34:08 +0000 (16:34 +0800)]
ENGR00170901-2 IMX/UART : add a wait queue for DMA RX in SMP

The DMA RX thread may run on another CPU, while the application
runs on one CPU.

The application will close the uart when it finishes the required reading.
But the DMA RX thread maybe still running in this situation.

So add a wait queue to synchronize the __TWO__ sides in the SMP.

Signed-off-by: Huang Shijie <b32955@freescale.com>
11 years agoENGR00170901-1 IMX/UART : Revert "ENGR00170465-2"
Huang Shijie [Wed, 21 Dec 2011 08:28:53 +0000 (16:28 +0800)]
ENGR00170901-1 IMX/UART : Revert "ENGR00170465-2"

This reverts commit 7e5181cd28ac3d786d0760f405fa5a1e3407a7a9.

Signed-off-by: Huang Shijie <b32955@freescale.com>
11 years agoENGR00170144 [USB-Host] Fix the following USB hub issue on mx6q
Tony LIU [Thu, 22 Dec 2011 11:07:03 +0000 (19:07 +0800)]
ENGR00170144 [USB-Host] Fix the following USB hub issue on mx6q

- After auto suspend, attach device to hub will cause host can't work any more
- after system suspend, attach device to hub will cause host can't work any more
- HSDISCONNECTDEC logic error
- Set RUNSTOP in bus suspend, if no short delay, host can't work any more

Signed-off-by: Tony LIU <junjie.liu@freescale.com>
11 years agoENGR00170922 [MX6Q]fix build error if disable SMP
Tony Lin [Fri, 23 Dec 2011 02:51:55 +0000 (10:51 +0800)]
ENGR00170922 [MX6Q]fix build error if disable SMP

fail log:

cpu_regulator-mx6.c: In function 'mx6_cpu_regulator_init':
cpu_regulator-mx6.c:87: error: 'loops_per_jiffy' undeclared

Signed-off-by: Tony Lin <tony.lin@freescale.com>
11 years agoENGR00170800 mxc hdmi add more video mode to default modelist
Sandor Yu [Wed, 21 Dec 2011 13:48:02 +0000 (21:48 +0800)]
ENGR00170800 mxc hdmi add more video mode to default modelist

Add all non-interlaced CEA mode to default modelist
Add XGA and SXGA video mode to default modelist

Signed-off-by: Sandor Yu <R01008@freescale.com>
11 years agoENGR00170897 [MX6]Enable WAIT mode by default
Anson Huang [Fri, 23 Dec 2011 08:07:50 +0000 (16:07 +0800)]
ENGR00170897 [MX6]Enable WAIT mode by default

NFS can work with WAIT mode only if the NFS use
TCPIP protoco, in order to test more features of
WAIT mode, we enable it by default and make sure
NFS is using TCPIP protocol.

Signed-off-by: Anson Huang <b20788@freescale.com>
11 years agoENGR00170891 [MX6]Disable WAIT mode and DVFS
Anson Huang [Fri, 23 Dec 2011 02:11:00 +0000 (10:11 +0800)]
ENGR00170891 [MX6]Disable WAIT mode and DVFS

WAIT mode and DVFS still have some defects, we need
to disable it by default until we make them works.

Signed-off-by: Anson Huang <b20788@freescale.com>
11 years agoENGR00169681 MX6: Add GPIO keys for sabrrelite
Lin Fuzhen [Thu, 8 Dec 2011 03:11:51 +0000 (11:11 +0800)]
ENGR00169681 MX6: Add GPIO keys for sabrrelite

Add gpio keys for sabrelite

Signed-off-by: Lin Fuzhen <fuzhen.lin@freescale.com>
11 years agoENGR00170788 MX6Q PFUZE100:configure VDDARM and VDDSOC voltage in standby
Robin Gong [Wed, 21 Dec 2011 11:13:59 +0000 (19:13 +0800)]
ENGR00170788 MX6Q PFUZE100:configure VDDARM and VDDSOC voltage in standby

Configure register 33&40&47 to set standby voltage of SW1A/1B/1C

Signed-off-by: Robin Gong <B38343@freescale.com>
11 years agoENGR00170530 usb-udc: Some tiny bug fixes
Peter Chen [Mon, 19 Dec 2011 01:27:18 +0000 (09:27 +0800)]
ENGR00170530 usb-udc: Some tiny bug fixes

Most of them are from community
- Using correct dequeue method
- Fix the ISOC_XFER condition judgement
- Need to wmb before prime
- Fix some conditions of udc->max_ep judgement

Signed-off-by: Peter Chen <peter.chen@freescale.com>
11 years agoENGR00170453 SSI: close ssi_clk when idle
Gary Zhang [Wed, 21 Dec 2011 02:48:52 +0000 (10:48 +0800)]
ENGR00170453 SSI: close ssi_clk when idle

close ssi_clk when ssi is idle.

Signed-off-by: Gary Zhang <b13634@freescale.com>
11 years agoENGR00170255-3 MX6Q PFUZE100: add regulator driver of pfuze100
Robin Gong [Mon, 19 Dec 2011 10:09:25 +0000 (18:09 +0800)]
ENGR00170255-3 MX6Q PFUZE100: add regulator driver of pfuze100

add new regulator driver for pfuze100 based on mfd structure

Signed-off-by: Robin Gong <B38343@freescale.com>
11 years agoENGR00170255-2 MX6Q PFUZE100: add pfuze100 driver
Robin Gong [Mon, 19 Dec 2011 10:04:47 +0000 (18:04 +0800)]
ENGR00170255-2 MX6Q PFUZE100: add pfuze100 driver

add pfuze core  driver for mx6
Signed-off-by: Robin Gong <B38343@freescale.com>
11 years agoENGR00170255-1 MX6Q PFUZE100: add board level support for pfuze100
Robin Gong [Mon, 19 Dec 2011 09:57:38 +0000 (17:57 +0800)]
ENGR00170255-1 MX6Q PFUZE100: add board level support for pfuze100

1.modify some pins for support pfuze100
2.add mx6q_sabreauto_pmic_pfuze100.c to support regulator of pfuze100
3.modify imx6_defconfig to enable pfuze driver and regulator driver

Signed-off-by: Robin Gong <B38343@freescale.com>
11 years agoENGR00170628 imx6q-ard: fix imx-cs42888 audio codec support
Adrian Alonso [Mon, 19 Dec 2011 23:06:17 +0000 (17:06 -0600)]
ENGR00170628 imx6q-ard: fix imx-cs42888 audio codec support

* Update esai pad settings for imx6q-ard platform
* Add reset and interrupt gpio macro definitions
* Attach cs42888 to correct i2c channel and rename
  regulator dev_name and codec_name in accordance of
  i2c channel.

Signed-off-by: Adrian Alonso <aalonso@freescale.com>
11 years agoENGR00170627 imx-cs42888: overwrite codec_name if passed as platform data
Adrian Alonso [Mon, 19 Dec 2011 22:35:06 +0000 (16:35 -0600)]
ENGR00170627 imx-cs42888: overwrite codec_name if passed as platform data

* Overwrite codec_name if passed as platform data
* Add codec_name in mxc_audio_platform_data
* Codec name follows the naming convention
  <codec>.<i2c-channel>-<codec i2c address> i.e. cs42888.0-0048
* For IMX6Q-ARD this name convention doesn't follow previous settings for
  imx6q platforms codec is on different i2c channel and can't be resolved
  by CONFIG macros on imx_3stack_dai data structure; So we overwrite in
  probe function by getting the correct value from plat_data->codec_name.

Signed-off-by: Adrian Alonso <aalonso@freescale.com>
11 years agoENGR00170626 imx-cs42888: avoid codded gpio reset definition
Adrian Alonso [Mon, 19 Dec 2011 22:10:31 +0000 (16:10 -0600)]
ENGR00170626 imx-cs42888: avoid codded gpio reset definition

* Remove hard codded gpio reset definition
* Add in mxc_audio_platform_data reset gpio reference to be able
  to pass gpio reset assignment in board definition file instead
  of a macro for each different board.
* Add plat_data null check, return EINV if no set.

Signed-off-by: Adrian Alonso <aalonso@freescale.com>
11 years agoENGR00170518 imx6q-ard: add iomux esai pad settings
Adrian Alonso [Fri, 16 Dec 2011 21:22:39 +0000 (15:22 -0600)]
ENGR00170518 imx6q-ard: add iomux esai pad settings

* imx6q-sabreauto esai pad settings
* Add mux pad setting for esai

Signed-off-by: Adrian Alonso <aalonso@freescale.com>
11 years agoENGR00170519 imx6q-ard remove regulator for sgtl5000 codec
Adrian Alonso [Thu, 15 Dec 2011 20:49:09 +0000 (14:49 -0600)]
ENGR00170519 imx6q-ard remove regulator for sgtl5000 codec

* Remove platform regulators information for sgtl5000 codec
  sgtl5000 codec not populated in imx6q-sabreauto platform
* Remove register sgtl5000 regulator devices

Signed-off-by: Adrian Alonso <aalonso@freescale.com>
11 years agoENGR00170520: MX6-Enable WAIT mode by default.
Ranjani Vaidyanathan [Fri, 16 Dec 2011 22:13:45 +0000 (16:13 -0600)]
ENGR00170520: MX6-Enable WAIT mode by default.

WAIT mode is enabled by default with this commit.
Adding "enable_wait_mode=off" to the command line will
prevent the system from entering WAIT mode.

Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
11 years agoENGR00170548-2 [IMX6Q] USB-HOST:Add Doc for USB video and audio test
make shi [Tue, 20 Dec 2011 02:08:36 +0000 (10:08 +0800)]
ENGR00170548-2 [IMX6Q] USB-HOST:Add Doc for USB video and audio test

Add USB video and audio unit test method to host doc

Signed-off-by: make shi <b15407@freescale.com>
11 years agoENGR00170548-1 [IMX6Q] USB-HOST:Enable the USB video and audio
make shi [Tue, 20 Dec 2011 02:02:29 +0000 (10:02 +0800)]
ENGR00170548-1 [IMX6Q] USB-HOST:Enable the USB video and audio

Enable the USB video config as module avoid conflict with CSI camera
Enable the USB audio config as defult built in driver

Signed-off-by: make shi <b15407@freescale.com>
11 years agoENGR00162644 tty: serial: imx: Allow UART to be a source for wakeup
Fabio Estevam [Mon, 19 Dec 2011 21:11:45 +0000 (19:11 -0200)]
ENGR00162644 tty: serial: imx: Allow UART to be a source for wakeup

Allow UART to be a source from wakeup from low power mode.

Tested on a mx6sabrelite (where ttymxc1 is the console) by doing:

echo enabled > /sys/devices/platform/imx-uart.1/tty/ttymxc1/power/wakeup

echo mem > /sys/power/state

and then pressing a key in the console will wakeup the system.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
11 years agoENGR00170508 Need to zero REG_BYPASS_CNT on exit from STOP mode
Mahesh Mahadevan [Fri, 16 Dec 2011 12:39:38 +0000 (06:39 -0600)]
ENGR00170508 Need to zero REG_BYPASS_CNT on exit from STOP mode

Per e-mail from design team, the count needs to be zeroed and
reconfigured on exit from low power mode

Signed-off-by: Mahesh Mahadevan <r9aadq@freescale.com>
11 years agoENGR00170523 imx6q-ard: add egalax touchscreen support
Adrian Alonso [Sat, 17 Dec 2011 01:22:08 +0000 (19:22 -0600)]
ENGR00170523 imx6q-ard: add egalax touchscreen support

* Add egalax touch screen support for sabreauto platform
* Add egalax client to correct i2c channel
* Fix GPIO assigned to touch screen interrupt
* egalax driver depends of LED_CLASS for gpio interrupt handling
  and HIDRAW for X11 event notification and added to mx6q_defconfig

Signed-off-by: Adrian Alonso <aalonso@freescale.com>
11 years agoENGR00170534 mxc hdmi: hot-plug detect state notify and recording
Sandor Yu [Mon, 19 Dec 2011 03:17:48 +0000 (11:17 +0800)]
ENGR00170534 mxc hdmi: hot-plug detect state notify and recording

1. create sys node for fb name, cable state, edid data
2. call kobject_uevent_env pass cable state

Signed-off-by: Sandor Yu <R01008@freescale.com>
11 years agoENGR00170465-2 MX6Q/UART : enlarge the RX FIFO threthold when DMA is enabled.
Huang Shijie [Thu, 15 Dec 2011 03:40:21 +0000 (11:40 +0800)]
ENGR00170465-2 MX6Q/UART : enlarge the RX FIFO threthold when DMA is enabled.

Enlarge the RX FIFO threthold from 1 to 16 when the DMA is enabled.
This will give us better performance.

Signed-off-by: Huang Shijie <b32955@freescale.com>
11 years agoENGR00170465-1 MX6Q/SDMA : update the SDMA script for UART RX
Huang Shijie [Fri, 16 Dec 2011 08:27:03 +0000 (16:27 +0800)]
ENGR00170465-1 MX6Q/SDMA : update the SDMA script for UART RX

The old script does not clear the IDLE flag.
So when the IDDMAEN(UCR4[6]) is enabled, the RX only receives few
bytes(such as 2 or 1 byte) per DMA operation.

The new script fixes it.

Signed-off-by: Huang Shijie <b32955@freescale.com>
11 years agoENGR00169872-2 rework hdmi initialization and hotplug sequence
Alan Tull [Thu, 8 Dec 2011 19:43:42 +0000 (13:43 -0600)]
ENGR00169872-2 rework hdmi initialization and hotplug sequence

This commit intends to implement the flowchart and details
documented in the HDMI Transmitter Controller User Guide
section entitled "Programming Model".

Some input is also from the Synopsys API code.

The HDMI specification requires HDMI to set itself to VGA DVI mode
before reading the EDID.

So follow this sequence when HDMI is hotplugged:
1.  Hdmi connector is plugged in, HDMI video gets an interrupt.
2.  Clear out video mode list.  Add only VGA DVI mode to list.
3.  Request VGA DVI mode (call fb_set_var())
4.  HDMI video driver will get FB_EVENT_MODE_CHANGE callback and
    call mxc_hdmi_setup() to set up HDMI.
5.  Read the edid and add video modes from edid.  Select the video
    mode that is similar to the command line default.
6.  Request VGA DVI mode (call fb_set_var())
7.  HDMI video driver will get FB_EVENT_MODE_CHANGE callback and
    do mxc_hdmi_setup().

Also included is a workaround for an overflow condition in the HDMI.

The frame composer has an arithmetic unit that gets updated every time
we write to one of the FC registers. But sometimes, depending on the
relation between the tmds and sfr clocks, it may happen that this unit
doesn't get updated, even though the registers are holding correct
values. The workaround for this is, after completing the controller
configuration, to rewrite one of the FC registers (i.e. FC_INVIDCONF)
three or four times with the same value, and then follow it up by a SW
reset to the TMDS clock domain (MC_SWRSTZ).

We clear the overflow condition as described above every time we
change video mode.  Also an overflow interupt handler will clear the
overflow condition if it happens again.  This overflow condition is
expected (and not a problem) when we are in DVI (non-HDMI) mode, so
we do not worry about it in that case.

Signed-off-by: Alan Tull <alan.tull@freescale.com>
11 years agoENGR00169872-1 rework hdmi initialization and hotplug sequence
Alan Tull [Thu, 8 Dec 2011 19:43:42 +0000 (13:43 -0600)]
ENGR00169872-1 rework hdmi initialization and hotplug sequence

This commit intends to implement the flowchart and details
documented in the HDMI Transmitter Controller User Guide
section entitled "Programming Model".

Some input is also from the Synopsys API code.

The HDMI specification requires HDMI to set itself to VGA DVI mode
before reading the EDID.

So follow this sequence when HDMI is hotplugged:
1.  Hdmi connector is plugged in, HDMI video gets an interrupt.
2.  Clear out video mode list.  Add only VGA DVI mode to list.
3.  Request VGA DVI mode (call fb_set_var())
4.  HDMI video driver will get FB_EVENT_MODE_CHANGE callback and
    call mxc_hdmi_setup() to set up HDMI.
5.  Read the edid and add video modes from edid.  Select the video
    mode that is similar to the command line default.
6.  Request VGA DVI mode (call fb_set_var())
7.  HDMI video driver will get FB_EVENT_MODE_CHANGE callback and
    do mxc_hdmi_setup().

Also included is a workaround for an overflow condition in the HDMI.

The frame composer has an arithmetic unit that gets updated every time
we write to one of the FC registers. But sometimes, depending on the
relation between the tmds and sfr clocks, it may happen that this unit
doesn't get updated, even though the registers are holding correct
values. The workaround for this is, after completing the controller
configuration, to rewrite one of the FC registers (i.e. FC_INVIDCONF)
three or four times with the same value, and then follow it up by a SW
reset to the TMDS clock domain (MC_SWRSTZ).

We clear the overflow condition as described above every time we
change video mode.  Also an overflow interupt handler will clear the
overflow condition if it happens again.  This overflow condition is
expected (and not a problem) when we are in DVI (non-HDMI) mode, so
we do not worry about it in that case.

Signed-off-by: Alan Tull <alan.tull@freescale.com>
11 years agoENGR00169975: imx6sabreauto fix i2c iomux pad settings
Adrian Alonso [Fri, 9 Dec 2011 20:28:59 +0000 (14:28 -0600)]
ENGR00169975: imx6sabreauto fix i2c iomux pad settings

* imx6sareauto fix i2c iomux pad settings
* On sabreaauto the i2c pad settings are missing in iomux-mx6q.h
* update i2c pad seetings and SD2 control pads
* Set correct i2c address for io expanders (expander A and B)
* explicit assert io expander reset line for normal operation mode

Signed-off-by: Adrian Alonso <aalonso@freescale.com>
11 years agoRevert "tty: serial: imx: Allow UART to be a source for wakeup"
Alan Tull [Fri, 16 Dec 2011 20:09:13 +0000 (14:09 -0600)]
Revert "tty: serial: imx: Allow UART to be a source for wakeup"

This reverts commit 6565023ad182d3347972aad3f1a13ba57266e81a.

11 years agotty: serial: imx: Allow UART to be a source for wakeup
Fabio Estevam [Tue, 13 Dec 2011 20:50:50 +0000 (18:50 -0200)]
tty: serial: imx: Allow UART to be a source for wakeup

Allow UART to be a source for wakeup from low power mode.

Tested on a mx6sabrelite (where ttymxc1 is the console) by doing:

echo enabled >  /sys/devices/platform/imx-uart.1/tty/ttymxc1/power/wakeup

echo mem > /sys/power/state

and then pressing a key in the console will wakeup the sytem.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
11 years agoENGR00170482 ARM: mx6qsabrelite: Fix the total RAM size
Fabio Estevam [Fri, 16 Dec 2011 12:01:05 +0000 (10:01 -0200)]
ENGR00170482 ARM: mx6qsabrelite: Fix the total RAM size

On mx6qsabrelite there is a total of 1GB of RAM.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
11 years agousb: gadget: audio: queue wLength-sized requests
Felipe Balbi [Mon, 29 Aug 2011 08:54:08 +0000 (11:54 +0300)]
usb: gadget: audio: queue wLength-sized requests

On Audio class, the wLength field of the Setup
packet, contains the data payload size of the
following Data phase. Instead of harcoding values,
use wLength.

This also fixes a bug where Gadget driver had to
receive 3 bytes, but it was queueing a ZLP.

Signed-off-by: Felipe Balbi <balbi@ti.com>
11 years agousb: gadget: audio: actually support both speeds
Felipe Balbi [Fri, 26 Aug 2011 09:48:15 +0000 (12:48 +0300)]
usb: gadget: audio: actually support both speeds

While testing g_audio with HighSpeed UDC on a
FS Hub, we had no configurations to present to
the host. That's because both speeds where
mutually exclusive.

Signed-off-by: Felipe Balbi <balbi@ti.com>
11 years agoUSB: gadget: section mismatch warning fixed
Michal Nazarewicz [Mon, 21 Jun 2010 11:57:04 +0000 (13:57 +0200)]
USB: gadget: section mismatch warning fixed

In may gadgets bind and bind like functions were in a init section
as they were only run during initialisation.  However, being
callback functions they were referenced from structures in “normal”
sections.  Changing the tag from “__init” to “__ref” fixes the
warnings.

Signed-off-by: Michal Nazarewicz <m.nazarewicz@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
11 years agoENGR00170447 MX6Q: Fix CSI SMFC cannot disable normally
Even Xu [Fri, 16 Dec 2011 03:09:27 +0000 (11:09 +0800)]
ENGR00170447 MX6Q: Fix CSI SMFC cannot disable normally

Root cause is:
Ipu driver use msleep to wait for smfc idle, msleep isn't a
Accurate timer, but CSI SMFC is a real-time channel, so use
Interrupt handler to replace msleep.

Signed-off-by: Even Xu <b21019@freescale.com>
11 years agoENGR00170452: gpu-viv: change from dma_sync_single_for_device to outer_clean_range
wu guoxing [Fri, 16 Dec 2011 04:15:05 +0000 (12:15 +0800)]
ENGR00170452: gpu-viv: change from dma_sync_single_for_device to outer_clean_range

dma_sync_single_for_device can only used for kernel physical memory,
while in gpu, we will also clean user physical memory for pixmap,
direct texture, etc. outer_clean_range can operate on both.

Signed-off-by: Wu Guoxing <b39297@freescale.com>
Acked-by: Lily Zhang <r58066@freescale.com>
11 years agoENGR00170212: MX6 - Implement a SW workaround for TKT065875
Ranjani Vaidyanathan [Mon, 12 Dec 2011 18:42:58 +0000 (12:42 -0600)]
ENGR00170212: MX6 - Implement a SW workaround for TKT065875

Only CPU0 executes WFI followed by ISBs in uncached iRAM.
All other cores execute the regular cpu_do_idle()
This puts a restriction that all interrupts should only be routed to CPU0.
This bug should be fixed in TO1.1.

Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
11 years agoENGR00170434: MX6 - Add support to read Silicon version
Ranjani Vaidyanathan [Thu, 15 Dec 2011 17:55:00 +0000 (11:55 -0600)]
ENGR00170434: MX6 - Add support to read Silicon version

Read the silicon version stored in ROM at address ox48.

Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
11 years agoENGR00170340 [MX6] Fix incorrect frequencies reported from cpuinfo
Nancy Chen [Thu, 15 Dec 2011 15:56:10 +0000 (09:56 -0600)]
ENGR00170340 [MX6] Fix incorrect frequencies reported from cpuinfo

Fix incorrect frequencies reported from /proc/cpuinfo.

Signed-off-by: Nancy Chen <Nancy.Chen@freescale.com>
11 years agoENGR00170341 board-mx6q-sabreauto: update spdif for sabreauto platform
Adrian Alonso [Thu, 15 Dec 2011 01:24:18 +0000 (19:24 -0600)]
ENGR00170341 board-mx6q-sabreauto: update spdif for sabreauto platform

* Update spdif config options for sabreauto platform
* Correct pad settings
* Only SPDIF RX in sabreauto, unset SPDIF TX support.
* spdif and i2c3 doesn't conflict in sabreauto platform
  remove spdif early param and logic that set either pads.

Signed-off-by: Adrian Alonso <aalonso@freescale.com>
11 years agoENGR00170350 dvi detect: request cable detect pin when real init
Jason Chen [Thu, 15 Dec 2011 07:39:31 +0000 (15:39 +0800)]
ENGR00170350 dvi detect: request cable detect pin when real init

request cable detect pin when real init

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00170168-2 mxc_vout: add non FB_VMODE_YWRAP support
Jason Chen [Wed, 14 Dec 2011 06:09:08 +0000 (14:09 +0800)]
ENGR00170168-2 mxc_vout: add non FB_VMODE_YWRAP support

when use pan display, the case could be:
1. a small window wrap in a big frame buffer
2. a frame switch in a serial buffers

the ipuv3 fb driver used to support case 1, and for case 2,
if the fb format is interleaved, there is no problem, but for
non-interleaved format (like I420), there will be a display bug.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00170168-1 ipuv3 fb: add non FB_VMODE_YWRAP support
Jason Chen [Wed, 14 Dec 2011 06:02:16 +0000 (14:02 +0800)]
ENGR00170168-1 ipuv3 fb: add non FB_VMODE_YWRAP support

when use pan display, the case could be:
1. a small window wrap in a big frame buffer
2. a frame switch in a serial buffers

the ipuv3 fb driver used to support case 1, and for case 2,
if the fb format is interleaved, there is no problem, but for
non-interleaved format (like I420), there will be a display bug.

Signed-off-by: Jason Chen <b02280@freescale.com>
11 years agoENGR00170342 PWM: fix pwm output can't be set to 100% full duty
Yuxi Sun [Thu, 15 Dec 2011 02:12:53 +0000 (10:12 +0800)]
ENGR00170342 PWM: fix pwm output can't be set to 100% full duty

The chip document says the counter counts up to period_cycles + 1
and then is reset to 0, so the actual period of the PWM wave is
period_cycles + 2

Signed-off-by: Yuxi Sun <b36102@freescale.com>