summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-09-03MLK-11492 ARM: imx: keep weak 2p5 on for USB vbus wakeuprel_imx_3.14.38_6ul_9x9_patchAnson Huang
Since i.MX6SX, if USB vbus wake up is enabled, weak 2P5 needs to be on even if the DRAM is LPDDR2, previously, we need to set stop_mode_config to keep 2P5 on, so enter DSM, if USB vbus wakeup is enabled, we need to keep weak 2P5 on. Signed-off-by: Anson Huang <b20788@freescale.com>
2015-09-03MLK-11491 ARM: imx: dis-connect vddhigh_in and vddsnvs_in for imx6ulAnson Huang
To achieve lower power number in low power idle, on the boards which has higher vddhigh_in than vddsnvs_in, need to dis-connect vddhigh_in and vddsnvs_in internally to make vddhigh_in's power low enough to meet the design target. Signed-off-by: Anson Huang <b20788@freescale.com>
2015-09-02MLK-11489 i.MX6UL: Add the 9x9-evk-csi.dts for the camera moduleJason Liu
This patch add the 9x9-evk-csi.dts for the camera module since the csi-camera has the pin conflict with sim module, this patch is to enable the camera module while disable sim. Signed-off-by: Jason Liu <r64343@freescale.com>
2015-09-02MLK-11465-2: ARM: dts: imx7d/imx6ul: update SW1A for PFUZE3000Robin Gong
Update max voltage of SW1A to 3.3V on PF3000, see below datasheet: http://cache.freescale.com/files/analog/doc/data_sheet/PF3000.pdf?fsrch=1&sr=1&pageNum=1 Signed-off-by: Robin Gong <b38343@freescale.com>
2015-09-02MLK-11465-1: regulator: pfuze100: update voltage setting for SW1A of PF3000Robin Gong
Regards to the pfuze3000 doc update, regulator driver need to be updated too. Otherwise the voltage information show wrongly. Signed-off-by: Robin Gong <b38343@freescale.com>
2015-09-02MLK-11461-2 ARM: dts: imx6ul: add LDO enable dtb for 9x9 evk boardAnson Huang
Add LDO enable dtb for i.MX66UL-9x9-EVK board for those customers who want to use ldo enable mode. Signed-off-by: Anson Huang <b20788@freescale.com>
2015-09-02MLK-11461-1 ARM: dts: imx6ul: add LDO bypass support for 9x9 EVKAnson Huang
i.MX6UL-9x9-EVK board has PFUZE3000, enable LDO bypass support. Signed-off-by: Anson Huang <b20788@freescale.com>
2015-09-02MLK-11366-2 ARM: imx: add suspend/resume support for imx6ul lpddr2Anson Huang
This patch adds suspend/resume with Mega/Fast mix off support for i.MX6UL-9x9-LPDDR2-EVK board, LPDDR2 has different MMDC restore flow compared to DDR3. Signed-off-by: Anson Huang <b20788@freescale.com>
2015-09-02MLK-11366-1 ARM: dts: imx6ul: add 9x9-lpddr2-evk boardAnson Huang
Add i.MX6UL-9x9-LPDDR2-EVK board support. Signed-off-by: Anson Huang <b20788@freescale.com>
2015-08-17MLK-11370 dts: imx6ul-evk: enhance driver strength of sd clk signalrel_imx_3.14.38_6ul_gaDong Aisheng
The SD CLK signal measured by scope shows the signal rise/fall time does not meet the spec requirement, need increase the pad driver strength to meet the spec. The pad setting value is given by the HW team which has been verified from scope. Signed-off-by: Dong Aisheng <b29396@freescale.com>
2015-08-05MLK-11271-1 [EPDC]: Move the leagcy EPDC firmware external gitOliver Brown
Moving the builtin EPDC firmware to linux-firmware-imx repository. Signed-off-by: Oliver Brown <oliver.brown@freescale.com>
2015-08-05MLK-11260 [EPDC]: Move the EPDC firmware to /lib/firmware/imx/epdcOliver Brown
Moving the EPDC firmware to /lib/firmware/imx/epdc. Signed-off-by: Oliver Brown <oliver.brown@freescale.com>
2015-08-05MLK-11223 [EPDC FB V2] - Need to add support for basic epdc waveformsOliver Brown
The driver will now read the firmware header and detect whether basic or advanced alogorithms are used. Signed-off-by: Oliver Brown <oliver.brown@freescale.com>
2015-07-30MLK-10828 thermal: imx: update the temperature calibration data for i.mx6Bai Ping
According to the design team: After a thorough accuracy study of the Temp sense circuit,we found that with our current equation, an average part can read 7 degrees lower than a known forced temperature. We also found out that the standard variance was around 2C; which is the tightest distribution that we could create. We need to change the temp sense equation to center the average part around the target temperature. Old Equation: Temp = Troom,cal - slope*(Count measured - Count room fuse) Where Troom,cal = 25C and Slope = 0.4297157 - (0.0015974 * Count room fuse) New Equation: Temp = Troom,cal - slope*(Count measured - Count room fuse) +offset Where Troom,cal = 25C and Slope = 0.4148468 - (0.0015423 * Count room fuse) Offset = 3.580661 Signed-off-by: Bai Ping <b51503@freescale.com> (cherry picked from commit b3208903656816c0ec446318c96cd8d3a2314258)
2015-07-24MLK-11284 ARM: ERRATA: Add ARM/MP: 814220 SW workaroundJason Liu
ARM/MP: 814220—B-Cache maintenance by set/way operations can execute out of order. Description: The v7 ARM states that all cache and branch predictor maintenance operations that do not specify an address execute, relative to each other, in program order. However, because of this erratum, an L2 set/way cache maintenance operation can overtake an L1 set/way cache maintenance operation, this would cause the data corruption. This ERRATA affected the Cortex-A7 and present in r0p2, r0p3, r0p4, r0p5. This patch is the SW workaround by adding a DSB before changing cache levels as the ARM ERRATA: ARM/MP: 814220 told in the ARM ERRATA documentation. Signed-off-by: Jason Liu <r64343@freescale.com>
2015-07-24MLK-11283 ARM: dts: imx6ul: correct the 'fsl,pins' propertyHaibo Chen
Change the property 'fsl,pin' to 'fsl,pins', otherwise the pins setting can't be recognized. Signed-off-by: Haibo Chen <haibo.chen@freescale.com> (cherry picked from commit ee173ffef55dce980583f35b56509c98a788f886)
2015-07-23MLK-11236 mtd: gpmi-nand: Fix nand runtime PM issueYe.Li
Because of the delay of auto suspend, the nand clocks are delayed to disable when calling the clk_set_rate. This causes the clk_set_rate failed on some platforms like 6q/6qp, and finally lead the NAND not working. Signed-off-by: Ye.Li <Ye.Li@freescale.com> (cherry picked from commit 1334dd236d4401d6635accb6c8472d8a5ed088b5)
2015-07-23MLK-10452 [iMX6SL/TIC/PXP] - imxv4l2sink incorrect color for 24bpp or 32bppOliver Brown
The color is incorrect for 24bpp and 32 bpp framebuffer. Needed to add cases to support 24bpp and 32bpp. Signed-off-by: Oliver Brown <oliver.brown@freescale.com> (cherry picked from commit 5c5343f7bfd4ee226cd951af8f58ebae44c0dc38)
2015-07-23MLK-11165: v4l2 pxp: Add RGB32 support to pxp v4l2 outputSandor Yu
Add RGB32 support to pxp v4l2 output. Signed-off-by: Sandor Yu <R01008@freescale.com> (cherry picked from commit 445781b2375dc60550eb66a2406f0bf50499ddeb)
2015-07-23mmc: sdhci: fix low memory corruptionJiri Slaby
When dma mapping (dma_map_sg) fails in sdhci_pre_dma_transfer, -EINVAL is returned. There are 3 callers of sdhci_pre_dma_transfer: * sdhci_pre_req and sdhci_adma_table_pre: handle negative return * sdhci_prepare_data: handles 0 (error) and "else" (good) only sdhci_prepare_data is therefore broken. When it receives -EINVAL from sdhci_pre_dma_transfer, it assumes 1 sg mapping was mapped. Later, this non-existent mapping with address 0 is kmap'ped and written to: Corrupted low memory at ffff880000001000 (1000 phys) = 22b7d67df2f6d1cf Corrupted low memory at ffff880000001008 (1008 phys) = 63848a5216b7dd95 Corrupted low memory at ffff880000001010 (1010 phys) = 330eb7ddef39e427 Corrupted low memory at ffff880000001018 (1018 phys) = 8017ac7295039bda Corrupted low memory at ffff880000001020 (1020 phys) = 8ce039eac119074f ... So teach sdhci_prepare_data to understand negative return values from sdhci_pre_dma_transfer and disable DMA in that case, as well as for zero. It was introduced in 348487cb28e66b032bae1b38424d81bf5b444408 (mmc: sdhci: use pipeline mmc requests to improve performance). The commit seems to be suspicious also by assigning host->sg_count both in sdhci_pre_dma_transfer and sdhci_adma_table_pre. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: stable@vger.kernel.org # 4.0+ Fixes: 348487cb28e6 Cc: Ulf Hansson <ulf.hansson@linaro.org> Cc: Haibo Chen <haibo.chen@freescale.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> (cherry picked from commit fc590f7171a87660274147c5174d14b5750d7392)
2015-07-23MLK-11221 imx: mx6ul add 14x14 lpddr2 arm2 dtsPeng Fan
Add dts for mx6ul-14x14-lpddr2-arm2 board. Basic function tested: SD1/EMMC2/ENET/UART1 is ok. This patch takes mx6ul-14x14-ddr3-arm2.dts as a reference. Signed-off-by: Peng Fan <Peng.Fan@freescale.com> (cherry picked from commit a8eaa148f6577059b4034fb0fb2d399effb2cace)
2015-07-23net: tso: Export symbols for modular buildSachin Kamat
Export the symbols to fix the below errors when built as modules: ERROR: "tso_build_data" [drivers/net/ethernet/marvell/mvneta.ko] undefined! ERROR: "tso_build_hdr" [drivers/net/ethernet/marvell/mvneta.ko] undefined! ERROR: "tso_start" [drivers/net/ethernet/marvell/mvneta.ko] undefined! ERROR: "tso_count_descs" [drivers/net/ethernet/marvell/mvneta.ko] undefined! ERROR: "tso_build_data" [drivers/net/ethernet/marvell/mv643xx_eth.ko] undefined! ERROR: "tso_build_hdr" [drivers/net/ethernet/marvell/mv643xx_eth.ko] undefined! ERROR: "tso_start" [drivers/net/ethernet/marvell/mv643xx_eth.ko] undefined! ERROR: "tso_count_descs" [drivers/net/ethernet/marvell/mv643xx_eth.ko] undefined! Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Acked-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2015-07-23MLK-10707 ARM: imx: add BCM5422x phy fixupFugang Duan
On one board EB15140079 the Broadcom switch phy ID is 0x600d8599. Add the phy fixup for the board support. Signed-off-by: Fugang Duan <B38611@freescale.com> (cherry picked from commit: 5ab17ce68acab43697c8fb4a38d46c3e423d4b91)
2015-07-23Input: ads7846 - fix device usage within attribute showAlexander Stein
With commit e585c40ba (Input: ads7846 - convert to hwmon_device_register_with_groups()) the device passed to the attribute's show function isn't the spi device as before. So fixup the passed device to ads7846_read12_ser. Signed-off-by: Alexander Stein <alexanders83@web.de> Acked-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2015-07-24MLK-11276-4 ARM: imx: correct code comments for imx6ul clkAnson Huang
In i.MX6UL clk driver code, some comments are incorrect and some are NOT needed now, improve them. Signed-off-by: Anson Huang <b20788@freescale.com>
2015-07-22MLK-11274 net: fec: add mii bus up_failed flag to reflect the real statusFugang Duan
Add mii bus up_failed flag to reflect the real mii bus status. Signed-off-by: Fugang Duan <B38611@freescale.com> Reported-and-tested-by: Zhang Sanshan <B51434@freescale.com> (cherry picked from commit: ea348e597501d44841a28d8ee099361e89d63520)
2015-07-22MLK-11258 tty: serial: imx: disable overrun interrupt during uart port shutdownFugang Duan
Also disable rx fifo overrun interrupt during uart port shutdown. Signed-off-by: Fugang Duan <B38611@freescale.com> (cherry picked from commit: 39eb703f6c9f9359723f3fa22e798b1d21b44c67)
2015-07-22MLK-11183 usb: chipidea: otg: complete state machine before cancel hrtimerLi Jun
When do usb driver module load and unload loop test for A-device, the hrtimer may be cancelled during otg state machine running, so after the hrtimer is cancelled, the otg state machine may start it again by adding a new timer, this will cause the hrtimer will be active after its function memory is freed by module unload. This patch is to fix it by trying to hold the fsm mutex lock before setting otg state to be undefined, then otg hrtimer will be cancelled after current otg fsm transition completes, and no new timer will be added. Signed-off-by: Li Jun <jun.li@freescale.com> (cherry picked from commit 8c3ab4f22bc34675aeb8f9c62e69b450a179be0f) (cherry picked from commit 95c8590c5232eeb9d054ac7504455a90a133f05a)
2015-07-22MLK-11269-2 usb: chipidea: host: avoid check PORT_SUSPEND wronglyPeter Chen
At some situations, the ehci_bus_suspend may not set PORT_SUSPEND due to port is not enabled, so add flag ehci->bus_suspended to check if ehci_bus_suspend set PORT_SUSPEND or not. We see "ci_hdrc ci_hdrc.0: timeout waiting for SUSPEND" wrongly when plug in an unsupported usb device, in that case, the PORT_PE is cleared and bus_suspend is called. Signed-off-by: Peter Chen <peter.chen@freescale.com> (cherry picked from commit 82cfe6c31ee55e5aab1a057a5aaf853b7bb6cd07)
2015-07-22MLK-11269-1 ARM: imx_v7_defconfig: update USB certification configurationsPeter Chen
- Add CONFIG_USB_OTG_WHITELIST and CONFIG_USB_HCD_TEST_MODE - Change CONFIG_USB_EHSET_TEST_FIXTURE from 'm' to 'y' Signed-off-by: Peter Chen <peter.chen@freescale.com> (cherry picked from commit 40f0d728339fb460a108bc8b133207dd5a17dda8)
2015-07-22MLK-11266-9 usb: gadget: zero: allocate and init otg descriptor by otg ↵Li Jun
capabilities Allocate and initialize usb otg descriptor according to gadget otg capabilities, add it for each usb configurations. If otg capability is not defined, keep its original otg descriptor unchanged. Signed-off-by: Li Jun <jun.li@freescale.com> (cherry picked from commit afd76e4d483a6cbf22968630044e5a779592805e)
2015-07-22MLK-11266-8 usb: gadget: printer: allocate and init otg descriptor by otg ↵Li Jun
capabilities Allocate and initialize usb otg descriptor according to gadget otg capabilities, add it for each usb configurations. If otg capability is not defined, keep its original otg descriptor unchanged. Signed-off-by: Li Jun <jun.li@freescale.com> (cherry picked from commit 2ae655dcc249dcd2606fe9392c4e8a986ea3d5ea)
2015-07-22MLK-11266-7 usb: gadget: ncm: allocate and init otg descriptor by otg ↵Li Jun
capabilities Allocate and initialize usb otg descriptor according to gadget otg capabilities, add it for each usb configurations. If otg capability is not defined, keep its original otg descriptor unchanged. Reviewed-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Li Jun <jun.li@freescale.com> (cherry picked from commit 4455688e586de5e81a4a3e5eee513294e7bb8c45)
2015-07-22MLK-11266-6 usb: gadget: multi: allocate and init otg descriptor by otg ↵Li Jun
capabilities Allocate and initialize usb otg descriptor according to gadget otg capabilities, add it for each usb configurations. If otg capability is not defined, keep its original otg descriptor unchanged. Reviewed-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Li Jun <jun.li@freescale.com> (cherry picked from commit 8ae537f7975864aaec9c97162f5c514d1a3773b0)
2015-07-22MLK-11266-5 usb: gadget: hid: allocate and init otg descriptor by otg ↵Li Jun
capabilities Allocate and initialize usb otg descriptor according to gadget otg capabilities, add it for each usb configurations. If otg capability is not defined, keep its original otg descriptor unchanged. Reviewed-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Li Jun <jun.li@freescale.com> (cherry picked from commit 31221e4a4e26c461de77148088ef6d809fd398ac)
2015-07-22MLK-11266-4 usb: gadget: g_ffs: allocate and init otg descriptor by otg ↵Li Jun
capabilities Allocate and initialize usb otg descriptor according to gadget otg capabilities, add it for each usb configurations. If otg capability is not defined, keep its original otg descriptor unchanged. Reviewed-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Li Jun <jun.li@freescale.com> (cherry picked from commit 973f77a1685effd4fcae4e7bfe724a94e3228673)
2015-07-22MLK-11266-3 usb: gadget: cdc2: allocate and init otg descriptor by otg ↵Li Jun
capabilities Allocate and initialize usb otg descriptor according to gadget otg capabilities, add it for each usb configurations. If otg capability is not defined, keep its original otg descriptor unchanged. Reviewed-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Li Jun <jun.li@freescale.com> (cherry picked from commit c58f56bded2d17fa1fd3bde555b213a996f5a9f9)
2015-07-22MLK-11266-2 usb: gadget: audio: allocate and init otg descriptor by otg ↵Li Jun
capabilities Allocate and initialize usb otg descriptor according to gadget otg capabilities, add it for each usb configurations. If otg capability is not defined, keep its original otg descriptor unchanged. Reviewed-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Li Jun <jun.li@freescale.com> (cherry picked from commit 85e6d899a3650ef4108397dcc3397b76e68f4d40)
2015-07-22MLK-11266-1 usb: gadget: acm_ms: allocate and init otg descriptor by otg ↵Li Jun
capabilities Allocate and initialize usb otg descriptor according to gadget otg capabilities, add it for each usb configurations. If otg capability is not defined, keep its original otg descriptor unchanged. Reviewed-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Li Jun <jun.li@freescale.com> (cherry picked from commit daa65ba547bf9ba2702b57108d4c19bfa0ab749c)
2015-07-22MLK-11183-2 usb: chipidea: otg: disable otg interrupt before flush_workqueuePeter Chen
We do not want (care) the interrupt during we remove the otg function, so move it beforehand. Signed-off-by: Peter Chen <peter.chen@freescale.com> (cherry picked from commit 9ae22c687fd161dfff2e81512b50143fa154b9bb)
2015-07-22MLK-11183-1 usb: chipidea: host: fix NULL pointer problem for fast ↵Peter Chen
load/unload module The interrupt may occur (due to remove process may block interrupt) after we remove hcd, in that case, we should not call hcd's interrupt handler, otherwise, below NULL pointer dereference will occur, the reason for this is we call free_irq later than hcd's. So after hcd has been removed, we should not call hcd interrupt handler. ci_hdrc ci_hdrc.0: remove, state 1 usb usb1: USB disconnect, device number 1 ci_hdrc ci_hdrc.0: USB bus 1 deregistered [<800691e8>] (handle_irq_event) from [<8006c02c>] (handle_fasteoi_irq+0x84/0x14c) [<8006c02c>] (handle_fasteoi_irq) from [<800687f4>] (generic_handle_irq+0x2c/0x3c) [<800687f4>] (generic_handle_irq) from [<8000ed4c>] (handle_IRQ+0x40/0x90) [<8000ed4c>] (handle_IRQ) from [<8000856c>] (gic_handle_irq+0x2c/0x5c) [<8000856c>] (gic_handle_irq) from [<80012240>] (__irq_svc+0x40/0x70) Exception stack(0x80db1f18 to 0x80db1f60) 1f00: 80db1f60 3b9aca00 1f20: 06f86934 0000000d 80dbe1c8 80dbe1c8 ee71e0d0 00000000 06f5bb01 0000000d 1f40: 80db0000 00000000 00000017 80db1f60 00000009 8049c19c 000d0013 ffffffff [<80012240>] (__irq_svc) from [<8049c19c>] (cpuidle_enter_state+0x54/0xe4) [<8049c19c>] (cpuidle_enter_state) from [<8049c2e0>] (cpuidle_idle_call+0xb4/0x14c) [<8049c2e0>] (cpuidle_idle_call) from [<8000f07c>] (arch_cpu_idle+0x8/0x44) [<8000f07c>] (arch_cpu_idle) from [<8006876c>] (cpu_startup_entry+0x100/0x14c) [<8006876c>] (cpu_startup_entry) from [<80d52b10>] (start_kernel+0x350/0x35c) --[ end trace 1160f590a7b228b3 ]-- Unable to handle kernel NULL pointer dereference at virtual address 000000b0 pgd = 80004000 [000000b0] *pgd=00000000 Internal error: Oops: 17 1 PREEMPT SMP ARM Modules linked in: ci_hdrc_imx usbmisc_imx ci_hdrc udc_core ehci_hcd phy_mxs_usb mxc_v4l2_capture ipu_bg_overlay_sdc ipu_still ipu_prp_enc adv7180_tvin ipu_csi_enc v4l2_int_device ipu_fg_overlay_sdc mxc_mlb mxc_dcic evbug [last unloaded: phy_mxs_usb] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W 3.14.38-usb-host-otg-02047-ga4dec77 #13 task: 80dbbae8 ti: 80db0000 task.ti: 80db0000 PC is at usb_hcd_irq+0x4/0x38 LR is at handle_irq_event_percpu+0x50/0x180 pc : [<8040eed8>] lr : [<8006907c>] psr: a00d0193 sp : 80db1e98 ip : fffffffa fp : 00000000 r10: 80e1f13f r9 : d8009900 r8 : 0000004b r7 : 00000000 r6 : 00000000 r5 : d800995c r4 : d8f2dec0 r3 : d2234010 r2 : d2234010 r1 : 00000000 r0 : 0000004b Flags: NzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel Control: 10c53c7d Table: 6920004a DAC: 00000015 Process swapper/0 (pid: 0, stack limit = 0x80db0238) Stack: (0x80db1e98 to 0x80db2000) 1e80: d2234010 8006907c 1ea0: 0000004b ee71da00 d8009900 d800995c d8f2dec0 f4a00100 06f5bb01 0000000d 1ec0: 80db0000 800691e8 d8009900 d800995c 00000000 8006c02c 8006bfa8 0000004b 1ee0: 0000004b 800687f4 80dace54 8000ed4c f4a0010c 80db8970 80db1f18 8000856c 1f00: 00000009 8049c19c 000d0013 ffffffff 80db1f4c 80012240 80db1f60 3b9aca00 1f20: 06f86934 0000000d 80dbe1c8 80dbe1c8 ee71e0d0 00000000 06f5bb01 0000000d 1f40: 80db0000 00000000 00000017 80db1f60 00000009 8049c19c 000d0013 ffffffff 1f60: 06f86934 0000000d 80dc4a54 ee71e0d0 80db8574 ee71e0d0 00000000 00000000 1f80: 00000000 80e797f8 80dbe1c8 8049c2e0 00000000 80db0000 80db8574 806fe48c 1fa0: 80db0038 80e1f13d 80e1f13d 8000f07c 00000000 8006876c ffffffff 80d52b10 1fc0: ffffffff ffffffff 80d5258c 00000000 00000000 80d9ef30 00000000 10c53c7d 1fe0: 80db84fc 80d9ef2c 80dbcb80 1000406a 412fc09a 10008074 00000000 00000000 [<8040eed8>] (usb_hcd_irq) from [<8006907c>] (handle_irq_event_percpu+0x50/0x180) [<8006907c>] (handle_irq_event_percpu) from [<800691e8>] (handle_irq_event+0x3c/0x5c) [<800691e8>] (handle_irq_event) from [<8006c02c>] (handle_fasteoi_irq+0x84/0x14c) [<8006c02c>] (handle_fasteoi_irq) from [<800687f4>] (generic_handle_irq+0x2c/0x3c) [<800687f4>] (generic_handle_irq) from [<8000ed4c>] (handle_IRQ+0x40/0x90) [<8000ed4c>] (handle_IRQ) from [<8000856c>] (gic_handle_irq+0x2c/0x5c) [<8000856c>] (gic_handle_irq) from [<80012240>] (__irq_svc+0x40/0x70) Exception stack(0x80db1f18 to 0x80db1f60) 1f00: 80db1f60 3b9aca00 1f20: 06f86934 0000000d 80dbe1c8 80dbe1c8 ee71e0d0 00000000 06f5bb01 0000000d 1f40: 80db0000 00000000 00000017 80db1f60 00000009 8049c19c 000d0013 ffffffff [<80012240>] (__irq_svc) from [<8049c19c>] (cpuidle_enter_state+0x54/0xe4) [<8049c19c>] (cpuidle_enter_state) from [<8049c2e0>] (cpuidle_idle_call+0xb4/0x14c) [<8049c2e0>] (cpuidle_idle_call) from [<8000f07c>] (arch_cpu_idle+0x8/0x44) [<8000f07c>] (arch_cpu_idle) from [<8006876c>] (cpu_startup_entry+0x100/0x14c) [<8006876c>] (cpu_startup_entry) from [<80d52b10>] (start_kernel+0x350/0x35c) Code: 11a002a0 03a00001 e12fff1e e92d4008 (e59130b0) --[ end trace 1160f590a7b228b4 ]-- Kernel panic - not syncing: Fatal exception in interrupt CPU2: stopping CPU: 2 PID: 1483 Comm: modprobe Tainted: G D W 3.14.38-usb-host-otg-02047-ga4dec77 #13 [<80014a68>] (unwind_backtrace) from [<80011758>] (show_stack+0x10/0x14) [<80011758>] (show_stack) from [<806f5fe8>] (dump_stack+0x7c/0xbc) [<806f5fe8>] (dump_stack) from [<800139f0>] (handle_IPI+0x144/0x158) [<800139f0>] (handle_IPI) from [<80008598>] (gic_handle_irq+0x58/0x5c) [<80008598>] (gic_handle_irq) from [<80012240>] (__irq_svc+0x40/0x70) Exception stack(0xd96c5dc0 to 0xd96c5e08) 5dc0: d800995c 0000004b 00000000 00072004 d8f2dec0 d8009900 d800995c 0000004b 5de0: d800995c a00f0013 00000000 010f2280 fffffffa d96c5e08 00000000 8006926c 5e00: 000f0013 ffffffff [<80012240>] (__irq_svc) from [<8006926c>] (synchronize_irq+0x18/0xa8) [<8006926c>] (synchronize_irq) from [<800696dc>] (__free_irq+0xfc/0x1c4) [<800696dc>] (__free_irq) from [<80069838>] (free_irq+0x4c/0xa4) [<80069838>] (free_irq) from [<8034b760>] (release_nodes+0x16c/0x1cc) [<8034b760>] (release_nodes) from [<803487ec>] (__device_release_driver+0x78/0xcc) [<803487ec>] (__device_release_driver) from [<8034885c>] (device_release_driver+0x1c/0x28) [<8034885c>] (device_release_driver) from [<8034827c>] (bus_remove_device+0xdc/0x108) [<8034827c>] (bus_remove_device) from [<80345788>] (device_del+0x100/0x1a4) [<80345788>] (device_del) from [<8034a218>] (platform_device_del+0x18/0x9c) [<8034a218>] (platform_device_del) from [<8034a2a8>] (platform_device_unregister+0xc/0x20) [<8034a2a8>] (platform_device_unregister) from [<7f61932c>] (ci_hdrc_remove_device+0xc/0x20 [ci_hdrc]) [<7f61932c>] (ci_hdrc_remove_device [ci_hdrc]) from [<7f631260>] (ci_hdrc_imx_remove+0x2c/0xdc [ci_hdrc_imx]) [<7f631260>] (ci_hdrc_imx_remove [ci_hdrc_imx]) from [<8034a350>] (platform_drv_remove+0x18/0x30) [<8034a350>] (platform_drv_remove) from [<803487e4>] (__device_release_driver+0x70/0xcc) [<803487e4>] (__device_release_driver) from [<80348ef4>] (driver_detach+0xac/0xb0) [<80348ef4>] (driver_detach) from [<803484e4>] (bus_remove_driver+0x4c/0xa0) [<803484e4>] (bus_remove_driver) from [<80084158>] (SyS_delete_module+0x11c/0x17c) [<80084158>] (SyS_delete_module) from [<8000e460>] (ret_fast_syscall+0x0/0x30) CPU3: stopping CPU: 3 PID: 0 Comm: swapper/3 Tainted: G D W 3.14.38-usb-host-otg-02047-ga4dec77 #13 [<80014a68>] (unwind_backtrace) from [<80011758>] (show_stack+0x10/0x14) [<80011758>] (show_stack) from [<806f5fe8>] (dump_stack+0x7c/0xbc) [<806f5fe8>] (dump_stack) from [<800139f0>] (handle_IPI+0x144/0x158) [<800139f0>] (handle_IPI) from [<80008598>] (gic_handle_irq+0x58/0x5c) [<80008598>] (gic_handle_irq) from [<80012240>] (__irq_svc+0x40/0x70) Exception stack(0xd80b1f50 to 0xd80b1f98) 1f40: d80b1f98 3b9aca00 256aed09 0000000d 1f60: 80dbe1c8 80dbe1c8 ee7360d0 00000000 25477984 0000000d d80b0000 00000000 1f80: 00000017 d80b1f98 00000009 8049c19c 00070013 ffffffff [<80012240>] (__irq_svc) from [<8049c19c>] (cpuidle_enter_state+0x54/0xe4) [<8049c19c>] (cpuidle_enter_state) from [<8049c2e0>] (cpuidle_idle_call+0xb4/0x14c) [<8049c2e0>] (cpuidle_idle_call) from [<8000f07c>] (arch_cpu_idle+0x8/0x44) [<8000f07c>] (arch_cpu_idle) from [<8006876c>] (cpu_startup_entry+0x100/0x14c) [<8006876c>] (cpu_startup_entry) from [<10008624>] (0x10008624) CPU1: stopping Signed-off-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Li Jun <jun.li@freescale.com> (cherry picked from commit 402f2d38e22007e931dc3dd52a69c0fed88452bf)
2015-07-22MLK-11239 ARM: dts: imx7d-sdb-touch: correct the format of u16 valuesHaibo Chen
In tsc2046 touch driver, the values such as ti,x-min is defined as a u16 value. the driver use API of_property_read_u16() read the value. For these u16 value, the dts entry should be like: property = /bits/ 16 <0x5000>; This describe the property as a u16 value. if the dts entry write like following: property = <0x5000>; of subsystem will read this property as a u32 value in default. Due to the DTB file is big-endian, and our memory system is little endian, this will make the driver can't read the correct value. This patch correct the format of u16 values, and set the default value defined in tsc2046 touch driver. Signed-off-by: Haibo Chen <haibo.chen@freescale.com> (cherry picked from commit d1e680a0d20ac88e9bbcc7c4a7008999d79ca322)
2015-07-22MLK-11123-32 Documentation: usb: chipidea: update for otg testsLi Jun
After introduce otg features in dts, and remove hnp_enable, we should update otg test document for how to enable HNP, SRP and ADP. Signed-off-by: Li Jun <jun.li@freescale.com> (cherry picked from commit 1fa2a00f64d4c1e56b71cf08e680f7bc9feff207)
2015-07-22MLK-11123-31 ARM: dts: disable otg features for imx7d-sdb boardLi Jun
Disable all otg features for otg1 port of imx7d-sdb board, then the otg port can only do role swtich by ID pin state. Signed-off-by: Li Jun <jun.li@freescale.com> (cherry picked from commit 3c59511b7eac99da8c9bd373b82ddcbf61d1ef8a)
2015-07-22MLK-11123-30 ARM: dts: disable otg features for imx7d-12x12-lpddr3-arm2 boardLi Jun
Disable all otg features for otg1 port of imx7d-12x12-lpddr3-arm2 board, then the otg port can only do role swtich by ID pin state. Signed-off-by: Li Jun <jun.li@freescale.com> (cherry picked from commit 8d19fb5979522032cf4d96909d609aceac0dde85)
2015-07-22MLK-11123-29 ARM: dts: disable otg features for imx7d-12x12-ddr3-arm2 boardLi Jun
Disable all otg features for otg1 port of imx7d-12x12-ddr3-arm2 board, then the otg port can only do role swtich by ID pin state. Signed-off-by: Li Jun <jun.li@freescale.com> (cherry picked from commit d74b978c52f0af09195e1a592643335c74112890)
2015-07-22MLK-11123-28 ARM: dts: disable otg features for imx6sx-sdb boardLi Jun
Disable all otg features for otg1 port of imx6sx-sdb board, then the otg port can only do role swtich by ID pin state. Signed-off-by: Li Jun <jun.li@freescale.com> (cherry picked from commit e8d32c2cc5daab7e22f6190a02c88981aa14df7e)
2015-07-22MLK-11123-27 ARM: dts: disable otg features for imx6sx-sabreauto boardLi Jun
Disable all otg features for otg1 port of imx6sx-sabreauto board, then the otg port can only do role swtich by ID pin state. Signed-off-by: Li Jun <jun.li@freescale.com> (cherry picked from commit 4c3191e538309bef9ac6f9effb9d698d52699a1a)
2015-07-22MLK-11123-26 ARM: dts: disable otg features for imx6sx-19x19-arm2 boardLi Jun
Disable all otg features for otg1 port of imx6sx-19x19-arm2 board, then the otg port can only do role swtich by ID pin state. Signed-off-by: Li Jun <jun.li@freescale.com> (cherry picked from commit e83384609ba0e8daf8d9f87abb4ef3d81dd0ca79)
2015-07-22MLK-11123-25 ARM: dts: disable otg features for imx6sx-17x17-arm2 boardLi Jun
Disable all otg features for otg1 port of imx6sx-17x17-arm2 board, then the otg port can only do role swtich by ID pin state. Signed-off-by: Li Jun <jun.li@freescale.com> (cherry picked from commit 46d2433c7e8e8b89352c823a6ccf267d3ac7882b)