summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-01-04MLK-10067 Revert "ALSA: usb-audio: Resume mixer values properly"rel_imx_3.10.53_1.1.0_gaPeter Chen
This reverts commit 178bb7bed5b467463a3861aecdd5361ea9d295b7. It causes the USB audio which defines quirk will be dead lock at its resume code Signed-off-by: Peter Chen <peter.chen@freescale.com>
2014-12-24MLK-10057 PxP V4L2 output: force to call pxp_streamoff when device closesRobby Cai
By previous implementation, there's the possibility that last picture remains on screen when the program exits. This can be reproduced by not calling STREAMOFF ioctl in v4l2 output application or just trying to kill the v4l2 output program. The driver has faults to handle this case, since it depends on 'pxp->s0_vbq.streaming' variable be true in close() function to call pxp_streamoff() while the variable is set to 0 after the application calls munmap(). The driver should call pxp_streamoff() even if the application does not call STREAMOFF ioctl. This patch uses the local 'streaming' variable to track the streaming status to fix this problem. Signed-off-by: Robby Cai <r63905@freescale.com>
2014-12-23MLK-10046: gpc: read GPC_CNTR before write to avoid bits overwriteSandor Yu
On imx6sx, bit 17 and bit18 will power off/on VADC directly, so read GPC_CNTR firstly before write to avoid touching other bits. Signed-off-by: Sandor Yu <R01008@freescale.com> (cherry picked from commit ce70fc330c33dd33a73e2f1c8d00f29ec4d68b1d)
2014-12-23MLK-10049 csi: turn off clocks when csi module removesRobby Cai
When this module removes, turn off all csi-related clocks and also disable dummy disp-regulator in order to turn off disp-mix to save power. Signed-off-by: Robby Cai <r63905@freescale.com>
2014-12-22MLK-10036 Freescale CAAM: Add support for DSM with Mega/Fast mix onVictoria Milhoan
This patch allows CAAM to be enabled as a wakeup source for the Mega/Fast mix domain. If CAAM is enabled as a wakeup source, it will continue to be powered on across Deep Sleep Mode (DSM). This allows CAAM to be functional after the system resumes from DSM. Signed-off-by: Victoria Milhoan <vicki.milhoan@freescale.com> (cherry picked from commit 290744e3b40a563319324e234fa5a65b49fd4d82)
2014-12-22MLK-9980 Modify CAAM driver to hide algorithm registered notificationsVictoria Milhoan
The CAAM driver prints a message for each algorithm it registers with the Crypto API. This patch hides the messages unless debug is enabled. Signed-off-by: Victoria Milhoan <vicki.milhoan@freescale.com> (cherry picked from commit 84fcc913c4017d7c60ad19d07f277165b10e7848)
2014-12-22crypto: caam - Add new macros for building extended SEC descriptors (> 64 words)Andrei Varvara
added all supported math funtion on 8 byte boundary with immediate flag bit set automatically added MATH_SRC0_DPOVRD & MATH_SRC1_DPOVRD The function/defines above are needed for creating descriptors longer than 64 words Signed-off-by: Andrei Varvara <andrei.varvara@freescale.com> Reviewed-by: Phillips Kim-R1AAHA <Kim.Phillips@freescale.com> Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> (cherry picked from commit 3ebfa92f49a61a00e967112632ad10e92998bb75) (cherry picked from commit 0df11f0e57b83eb5fc2efb61277e57dafbb804f5)
2014-12-22MLK-9972 crypto: caam - Replace of_irq_to_resource() with irq_of_parse_and_map()Victoria Milhoan
Replace instances of of_irq_to_resource() with the simpler equivalent irq_of_parse_and_map(). A similar patch was applied previously, but lost due to later patches. Based on upstream commit f7578496a671a96e501f16a5104893275e32c33a. Signed-off-by: Victoria Milhoan <vicki.milhoan@freescale.com> (cherry picked from commit 9758f15682435ed7edbc98e02c01263e9f64f3c9)
2014-12-22crypto: caam - fix addressing of struct memberCristian Stoica
commit 4451d494b1910bf7b7f8381a637d0fe6d2142467 upstream. buf_0 and buf_1 in caam_hash_state are not next to each other. Accessing buf_1 is incorrect from &buf_0 with an offset of only size_of(buf_0). The same issue is also with buflen_0 and buflen_1 Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commit cad4e11a9778eee2e8c52e1df7bf1008fb49a580) (cherry picked from commit 96e048ff8c7c62e2f1fe06f0da1fea791a220c0e)
2014-12-22MLK-9994 PCI: pcie to usb suspend resume issues on imx6sxRichard Zhu
- phenomena: the name of the dev node of the thumb disk inserted in the port of the pcie2usb device, would be changed randomly after suspend resume on imx6sx. - rootcause: PRST shouldn't be triggered during the suspend resume on imx6sx pcie port. Signed-off-by: Richard Zhu <Richard.Zhu@freescale.com> (cherry picked from commit b5ed6b9a8bf5ba7ce4dfe3a3aacdec9634397b6c)
2014-12-22MLK-10017 PCI: save power when pcie is not usedRichard Zhu
In order to save power consumption, do the following actions when pcie is not used. - turn off clocks on imx6q/dl. - turn off clocks and power on imx6sx Signed-off-by: Richard Zhu <Richard.Zhu@freescale.com> (cherry picked from commit e9796dfbae2a8b732022a6c96b3d7803099a70b5)
2014-12-20MLK-10041 : vadc: poweroff vadc analog when vadc removeSandor Yu
Poweroff vadc analog and ext power when module remove. Signed-off-by: Sandor Yu <R01008@freescale.com>
2014-12-19MLK-10039 usb: chipidea: enable usb as wakeup source if the device is connectedPeter Chen
Enable USB as wakeup source if it is imx6sx and the usb device is connected. We do this tricky thing for disable megafix off, since megafix control code depends on wakeup source. If the usb device is connected, we want the connection is not broken, and to support HSIC device since HSIC controller does not support hot plug. It will not produce un-intended usb wakeup since the usb wakeup is controlled by WIE bit in usb ctrl register, it is only enabled through /sys entry. Acked-by: Li Jun <jun.li@freescale.com> Signed-off-by: Peter Chen <peter.chen@freescale.com>
2014-12-19ALSA: usb-audio: Resume mixer values properlyTakashi Iwai
Implement reset_resume callback so that the mixer values are properly restored. Still no boot quirks are called, so it might not work well on some devices. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2014-12-19MLK-9986-5 spi: spi-imx: decrease tx fifo wartermark levelRobin Gong
We set both wartermark of txfifo and rxfifo 32 as half of fifo length 64. That will cause easy rxfifo overflow: If there is 31 bytes in rxfifo, rx script will wait the next dma request (the 32th data come into the rxfifo) and schedule out to tx script. Once tx script start to run, the rx script need to wait tx script finish even if its priority higher than tx. Meanwhile, spi slave device may input data continous, plus the rx data which triggered by new tx script(32 bytes). That will quickly consume whole 64 bytes fifo, so we keep 16bytes availbale even in the worst case new tx script triggered during two rx transfer. That may slow down tx slightly, but better than overflow and RX DMA timeout. Signed-off-by: Robin Gong <b38343@freescale.com> (cherry picked from commit 16043ad0ad96aa04a90614e473aa17980af4b8af)
2014-12-19MLK-9986-4 dma: imx-sdma: add new ecspi tx scriptRobin Gong
Current ecspi rom script didn't take care of rxfifo overflow risk. Add new ecspi tx script to check the rxfifo status, if it is near to full(>=48 bytes), do not copy data to txfifo which will trigger data push into rxfifo. Because rx script may not read rxfifo in time, we have to consider it. Signed-off-by: Robin Gong <b38343@freescale.com> (cherry picked from commit 17f472aa698aba0af5da4566df447e23306f4289)
2014-12-19MLK-9986-3 imx-sdma: add new ecspi tx sdma scriptRobin Gong
Add new ecspi tx sdma script in the head file. Signed-off-by: Robin Gong <b38343@freescale.com> (cherry picked from commit 9ca3cf4f301dc6d4130624814e689b676125fd36)
2014-12-19MLK-9986-2 spi: spi-imx: use pio mode for the tail data in DMA modeRobin Gong
Sometimes the tail data can't trigger SDMA to read from rxfifo, or SDMA miss the last dma request, in this case, DMA report RX timeout and the rest tail data kept in rxfifo. Whatever, use pio read for the tail rx data. Signed-off-by: Robin Gong <b38343@freescale.com> (cherry picked from commit 61fec9e4511e7626a2c5299f37c12cca95d12e88)
2014-12-19MLK-9986-1 spi: spi-imx: change dma timeout value with transfer lengthRobin Gong
Change dma timeout value with the transfer length if the length bigger than 1 MB. Signed-off-by: Robin Gong <b38343@freescale.com> (cherry picked from commit fb12a91a9ce6cd99d4c08483627ea0c94363ee08)
2014-12-19spi: Fix mapping from vmalloc-ed buffer to scatter listCharles Keepax
We can only use page_address on memory that has been mapped using kmap, when the buffer passed to the SPI has been allocated by vmalloc the page has not necessarily been mapped through kmap. This means sometimes page_address will return NULL causing the pointer we pass to sg_set_buf to be invalid. As we only call page_address so that we can pass a virtual address to sg_set_buf which will then immediately call virt_to_page on it, fix this by calling sg_set_page directly rather then relying on the sg_set_buf helper. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org (cherry picked from commit c1aefbdd050e1fb15e92bcaf34d95b17ea952097) (cherry picked from commit bf9cdf03f8d30db8e5c14645e1be9b49b0e945da)
2014-12-19MLK-9891: ARM: dts: imx6sx-sabreauto: use WDOG_B pin to reset whole boardRobin Gong
For the QSPI byte address not aligned in ROM code and kernel, we have to reset power cycle to workaroud this issue. Use WDOG_B pin to trigger PWRON of pfuze. Signed-off-by: Robin Gong <b38343@freescale.com> (cherry picked from commit 86f82eadc612a746ab57760f78754e0619aa48b1)
2014-12-18MGS-374 [#1500] fix GPU kernel debugfs crash issueXianzhong
this crash issue is caused by kernel NULL pointer when access GPU database, GPU database is shared by all kernels, it can be queried with any valid kernel. this patch will find the valid kernel pointer to avoid GPU kernel crash. the crash backtrace with 'cat /sys/kernel/debug/gc/vidmem' on i.mx6sl: [<80480600>] (gckKERNEL_FindDatabase+0x8/0xec) from [<80478db0>] (vidmem_show+0x2c/0x60) [<80478db0>] (vidmem_show+0x2c/0x60) from [<800e4d5c>] (seq_read+0x1dc/0x47c) [<800e4d5c>] (seq_read+0x1dc/0x47c) from [<800c7164>] (vfs_read+0x98/0x144) [<800c7164>] (vfs_read+0x98/0x144) from [<800c77c4>] (SyS_read+0x3c/0x78) [<800c77c4>] (SyS_read+0x3c/0x78) from [<8000e080>] (ret_fast_syscall+0x0/0x30) Date: Dec 18, 2014 Signed-off-by: Xianzhong <b07117@freescale.com> Acked-by: Jason Liu (cherry picked from commit 5b59e9d67ee1ce25e43fcb8934fcf0c75abfd0e3)
2014-12-17MLK-9987: Input: imx_keypad: Fix suspend/resume while keypad is pressedFabio Estevam
Since commit commit 560a64749d1dd0ff ("ENGR00318936-2 input: keyboard: imx: remove usless release interrupt enabled) the following problem happens: - Keep any keypad key pressed - Enter low power mode via "echo mem > /sys/power/state" - Then we are no longer able to wake-up the system via the keypad The reason for this behaviour is that the KRIE (Release Interrupt) is not enabled. In order to fix this problem, we should enable KRIE when a key is pressed (KPKD bit is set) or enable KDIE when no key is pressed (KPKR is set). This way we will always have a valid source of keypad interrupt no matter if the system entered low power mode while a keypad key was pressed or not. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
2014-12-17MLK-10003-4: ARM: clk-imx6q: register SSI/SSI_IPG as shared clocksShengjiu Wang
SSI and SSI_IPG are controlled by the same clock gating bits, so register them with imx_clk_gate2_shared. Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
2014-12-17MLK-10003-3: ARM: clk-imx6sx: register SSI/SSI_IPG as shared clocksShengjiu Wang
SSI and SSI_IPG are controlled by the same clock gating bits, so register them with imx_clk_gate2_shared. Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
2014-12-17MLK-10003-2: ARM: clk-imx6sx: register SAI/SAI_IPG as shared clocksShengjiu Wang
SAI and SAI_IPG are controlled by the same clock gating bits, so register them with imx_clk_gate2_shared. Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
2014-12-17MLK-10003-1: ASoC: fsl_sai: The record sound is faster or slower in master modeShengjiu Wang
The default setting of sai is RX sync with TX, TX output the I2S clock. So When recording, we should set TCR2's divider, not RCR2's divider. Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
2014-12-17MLK-10001: ASoC: fsl_sai: no sound for mono wav in master modeShengjiu Wang
The bclk caculation should according to the slot num, not the channels. Because sometime we have two slots, but only one slot is enabled for mono channel. As when the codec wm8962 works on mono mode, it needs two slots I2S signal. So here set the default slots of sai to 2, and add function set_tdm_slots for future usage. Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
2014-12-17MLK-10010: vadc: can't work immediately after suspend&resumeSandor Yu
The issue only can duplicate with PAL camera. It is cause by vadc did not detect right video mode. Add 0.5s delay before mode detect to resolved the issue. Signed-off-by: Sandor Yu <R01008@freescale.com>
2014-12-17MLK-9996 arm: imx6: Correct the AHB clock in low_bus_freq_modeBai Ping
When the busfreq is in audio_bus_freq_mode, the AHB bus is at 8MHz, in low_bus_freq_mode, the AHB needs to run at 24MHz. So when switching from audio_bus_freq_mode to low_bus_freq_mode, make sure the AHB is at 24MHz in low_bus_freq_mode. Signed-off-by: Bai Ping <b51503@freescale.com>
2014-12-12MLK-9975-2 imx6sx-ard: fix CAN unwork if power up the borad on first timeDong Aisheng
The CAN transceiver on MX6SX Sabreauto board seems in sleep mode by default after power up the board. User has to press the wakeup key on ARD baseboard before using the transceiver, or it may not work properly when power up the board at the first time(warm reset does not have such issue). This patch wakeup the transceiver firstly if needed during intialization by control the wakeup pin, then user do not have to press wakeup key button to enable the transceiver. BTW, stby gpio is also updated which is wrong before. Signed-off-by: Dong Aisheng <b29396@freescale.com>
2014-12-12MLK-9975-1 doc: flexcan: add trx_wakeup_gpio optional propertyDong Aisheng
This property is used to wakeup transceiver if it's in sleep mode. Signed-off-by: Dong Aisheng <b29396@freescale.com>
2014-12-12MLK-9881: mxc: asrc: fix dma task timeout issue when use 3 instance.Shengjiu Wang
1. Watermark level in sdma use byte as its unit. but asrc driver use word, there is mismatch between them. Here fix this issue and sdma can work more efficiency. 2. Enlarge the larst_period_size, when use small size, for some case, the dma task will timeout, because sdma has no much data for output. Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
2014-12-11MLK-9856: ASoC: imx-hdmi: fix the failure in module testShengjiu Wang
The kernel log is [<8000dcd8>] (__dabt_svc+0x38/0x60) from [<8067d218>] (mutex_lock+0xc/0x4c) [<8067d218>] (mutex_lock+0xc/0x4c) from [<804f8c48>] (snd_soc_dapm_stream_event+0x20/0xe4) [<804f8c48>] (snd_soc_dapm_stream_event+0x20/0xe4) from [<804fa5b4>] (close_delayed_work+0x3c/0x48) [<804fa5b4>] (close_delayed_work+0x3c/0x48) from [<80042c68>] (process_one_work+0xfc/0x34c) [<80042c68>] (process_one_work+0xfc/0x34c) from [<80043700>] (worker_thread+0x144/0x3a4) [<80043700>] (worker_thread+0x144/0x3a4) from [<80048d7c>] (kthread+0xa4/0xb0) [<80048d7c>] (kthread+0xa4/0xb0) from [<8000e1d8>] (ret_from_fork+0x14/0x3c) The alsa driver use shedule_delayed_work when close pcm in remove module. But after remove module the resource is released, so there will be kernel dump. So here use ignore_pmdown_time to avoid to use shedule_delayed_work, then this issue can be avoided. Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
2014-12-11MLK-9970: CSI: VADC image corruptedSandor Yu
If vadc unit test abnormal exit, such as kill -9 pid, next time run the unit test the image corrupted. In original implement, restore VADC specific register code in streamoff function. In specifical case, vadc unit test abnormal exit, the code in streamoff function will been executed in the next run. It is called from VIDIOC_REQBUFS. So csi will lose vadc configuration, and image is corrupted. Move restore VADC specific register code from streamoff function to device close function. Issue resolved. Signed-off-by: Sandor Yu <R01008@freescale.com>
2014-12-10MLK-9976: ARM: dts: NAND BBT inconsistency causes UBIFS randomly mount failedAllen Xu
NAND scans the bad blocks during kernel boots up, which invokes the gpmi_ecc_read_oob function to check the badblock mark for each block. In this function the oob data was raw read from NAND chip without ECC, so it hardly to guarantee the consistency of the data considering the possible bitflips. It found that in some MLC NAND the oob data changed and consequently the BBT changed in different power cycles. This issue may cause the UBIFS mount failed. To fix this issue, add "nand_on_flash_bbt" option in dts to store the BBT in NAND flash. On the first time kernel boot up, all bad blocks and probably some fake bad block would be recognized and be recorded in on-nand bad block table. From the second time boot, kernel will read BBT from NAND Flash rather than calling gpmi_ecc_read_oob function to check bad block. No bad block would be missed when create BBT since the probability that 16bit bad block mark filps from 0x00 to 0xFF is extremely low. Signed-off-by: Allen Xu <b45815@freescale.com> (cherry picked from commit d957353768a1b6d39b340b9d10b22fc42b0aa8e2)
2014-12-10MA-5918 pxp: v4l2: output: stream off should be called after stream on.Liu Xiaowen
stream off should be called by pxp_close when stream is on. Signed-off-by: Liu Xiaowen <b37945@freescale.com> (cherry picked from commit 481208f831519db30b3e33ddabefdd1fc66417d9)
2014-12-10MLK-9978 ARM: dts: imx6sx-sdb: fix typo to enable LCDIF1 backlightRobby Cai
use the string "okay" instead to enable backlight Signed-off-by: Robby Cai <r63905@freescale.com> (cherry picked from commit 5468fd8a98086ec68347f92c4a525ea4c1b71c5f)
2014-12-09MLK-9917 imx6sx: fix csi modules prevent system entering low power modeRobby Cai
The reproduce step: $ echo 8 > /proc/sys/kernel/printk $ echo 1 > /sys/class/graphics/fb0/blank $ ifconfig eth0 down $ ifconfig eth1 down $ cat /sys/kernel/debug/clk/osc/pll2_bus/pll2_pfd2_396m/periph2_pre/periph2/mmdc_podf/clk_rate 396000000 The expected result should be '24000000' and following message. Bus freq set to 24000000 start... Bus freq set to 24000000 done! This patch did the following to fix it. - Move the pm runtime handling into csi v4l2 driver, request high bus frequency when the device opens and release high bus frequency when device closes. - Add new api csisw_reset() to mainly do DMA reflash otherwise potentially meet garbage data when CSI starts to work on imx6sl. Signed-off-by: Robby Cai <r63905@freescale.com> (cherry picked from commit 857a52585c92cad8d851751f859e8e23ea4ae250)
2014-12-05MLK-9951 Update CAAM driver era interfaceVictoria Milhoan
Add more CAAM era values to the CAAM driver's caam_get_era() function. Read only 32 bits of data since the data required to identify the IP_ID and MAJ_REV is located in the first 32 bits of the register. And, update the function for use with ARM/Little Endian devices. Signed-off-by: Victoria Milhoan <vicki.milhoan@freescale.com> (cherry picked from commit 6050d7faf2d0c063195aa9454c130548a9f8058f)
2014-12-05MLK-9950 Remove deprecated caam_get_jrdev() from CAAM driverVictoria Milhoan
The caam_get_jrdev() function is no longer needed. The caam_jr_alloc() function is used instead to allocate a job ring device from the CAAM driver. Signed-off-by: Victoria Milhoan <vicki.milhoan@freescale.com> (cherry picked from commit bae574f498f4928ee5a42abeb419b045af5e1d91)
2014-12-05MLK-9957 mtd: NAND: fix the kernel panic issue for NAND suspend/resumeAllen Xu
The branch determined by GPMI_IS_MX6SX() should not include acquire_dma_channels() function which causes unbalanced dma request/release on other platform. Removed GPMI_IS_MX6SX() to make code simple although it is not necessary to restore GPMI/BCH registers for i.MX6Q/DL Signed-off-by: Allen Xu <b45815@freescale.com> (cherry picked from commit 54cd0fe03180dc44e3783bca1546e61d698abd2f)
2014-12-04MLK-9954 arm: imx: update operating point for i.MX6DLBai Ping
Update the i.MX6DL cpu operating points to comply with the latest published datasheet. Latest i.MX6DL datasheet of Rev.4, 10/2014 updates the 396MHz setpoint's min voltage from 1.075V to 1.125V, Add a 25mV margin to cover the board IR drop, here use 1.15V for 396MHz to match datasheet. Signed-off-by: Bai Ping <b51503@freescale.com>
2014-12-04MLK-9949: mtd: qspi: Handle QSPI probe error path correctlyAllen Xu
If QSPI probe failed in some cases, such as board rework, the error patch was not handled correctly. This issue may cause kernle dump in fec driver, since the pm_qos_remove_request() in QSPI driver was not invoked when probe failed. Signed-off-by: Allen Xu <b45815@freescale.com> (cherry picked from commit 350d532e0266a0a6918cbc6a17952ef64aef2521)
2014-12-04MLK-9948: ARM: dts: Add ddrsmp parameter for 19x19 arm2 boardAllen Xu
Add the ddrsmp parameter for 19x19 arm2 board. 2 ---- i.MX6SX 19x19 ARM2 board And reduce the clock frequency from 53Mhz to 29Mhz. Signed-off-by: Allen Xu <b45815@freescale.com> (cherry picked from commit 44a1d6c7b438fa1139572e864ee6aa111de39f18)
2014-12-01MLK-9941 mtd: qspi: Update device tree binding doc for ddrsmp propertyYe.Li
The new property "ddrsmp" was added into device tree. Update the doc accordingly. Signed-off-by: Ye.Li <B37916@freescale.com> (cherry picked from commit 4239df12c5d6c3ac19a25e120ffe17df93c358a3)
2014-12-01MLK-9939 ARM: dts: Add ddrsmp parameter to device tree for i.MX6SX ARM2 boardAllen Xu
The ddr sample point is board related, so add ddrsmp parameter to device tree for i.MX6SX 17x17 ARM2 board. DDRSMP value: 2 ---- i.MX6SX 17x17 ARM2 board Signed-off-by: Allen Xu <b45815@freescale.com> (cherry picked from commit c5d9eb443cda0c4d6e5705a2b51904f49b4f8297)
2014-12-01MLK-9924 mtd: qspi: QSPI1 cannot wake up WAIT mode workaroundAllen Xu
QSPI1 cannot wake up CCM from WAIT mode on SX ARD board, add pmqos to let CCM NOT enter WAIT mode when accessing QSPI1, refer to TKT245618. Signed-off-by: Allen Xu <b45815@freescale.com> (cherry picked from commit feb3b71bffc8afd440c0b972334f2479ebfefa1d)
2014-12-01MLK-9920 mtd: qspi: Add ddrsmp parameter to device treeYe.Li
Since QSPI internal DDR sample point is relevant with board layout, we can't use same value for all boards. Add ddrsmp parameter to device tree for i.MX6SX Sabreauto/Sabresd board. DDRSMP value: 0 ---- i.MX6SX Sabresd board (RevB and RevA) 2 ---- i.MX6SX Sabreauto board The Sabresd RevA board also needs to reduce clock to 29Mhz according to the Spansion spec. Signed-off-by: Ye.Li <B37916@freescale.com> (cherry picked from commit c9115cc22d836b5b980ca20932a005ea61b20082)
2014-12-01MLK-9937 Use job ring 0 for secure memory accessVictoria Milhoan
By default, job ring 0 is the owner of the Secure Memory area within CAAM. This patch modifies the Secure Memory module to use job ring 0 for all accesses. Signed-off-by: Victoria Milhoan <vicki.milhoan@freescale.com> (cherry picked from commit bb447bfb241d34492365bf881257b1a742a29c02)