MLK-15120 ARM: imx7d: clk: select uart3 clock parent and set rate
The clock driver may enable uart clock tree when earlycon/earlyprintk
kernel param is enabled, and the clock gate specify CLK_SET_RATE_GATE,
then .of_clk_set_defaults() set the dts node assigned-rate will be failed.
So set parent and set rate in clock driver is reasonable.
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
MLK-15104: ASoC: imx-sii902: add constraint for channels
The maximum channel supported by sii902 is 2, but machine
driver use dummy codec, and there is no constraint list
from codec, so add constraint directly in machine driver.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit 037051e60f3b29fb09aae6f2c97a3532482dfc2a)
MLK-15109-3: ASoC: fsl_esai: add constraint for dma workaround
Use GPT dma event to instead of esai dma event can't totally
resolve/workaround the hardware issue, There is two GPT, one
GPT is to get the failing edge of dma event, then to trigger
EDMA copy data, another one is to get the raising edge, then to
clear the interrupt of both GPT, sometimes, the clear operation
may clear the failing edge event wrongly in race condition.
then the EDMA will stop.
In test result, the high sample rate ...
MLK-15109-2: ASoC: fsl_esai: add constrain_period_size
There is limitaion for EDMA, which can only accept the period bytes
that can be divided by maxburst with no remainder. Otherwise EDMA
will not copy the left data in the end, and it will cause noise.
so add constraint for these chips.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
MLK-15109-1: ASoC: fsl_esai: introduce SoC specific data
Introduce a SoC data struct which contains the differences between
the different SoCs this driver supports. This makes it easy to support
more differences without having to introduce a new switch/case each
time.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
MLK-15066-1: ASoC: imx-pcm-dma-v2: fix noise issue with pulseaudio
Same as commit c55075170214 ("MLK-14582: ASoC: imx-pcm-rpmsg: fix
audio noise issue with pulseaudio"), need to add a constraint for
SNDRV_PCM_HW_PARAM_PERIODS, which make the period number integer.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
MLK-15075 thermal: imx: fix temp read failure on i.mx7d
On i.MX7D, if the system enter LPSR mode, the tempmon module
will be power down, so the regiter's value is lost, so we need
to save the registers before suspend and restore the register after
resume back.
Signed-off-by: Bai Ping <ping.bai@nxp.com>
MLK-15074-11 ARM64: defconfig: enable CONFIG_BLK_DEV_INITRD
Enable CONFIG_BLK_DEV_INITRD for initramfs of MFG tool.
Signed-off-by: Li Jun <jun.li@nxp.com>
MLK-15074-10 usb: gadget: utp: correct the set_fs condition
set_fs() should be done in case:
1. CONFIG_FSL_UTP is not enabled.
2. CONFIG_FSL_UTP is enabled but is_utp_device is false.
Signed-off-by: Li Jun <jun.li@nxp.com>
MLK-15074-9 usb: gadget: utp: fix wrong fsg parameter
As common->fsg maybe have not been set correctly while enumration, so
use the correct pointer fsg for utp device check.
Signed-off-by: Li Jun <jun.li@nxp.com>
MLK-15119 PCI: imx: remove the wrong rebased codes
Some codes are wrong rebase back into mainline in
one git pull rebase confliction.
Remove them.
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
MLK-15117 ARM64: dts: imx8qxp-lpddr4-arm2: add extended dts for enet2 port
Since lpddr4 arm2 baord enet2 has pin conflict with esai0,
so add extended dts for enet2 port.
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Reviewed-by: Robin Gong <yibin.gong@nxp.com>
MLK-15118 ARM64: dts: imx8qxp: enable lpuart1/2 and eDMA0
Add lpuart1, lpuart2 and eDMA0 support for imx8qxp.
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Reviewed-by: Robin Gong <yibin.gong@nxp.com>
MLK-15064-4 PCI: imx: enable pcie support
- add the cpu addr offset
Bit[31:24]
pciea 60 - 6f ---> 40 - 4f
pcieb 70 - 7f ---> 80 - 8f
- internal pll is verified on imx8qxp arm2 board
- use the dma_alloc_coherent to alloc the msi region,
because that imx8 pcie only supports up to 32bit
msi address.
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Frank Li <frank.li@nxp.com>
MLK-15064-3 clk: imx: enable pcie support
correct the pd definitions of the pcie clks
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Frank Li <frank.li@nxp.com>
MLK-15064-2 ARM64: DMA: limit the dma mask to be 32bit
Limit the dma mask to be 32bit, because that
the imx8 doesn't have the 64bit dma capapbility
although it is 64bit soc.
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Frank Li <frank.li@nxp.com>
MLK-15064-1 ARM: imx: pcie: enable imx8 pcie
- use one standalone hsio node to share the region to
pciea, pcieb and sata.
- axi master slave and dbi clks and pipe_clk are required
- enable pcieb
change the pd of the pcieb, otherwise, clk is failed to enable
- add the cpu addr offset
Bit[31:24]
pciea 60 - 6f ---> 40 - 4f
pcieb 70 - 7f ---> 80 - 8f
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Frank Li <frank.li@nxp.com>
MLK-15041: PXP-V3: enable stroe engine block mode and fill function
1. When pxp do rotation, fetch and store engine need block mode.
2. When use pxp store engine fill function, not only need config
store engine, but also need config fetch engine, otherwise, it
will not work.
Signed-off-by: Guoniu.Zhou <guoniu.zhou@nxp.com>
MLK-15001-38 arm64: dtsi: fsl-imx8qxp: MIPI DSI PD should be contained by DC PD
The MIPI DSI power domains are the child power domains of DC power domain.
So, let's wrap the MIPI DSI power domains by DC power domain.
Signed-off-by: Liu Ying <victor.liu@nxp.com>
MLK-15001-36 arm64: dtsi: fsl-imx8qxp: Set the 1st instance num for pd_mipi_dsi
This patch sets the first instance number for pd_mipi_dsi.
Signed-off-by: Liu Ying <victor.liu@nxp.com>
MLK-15001-26 arm64: defconfig: Add ITE IT6263 LVDS to HDMI transmitter support
This patch adds ITE IT6263 LVDS to HDMI transmitter support in arm64 kernel
defconfig.
Signed-off-by: Liu Ying <victor.liu@nxp.com>
MLK-15001-25 drm/bridge: Add ITE IT6263 LVDS to HDMI transmitter support
This patch adds IT6263 video support.
Signed-off-by: Liu Ying <victor.liu@nxp.com>
MLK-15001-23 drm/imx: ldb: Add i.MX8qxp LDB support
This patch adds i.MX8qxp LDB support.
Logics are added to make i.MX8qxp LDB cope with Mixel LVDS combo PHY.
Also, logics are added to handle pixel link quirks for i.MX8qxp LDB.
Signed-off-by: Liu Ying <victor.liu@nxp.com>
MLK-15001-22 phy: Add Mixel LVDS combo PHY support
This patch adds Mixel LVDS combo PHY support(MIPI DSI and LVDS combo).
This LVDS PHY supports one LVDS channel in single mode and two channels in
dual mode.
Signed-off-by: Liu Ying <victor.liu@nxp.com>
MLK-15001-21 drm/imx: ldb: Add i.MX8qm LDB support
This patch adds i.MX8qm LDB support.
Logics are added to make i.MX8qm LDB cope with Mixel LVDS PHY.
Also, logics are added to handle pixel link padding quirks for i.MX8qm LDB.
Signed-off-by: Liu Ying <victor.liu@nxp.com>
MLK-15001-20 phy: Add Mixel LVDS PHY support
This patch adds Mixel LVDS PHY support.
This PHY supports two LVDS channels.
Signed-off-by: Liu Ying <victor.liu@nxp.com>
MLK-15001-17 arm64: defconfig: Enable i.MX DRM/KMS support
This patch enables i.MX DRM/KMS support in arm64 kernel defconfig.
Signed-off-by: Liu Ying <victor.liu@nxp.com>
MLK-15001-16 drm/imx: Add DPU KMS support
This patch adds i.MX DPU KMS support.
Currently, only the DPU fetchdecodes are supported as DRM planes.
Signed-off-by: Liu Ying <victor.liu@nxp.com>
MLK-15001-15 drm/imx: ipuv3-kms: Move to a new ipuv3 folder
Since we want to add i.MX DPU support into imx-drm, the IPUv3 KMS driver
can be put into the ipuv3 folder to organize the driver code better.
Signed-off-by: Liu Ying <victor.liu@nxp.com>