- 25 Jul, 2012 3 commits
-
-
Liu Ying authored
This patch refines OV csi camera reset sequence according to OV's recommendation: reset --------------------|_____|---------------- ->| 1ms |<- pwdn ----------|_________________________|------ ->| 5ms |<- ->| 5ms |<- ->| 5ms |<- Signed-off-by:
Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit b4d3898a01c232b2525637fa1bb443f8b6208d0e)
-
Liu Ying authored
This patch refines OV mipi camera reset sequence according to OV's recommendation: reset --------------------|_____|---------------- ->| 1ms |<- pwdn ----------|_________________________|------ ->| 5ms |<- ->| 5ms |<- ->| 5ms |<- This change makes the OV mipi camera be at a correct status after reset, otherwise, the wrong status of OV mipi camera will reduce the ~2.78V analog camera power to ~2.3V, which causes random thin colorful lines on OV5642 CSI camera image as OV5642 CSI camera uses the same analog power. Signed-off-by:
Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit 9e78895d8856651b769908e63d4ebc514314eeaa)
-
Frank Li authored
Fix perfmon:no mxs-perfmon.0 directory after inserting mxs-perfmon.ko. Signed-off-by:
Frank Li <Frank.Li@freescale.com>
-
- 20 Jul, 2012 37 commits
-
-
Sandor Yu authored
Added enable_pins/disable_pins functions for Mx6q/dl sabresd HDMI. Added HDMI DDC IOMUX setting. Signed-off-by:
Sandor Yu <R01008@freescale.com>
-
Terry Lv authored
Enable caam ahash feature in config. Add caam init to other 6q platforms. Signed-off-by:
Terry Lv <r65388@freescale.com>
-
Liu Ying authored
This patch corrects camera mclk and audio mclk frequency to be 24MHz to align with 24MHz osc clock. Signed-off-by:
Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit 00ea48ba38940c3a908f9a5d2e72ae285a221329)
-
Liu Ying authored
On MX6 SabreSD board, gpio_0 is muxed to clko to be audio mclk and camera mclk. 24MHz osc clk is a stable clock source, which can meet the requirement of audio mclk and camera mclk. This patch sets clko parent clock to be clko2 clock so that camera mclk and audio mclk can source from osc clk. There are 2 benifits after applying this patch: 1) clko's original parent clock(pll4_audio_main_clk) can be gated off to save power or used by another module. 2) ov5640/ov5642 camera most settings can reach claimed 15fps or 30fps with no human eye recognizable video quality downgrade. Signed-off-by:
Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit ace3723ceff0d546e0176f74ad38d58a6d11b7ee)
-
Richard Zhu authored
* enable PCIe on ARD boards * Configure the DEEM parameters to pass PCIe GEN2 stress tests Signed-off-by:
Richard Zhu <Hong-Xing.Zhu@freescale.com>
-
Eric Sun authored
Register PMU resources during system bootup, so that "Perf" Command can be used to get misc performance data of a running program The "Perf" Exe should be built manually in "./tools/perf" using the following command line > make CROSS_COMPILER=... ARCH=arm CFLAGS="-static -DGElf_Nhdr=Elf32_Nhdr" then copy the "Perf" executable to rootfs/bin Usage : perf # show help content perf list # show all available statistics options perf stat ls # show all statistics of a "ls" command perf stat -e cycles tar cvfz bin.tgz /bin # show "cycles" statistics of command # "tar cvfz ...." MX6 Series Chips bound all CPUs PERFMON IRQ to one, this may cause some problems when get per-CPU statistics. Need further investigation Signed-off-by:
Eric Sun <jian.sun@freescale.com>
-
Huang Shijie authored
The default .config defines the GPU as a module: "CONFIG_MXC_GPU_VIV=m" In this case, we actually can not find the CONFIG_MXC_GPU_VIV. We should find CONFIG_MXC_GPU_VIV_MODULE instead. Signed-off-by:
Huang Shijie <b32955@freescale.com>
-
Rong Dian authored
If miss to configure IRQ for max11801, the max11801 driver fails to probe and returns error,sabresd battery driver also fails to sample voltage by max11801 ADC. Signed-off-by:
Rong Dian <b38775@freescale.com>
-
Gary Zhang authored
operate WM8962 MCLK by callback Signed-off-by:
Gary Zhang <b13634@freescale.com>
-
Wu Guoxing authored
dual camera support for mx6q and mx6dl: 1. let mipi and parallel camera working on different csi 2. the two camera can work independently and synchronously 3. the two camera will be registered and different video device(/dev/video0, /dev/video1) 4. when both camera are working, the can not use the same ipu channel, that is, when camera one using PRP_ENC_MEM or PRP_VF_MEM channel, the other one can only use CSI_MEM this is the arch part changes. Signed-off-by:
Wu Guoxing <b39297@freescale.com>
-
Ranjani Vaidyanathan authored
To avoid the ARM from accepting an interrupt in the dangerous window, reduce the ARM core freq just before the sytem is about to enter WAIT state. Reduce the ARM freq so as to maintain 12:5 ARM_CLK to IPG ratio. Use the ARM_PODF to drop the frequency. In a multicore case the frequency is dropped only when all the 4 cores are going to be in WFI. In case of single core environment, its easy to drop the ARM core freq just before WFI since there is no need to identify the state of the other cores. Some other points to note: 1. If "mem_clk_on" is added to the command line, the memory clocks will not be gated in WAIT mode. This will increase the system IDLE power. This mode is valid only on MX6sl, MX6DQ TO1.2 and MX6DL TO1.1. 2. In case the IPG clk is too low (for ex 50MHz) and ARM is at 1GHz, we cannot match the 12:5 ratio using ARM_PODF only. In this case, donot clock gate the memories in WAIT mode (available on MX6SL, MXDQ TO1.2 and MXDL TO1.1). For MXDQ TO1.1 and MX6DL TO1.0, disable system wide WAIT entry in this case. In STOP mode, always ensure that the memory clocks are gated, else power impact will be significant. WAIT mode is enabled by default with this commit. Signed-off-by:
Ranjani Vaidyanathan <ra5478@freescale.com>
-
B38613 authored
1.add MMC_PM_WAKE_SDIO_IRQ capability, it should be used together with MMC_PM_KEEP_POWER although not support SDIO wakeup in function. 2.add MMC_CAP_NONREMOVABLE to describe imx6's three sdhc devices's removable feature.Now emmc is permanent,sdio and sd is removable instead of all default were permanent before. According to this feature, detimine whether reinit card or not in resume. Signed-off-by:
B38613 <B38613@freescale.com>
-
Huang Shijie authored
The current code will reserve 128M for GPU even when it is not enabled. It is not needed. So do not reserve the memory when the GPU is not enabled. (this can save 128M for Mfgtool.) Signed-off-by:
Huang Shijie <b32955@freescale.com>
-
Xinyu Chen authored
Add PCIE 3V3 power up/down routing if we do not have pcie driver selected. And power up 3V3 in board init. As the reset function of the hw board cannot reset the modem power. So on kernel boot up, we must make sure the 3g modem is reset correctly by gpio reset. Signed-off-by:
guoyin.chen <guoyin.chen@freescale.com> Signed-off-by:
Xinyu Chen <xinyu.chen@freescale.com>
-
Xinyu Chen authored
The LVDS display direction should be aligned with camera sensor. So we rotate it with 180 degree. Signed-off-by:
Xinyu Chen <xinyu.chen@freescale.com>
-
Robin Gong authored
VDDCORE output directly from pfuze not internal anatop regulator,VDDCORE can be adjust by pfuze regulator with deifferent cpu frequency, these patch should be used with u-boot related patch, because LDO bypass is set on u-boot. u-boot and kernel can be configured by CONFIG_MX6_INTER_LDO_BYPASS, by default it is disabled, can be used on RevC. These code is put in arch/arm. Signed-off-by:
Robin Gong <B38343@freescale.com>
-
Rong Dian authored
move max8903 interrupt pin config from board-mx6q_sabresd.c into sabresd_battery driver on SABRESD_rev.B board. Signed-off-by:
Rong Dian <b38775@freescale.com>
-
Wayne Zou authored
Add enable_lcd_ldb command line option for dual display with LVDS and WVGA LCD panel together on MX6DL. Signed-off-by:
Wayne Zou <b36644@freescale.com>
-
Wayne Zou authored
Since the ldb clock source is different from mipi display, it doesn't need this option. Signed-off-by:
Wayne Zou <b36644@freescale.com>
-
Rong Dian authored
Configure PINMUX for max8903 driver on SABRESD_rev.B board. Signed-off-by:
Rong Dian <b38775@freescale.com>
-
Robby Cai authored
Configure PINMUX for ELAN driver on MX6DL SABRESD Signed-off-by:
Robby Cai <R63905@freescale.com>
-
Lin Fuzhen authored
Add led-gpio control and trigger for sabresd Signed-off-by:
Lin Fuzhen <fuzhen.lin@freescale.com>
-
Rong Dian authored
Configure PINMUX for max11801 driver on SABRESD_rev.B board. Signed-off-by:
Rong Dian <b38775@freescale.com>
-
Ranjani Vaidyanathan authored
Add support for scaling the bus frequency (both DDR and ahb_clk). The DDR and AHB_CLK are dropped to 24MHz when all devices that need high AHB frequency are disabled and the CORE frequency is at the lowest setpoint. The DDR is dropped to 400MHz for the video playback usecase. In this mode the GPU, FEC, SATA etc are disabled. To scale the bus frequency, its necessary that all cores except the core that is executing the DDR frequency change are in WFE. This is achieved by generating interrupts on un-used interrupts (Int no 139, 144, 145 and 146). Signed-off-by:
Ranjani Vaidyanathan <ra5478@freescale.com>
-
Ranjani Vaidyanathan authored
When system is going to enter WAIT mode, set PLL1 to 24MHz so that ARM is running at 24MHz. This is a SW workaround for the WAIT mode issue. Signed-off-by:
Ranjani Vaidyanathan <ra5478@freescale.com>
-
Wayne Zou authored
Add MIPI DSI Display support on mx6 SabreSD board. MIPI DSI needs pll3_pfd_540M clock source for 540MHz. if using ldb, the pll3_pfd_540M clock will be changed to 454Mhz. So add command line option disable_ldb when using MIPI DSI display. Signed-off-by:
Wayne Zou <b36644@freescale.com>
-
Richard Zhu authored
* Bring up the PCIE on i.MX6 SD board * Add the PCIE PHY access routines * Wrapper the board related codes by register one platform driver and data Signed-off-by:
Richard Zhu <r65037@freescale.com>
-
Wayne Zou authored
Add vdoa support on i.MX6 SOC platform Signed-off-by:
Wayne Zou <b36644@freescale.com>
-
Gary Zhang authored
1. add amic_detect pin 2. add dmic_gpio init Signed-off-by:
Gary Zhang <b13634@freescale.com>
-
Robin Gong authored
On sabresd board, PMIC_ON_REQ control pmic power on/off, we can set TOP and DP_EN of SNVS_LPCR to implement power off by software. On this way,SNVS RTC alarm can work after power off. The description of register can be found on other SNVS block document which provided by IC team, not i.MX6 RM. Signed-off-by:
Robin Gong <B38343@freescale.com>
-
Danny Nold authored
Remove call to regulator_has_full_constraints() from Max17135 EPD PMIC initialization code, since leaving it enabled results in a failure of system to load properly - key regulators are disabled when 'epdc' is added to the kernel command line. Signed-off-by:
Danny Nold <dannynold@freescale.com>
-
Fugang Duan authored
- i.MX6 sabresd board revA and revB adopt Atheros AR8031 phy. Recorrect the fec phy AR8031 rework. Signed-off-by:
Fugang Duan <B38611@freescale.com>
-
Danny Nold authored
SPKVDD regulator was being disabled whenever EPDC was included in the image, because the EPD PMIC initialization code includes an invocation of regulator_has_full_constraints(). This causes all regulators with zero ref count to be disabled as part of a late_initcall. To prevent this disable (which breaks ethernet and DHCP), set regulator to have boot_on attribute, so that it will not be disabled at end of driver loading sequence. Signed-off-by:
Danny Nold <dannynold@freescale.com>
-
Frank Li authored
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>
-
Jason Liu authored
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>
-
make shi authored
Need add gpio_request before use gpio_direction_output Signed-off-by:
make shi <b15407@freescale.com>
-
make shi authored
- 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>
-