summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-03-28ENGR00178052 v4l2_capture:Correct multi-sensor uninstallationrel_imx_3.0.15_12.03.00Yuxi Sun
Point the current sensor to the right existent camera, and remove the detached one Signed-off-by: Yuxi Sun <b36102@freescale.com>
2012-03-28ENGR00177302 ASRC: change clock managementChen Liangjun
1 close clock when asrc is not working. 2 enable the asrc core clock when user sucessfully request an ASRC pair and disable it when the pair is release.So the call from ESAI using the p2p DMA mode can be support. Signed-off-by: Chen Liangjun <b36089@freescale.com>
2012-03-28ENGR00178106 SabreSD: scan emmc slot sd4 firstly for mfgtoolsFrank Li
Mfgtools want to emmc block device node is fixed mmcblk0. Card in other slot is mmcblk1 or mmcblk2 Signed-off-by: Frank Li <Frank.Li@freescale.com>
2012-03-28ENGR00177756 usb-host: quit system suspend after usb remote wakeup occursPeter Chen
If the usb remote wakeup occurs before bus(roothub) suspend, it can stop the system suspend process, the patch adds handle error message process for roothub. If the remote wakeup occurs after bus(roothub) suspend, then the suspend will go on suspending, and usb phy will fail to respond wakeup signal. This patch is suggested by: Alan Stern <stern@rowland.harvard.edu> see: http://www.spinics.net/lists/linux-usb/msg58774.html Signed-off-by: Peter Chen <peter.chen@freescale.com>
2012-03-28ENGR00177875 mx6: pm: disable USB VBUS wakeup to avoid vbus wake systemPeter Chen
The USB VBUS wakeup should be disabled to avoid vbus wake system up wrongly due to vbus comparator is closed at weak 2p5 mode. Signed-off-by: Peter Chen <peter.chen@freescale.com>
2012-03-28ENGR00177771 usb: usb wakeup enable should include both controller and phyPeter Chen
According to IC guys, it needs to enable/disable usb wakeup setting at controller and phy side together. Signed-off-by: Peter Chen <peter.chen@freescale.com>
2012-03-27ENGR00178118-2 fix some build warnings when using GCC 4.6.2Jason Liu
fix some build warnings when using GCC 4.6.2: arch/arm/mach-mx6/board-mx6q_sabresd.c:1588:20: warning: function declaration isn't a prototype [-Wstrict-prototypes] This patch also fix the following section mismatch warnings: The function imx6q_init_audio() references the variable __initconst imx6_imx_ssi_data. This is often because imx6q_init_audio lacks a __initconst annotation or the annotation of imx6_imx_ssi_data is wrong. Signed-off-by: Jason Liu <r64343@freescale.com>
2012-03-27ENGR00178118-1 fix some build warnings when using GCC 4.6.2Jason Liu
fix some build warnings when using GCC 4.6.2: drivers/cpufreq/cpufreq_interactive.c:127:6: warning:'irq_count' may be used uninitialized in this function [-Wuninitialized] drivers/media/video/mxc/output/mxc_vout.c:1346:5: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] drivers/video/mxc/mxc_ipuv3_fb.c:1329:23: warning: operation on 'mxc_fbi->cur_ipu_buf' may be undefined [-Wsequence-point] drivers/video/mxc/mxc_ipuv3_fb.c:1376:24: warning: operation on 'mxc_fbi->cur_ipu_buf' may be undefined [-Wsequence-point] drivers/video/mxc/mxc_ipuv3_fb.c:1377:24: warning: operation on 'mxc_fbi->cur_ipu_buf' may be undefined [-Wsequence-point] Signed-off-by: Jason Liu <r64343@freescale.com>
2012-03-27ENGR00177058 mx6 sabreauto: enable tvin functionTony Lin
set different gpr register due to mx6q or mx6dl Signed-off-by: Tony Lin <tony.lin@freescale.com>
2012-03-27ENGR00178061 mx6 sabresd:fix GPIO warning when board boot upmake shi
Need add gpio_request before use gpio_direction_output Signed-off-by: make shi <b15407@freescale.com>
2012-03-27ENGR00178031 IPUv3 FB:Fix a typo in a kernel logLiu Ying
This patch fixes a typo in a kernel log. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
2012-03-27ENGR00177983 mx6solo sabreauto: set hdmi display id before register deviceLily Zhang
- Set the display ID of HDMI before registering HDMI device. HDMI is verified on RevA board - Consolidate the codes about display devices Signed-off-by: Lily Zhang <r58066@freescale.com>
2012-03-26ENGR00177856 Accelerometer support for ARDAlejandro Sierra
Accelerometer support for ARD RevA and RevB. Signed-off-by: Alejandro Sierra <b18039@freescale.com>
2012-03-26ENGR00177944 v4l2 capture: enable mclk and power up when open cameraYuxi Sun
Set mclk enable and power up camera when open camera, and disable mclk, powerdown camera when close. Signed-off-by: Yuxi Sun <b36102@freescale.com>
2012-03-26ENGR00177643: Add mlb initial code to mx6 ard boardTerry Lv
Add mlb initial code to mx6 ard board. Signed-off-by: Terry Lv <r65388@freescale.com>
2012-03-26ENGR00177884-2 mx6q sabresd: config USB pin according to boardmake shi
Add ENET_RX_ER__ANATOP_USBOTG_ID iomux setting in head file. Signed-off-by: make shi <b15407@freescale.com>
2012-03-26ENGR00177884-1 mx6q sabresd: config USB pin according to boardmake shi
- Configure USB pin and power control for mx6q sd board - keep USB host1 VBUS always on for mx6q sd board - set default USB OTG VBUS off for solo ARD board Signed-off-by: make shi <b15407@freescale.com>
2012-03-26ENGR00177787 mx6 sabreauto: add light sensor isl29023 supportLily Zhang
Add light sensor isl29023 support Signed-off-by: Lily Zhang <r58066@freescale.com>
2012-03-26ENGR00177589 USB: fix two USB common bug for i.MX6Peter Chen
- Without host wakeup enable, after doing system suspend/resume, plug in usb cable(both host/device) with no response, the reason is usb wakeup is not enable after suspend resume. - clock refcount will not be 0 after usb enters low power mode,the reason is OTG ID wake up not do recover hcd. Signed-off-by: Peter Chen <peter.chen@freescale.com>
2012-03-26ENGR00176177-3 Enable interactive governor by defaultAnson Huang
Set interactive governor as default governor. Signed-off-by: Anson Huang <b20788@freescale.com>
2012-03-26ENGR00176177-2 Add irq count mechanism to interactive governorAnson Huang
Add irq count to CPUFreq as a freq change condition. Because some devices' working mode is unable to issue CPUFreq change because of low CPU loading, but the cpu freq will impact these devices' performace significantly. Interactive govervor will sample the cpu loading as well as the irq count which is registered. If the loading or the irq count exceed the threshold we set, governor will issue an CPUFreq change request. These devices' irq threshold and enable/disable can be modified via /sys/devices/system/cpu/cpufreq/interactive/irq_scaling echo 0xAABBBC to change the default setting as below AA : irq number BBB: threshold C :enable or disable Currently only enable USDHC3, USDHC4, GPU, SATA and USB by default, we can add device to the init struct which is located in arch/arm/mach-mx6/irq.c. Signed-off-by: Anson Huang <b20788@freescale.com>
2012-03-26ENGR00176177-1 Add irq count mechanism to interactive governorAnson Huang
Add irq count to CPUFreq as a freq change condition. Because some devices' working mode is unable to issue CPUFreq change because of low CPU loading, but the cpu freq will impact these devices' performace significantly. Interactive govervor will sample the cpu loading as well as the irq count which is registered. If the loading or the irq count exceed the threshold we set, governor will issue an CPUFreq change request. These devices' irq threshold and enable/disable can be modified via /sys/devices/system/cpu/cpufreq/interactive/irq_scaling echo 0xAABBBC to change the default setting as below AA : irq number BBB: threshold C :enable or disable Currently only enable USDHC3, USDHC4, GPU, SATA and USB by default, we can add device to the init struct which is located in arch/arm/mach-mx6/irq.c. Signed-off-by: Anson Huang <b20788@freescale.com>
2012-03-26ENGR00177745-2 Add interactive cpufreq governorAnson Huang
cpufreq: interactive: New 'interactive' governor This governor is designed for latency-sensitive workloads, such as interactive user interfaces. The interactive governor aims to be significantly more responsive to ramp CPU quickly up when CPU-intensive activity begins. Existing governors sample CPU load at a particular rate, typically every X ms. This can lead to under-powering UI threads for the period of time during which the user begins interacting with a previously-idle system until the next sample period happens. The 'interactive' governor uses a different approach. Instead of sampling the CPU at a specified rate, the governor will check whether to scale the CPU frequency up soon after coming out of idle. When the CPU comes out of idle, a timer is configured to fire within 1-2 ticks. If the CPU is very busy from exiting idle to when the timer fires then we assume the CPU is underpowered and ramp to MAX speed. If the CPU was not sufficiently busy to immediately ramp to MAX speed, then the governor evaluates the CPU load since the last speed adjustment, choosing the highest value between that longer-term load or the short-term load since idle exit to determine the CPU speed to ramp to. A realtime thread is used for scaling up, giving the remaining tasks the CPU performance benefit, unlike existing governors which are more likely to schedule rampup work to occur after your performance starved tasks have completed. The tuneables for this governor are: /sys/devices/system/cpu/cpufreq/interactive/min_sample_time: The minimum amount of time to spend at the current frequency before ramping down. This is to ensure that the governor has seen enough historic CPU load data to determine the appropriate workload. /sys/devices/system/cpu/cpufreq/interactive/go_maxspeed_load The CPU load at which to ramp to max speed. Signed-off-by: Anson Huang <b20788@freescale.com>
2012-03-26ENGR00177745-1 Add interactive cpufreq governorAnson Huang
cpufreq: interactive: New 'interactive' governor This governor is designed for latency-sensitive workloads, such as interactive user interfaces. The interactive governor aims to be significantly more responsive to ramp CPU quickly up when CPU-intensive activity begins. Existing governors sample CPU load at a particular rate, typically every X ms. This can lead to under-powering UI threads for the period of time during which the user begins interacting with a previously-idle system until the next sample period happens. The 'interactive' governor uses a different approach. Instead of sampling the CPU at a specified rate, the governor will check whether to scale the CPU frequency up soon after coming out of idle. When the CPU comes out of idle, a timer is configured to fire within 1-2 ticks. If the CPU is very busy from exiting idle to when the timer fires then we assume the CPU is underpowered and ramp to MAX speed. If the CPU was not sufficiently busy to immediately ramp to MAX speed, then the governor evaluates the CPU load since the last speed adjustment, choosing the highest value between that longer-term load or the short-term load since idle exit to determine the CPU speed to ramp to. A realtime thread is used for scaling up, giving the remaining tasks the CPU performance benefit, unlike existing governors which are more likely to schedule rampup work to occur after your performance starved tasks have completed. The tuneables for this governor are: /sys/devices/system/cpu/cpufreq/interactive/min_sample_time: The minimum amount of time to spend at the current frequency before ramping down. This is to ensure that the governor has seen enough historic CPU load data to determine the appropriate workload. /sys/devices/system/cpu/cpufreq/interactive/go_maxspeed_load The CPU load at which to ramp to max speed. Signed-off-by: Anson Huang <b20788@freescale.com>
2012-03-26ENGR00177757 Fix suspend/resume issue when enable localtimerAnson Huang
Need to disable localtimer's PPI when suspend, or ARM core will run into exception when resume. Signed-off-by: Anson Huang <b20788@freescale.com>
2012-03-24ENGR00177748 pfuze100 mx6q_sabreSD: keep VGEN4 and VGEN5 always onRobin Gong
To enable regulator_has_full_constraints when kernel boot, some regulator be kept on always, from SabreSD schematic, VGEN4 and VGEN5 of pfuze100 should be on forever. Signed-off-by: Robin Gong <B38343@freescale.com>
2012-03-23ENGR00177851 HDMI fix hotpug race conditionAlan Tull
hotplug_worker can't assume that the iahb_clk is enabled if the irq_enabled flag is set. Signed-off-by: Alan Tull <r80115@freescale.com>
2012-03-23ENGR00177716 i.mx Sabreauto : SD Card on Mainboard initialisation and read errorPrabhu Sundararaj
SD Card in main board takes a long route hence with Drive Speed High 80 OHMS causing error. Per suggestion DSE 40 OHMS is used. Signed-off-by: Prabhu Sundararaj <b36876@freescale.com>
2012-03-23ENGR00177780 mx6dl sabresd: add USB support for RevB boardLily Zhang
- Configure USB_OTG_PWR_EN PIN as GPIO - Configure GPR1 bit 13 to select "usb_otg_id" as ENET_RX_ER - To make USBOTG work on RevB board, HW rework is required. Signed-off-by: Lily Zhang <r58066@freescale.com> Signed-off-by: Tony LIU <junjie.liu@freescale.com>
2012-03-23ENGR00177737-2: add HDMI sii902x support in mx6q-arm2Hake Huang
test with video=mxcfb0:dev=sii902x_hdmi,1024x768M@60,if=RGB24 disable_mipi_dsi Note: 1. currently we use the same ipu setting port with on chip HDMI, if we need coexist need change the on chip HDMI ipu settings. 2. need remove MIPI DSI initial with 'disable_mipi_dsi' in kernel command line, as mipi dsi reset will reset on board sii902x as well. 3. change the I2C2 work at 100K not 400K, to be compatible with EDID spec. 4. the side effect is that Sii902x will have to use "sii902x_hdmi", instead of "hdmi" as before Signed-off-by: Hake Huang <b20222@freescale.com>
2012-03-23ENGR00177737-1 change the drv name to sii902x_hdmiHake Huang
so that system can use 2 type of HDMI device driver sii902x and on chip one Signed-off-by: Hake Huang <b20222@freescale.com>
2012-03-23ENGR00177581-3 WM8962: add wm8962 codec driverGary Zhang
add wm8962 audio codec driver Signed-off-by: Gary Zhang <b13634@freescale.com>
2012-03-23ENGR00177581-2 MX6_SABRESD: add wm8962 supportGary Zhang
add wm8962 codec support on sabresd revB Signed-off-by: Gary Zhang <b13634@freescale.com>
2012-03-23ENGR00177581-1 MX6: add wm8962 in defconfigGary Zhang
add wm8962 codec option in imx6_defconfig file Signed-off-by: Gary Zhang <b13634@freescale.com>
2012-03-22mxc: hdmi: fix potention deadlock issueJason Chen
Signed-off-by: Jason Chen <jason.chen@linaro.org>
2012-03-22ENGR00177310-4 i.mx6 sabresd: change fb_data sequenceLily Zhang
i.mx6dl only support one single IPU, up to 2 displays. change fb_data sequence for i.mx6dl support. The following command options can be used for the display tests on i.mx6dl sabresd boards. - HDMI: video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24 - LVDS0: None or ldb=sin0, ldb=sep0 - LVDS1: ldb=sep1 - SEIKO-WVGA: video=mxcfb0:dev=lcd,SEIKO-WVGA,if=RGB24 - CLAA-WVGA: video=mxcfb0:dev=lcd,CLAA-WVGA,if=RGB565 - HDMI + LVDS0: video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24 ldb=sin0 (or ldb=sep0) echo 0 > /sys/class/graphics/fb2/blank - HDMI + LVDS1: video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24 ldb=sep1 (sin1 is not supported) echo 0 > /sys/class/graphics/fb2/blank - LVDS0 + LVDS1: none echo 0 > /sys/class/graphics/fb2/blank Signed-off-by: Lily Zhang <r58066@freescale.com>
2012-03-22ENGR00177310-3 v4l2 capture: enable mclk when open functionLily Zhang
Enable mclk when opening v4l2 capture device and disable mclk when closing v4l2 capture device. If mclk is disabled when operating MIPI camera, the test is failed. Signed-off-by: Lily Zhang <r58066@freescale.com>
2012-03-22ENGR00177310-2 mx6 clock: change _clk_clko_round_rateLily Zhang
Change _clk_clko_round_rate and ensure the clock should be less than the input rate. Signed-off-by: Lily Zhang <r58066@freescale.com>
2012-03-22ENGR00177310-1 i.mx6dl sabresd: add camera supportLily Zhang
Add camera support into i.mx6dl sabreasd board. Signed-off-by: Lily Zhang <r58066@freescale.com>
2012-03-21ENGR00177359 - EPDC fb: Add EPDC support to SabreSD boardDanny Nold
- Change EPDC pad groups to have one for EPDC enable and one for EPDC disable. - Add EPDC and Maxim 17135 structures and functions to SabreSD board file. Code pulled in with minimal change from ARM2 board file. One exception: Had to remove regulator_has_full_constraints() from max17135_regulator_init() to prevent PFUZE from disabling regulators and removing power from the board at the end of kernel initialization. Signed-off-by: Danny Nold <dannynold@freescale.com>
2012-03-21ENGR00177098 HMDI mmap support in isr could underflowAlan Tull
Take out mmap functionality. Signed-off-by: Alan Tull <r80115@freescale.com>
2012-03-21ENGR00177048 Merge vivante 4.6.6 kernel part codeLoren Huang
Merge vivante 4.6.6 kernel part code Signed-off-by: Loren Huang <b02279@freescale.com> Acked-by: Lily Zhang
2012-03-21ENGR00171874 fix ASRC noise bug for i.MX6Chen Liangjun
Solve the ASRC noise: 1 change the DMA mode from normal mode to loop mode. 2 use dma_alloc_coherent alloc dma buffer instead of kzalloc. Signed-off-by: Chen Liangjun <b36089@freescale.com>
2012-03-21ENGR00176299-4 usb host suspend/resume can't work randomlyTony LIU
driver part Signed-off-by: Tony LIU <junjie.liu@freescale.com>
2012-03-21ENGR00176299-3 usb host suspend/resume can't work randomlyTony LIU
head file part Signed-off-by: Tony LIU <junjie.liu@freescale.com>
2012-03-21ENGR00176299-2 usb host suspend/resume can't work randomlyTony LIU
usb core part Signed-off-by: Tony LIU <junjie.liu@freescale.com>
2012-03-21ENGR00176299-1 usb host suspend/resume can't work randomlyTony LIU
MSL part - after suspend bit is set, we need to set PWD bit and clear it right now to let PHY know the state change - after suspend bit is set, disconnect detection should be clear - after set resume bit, disconnect detection should be set after 30 ms - IC issue PDM refer to TKT092876 TKT092872 Signed-off-by: Tony LIU <junjie.liu@freescale.com>
2012-03-20ENGR00177083-6 i.mx6: sabresd: change gpio configurationLily Zhang
- add gpio configuration according to revB schematic - reorder gpio configuration by gpio group Signed-off-by: Lily Zhang <r58066@freescale.com>
2012-03-20ENGR00177083-5 i.mx6: sabresd: add initial i.mx6dl supportLily Zhang
This patch adds the initial i.mx6dl support for sabre smart device board. i.mx6dl and i.mx6q share the same board due to pin to pin compatible. Signed-off-by: Lily Zhang <r58066@freescale.com>
2012-03-20ENGR00177083-4 i.mx6: sabresd: add i.mx6dl pad tableLily Zhang
Add i.mx6dl pad table Signed-off-by: Robby Cai <R63905@freescale.com> Signed-off-by: Fugang Duan <B38611@freescale.com> Signed-off-by: Lily Zhang <r58066@freescale.com>