Age | Commit message (Collapse) | Author |
|
Add flexcan support.
Signed-off-by: Dong Aisheng <b29396@freescale.com>
|
|
Add support for ASRC driver in MX6 sabre-lite
Signed-off-by: Mahesh Mahadevan <r9aadq@freescale.com>
(cherry picked from commit 6fc9c1edb695b2743464efe4375f9ab659a9f6fc)
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
- 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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
This reverts commit 307e94178adc55b6f6230c83ad0dd4d25b18003e.
Signed-off-by: Wu Guoxing <b39297@freescale.com>
|
|
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>
|
|
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>
|
|
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>
|
|
OpenVG can not work with latest kernel
this is caused by some gpu2d clock changes.
Signed-off-by: Wu Guoxing <b39297@freescale.com>
|
|
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
|
|
Build in thermal driver by default.
Signed-off-by: Anson Huang <b20788@freescale.com>
|
|
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>
|
|
- Modified IOMUX keeper settings for EPDC pads
Signed-off-by: Danny Nold <dannynold@freescale.com>
|
|
- 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>
|
|
Align the implementation, eventually this should go to a common place
across MX6 platforms
Signed-off-by: Mahesh Mahadevan <r9aadq@freescale.com>
|
|
skip build cryptodev because no one use it now.
Signed-off-by: Frank Li <Frank.Li@freescale.com>
|
|
- Fix the building warning:
common.h:75: warning: 'struct fec_platform_data' declared
inside parameter list
Signed-off-by: Fugang Duan <B38611@freescale.com>
|
|
- The clock formula has error, fix the get clock rate
for FEC module.
Signed-off-by: Fugang Duan <B38611@freescale.com>
|
|
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>
|
|
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>
|
|
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>
|
|
- 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>
|
|
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>
|
|
- 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>
|
|
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>
|
|
The GPU module will eat up lots of memory.
So disable GPU to save same memory.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
Dynamically checking whether enable spdif or flexcan via a boot
param 'spdif'.
Signed-off-by: Dong Aisheng <b29396@freescale.com>
|
|
64k is too small for uboot.
So enlarge the partition to 256K.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
add spi-nor support to the defconfig.
Signed-off-by: Huang Shijie <b32955@freescale.com>
|
|
[MX6] OTG load fail when remove all usb module
Signed-off-by: make shi <b15407@freescale.com>
|
|
arch/arm/mach-mx6/cpu.c:39: warning:
'arm_base' defined but not used.
Signed-off-by: Anson Huang <b20788@freescale.com>
|
|
Add support to access SST SPI-NOR on MX6 Sabre-lite
Signed-off-by: Mahesh Mahadevan <r9aadq@freescale.com>
|
|
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>
|
|
Add support for HDMI audio on MX6 Sabre-lite
Signed-off-by: Mahesh Mahadevan <r9aadq@freescale.com>
|
|
Turn on Anatop regulator.
Signed-off-by: Nancy Chen <Nancy.Chen@freescale.com>
|
|
fix section mismatch warning
Signed-off-by: Frank Li <Frank.Li@freescale.com>
|
|
- Set Phy AR8031 to saving power mode while no cable connect.
Signed-off-by: Fugang Duan <B38611@freescale.com>
|
|
Do not show debug messages by default.
|
|
Initialize MIPI CSI2 platform data
Signed-off-by: Even Xu <b21019@freescale.com>
|
|
Add MIPI csi2 platform data
Signed-off-by: Even Xu <b21019@freescale.com>
|
|
Enable OTG driver on mx6q board
Signed-off-by: make shi <b15407@freescale.com>
|
|
fix __arch_adjust_zones if MXC_DMA_ZONE_SIZE if bigger than system memory
Signed-off-by: Jason Chen <b02280@freescale.com>
|