aboutsummaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)Author
2011-12-01ENGR00162885 mx6q: sabrelite: add flexcan supporter3Dong Aisheng
Add flexcan support. Signed-off-by: Dong Aisheng <b29396@freescale.com>
2011-12-01ENGR00162478 MX6 Sabre-lite, add ASRC supportMahesh Mahadevan
Add support for ASRC driver in MX6 sabre-lite Signed-off-by: Mahesh Mahadevan <r9aadq@freescale.com> (cherry picked from commit 6fc9c1edb695b2743464efe4375f9ab659a9f6fc)
2011-12-01ENGR00162732 [MX6q] Correct gpu2d clock settingLarry Li
In MX6 gpu2d core clock setting, gpu3d core clock field is misued to set 2d core clock rate. Correct it to use the right clock field Signed-off-by: Larry Li <b20787@freescale.com>
2011-12-01ENGR00162506 mx6q: set a correct clock for asrcDong Aisheng
The ASRC mem to mem mode does not work without this patch. Bacause 1.5Mhz clock rate is not available which will cause clock setting fail, change to 7.5Mhz (the mininum one) to make ASRC work properly. Signed-off-by: Dong Aisheng <b29396@freescale.com>
2011-12-01ENGR00162646 [DVFS]Fix build warningAnson Huang
Fix dvfs_core build warning: arch/arm/plat-mxc/dvfs_core.c:824: warning: 'downthreshold_show' defined but not used arch/arm/plat-mxc/dvfs_core.c:830: warning: 'downthreshold_store' defined but not used arch/arm/plat-mxc/dvfs_core.c:842: warning: 'downcount_show' defined but not used arch/arm/plat-mxc/dvfs_core.c:848: warning: 'downcount_store' defined but not used Signed-off-by: Anson Huang <b20788@freescale.com>
2011-12-01ENGR00162643 [MX6]Decline SOC LDO voltage to make suspend/resume workAnson Huang
Need to decline SOC LDO domain voltage to make 800M ARM2 board work, we can set the SOC power domain to be same as ARM core power domain. Tested on both 1G rework board and 800M origin board. Signed-off-by: Anson Huang <b20788@freescale.com>
2011-12-01ENGR00162612 [Mx6]Change arm core voltage of suspend for 1G cpufreqAnson Huang
Previous setting for ARM core is 1V during suspend, it is working for 800MHz cpu freq, but not enough for 1G cpu freq, actually, we didn't need to change ARM core LDO's setting during suspend, hardware will auto change it. Signed-off-by: Anson Huang <b20788@freescale.com>
2011-12-01ENGR00162583-1 usb msl: avoid class driver access register after usb is offPeter Chen
- An well-behavior class driver should disable their endpoints after being notified disconnect with host, we use all endpoints are stopped (ep->stopped) to indicates the class driver will not visit device driver any more. the ep-stopped will be initialized as 1 for non-control endpoint it will be 0 after fsl_ep_enable, and be 1 after fsl_ep_disable. Where is a non-sleep wait routine at disconnect event for waiting all endpoints are stopped - Some controller's (like i.mx6q) DP will change from J to SE0 slowly after the cable disconnects with host, in that case there will be a wakeup interrupt after driver enables the wakeup interrupt. For i.mx6q, there is a discharge routine for DP after the disconnection. - Should not wait vbus to low during first otg switch, as the wait will be timeout when the usb cable is connecting to host. Signed-off-by: Peter Chen <peter.chen@freescale.com>
2011-12-01ENGR00162319: MX6 - Add support for updated VDDARM voltagesRanjani Vaidyanathan
Set the ARM LDO voltage to 1.225V to run the part at 1GHz. Also updated the rest of the voltages based on the latest available working points. The boards will need to be modified for this change to work correctly. Please ensure that the VDDARM_IN is set to 1.38V (using the potentiometer on the ARM2 board or choosing the correct resistors on the sabrelite boards). Also added command line option (arm_freq=800) to set the max ARM freq. Add: arm_freq=1000 -> to set the max ARM freq to 1GHz arm_freq=800 -> to set the max ARM freq to 800MHz. Default max ARM freq is 1GHz. No other values are currently supported. If your board is not modified, please add the command line "arm_freq=800' to avoid failures. Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
2011-12-01ENGR00162335-1 [mx6q_arm2]SD card 3.0 can't be recognizedTony Lin
fix pin conflict between sd vselect and canbus enable pin. add 'canbus' to the cmdline will enable canbus driver. if canbus driver is enabled, sd 3.0 card will not work Signed-off-by: Tony Lin <tony.lin@freescale.com>
2011-12-01ENGR00162460:MX6-Revert "MX6-Disable PLL1 when CPU clk is below 400MHz."Ranjani Vaidyanathan
This reverts commit 564e25cb10cd827ea3fa5cda2487fd978f08bbd7. Sourcing ARM_CLK from PLL2_PFD_400M is causing issues when setting the ARM_PODF. So for now source arm_clk from PLL1_SYS_MAIN only. Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
2011-12-01ENGR00139276-1 MX6 BT: Add basic bluetooth support to mx6 platformLionel Xu
Add basic bluetooth support to mx6q platform: 1) Enable bluetooth driver by default 2) Configure uart2 which is used by bluetooth Signed-off-by: Lionel Xu <Lionel.Xu@freescale.com>
2011-12-01ENGR00162334 Revert "ENGR00161764 mx6q: disable gc355 temporally"wu guoxing
This reverts commit 307e94178adc55b6f6230c83ad0dd4d25b18003e. Signed-off-by: Wu Guoxing <b39297@freescale.com>
2011-12-01ENGR00162325 mx6:Make GPU as kernel module defaultlywu guoxing
GC355 needs to map all reserved memory and consume too much vmalloc space. So it needs a special kernel command line vmalloc=xxxM. otherwise, kernel can not boot Signed-off-by: Wu Guoxing <b39297@freescale.com>
2011-12-01ENGR00162330 [mx6]Only mask irq#86 and #125 for wait modeAnson Huang
These two irqs can't be masked together, otherwise, system will crash when only booting up one core, and NFS can only work with 4 cores running. Need hardware team to help find the root cause, this is only a temp work around. Signed-off-by: Anson Huang <b20788@freescale.com>
2011-12-01ENGR00162318: MX6: Donot power down PLL when PLL is disabledRanjani Vaidyanathan
Relocking of PLL sometimes takes longer than 1msec when PLL is enabled after a power down. The kernel panics if the PLL is not locked in 1ms. Max time expected by HW is only 500us. Workaround is to disable the output of the PLL and set it in bypass mode when its output is not being used. Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
2011-12-01ENGR00162114 mx6: OpenVG can not work with latest kernelwu guoxing
OpenVG can not work with latest kernel this is caused by some gpu2d clock changes. Signed-off-by: Wu Guoxing <b39297@freescale.com>
2011-12-01ENGR00162093 mx6q: use gpio_set_value_cansleep for sleepable gpiosDong Aisheng
This can fix the following issue: root@freescale ~$ ./ip link set can1 up type can bitrate 125000 flexcan imx6q-flexcan.1: writing ctrl=0x0e312005 ------------[ cut here ]------------ WARNING: at drivers/gpio/gpiolib.c:1593 __gpio_set_value+0x64/0x74() Modules linked in: [<8005499c>] (unwind_backtrace+0x0/0x108) from [<804db0e8>] (dump_stack+0x20/0x24) [<804db0e8>] (dump_stack+0x20/0x24) from [<80079ac0>] (warn_slowpath_common+0x5c/0x74) [<80079ac0>] (warn_slowpath_common+0x5c/0x74) from [<80079b04>] (warn_slowpath_null+0x2c/0x34) [<80079b04>] (warn_slowpath_null+0x2c/0x34) from [<80297d50>] (__gpio_set_value+0x64/0x74) [<80297d50>] (__gpio_set_value+0x64/0x74) from [<80064630>] (mx6q_flexcan1_switch+0x50/0x54) [<80064630>] (mx6q_flexcan1_switch+0x50/0x54) from [<80324bf0>] (flexcan_chip_start+0x2dc/0x378) [<80324bf0>] (flexcan_chip_start+0x2dc/0x378) from [<80324d0c>] (flexcan_open+0x80/0xe8) [<80324d0c>] (flexcan_open+0x80/0xe8) from [<8041b7a8>] (__dev_open+0xac/0xf8) [<8041b7a8>] (__dev_open+0xac/0xf8) from [<80418848>] (__dev_change_flags+0x90/0x148) [<80418848>] (__dev_change_flags+0x90/0x148) from [<8041b6c4>] (dev_change_flags+0x20/0x58) [<8041b6c4>] (dev_change_flags+0x20/0x58) from [<804292d8>] (do_setlink+0x1a0/0x7b4) [<804292d8>] (do_setlink+0x1a0/0x7b4) from [<8042a734>] (rtnl_newlink+0x438/0x488) [<8042a734>] (rtnl_newlink+0x438/0x488) from [<8042a2d4>] (rtnetlink_rcv_msg+0x200/0x228) [<8042a2d4>] (rtnetlink_rcv_msg+0x200/0x228) from [<80434e88>] (netlink_rcv_skb+0xcc/0xe8) [<80434e88>] (netlink_rcv_skb+0xcc/0xe8) from [<8042a0cc>] (rtnetlink_rcv+0x2c/0x34) [<8042a0cc>] (rtnetlink_rcv+0x2c/0x34) from [<80434aac>] (netlink_unicast+0x2c0/0x328) [<80434aac>] (netlink_unicast+0x2c0/0x328) from [<804354a0>] (netlink_sendmsg+0x22c/0x350) [<804354a0>] (netlink_sendmsg+0x22c/0x350) from [<80406e24>] (sock_sendmsg+0xa4/0xc4) [<80406e24>] (sock_sendmsg+0xa4/0xc4) from [<804073a4>] (sys_sendmsg+0x140/0x270) [<804073a4>] (sys_sendmsg+0x140/0x270) from [<8004dc40>] (ret_fast_syscall+0x0/0x30) ---[ end trace 4612d184c78ddab8 ]--- Signed-off-by: Dong Aisheng <b29396@freescale.com> Acked-by: Lily Zhang
2011-12-01ENGR00162010-1 [MX6]Build in thermal driverAnson Huang
Build in thermal driver by default. Signed-off-by: Anson Huang <b20788@freescale.com>
2011-12-01ARM: 6674/1: LPAE: use long long format when printing physical addresses and ↵Will Deacon
ptes [Frank Li]Fix mx6 boot failure issue during cherry-pick For the Kernel to support 2 level and 3 level page tables, physical addresses (and also page table entries) need to be 32 or 64-bits depending upon the configuration. This patch uses the %08llx conversion specifier for physical addresses and page table entries, ensuring that they are cast to (long long) so that common code can be used regardless of the datatype widths. Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2011-12-01ENGR00143921-3 - PLAT-MXC - Update IOMUX settings for EPDCDanny Nold
- Modified IOMUX keeper settings for EPDC pads Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-12-01ENGR00143921-2 - MACH-MX5 - Add EPDC/MAX17135 V3P3 regulatorDanny Nold
- Added V3P3 regulator definitions to board file - Added V3P3 GPIO defines and setup in board files - Changed V220 panel timings to match settings used for certification Signed-off-by: Danny Nold <dannynold@freescale.com>
2011-12-01ENGR00162048 Align the MX6 Sabrelite set_cpu_voltage() with ARM2Mahesh Mahadevan
Align the implementation, eventually this should go to a common place across MX6 platforms Signed-off-by: Mahesh Mahadevan <r9aadq@freescale.com>
2011-12-01ENGR00160525 MX6: fix mmu.c and cryptodev warningFrank Li
skip build cryptodev because no one use it now. Signed-off-by: Frank Li <Frank.Li@freescale.com>
2011-12-01ENGR00161617-1 [MX6] : Fix the build warning.Fugang Duan
- Fix the building warning: common.h:75: warning: 'struct fec_platform_data' declared inside parameter list Signed-off-by: Fugang Duan <B38611@freescale.com>
2011-12-01ENGR00159982-1 [MX6] : Fix FEC get clock rate function.Fugang Duan
- The clock formula has error, fix the get clock rate for FEC module. Signed-off-by: Fugang Duan <B38611@freescale.com>
2011-12-01ENGR00161926 Change the PAD settings on SD3 Write ProtectMahesh Mahadevan
Update the PAD settings to lower pull-up resistor as this was causing WP to not be detected. Signed-off-by: Mahesh Mahadevan <r9aadq@freescale.com>
2011-12-01ENGR00161848 mx5x: usb: fix build errorPeter Chen
Fix the build error for mx5x arch/arm/plat-mxc/usb_common.c: In function 'fsl_usb_host_init': arch/arm/plat-mxc/usb_common.c:526: error: 'UCTRL_OVER_CUR_POL' undeclared (first use in this function) arch/arm/plat-mxc/usb_common.c:526: error: (Each undeclared identifier is reported only once arch/arm/plat-mxc/usb_common.c:526: error: for each function it appears in.) arch/arm/plat-mxc/usb_common.c:529: error: 'UCTRL_OVER_CUR_DIS' undeclared (first use in this function) arch/arm/plat-mxc/usb_common.c: In function 'usbotg_init': arch/arm/plat-mxc/usb_common.c:840: error: 'UCTRL_OVER_CUR_POL' undeclared (first use in this function) arch/arm/plat-mxc/usb_common.c:843: error: 'UCTRL_OVER_CUR_DIS' undeclared (first use in this function) make[1]: *** [arch/arm/plat-mxc/usb_common.o] Error 1 make: *** [arch/arm/plat-mxc] Error 2 Signed-off-by: Peter Chen <peter.chen@freescale.com>
2011-12-01ENGR00161518 [MX6] USB: Add USB OC(Over Current) codemake shi
Add config USB OC setting code for mx6q, and make the OC default off. After adding it, fixing the loop less code during kernel boot in mx6qLite. Signed-off-by: make shi <b15407@freescale.com>
2011-12-01ENGR00161617 - [MX6] : FEC get MAC address from OCOTP.Fugang Duan
- FEC get the default MAC address from OCOTP. - If the MAC address is all zero, get the random address. - But, if add para "fec_mac=xx:xx:xx:xx:xx:xx" in uboot, FEC will get the last MAC address from uboot para. Signed-off-by: Fugang Duan <B38611@freescale.com>
2011-12-01ENGR00161766 [MX6] change ov5640_mipi to a moduleEven Xu
1. Config MIPI CSI2 driver as a default build in driver 2. Change ov5640 mipi sensor as a module Signed-off-by: Even Xu <b21019@freescale.com>
2011-12-01ENGR00161761 - [MX6] : workaround for IEEE 1588.Fugang Duan
- IEEE 1588 use 40MHz divided from pll3 480MHz. And use 480M ddr init script. So, cannot disable pll3 in clock.c file. Signed-off-by: Fugang Duan <B38611@freescale.com>
2011-12-01ENGR00161764 mx6q: disable gc355 temporallyRichard Zhao
Reasons: - gc355 suspend failed. which cause the whole system suspend failed. - gc355 cause reserved memory must be ioremap, consume too much vmalloc space. - gc355 can not work in 4.6.2 gpu driver. Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
2011-12-01ENGR00161755 MX6Q/MFGTOOL : disable GPU for MFGTOOLHuang Shijie
The GPU module will eat up lots of memory. So disable GPU to save same memory. Signed-off-by: Huang Shijie <b32955@freescale.com>
2011-12-01ENGR00161524 mx6q: fix pin conflicts between spdif and flexcanDong Aisheng
Dynamically checking whether enable spdif or flexcan via a boot param 'spdif'. Signed-off-by: Dong Aisheng <b29396@freescale.com>
2011-12-01ENGR00161643-2 MX6Q-lite : enlarge the mtd partition of NORHuang Shijie
64k is too small for uboot. So enlarge the partition to 256K. Signed-off-by: Huang Shijie <b32955@freescale.com>
2011-12-01ENGR00161643-1 MX6Q-lite : add SPI-NOR support to MFGTOOLHuang Shijie
add spi-nor support to the defconfig. Signed-off-by: Huang Shijie <b32955@freescale.com>
2011-12-01ENGR00161598 [MX6]OTG driver: load fail issuemake shi
[MX6] OTG load fail when remove all usb module Signed-off-by: make shi <b15407@freescale.com>
2011-12-01ENGR00161510 [MX6]Fix build warningAnson Huang
arch/arm/mach-mx6/cpu.c:39: warning: 'arm_base' defined but not used. Signed-off-by: Anson Huang <b20788@freescale.com>
2011-12-01ENGR00161483 Add SPI-NOR support on MX6 Sabre-liteMahesh Mahadevan
Add support to access SST SPI-NOR on MX6 Sabre-lite Signed-off-by: Mahesh Mahadevan <r9aadq@freescale.com>
2011-12-01ENGR00161487: Fix SD/USB/FEC performance issue.Ranjani Vaidyanathan
When WAIT mode is not enabled, execute cpu_do_idle() code. Currently WAIT mode requires the code to be run from IRAM with caches disabled. No L2 cache access should be done for a specified period after the system exits WAIT mode. This delay and running code from IRAM adversely affects the SDHC performance. Hardware team is looking into the extended delay that is required. Till its root caused, default should be to execute cpu_do_idle() and disable entry into WAIT mode. Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
2011-12-01ENGR00161484 Add HDMI audio support on MX6 Sabre-liteMahesh Mahadevan
Add support for HDMI audio on MX6 Sabre-lite Signed-off-by: Mahesh Mahadevan <r9aadq@freescale.com>
2011-12-01ENGR00161474 [mx6q] Fix build break in imx6_updater_defconfigNancy Chen
Turn on Anatop regulator. Signed-off-by: Nancy Chen <Nancy.Chen@freescale.com>
2011-12-01ENGR00161447-2 ARM2: fix section missmach warningFrank Li
fix section mismatch warning Signed-off-by: Frank Li <Frank.Li@freescale.com>
2011-12-01ENGR00159982 - [MX6Q]: Add FEC phy save power function.Fugang Duan
- Set Phy AR8031 to saving power mode while no cable connect. Signed-off-by: Fugang Duan <B38611@freescale.com>
2011-12-01ENGR00161256 mx6q: remove CAN_DEBUG by default in defconfigDong Aisheng
Do not show debug messages by default.
2011-12-01ENGR00161382-2 MX6Q MIPI CSI2: initialize platform dataEven Xu
Initialize MIPI CSI2 platform data Signed-off-by: Even Xu <b21019@freescale.com>
2011-12-01ENGR00161382-1 MX6Q MIPI CSI2: Add platform dataEven Xu
Add MIPI csi2 platform data Signed-off-by: Even Xu <b21019@freescale.com>
2011-12-01ENGR00161383 [MX6Q] USB OTG: enable OTG drivermake shi
Enable OTG driver on mx6q board Signed-off-by: make shi <b15407@freescale.com>
2011-12-01ENGR00158360 imx MSL: fix __arch_adjust_zones functionJason Chen
fix __arch_adjust_zones if MXC_DMA_ZONE_SIZE if bigger than system memory Signed-off-by: Jason Chen <b02280@freescale.com>