summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-08-24MLK-18504: ARM64: dts: Support ASRC P2P with ESAI deviceShengjiu Wang
Support ASRC P2P with ESAI to show the multichannel capibility. And make this setting align with other platform like imx6 Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Reviewed-by: Viorel Suman <viorel.suman@nxp.com>
2018-08-24MLK-18495 VPU: Add the event VID_API_EVENT_FIRMWARE_XCPT and modify ↵Huang Chaofan
interlaced flag Add the event VID_API_EVENT_FIRMWARE_XCPT and modify interlaced flag for vpu decoder Signed-off-by: Huang Chaofan <chaofan.huang@nxp.com>
2018-08-24MLK-18485 emvsim: enable CWT for ATRGao Pan
Enable CWT for ATR, and switch to RX_DATA_IM to detect receiving data in fifo. Signed-off-by: Gao Pan <pandy.gao@nxp.com> Acked-by: Fugang Duan <fugang.duan@nxp.com>
2018-08-24MLK-18440: ISI: fix the first frame black issueGuoniu.Zhou
Camera sensor need to be enabled before ISI when resolution of caputure image is less than 640*480, but hdmi need to be enabled after ISI, so add this patch to compatible these two cases Signed-off-by: Guoniu.Zhou <guoniu.zhou@nxp.com> (cherry picked from commit c8d17ffcb0ab007d0be228b2cc4562b9cbc07501)
2018-08-24MLK-17885-2: camera: add nv12 output format supportGuoniu.Zhou
Add NV12 output format support. Because nv12 is multi planes format, so driver need add device for every planes Reviewed-by: Sandor.yu <sandor.yu@nxp.com> Signed-off-by: Guoniu.Zhou <guoniu.zhou@nxp.com>
2018-08-24MLK-18481: encoder multi-instance, wait_timeout, suspend & resumeGuoRui
fix encoder multi-instance bug modify wait to wait_timeout complete encoder suspend and resume Signed-off-by: GuoRui <rui.guo_4@nxp.com>
2018-08-24MLK-18025: ARM: imx: Fix suspend initialization for Optee on imx7ulpClement Faure
Before the kernel starts, optee uses M4 SRAM to allocate its suspend function. When imx7ulp_pm_map_io() executes, the psci driver and psci_ops.cpu_suspend are not initialized yet. This causes the memset to always wipe the optee suspend code in the M4 SRAM. Signed-off-by: Clement Faure <clement.faure@nxp.com>
2018-08-24MGS-3947 gpu: imx: dpu-blit: fix wayland vg3d stuck on 8qxpXianzhong
gpu tiling is not enabled in vg3d, need bypass dprc/prg process, dprc stuck since no pipeline sync when switch linear to tile. add force sync for command sequence pipeline when switch to tile, remove the frequent dprc config for the contigous linear blit. Signed-off-by: Xianzhong <xianzhong.li@nxp.com>
2018-08-24MLK-18477-4 arm64: dts: fsl-imx8qm-mek-hdmi: Don't assign dpu disp clk parentLiu Ying
The dpu driver may properly handle display clock parent selection now. Thus, let's remove the assigned-clock and assigned-clock-parent device tree properties from the dpu device tree node. Signed-off-by: Liu Ying <victor.liu@nxp.com>
2018-08-24MLK-18477-3 arm64: fsl-imx8qm.dtsi: Remove dpu assigned-clock* propertiesLiu Ying
The dpu driver may properly handle display clock parent selection now. Thus, let's remove the assigned-clocks and assigned-clock-parents device tree properties from the dpu device tree nodes. Signed-off-by: Liu Ying <victor.liu@nxp.com>
2018-08-24MLK-18477-2 gpu: imx: dpu: framegen: Explicitly use bypass clk for TMDS encoderLiu Ying
The framegen driver should get PLL clock, bypass clock and display selection/mux clock via device tree if available. It may use bypass clock when a TMDS encoder is connected with the framegen, otherwise, PLL clock is used. This way, the assigned-clocks and assigned-clock-parents device tree properties can be removed from the dpu device tree node. Signed-off-by: Liu Ying <victor.liu@nxp.com>
2018-08-24MLK-18477-1 arm64: fsl-imx8qm.dtsi: Add bypass and disp_sel clks for dpuLiu Ying
This patch adds bypass clocks and disp_sel clocks in the dpu nodes. Signed-off-by: Liu Ying <victor.liu@nxp.com>
2018-08-24MLK-16784-6 arm64: config: add micfil in defconfigCosmin-Gabriel Samoila
Add IMX_MICFIL in arm64 defconfig. Signed-off-by: Cosmin-Gabriel Samoila <cosmin.samoila@nxp.com>
2018-08-24MLK-16784-5 sound: asoc: add machine driver for micfil in iMX8MMCosmin-Gabriel Samoila
Add machine driver for micfill IP in iMX8MM. Signed-off-by: Cosmin-Gabriel Samoila <cosmin.samoila@nxp.com>
2018-08-24MLK-16784-4 sound: asoc: add micfil cpu-dai in iMX8MMCosmin-Gabriel Samoila
Add micfil cpu-dai for iMX8MM. The MICFIL digital interface provides a 16-bit audio signal from a PDM microphone bitstream in a configurable output sampling rate. Signed-off-by: Cosmin-Gabriel Samoila <cosmin.samoila@nxp.com>
2018-08-24MLK-16784-3: arm64: dts: add pdm nodes in iMX8MM dtsCosmin-Gabriel Samoila
Add micfil DAI node in dtsi and pdm sound card in dts. We also moved ak5558 nodes into separate dts since ak5558 uses sai5 which share some pins with micfil. Signed-off-by: Cosmin-Gabriel Samoila <cosmin.samoila@nxp.com>
2018-08-24MLK-16784-2 documentation: sound: add documentation for PDMCosmin-Gabriel Samoila
Add documentation for micfil IP. Signed-off-by: Cosmin-Gabriel Samoila <cosmin.samoila@nxp.com>
2018-08-24MLK-16784-1 dt-bindings: pinctrl: add i.MX8MM PDM pinsCosmin-Gabriel Samoila
Add iMX8MM PDM pins header. Signed-off-by: Cosmin-Gabriel Samoila <cosmin.samoila@nxp.com>
2018-08-24MLK-18467 VPU: Add support for interlaced and 10bit for VPU decoderHuang Chaofan
Add support for interlaced and 10bit in v4l2 driver for vpu decoder Signed-off-by: Huang Chaofan <chaofan.huang@nxp.com>
2018-08-24MLK-18470 ARM64: dts: imx8mm: add ocotp nodePeng Fan
Add ocotp node to make nvmem work. Signed-off-by: Peng Fan <peng.fan@nxp.com>
2018-08-24MLK-18463: ASoC: ak4497: add return value for ak4497_probeShengjiu Wang
There is ak4497 audio card even no audio board connected, which os caused by there is no error return value even the i2c access failed. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2018-08-24MLK-18449: dmaengine: imx-sdma:add sw_done supportRobin Gong
Add new cell for sw_done/sw_done_selector, because PDM need enable software done feature in sdma script. The new fourth cell defined as below: Bit31: sw_done Bit15~bit0: selector For example: 0x80000000 means sw_done enabled for done0 sector which is for PDM on i.mx8mm. Signed-off-by: Robin Gong <yibin.gong@nxp.com> Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2018-08-24MLK-18426 AMR64: dts: imx: Increase the cpuidle latency setting on imx8mmBai Ping
After the WAIT mode is enabled on imx8mm, the previous latency setting seems can NOT meet the system the latency requirement. audio playback is impacted by cpuidle. So increasing the latency setting as large as possible to eliminate the impact of system performance. The latency value is not very accurate, need to be updated after we have enough performance test result. Signed-off-by: Bai Ping <ping.bai@nxp.com> Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
2018-08-24MLK-18423 ARM64: dts: imx8qm-mek: optimize the pciea disable pin settingAndy Duan
Optimize the pciea disable pin to drive NTB0104 device: (NTB0104 requires at least 2 mA per data sheet) - push-pull output - pull disabled - high drive strength And the patch also change the lvds gpio to lsio gpio. Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com> Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
2018-08-24MLK-18421 VPU: Refine the eos progress for vpu decoderHuang Chaofan
simplify the current design about EOS handling: - add_eos() is called only in V4L2_DEC_CMD_STOP, and no any block for application - stream_feed_complete: removed - firmware_finished: simplified and reserved only for debug - eos_stop_added: simplified and reserved only for debug avoid abort hang(h264/hevc) in corner case Signed-off-by: Huang Chaofan <chaofan.huang@nxp.com>
2018-08-24MLK-18407: clk: accommodate scfw change for QXP PI ssGuoniu.Zhou
Change pixel clock register of qxp PI ss in order to accommodate scfw change for PI ss Signed-off-by: Guoniu.Zhou <guoniu.zhou@nxp.com> (cherry picked from commit 1a769a426f4dcbd145280b3ff613607fbf6bcaa4)
2018-08-24arm: Invalidate BTB on prefetch abort outside of user mapping on Cortex A8, ↵Marc Zyngier
A9, A12 and A17 ** Not yet queued for inclusion in mainline ** In order to prevent aliasing attacks on the branch predictor, invalidate the BTB on CPUs that are known to be affected when taking a prefetch abort on a address that is outside of a user task limit. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Alex Shi <alex.shi@linaro.org>
2018-08-24arm: Add BTB invalidation on switch_mm for Cortex-A9, A12 and A17Marc Zyngier
** Not yet queued for inclusion in mainline ** In order to avoid aliasing attacks against the branch predictor, some implementations require to invalidate the BTB when switching from one user context to another. For this, we reuse the existing implementation for Cortex-A8, and apply it to A9, A12 and A17. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Alex Shi <alex.shi@linaro.org>
2018-08-24MLK-18398 gpu: imx: imx8_dprc: dpu-blit: Wait the dprc idle before disable itYuchou Gan
For linear and tiled mixed blit, wait the dprc idle before disable it in linear blit. Signed-off-by: Yuchou Gan <yuchou.gan@nxp.com>
2018-08-24MLK-18386 ARM64: dts: imx8mm: fix pcie pll can't be locked in resumeRichard Zhu
pcie aux clock is mandatory required by pcie power management. add the aux clock into imx8mm pcie dts node explicitly. pcie ctrl clock would be turned on, when pcie root clock is enabled. Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
2018-08-24MLK-18397-2: ARM64: dts: enable spdif1 tx for hdmi rx arcShengjiu Wang
enable spdif1 tx for hdmi rx arc Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2018-08-24MLK-18397-1: hdmi_rx: turn on aux_ana for rx arcShengjiu Wang
turn on aux_ana for rx arc Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2018-08-24MLK-18396-2: mtd: fsl-flexspi: enable FSPI on i.MX8MMHan Xu
Enable FlexSPI driver on i.MX8MM EVK. Signed-off-by: Han Xu <han.xu@nxp.com>
2018-08-24MLK-18396-1: arm64: dts: Add FSPI in i.MX8MM EVK DTHan Xu
Add FlexSPI in i.MX8MM EVK device tree Signed-off-by: Han Xu <han.xu@nxp.com>
2018-08-24MLK-18358: drm/panel: rm67191: Fix initial brightness levelRobert Chiras
When enabling the panel, the initial brightness level was hard-coded to 0x20. This way, during a suspend/resume cycle, after resume, this hard-coded brightness was used, instead of the one before suspend. Removing the hard-coded level and using the one stored in backlight device. Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
2018-08-24MLK-18357-3: arm64: dts: Update 8M, 8QM and 8QXP dts files for dsi ↵Robert Chiras
suspend/resume Added no_clk_reset property for 8M dts files, since DSI doesn't need it's clocks stopped during suspend. Also, added power on delay for 8QM and 8QXP for a better suspend/resume stability. Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
2018-08-24MLK-18357-2: drm/bridge: nwl-dsi: Add no_clk_reset propertyRobert Chiras
On some platforms, like the i.MX8M, the Display Controller is not completely powered off during suspend, just stopped. Since there are problems if we stop the clocks in DSI sub-system, while the Display Controller is still powered on, the display clocks will get out of sync. Adding this new property to specify, on such platforms, not to reset the clocks. Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
2018-08-24MLK-18357-1: drm/imx: Add no_clk_reset propertyRobert Chiras
Remove the NO_CLK_RESET define and add a property for this. On some platforms, like the i.MX8M, the Display Controller is not completely powered off during suspend, just stopped. Since there are problems if we stop the clocks in DSI sub-system, while the Display Controller is still powered on, the display clocks will get out of sync. Adding this new property to specify, on such platforms, not to reset the clocks. Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
2018-08-24MLK-18362-3 arm64: dts: add mipi csi camera support on imx8mm-evkRobby Cai
add node for MIPI CSI, CSI, and camera OV5640 Signed-off-by: Robby Cai <robby.cai@nxp.com>
2018-08-24MLK-18362-2 midea: mipi_csi: add mipi phy reset on imx8mmRobby Cai
on imx8mm, use different way rather than via SRC. so use different device id to distinguish different MIPI-PHY reset method. Signed-off-by: Robby Cai <robby.cai@nxp.com>
2018-08-24MLK-18362-1 clk: imx8mm: add clock for csiRobby Cai
add csi clock, CLKO1 for MCLK, and also BUS clock Signed-off-by: Robby Cai <robby.cai@nxp.com>
2018-08-24MLK-18347 gpu: imx: dpu: Correct baddr and stride for PRG x/y offsetLiu Ying
We use PRG x/y offset to do in-micro-tile cropping for new DPR/PRG IPs. When tile resolving is enabled by using the new IPs, the design team indicates that DPU fetch unit base address and DPU/PRG stride need to be calculated in the below steps: 1) prg_Baddr = dpr_Baddr 2) tmp_dpu_Baddr = prg_Baddr + prg_x_offset * bytes_per_pixel 3) tmp_burst_size = 1 << (ffs(tmp_dpu_Baddr) - 1) tmp_burst_size = round_up(tmp_burst_size, 8) burst_size = min(tmp_burst_size, 128) 4) tmp_dpu_stride = dpu_width * bytes_per_pixel 5) dpu_stride = round_up(tmp_dpu_stride + round_up(tmp_dpu_Baddr % 8, 8), burst_size) 6) dpu_Baddr = tmp_dpu_Baddr + prg_y_offset * dpu_stride 7) prg_stride = dpu_stride The legacy DPR/PRG IPs and linear formats driver logic should not be essentially touched. This patch implements the above calculation method in the drivers so that all valid in-micro-tile x/y cropping arguments can be supported. Without this, at least, some cropping cases with odd x value would fail. Signed-off-by: Liu Ying <victor.liu@nxp.com>
2018-08-24MLK-18369: camera: fix boot up have some isi dump error issueGuoniu.Zhou
It caused by 10ms delay during isi hardware reset. During this 10ms, runtime PM will call isi runtime suspend/resume callback but isi is not ready, so delete the 10ms delay. Signed-off-by: Guoniu.Zhou <guoniu.zhou@nxp.com> Reviewed-by: Sandor.Yu <sandor.yu@nxp.com> (cherry picked from commit 7d0922252f986e6300da75f7cf87ad7a2f511923)
2018-08-24MLK-17619: spi: ecspi: request gpio resources before setting the valueHan Xu
gpio controller ignored all values were set before request resources, move the devm_gpio_request to spi_imx_setup to fix the issue. Signed-off-by: Han Xu <han.xu@nxp.com> Suggested-and-reviewed-by: Fugang Duan <fugang.duan@nxp.com>
2018-08-24MLK-18345: drivers: caam: add support for i.mx8mmSilvano di Ninno
Signed-off-by: Silvano di Ninno <silvano.dininno@nxp.com> Reviewed-by: Franck Lenormand <franck.lenormand@nxp.com>
2018-08-24MLK-18389:vpu encoder add multi-workqueue suspend and resumeGuoRui
create multi workqueue for vpu encoder add suspend and resume code to encoder driver add wait resume done in decoder resume function solve coverity issue: 3520461 Out-of-bounds read Signed-off-by: GuoRui <rui.guo_4@nxp.com>
2018-08-24MLK-18368-9: ARM64: dts: enable hdmi rx audioShengjiu Wang
enable hdmi rx audio Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2018-08-24MLK-18368-8: imx-hdmi: change the platform device id for hdmi audio txShengjiu Wang
platform device id of TX is 1, RX is 2. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2018-08-24MLK-18368-7: imx-hdmi: change the entry id of meta dataShengjiu Wang
For entry id of video is 0, audio is 1, if entry id of meta data is 1, then it conflict with audio. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2018-08-24MLK-18368-6: hdmi_rx: avoid blocking in audio configShengjiu Wang
add delay count in audio auto config to avoid blocking change the justify to right Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>