- 29 Aug, 2012 3 commits
-
-
Chen Liangjun authored
In this patch, add support for: 1. Interface for HDMI audio to register PCM into HDMI core driver. 2. Interface for HDMI video driver to stop HDMI audio 3. Interface for HDMI video driver to inform the state of HDMI cable and state of HDMI blank. Signed-off-by:
Chen Liangjun <b36089@freescale.com>
-
Anson Huang authored
We can't modify the usecount of pfd 400M clock when ARM freq is changed, as when the children of pfd 400M do clock enable/disable, they will also modify this usecount, these two modification is out of same lock protection. And this wrong usecount may lead to pfd 400M or pll2 disabled accidently, and it will cause system hang! Signed-off-by:
Anson Huang <b20788@freescale.com>
-
Anson Huang authored
1. Adjust ARM/SOC/PU voltage according to latest datasheet; 2. Remove Rigel's 200M setpoint to align with Arik. Signed-off-by:
Anson Huang <b20788@freescale.com>
-
- 28 Aug, 2012 3 commits
-
-
Alejandro Sierra authored
Fix clock frequency configuration on SSI interface for the Tuner driver. Signed-off-by:
Alejandro Sierra <b18039@freescale.com>
-
Gary Zhang authored
add 100ms wait time after enable power supply for power stability Signed-off-by:
Gary Zhang <b13634@freescale.com>
-
Robin Gong authored
The function has been implement in LDO enable , but not in LDO bypass. Implement it on mx6sl. Signed-off-by:
Robin Gong <B38343@freescale.com>
-
- 27 Aug, 2012 6 commits
-
-
Liu Ying authored
This patch sets PLL3_PFD_540M clock frequency to 540MHz so that IPU and VPU clock can reach 270MHz. Signed-off-by:
Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit faf59e846f03b37c65996e58d045de8d64481283)
-
Rong Dian authored
add sys_close() to close opened file in cooling device Signed-off-by:
Rong Dian <b38775@freescale.com>
-
Loren HUANG authored
-Update gpu driver to check the SoC temperature, if the thermal_hot flag is set by thermal driver. GPU3D clock will be slown down to the minimum value, the clock will be recovery when the flag is cleared by thermal driver. -This patch depends on ENGR00220848, without it, kernel build can't pass. Signed-off-by:
Loren HUANG <b02279@freescale.com> Acked-by: Lily Zhang
-
Rong Dian authored
clear thermal hot variable in cooling device when thermal temperature falls then to get out of THERMAL_TRIP_HOT state Signed-off-by:
Rong Dian <b38775@freescale.com>
-
Sandor Yu authored
Bootup Android without HDMI cable plugin, then plugin HDMI cable, video mode in /sys/class/graphics/fb0/mode not same as actually HDMI work video mode. The root cause is in video mode point to one of video mode in original video modelist, but the modelist will be updated when HDMI cable plug to new monitor. If HDMI original worked video mode can work on new monitor, the HDMI and framebuffer will not updated, so HDMI actually work mode not same as /sys/class/graphics/fb0/mode Updated fbi mode pointer even if video mode no changed in case moselist is updated, the issue will fixed. Signed-off-by:
Sandor Yu <R01008@freescale.com>
-
Yuxi Sun authored
return error number when set camera change mode fail, if not the driver may continue to setup the video processing with wrong parameter. Signed-off-by:
Yuxi Sun <b36102@freescale.com>
-
- 26 Aug, 2012 3 commits
-
-
Ranjani Vaidyanathan authored
Set DDR to 50MHz in low power audio playback. AHB/AXI are at 24MHz. Also fix correct usecount for PLL1 main clock. If not it causes issues when pll1_sw_clk's parent is changed. Signed-off-by:
Ranjani Vaidyanathan <ra5478@freescale.com>
-
Ranjani Vaidyanathan authored
Checking of the bus_freq variables and changing of the bus/ddr frequency should be done under one mutex. Else there is a race-condition that the variable changed just after it was checked. Also ensure that the bus freq is always increased before the cpu freq is set to anything other than the lowest setpoint. Else there is a possibility that the ARM is set to run from PLL1 at higher frequency when bus/DDR are still at 24MHz. This is dangerous since when system enters WAIT mode in low bus freq state, PLL1 is set to bypass when ARM is being sourced from it. Signed-off-by:
Ranjani Vaidyanathan <ra5478@freescale.com>
-
Ranjani Vaidyanathan authored
Add a new working point table to MX6SL and set the voltages according to the latest datasheet. Signed-off-by:
Ranjani Vaidyanathan <ra5478@freescale.com>
-
- 24 Aug, 2012 12 commits
-
-
Robby Cai authored
Add platform device for V4L2 support Signed-off-by:
Robby Cai <R63905@freescale.com>
-
Robby Cai authored
Add V4L2 support -- driver part. Signed-off-by:
Robby Cai <R63905@freescale.com>
-
Robby Cai authored
Set correct PITCH (aka, stride) for AS, PS, Output buffer. This is needed for V4L2. Signed-off-by:
Robby Cai <R63905@freescale.com>
-
Chen Liangjun authored
CS42888 driver own 2 codec_dai for ESAI and ASRC P2P use. Due to the delay power down mechanism, if a ASRC P2P stream is played right after a finish of ESAI stream playback, ASRC P2P stream would be stop. In this patch, do nothing in the delay powerdown flow if CS42888 codec is on. Signed-off-by:
Chen Liangjun <b36089@freescale.com>
-
Wayne Zou authored
Replace BUG macro with error message Signed-off-by:
Wayne Zou <b36644@freescale.com>
-
Wayne Zou authored
Avoid release resource twice when timeout happen. Signed-off-by:
Wayne Zou <b36644@freescale.com>
-
make shi authored
The Mx6 phy sometimes work abnormally after system suspend/resume if the 1V1 is off. So we should keep the 1V1 active during the system suspend if any USB host enabled. - Add stop_mode_config to 1 with refcount - Add mutex to protect the refcount and HW_ANADIG_ANA_MISC0 register - If stop_mode_config is set as 1, the otg vbus wakeup system will be supported Signed-off-by:
make shi <b15407@freescale.com>
-
make shi authored
MSL headfile part change. Signed-off-by:
make shi <b15407@freescale.com>
-
Ranjani Vaidyanathan authored
Change AXI_CLK to be sourced from PLL3_PFD1_540MHz, so that it can run at 270MHz on MX6DL/S. This is required for improving VPU performance. Change AXI_CLK to be sourced from periph_clk just before the DDR freq is going to be dropped to 24MHz/50MHz. Change it back to PLL3_PFD1_540 when the DDR freq is back at 400MHz. Signed-off-by:
Ranjani Vaidyanathan <ra5478@freescale.com>
-
Chen Liangjun authored
ESAI playback and ASRC P2P playback use difference codec_dai while using the same codec. Thus they can't work together. In this patch, add mutual protection between ESAI playback and ASRC P2P playback. Signed-off-by:
Chen Liangjun <b36089@freescale.com>
-
Nancy Chen authored
[MX6X] Fix BogoMIPS value is not correct Signed-off-by:
Nancy Chen <Nancy.Chen@freescale.com>
-
Peter Chen authored
At pc sends suspend/resume case, the udc_controller->usb_state should keep unchange during the suspend/resume process, at former code, the fsl_udc_resume set udc_controller->usb_state to USB_STATE_ATTACHED unconditionally. In fact, USB_STATE_ATTACHED stands for initial state and should be set when we try to run controller. Signed-off-by:
Peter Chen <peter.chen@freescale.com>
-
- 23 Aug, 2012 6 commits
-
-
Robby Cai authored
mma8450q on E-INK DC3 boards, with i2c address 0x1c on I2C1. Signed-off-by:
Robby Cai <R63905@freescale.com>
-
Gary Zhang authored
config audio pads to avoid pop-noise Signed-off-by:
Gary Zhang <b13634@freescale.com>
-
Ryan QIAN authored
- invalid data preparation is a reasonable path, so no need to set to WARNING level, change it to DEBUG level. Signed-off-by:
Ryan QIAN <b32804@freescale.com>
-
Robin Gong authored
Increase VPU frequency to 352Mhz for TV box, use pll2_pfd_400M.To avoid impact other code which assume ARM clock sourcing from pll2_pfd_400M, change cpu setpoint of 396M to 352M. and disable bus freq adjust. add CONFIG_MX6_VPU_352M to choose it, default is disabled. Signed-off-by:
Robin Gong <B38343@freescale.com>
-
Robin Gong authored
Increase VPU frequency to 352Mhz for TV box, use pll2_pfd_400M.To avoid impact other code which assume ARM clock sourcing from pll2_pfd_400M, change cpu setpoint of 396M to 352M. and disable bus freq adjust. add CONFIG_MX6_VPU_352M to choose it, default is disabled. Signed-off-by:
Robin Gong <B38343@freescale.com>
-
Peter Chen authored
Move spin_unlock_irqrestore to avoid calling mutex at atomic environment, as dr_wake_up_enable will call mutex_lock Signed-off-by:
Peter Chen <peter.chen@freescale.com>
-
- 22 Aug, 2012 7 commits
-
-
Nancy Chen authored
[MX6SL]MMDC: DDR Controller's measure unit may return an incorrect value when operating below 100 MHz Signed-off-by:
Nancy Chen <Nancy.Chen@freescale.com>
-
Sandor Yu authored
In suspend/resume and HDMI plugin/plugout stress test, sometimes fbcon will call fb_set_par with parameter fb_var_screeninfo that xres anfd yres is zero. MX frame buffer driver can not correct handle this casue, it will cause IPU pixel clock gating/ungating mismatch. Check fb_var_screeninfo parameter in mxcfb_check_var and mxcfb_set_par function, returned if xres,yres zero. Signed-off-by:
Sandor Yu <R01008@freescale.com>
-
Ranjani Vaidyanathan authored
When ARM enters WFI in low power IDLE state, float the DDR IO pins to drop the power on the VDDHIGH rail. Need to run WFI code from IRAM since DDR needs to be put into self-refresh before changing the IO pins. Drop AHB to 8MHz and DDR to 1MHz when ARM is in WFI when in IDLE state. Set IPG_PERCLK to run at 3MHz, since we want to maintain a 1:2.5 ratio between PERCLK to AHB_CLK. Signed-off-by:
Ranjani Vaidyanathan <ra5478@freescale.com>
-
Wayne Zou authored
IPU: Clean up dead code Signed-off-by:
Wayne Zou <b36644@freescale.com>
-
Ryan QIAN authored
Test Env: 1. MX6DL SabreSD board. 2. On board eMMC (Sandisk: SDIN5C2-8G) running at 8-bit DDR @ 52MHz. 3. Test commands: 3.1 Writing command: # dd if=/dev/zero of=/dev/mmcblk0 bs=1M count=100 conv=fsync 3.2 Reading command: # echo 1 > /proc/sys/vm/drop_caches # echo 1 > /proc/sys/vm/drop_caches # sleep 1 # dd if=/dev/mmcblk0 of=/dev/null bs=1M count=100 Performance result with this patch: ------------------------------------------------------- | CPU freq | SDMA (512KB) | SDMA (64KB) | ADMA | |----------+--------------+-------------+-------------| | 1Ghz | ~11MB/s (w) | ~5MB/s (w) | ~11MB/s (w) | | | ~25MB/s (r) | ~25MB/s (r) | ~23MB/s (r) | |----------+--------------+-------------+-------------| | 200Mhz | ~8MB/s (w) | ~5MB/s (w) | ~9MB/s (w) | | | ~16MB/s (r) | ~20MB/s (r) | ~13MB/s (r) | ------------------------------------------------------- Performance result without this patch: ------------------------------------------------------- | CPU freq | SDMA (512KB) | SDMA (64KB) | ADMA | |----------+--------------+-------------+-------------| | 1Ghz | ~10MB/s (w) | ~5MB/s (w) | ~10MB/s (w) | | | ~22MB/s (r) | ~23MB/s (r) | ~22MB/s (r) | |----------+--------------+-------------+-------------| | 200Mhz | ~8MB/s (w) | ~4MB/s (w) | ~8MB/s (w) | | | ~13MB/s (r) | ~16MB/s (r) | ~11MB/s (r) | ------------------------------------------------------- Signed-off-by:
Ryan QIAN <b32804@freescale.com>
-
Ryan QIAN authored
- set bounce buffer to 512KB from 64K, which is hw max seg size for fsl sd host controller - by enlarging the size of bounce buffer, it will reduce the number of irq on writing by merging small requests into a large one, which will improve writing throughput. - the side effect is that the reading throughput of 512KB bounce buffer is lower than the one of 64KB bounce buffer, when cpu freq is at 200Mhz. Test Env: 1. MX6DL SabreSD board 2. On board eMMC (Sandisk: SDIN5C2-8G) running at 8-bit DDR @ 52Mhz 3. Test commands: 3.1 Writing test command: # dd if=/dev/zero of=/dev/mmcblk0 bs=1M count=100 conv=fsync 3.2 Reading test command: # echo 1 > /proc/sys/vm/drop_caches # echo 1 > /proc/sys/vm/drop_caches # sleep 1 # dd if=/dev/mmcblk0 of=/dev/null bs=1M count=100 Performance result: ------------------------------------------------------- | CPU freq | SDMA (512KB) | SDMA (64KB) | ADMA | |----------+--------------+-------------+-------------| | 1Ghz | ~10MB/s (w) | ~5MB/s (w) | ~10MB/s (w) | | | ~22MB/s (r) | ~23MB/s (r) | ~22MB/s (r) | |----------+--------------+-------------+-------------| | 200Mhz | ~8MB/s (w) | ~4MB/s (w) | ~8MB/s (w) | | | ~13MB/s (r) | ~16MB/s (r) | ~11MB/s (r) | ------------------------------------------------------- Signed-off-by:
Ryan QIAN <b32804@freescale.com>
-
Liu Ying authored
This patch changes to use original sync mechanism for eof irq, which may improve pan-display or alpha buffer update performance. 1) Initialize flip_completion and alpha_flip_completion only once when fb is initialized instead of initializing it every time when pan display is called. 2) Clear and enable eof irq after selecting buffer ready. In this way, we have no chance to lose an interrupt, as selecting a new buffer ready doesn't make the eof irq come(from the newly selected buffer) before we clear the irq status and enable the irq. Otherwise, if we clear the irq status and enable the irq before we doing down in pan-display or alpha buffer update, we have chance(users call pan-display or alpha buffer update faster than vsync frequency and blocks at down()) to clear an unhandled irq, which may cause performance issue. Signed-off-by:
Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit 67c2bd5edef363412a074e9b4130b5207dac8a7f)
-