- Jul 16, 2021
-
-
Apeksha Gupta authored
Enable fec-uio driver for imx booting up support. CONFIG_FEC_UIO flag added to compile the fec-uio driver. Signed-off-by:
Apeksha Gupta <apeksha.gupta@nxp.com> Reviewed-by:
Dong Aisheng <aisheng.dong@nxp.com>
-
Apeksha Gupta authored
New DTS file 'imx8mmevk-evk-dpdk.dts' is added to support fec ethernet device detection in user space DPDK application via fec-uio driver. Signed-off-by:
Sachin Saxena <sachin.saxena@nxp.com> Signed-off-by:
Apeksha Gupta <apeksha.gupta@nxp.com> Reviewed-by:
Dong Aisheng <aisheng.dong@nxp.com>
-
Apeksha Gupta authored
i.mx: fec-uio driver This patch adds the userspace support. In the new mode, basic hardware initialization is performed in kernel via userspace input/output, while the majority of code is written in the userspace. Signed-off-by:
Sachin Saxena <sachin.saxena@nxp.com> Signed-off-by:
Apeksha Gupta <apeksha.gupta@nxp.com> Reviewed-by:
Sachin Saxena <sachin.saxena@nxp.com>
-
Sandor Yu authored
Add a new drm bridge driver for ITE IT6161 MIPI to HDMI converter. EDID and HDMI Audio are supported. Driver default work in 2 lanes and video mode 480p60 has verified on iMX8ULP EVK board. Signed-off-by:
Sandor Yu <Sandor.yu@nxp.com>
-
Sandor Yu authored
Add it6161 to imx_v8_deconfig. Signed-off-by:
Sandor Yu <Sandor.yu@nxp.com>
-
Sandor Yu authored
Add it6161 property to imx8ulp evk board. Signed-off-by:
Sandor Yu <Sandor.yu@nxp.com>
-
- Jul 15, 2021
-
-
Chancel Liu authored
sound/drivers/aloop.c should be compiled in order to support AFE wrapper. So the corresponding configuration, that is SND_ALOOP, needs to be added to arch/arm64/configs/imx_v8_defconfig in the type of module. Signed-off-by:
Chancel Liu <chancel.liu@nxp.com>
-
- Jul 14, 2021
-
-
Shengjiu Wang authored
Add necessary clock for rpmsg audio. These clocks are needed by M4 image Signed-off-by:
Shengjiu Wang <shengjiu.wang@nxp.com> Reviewed-by:
Peng Zhang <peng.zhang_8@nxp.com> (cherry-picked from commit 0d11ab36510677aed5481c65fbd2f4a9264c75bb)
-
Shengjiu Wang authored
Add necessary clock for rpmsg audio. These clocks are needed by M4 image Signed-off-by:
Shengjiu Wang <shengjiu.wang@nxp.com> Reviewed-by:
Peng Zhang <peng.zhang_8@nxp.com> (cherry-picked from commit df9a1745901e59ecaa94a93d159d263c16a75549)
-
Shengjiu Wang authored
Add necessary clock for rpmsg audio. These clocks are needed by M4 image. Signed-off-by:
Shengjiu Wang <shengjiu.wang@nxp.com> Reviewed-by:
Peng Zhang <peng.zhang_8@nxp.com> (cherry-picked from commit 399043954dca67fc6ec1c03f3db3de90867ef5af)
-
Shengjiu Wang authored
On i.MX8MP low power audio case, the audiomix module is shared with M4 core, M4 core need to enable the clock for SAI and SDMA, but A core don't know this change, when micfill is used on A core, there is conflict for audiomix setting. The playback will be blocked on below case: aplay -D"rpmsg" & arecord -D"micfil" Signed-off-by:
Shengjiu Wang <shengjiu.wang@nxp.com> Reviewed-by:
Peng Zhang <peng.zhang_8@nxp.com> (cherry-picked from commit e5f8f4abf99f1aff26419f1914ea770369fb0ab9)
-
Breno Lima authored
LF-4086-3 arm64: dts: imx8m: Enable fsl,sdio-interrupt-enabled property for boards enabling SDIO interrupt All NXP Wi-Fi SOCs are enabling the SDIO interrupt mechanism as soon as the firmware starts up, for performance reasons this feature can't be disabled on the Wi-Fi side. Enable fsl,sdio-interrupt-enabled property for all i.MX boards using NXP Wi-Fi on SDIO interface. Signed-off-by:
Breno Lima <breno.lima@nxp.com> Reviewed-by:
Haibo Chen <haibo.chen@nxp.com>
-
Breno Lima authored
uSDHC controller can enable auto tuning for DAT[0] and CMD only. Add documentation for fsl,sdio-interrupt-enabled device tree property. Signed-off-by:
Breno Lima <breno.lima@nxp.com> Reviewed-by:
Haibo Chen <haibo.chen@nxp.com>
-
Breno Lima authored
LF-4086-1 mmc: sdhci-esdhc-imx: Add device tree property to select DATA[0] and CMD signals for periodic tuning SDIO cards can implement an optional feature that uses DATA[1] to signal the card's interrupt to the i.MX device, this feature can be enabled by the SDIO card device and does not depends on i.MX uSDHC driver setup configuration. Out of reset uSDHC is configuring the uSDHC_VEND_SPEC2 register to use DATA[3:0] signals for calculating the appropriate delay cell for the current operation environment, this setup can conflict with the SDIO interrupt as DATA[1] signal can be asserted asynchronously. SDIO failures can be observed when running i.MX6ULL EVK and 88w8987/88w8997 at higher frequencies such as SDR104 or SDR50. Wi-Fi driver is reporting CMD53 read error due to incorrect delay cell calculated by the i.MX processor and uSDHC controller. Add optional device tree property to select DATA[0] and CMD signals for uSDHC auto tuning mechanism. This setup can only be used if SD interface length are well matched. Signed-off-by:
Breno Lima <breno.lima@nxp.com> Reviewed-by:
Haibo Chen <haibo.chen@nxp.com>
-
- Jul 13, 2021
-
-
Camelia Groza authored
ALDPS is enabled by default for the RTL8211F RGMII PHYs starting with commit 66e22932 ("net: phy: realtek: enable ALDPS to save power for RTL8211F"). This enablement causes auto negotiation issues when disconnecting and reconnecting the PHY successively. According to the PHY data sheet, this feature is disabled by default. Add the "rtl821x,aldps-disable" device tree property to mark this under the affected nodes. Signed-off-by:
Camelia Groza <camelia.groza@nxp.com>
-
- Jul 12, 2021
-
-
Gagandeep Singh authored
Resources release function is printing an information level print as critical level which basically tells how many USDPAA owned resources have been released. Also it is printing information like "USDPAA process leaks count" which may give wrong impression to user that some resources are leaked. By default, all critical level prints are visible on console and this information level print is not required to be visible on console. In this patch, changing this print to "info" which we can see using dmesg command. Signed-off-by:
Gagandeep Singh <g.singh@nxp.com> DPDK-2888
-
Alice Guo authored
When using root dts, there is error "failed to allocate memory for node 'linux,cma'" in boot log and "cma_alloc: alloc failed" when play video with root fdtfile. This is because region of memory which is specifies by alloc-ranges occupied the memory allocated to inmate cell or jailhouse. Resetting memory allocation of linux,cma in root dts can solve this problem. Reviewed-by:
Peng Fan <peng.fan@nxp.com> Signed-off-by:
Alice Guo <alice.guo@nxp.com>
-
Haibo Chen authored
Hardware suggest to use Standard Drive Strength for USDHC pad to get a better signal quality. Reviewed-by:
Sherry Sun <sherry.sun@nxp.com> Signed-off-by:
Haibo Chen <haibo.chen@nxp.com>
-
Richard Zhu authored
Since the i.MX8 RPMSG support had been switched to remote proc. To clean up the codes, remove the local i.MX RPMSG supports. Signed-off-by:
Richard Zhu <hongxing.zhu@nxp.com> Reviewed-by:
Jun Li <jun.li@nxp.com>
-
Richard Zhu authored
Since the RPMSG usage had been switched to remote proc. Remove the local RPMSG support to clean up the codes. Signed-off-by:
Richard Zhu <hongxing.zhu@nxp.com> Reviewed-by:
Jun Li <jun.li@nxp.com>
-
Richard Zhu authored
This reverts commit bee0bdd8. Clean up the codes, since these WIFI modules are not supported anymore. And these quirk commit cause the LF-3964 issue. Revert this commit to fix LF-3964 issue. Signed-off-by:
Richard Zhu <hongxing.zhu@nxp.com> Reviewed-by:
Jun Li <jun.li@nxp.com>
-
Richard Zhu authored
Clean up codes since these WIFI modules are not supported anymore. This reverts commit 1349d7f4. Signed-off-by:
Richard Zhu <hongxing.zhu@nxp.com> Reviewed-by:
Jun Li <jun.li@nxp.com>
-
Richard Zhu authored
Regarding Chapter 6.6.2 Conventional Reset of PCIe SPEC. The set of rules addresses requirements placed on the system: To allow components to perform internal initialization, system software must wait a specified minimum period following the end of a Conventional Reset before it is permitted to issue Configuration Request to the device immediately below that Port. - With a Downstream Port that does not support Link speeds greater than 5.0 GT/s, software must wait a minimum of 100 ms before sending a Configuration Request to the device immediately below that Port. - With a Downstream Port that supports Link speeds greater than 5.0 GT/s, software must wait a minimum of 100 ms after Link training completes before sending a Configuration Request to the device immediately below that Port. Add the 100ms sleep at the end of the PERST# toggle. Otherwise, some Plextor NVME can't be probed and enabled properly. Signed-off-by:
Richard Zhu <hongxing.zhu@nxp.com> Reviewed-by:
Jun Li <jun.li@nxp.com>
-
Richard Zhu authored
Specify the clock rate of EIM_SLOW clock. During the kernel updates, some codes of the following two commits are missing. Re-collect them here again. commit e01216753ee1 ("MLK-11602 arm: imx: set imx6qdl eim_slow clk to 135Mhz") commit dc4d6e04f02a ("MLK-12013 arm: imx: set eim_slow clk to 132Mhz only for MXC_CPU_IMX6Q") Signed-off-by:
Richard Zhu <hongxing.zhu@nxp.com> Reviewed-by:
Jun Li <jun.li@nxp.com>
-
- Jul 09, 2021
-
-
Haibo Chen authored
The max x/y position for goodix touch on rm67199 is 1080*1920. So correct it here. Reviewed-by:
Clark Wang <xiaoning.wang@nxp.com> Signed-off-by:
Haibo Chen <haibo.chen@nxp.com>
-
- Jul 08, 2021
-
-
Clark Wang authored
Add a new dts file to enable slave mode for LPSPI5. Signed-off-by:
Clark Wang <xiaoning.wang@nxp.com> Reviewed-by:
Haibo Chen <haibo.chen@nxp.com>
-
Clark Wang authored
Give an example which uses cs-gpio mode for one LPSPI module. Signed-off-by:
Clark Wang <xiaoning.wang@nxp.com> Reviewed-by:
Haibo Chen <haibo.chen@nxp.com>
-
Clark Wang authored
LPSPI transfer max speed is half of the root clock. Increase the root clock speed to support faster data transmission. Signed-off-by:
Clark Wang <xiaoning.wang@nxp.com> Reviewed-by:
Haibo Chen <haibo.chen@nxp.com>
-
- Jul 07, 2021
-
-
Dong Aisheng authored
The earlycon depends on the bootloader setup UART clocks being retained. There're actually two uart clocks (ipg, per) on MX6QDL, but the 'Fixes' commit change to register only one which means another clock may be disabled during booting phase and result in the earlycon unwork. Fixes: 9e33e261 ("clk: imx: Fix reparenting of UARTs not associated with stdout") Reviewed-by:
Jacky Bai <ping.bai@nxp.com> Signed-off-by:
Dong Aisheng <aisheng.dong@nxp.com>
-
Nathan Chancellor authored
Clang warns: drivers/mailbox/imx-mailbox.c:284:2: warning: variable 'val' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] default: ^~~~~~~ drivers/mailbox/imx-mailbox.c:288:7: note: uninitialized use occurs here if (!val) ^~~ drivers/mailbox/imx-mailbox.c:263:9: note: initialize the variable 'val' to silence this warning u32 val, ctrl; ^ = 0 1 warning generated. Prior to commit 91c8c1fbe498 ("mailbox: imx: add xSR/xCR register array"), val was always initialized in imx_mu_isr() but now, it is not initialized in the default case. Return IRQ_NONE like the statement below does and add a message that there is an unhandled type for this switch statement so that it can be updated. Fixes: 91c8c1fbe498 ("mailbox: imx: add xSR/xCR register array") Link: https://github.com/ClangBuiltLinux/linux/issues/1404 Signed-off-by:
Nathan Chancellor <nathan@kernel.org> Signed-off-by:
Jassi Brar <jaswinder.singh@linaro.org>
-
Robin Gong authored
Fix 'Coverity Issue:16750978 Dereference null return value' Signed-off-by:
Robin Gong <yibin.gong@nxp.com> Reviewed-by:
Shengjiu Wang <shengjiu.wang@nxp.com>
-
Robin Gong authored
enable onoff key over rpmsg for i.mx8ulp. Signed-off-by:
Robin Gong <yibin.gong@nxp.com> Reviewed-by:
Jacky Bai <ping.bai@nxp.com>
-
Robin Gong authored
For supporting rpmsg-keys on i.mx8ulp, removing limition for i.mx7ulp. Signed-off-by:
Robin Gong <yibin.gong@nxp.com> Reviewed-by:
Jacky Bai <ping.bai@nxp.com>
-
Robin Gong authored
enable onoff key on i.mx8ulp. Signed-off-by:
Robin Gong <yibin.gong@nxp.com> Reviewed-by:
Jacky Bai <ping.bai@nxp.com>
-
Jason Liu authored
This reverts commit 11db97ca. The blamed commit changes the common Makefile and force creation of __symbols__ node on the generated dtb files for all platforms. This is not good and not acceptible under some cases due to this change will increase the final DTB size a lot and bring big impact for others who does not need creation of _symbols_ DT node for overlays.For example, on i.MX OP-TEE, the maxsize of DT is 1MB, this patch will break some of the i.MX6/i.MX7 boards to boot with OP-TEE enabled. A similar patch was submitted and rejected by the community. The following post discusses this: https://lore.kernel.org/patchwork/patch/821645/ LS1028A-QDS, which needs the "-@" build flag for device tree overlays, now sets the "DTC_FLAGS_fsl-ls1028a-qds" GNU Make variable in arch/arm64/boot/dts/freescale/Makefile, and the support for overlays is already built for it, so the reverted patch was not even necessary. Signed-off-by:
Jason Liu <jason.hui.liu@nxp.com> Signed-off-by:
Vladimir Oltean <vladimir.oltean@nxp.com>
-
- Jul 06, 2021
-
-
yuan.tian authored
CL361052 [KERNEL SPACE] [reg] Fix Compile error introduced by CL#361048. Signed-off-by:
Ke Feng <ke.feng@verisilicon.com> Signed-off-by:
yuan.tian <yuan.tian@nxp.com>
-
yuan.tian authored
CL361048 [KERNEL SPACE] [v620_v2] Cmodel. Update comment for register related to "2ndbitstream". These registers can re reused from V9.0 Because moved to extend NN command. but do not recycle/rename because there was release uses that filed. Signed-off-by:
Ke Feng <ke.feng@verisilicon.com> Signed-off-by:
yuan.tian <yuan.tian@nxp.com>
-
yuan.tian authored
Update gc_feature_database.h to 362025 Signed-off-by:
Ke Feng <ke.feng@verisilicon.com> Signed-off-by:
yuan.tian <yuan.tian@nxp.com>
-
yuan.tian authored
6.4.x_234062: Fix build error caused by cl357727. Signed-off-by:
Ke Feng <ke.feng@verisilicon.com> Signed-off-by:
yuan.tian <yuan.tian@nxp.com>
-
yuan.tian authored
projects.dev_234062: IMX-2496: Merged "treating a sampler buffer as a texture" to this branch from 6.4.x. Signed-off-by:
Ke Feng <ke.feng@verisilicon.com> Signed-off-by:
yuan.tian <yuan.tian@nxp.com>
-