linux.git
7 years agoMGS-2857-2 [#imx-530] cleanup spinlock debug code from gpu kernel
Xianzhong [Wed, 7 Jun 2017 09:05:47 +0000 (17:05 +0800)]
MGS-2857-2 [#imx-530] cleanup spinlock debug code from gpu kernel

not make sense to use the different codes for spinlock debug

Date: Jun 07, 2017
Signed-off-by: Xianzhong <xianzhong.li@nxp.com>
7 years agoMLK-14663-2: ASoC: fsl: imx-wm8960: Kill warning for non-gpr boards
Daniel Baluta [Thu, 15 Jun 2017 15:48:22 +0000 (18:48 +0300)]
MLK-14663-2: ASoC: fsl: imx-wm8960: Kill warning for non-gpr boards

A side effect of commit 5555277e693a7 ("MLK-13574-1: ASoC: imx-wm8960:
remove the gpr dependency") is that a warning was printed for boards
without gpr. This can be confusing.

imx7d boards do not have a gpr setting, so use imx7d-evk-wm8960
compatible string to avoid printing the warning.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
7 years agoMLK-14663-1: ASoC: fsl: imx-wm8960: Refactor GPR parsing
Daniel Baluta [Thu, 15 Jun 2017 15:41:58 +0000 (18:41 +0300)]
MLK-14663-1: ASoC: fsl: imx-wm8960: Refactor GPR parsing

Refactor GPR handling into a function for easier adding support
for non-gpr boards.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
7 years agoMLK-15124-06: defconfig: Add mx8 image subsystem
Sandor Yu [Tue, 20 Jun 2017 07:45:25 +0000 (15:45 +0800)]
MLK-15124-06: defconfig: Add mx8 image subsystem

Add mx8 image subsystem and v4l2 device.

Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
7 years agoMLK-15124-05: dts: Add imx8qm image subsystem property
Sandor Yu [Tue, 20 Jun 2017 07:40:31 +0000 (15:40 +0800)]
MLK-15124-05: dts: Add imx8qm image subsystem property

Add imx8qm image subsystem property.

Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
7 years agoMLK-15124-04: image ss: Add mx8 image subsystem driver
Sandor Yu [Tue, 20 Jun 2017 07:37:16 +0000 (15:37 +0800)]
MLK-15124-04: image ss: Add mx8 image subsystem driver

Add mxc media device driver.
Add mx8 isi device driver.
Add mx8 mipi csi device driver.
Add max9286 sensor driver.
mxc isi driver support CSC and scaling function.

Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
7 years agoMLK-15124-03: clk: Rename image subsystem clock name
Sandor Yu [Tue, 20 Jun 2017 07:30:25 +0000 (15:30 +0800)]
MLK-15124-03: clk: Rename image subsystem clock name

Rename image subsystem power domain name.
Rename mipi csi LIS clock name.

Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
7 years agoMLK-15124-02: clk: Add local interrupter clock
Sandor Yu [Tue, 20 Jun 2017 07:27:53 +0000 (15:27 +0800)]
MLK-15124-02: clk: Add local interrupter clock

Add mipi csi local interrupter clock

Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
7 years agoMLK-15124-01: pm: Add image subsystem power domain name
Sandor Yu [Tue, 20 Jun 2017 07:23:11 +0000 (15:23 +0800)]
MLK-15124-01: pm: Add image subsystem power domain name

Add imx8 image subsystem power domain name.

Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
7 years agoMLK-15120 ARM: imx7d: clk: select uart3 clock parent and set rate
Fugang Duan [Tue, 20 Jun 2017 06:14:03 +0000 (14:14 +0800)]
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>
7 years agoMLK-15104: ASoC: imx-sii902: add constraint for channels
Shengjiu Wang [Mon, 19 Jun 2017 10:36:50 +0000 (18:36 +0800)]
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)

7 years agoMLK-15109-4: ARM64: dts: update esai compatible string
Shengjiu Wang [Mon, 19 Jun 2017 07:47:51 +0000 (15:47 +0800)]
MLK-15109-4: ARM64: dts: update esai compatible string

update esai compatible string in imx8qm.

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
7 years agoMLK-15109-3: ASoC: fsl_esai: add constraint for dma workaround
Shengjiu Wang [Mon, 19 Jun 2017 03:28:42 +0000 (11:28 +0800)]
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 and multi-channel is easy
to trigger this issue. so add constraint for them to make the
workaround stable

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
7 years agoMLK-15109-2: ASoC: fsl_esai: add constrain_period_size
Shengjiu Wang [Mon, 19 Jun 2017 03:28:42 +0000 (11:28 +0800)]
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>
7 years agoMLK-15109-1: ASoC: fsl_esai: introduce SoC specific data
Shengjiu Wang [Mon, 19 Jun 2017 03:41:44 +0000 (11:41 +0800)]
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>
7 years agoMLK-15066-2: ASoC: imx-pcm-dma-v2: fix typo issue
Shengjiu Wang [Mon, 19 Jun 2017 03:28:07 +0000 (11:28 +0800)]
MLK-15066-2: ASoC: imx-pcm-dma-v2: fix typo issue

fix typo issue

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
7 years agoMLK-15066-1: ASoC: imx-pcm-dma-v2: fix noise issue with pulseaudio
Shengjiu Wang [Mon, 12 Jun 2017 08:27:14 +0000 (16:27 +0800)]
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>
7 years agoMLK-15075 thermal: imx: fix temp read failure on i.mx7d
Bai Ping [Mon, 19 Jun 2017 09:01:23 +0000 (17:01 +0800)]
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>
7 years agoMLK-15074-11 ARM64: defconfig: enable CONFIG_BLK_DEV_INITRD
Li Jun [Fri, 16 Jun 2017 16:51:18 +0000 (00:51 +0800)]
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>
7 years agoMLK-15074-10 usb: gadget: utp: correct the set_fs condition
Li Jun [Fri, 16 Jun 2017 17:54:55 +0000 (01:54 +0800)]
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>
7 years agoMLK-15074-9 usb: gadget: utp: fix wrong fsg parameter
Li Jun [Fri, 16 Jun 2017 16:49:49 +0000 (00:49 +0800)]
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>
7 years agoMLK-15074-8 ARM: imx_v7_defconfig: enable CONFIG_FSL_UTP
Li Jun [Fri, 16 Jun 2017 17:40:37 +0000 (01:40 +0800)]
MLK-15074-8 ARM: imx_v7_defconfig: enable CONFIG_FSL_UTP

CONFIG_FSL_UTP is missing for MFG tool, add it.

Signed-off-by: Li Jun <jun.li@nxp.com>
7 years agoMLK-15119 PCI: imx: remove the wrong rebased codes
Richard Zhu [Mon, 19 Jun 2017 09:30:12 +0000 (17:30 +0800)]
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>
7 years agoMLK-15117 ARM64: dts: imx8qxp-lpddr4-arm2: add extended dts for enet2 port
Fugang Duan [Mon, 19 Jun 2017 09:10:09 +0000 (17:10 +0800)]
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>
7 years agoMLK-15118 ARM64: dts: imx8qxp: enable lpuart1/2 and eDMA0
Fugang Duan [Mon, 19 Jun 2017 09:05:01 +0000 (17:05 +0800)]
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>
7 years agoMLK-15064-4 PCI: imx: enable pcie support
Richard Zhu [Tue, 13 Jun 2017 06:02:40 +0000 (14:02 +0800)]
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>
7 years agoMLK-15064-3 clk: imx: enable pcie support
Richard Zhu [Tue, 13 Jun 2017 05:59:39 +0000 (13:59 +0800)]
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>
7 years agoMLK-15064-2 ARM64: DMA: limit the dma mask to be 32bit
Richard Zhu [Mon, 19 Sep 2016 08:39:44 +0000 (16:39 +0800)]
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>
7 years agoMLK-15064-1 ARM: imx: pcie: enable imx8 pcie
Richard Zhu [Fri, 26 May 2017 08:41:46 +0000 (16:41 +0800)]
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>
7 years agoMLK-15041: PXP-V3: enable stroe engine block mode and fill function
Guoniu.Zhou [Mon, 5 Jun 2017 02:05:20 +0000 (10:05 +0800)]
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>
7 years agoMLK-15001-42 arm64: dts: fsl-imx8qxp-lpddr4-arm2-it6263: Add it6263 support
Liu Ying [Mon, 12 Jun 2017 05:58:09 +0000 (13:58 +0800)]
MLK-15001-42 arm64: dts: fsl-imx8qxp-lpddr4-arm2-it6263: Add it6263 support

This patch adds it6263 LVDS to HDMI transmitter display support.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
7 years agoMLK-15001-41 arm64: dtsi: fsl-imx8qxp-ldb: Add LDB support
Liu Ying [Thu, 8 Jun 2017 02:16:25 +0000 (10:16 +0800)]
MLK-15001-41 arm64: dtsi: fsl-imx8qxp-ldb: Add LDB support

This patch adds LDB support.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
7 years agoMLK-15001-40 arm64: dtsi: fsl-imx8qxp: Add i2c0_mipi_lvds0/1 support
Liu Ying [Thu, 8 Jun 2017 02:11:53 +0000 (10:11 +0800)]
MLK-15001-40 arm64: dtsi: fsl-imx8qxp: Add i2c0_mipi_lvds0/1 support

This patch adds i2c0_mipi_lvds0/1 support.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
7 years agoMLK-15001-39 arm64: dtsi: fsl-imx8qxp: Add Mixel LVDS combo PHY support
Liu Ying [Thu, 8 Jun 2017 01:58:55 +0000 (09:58 +0800)]
MLK-15001-39 arm64: dtsi: fsl-imx8qxp: Add Mixel LVDS combo PHY support

This patch adds Mixel LVDS combo PHY support.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
7 years agoMLK-15001-38 arm64: dtsi: fsl-imx8qxp: MIPI DSI PD should be contained by DC PD
Liu Ying [Wed, 7 Jun 2017 09:55:34 +0000 (17:55 +0800)]
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>
7 years agoMLK-15001-37 arm64: dtsi: fsl-imx8qxp: Add pd_mipi_dsi1 support
Liu Ying [Wed, 24 May 2017 09:05:52 +0000 (17:05 +0800)]
MLK-15001-37 arm64: dtsi: fsl-imx8qxp: Add pd_mipi_dsi1 support

This patch adds pd_mipi_dsi1 support.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
7 years agoMLK-15001-36 arm64: dtsi: fsl-imx8qxp: Set the 1st instance num for pd_mipi_dsi
Liu Ying [Wed, 24 May 2017 09:01:09 +0000 (17:01 +0800)]
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>
7 years agoMLK-15001-35 arm64: dtsi: fsl-imx8qxp: Add display subsystem
Liu Ying [Mon, 5 Jun 2017 03:44:11 +0000 (11:44 +0800)]
MLK-15001-35 arm64: dtsi: fsl-imx8qxp: Add display subsystem

This patch adds display subsystem support.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
7 years agoMLK-15001-34 arm64: dts: fsl-imx8qxp-lpddr4-arm2: Enable dpu
Liu Ying [Tue, 6 Jun 2017 03:06:27 +0000 (11:06 +0800)]
MLK-15001-34 arm64: dts: fsl-imx8qxp-lpddr4-arm2: Enable dpu

This patch enables dpu.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
7 years agoMLK-15001-33 arm64: dtsi: fsl-imx8qxp: Add basic dpu node
Liu Ying [Mon, 5 Jun 2017 03:40:23 +0000 (11:40 +0800)]
MLK-15001-33 arm64: dtsi: fsl-imx8qxp: Add basic dpu node

This patch adds basic dpu node support.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
7 years agoMLK-15001-32 arm64: dts: fsl-imx8qm-lpddr4-arm2-it6263: Add it6263 support
Liu Ying [Mon, 5 Jun 2017 02:58:40 +0000 (10:58 +0800)]
MLK-15001-32 arm64: dts: fsl-imx8qm-lpddr4-arm2-it6263: Add it6263 support

This patch adds it6263 LVDS to HDMI transmitter display support.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
7 years agoMLK-15001-31 arm64: dtsi: fsl-imx8qm: Add LDB support
Liu Ying [Mon, 5 Jun 2017 02:53:07 +0000 (10:53 +0800)]
MLK-15001-31 arm64: dtsi: fsl-imx8qm: Add LDB support

This patch adds LDB support.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
7 years agoMLK-15001-30 arm64: dtsi: fsl-imx8qm: Add Mixel LVDS PHY support
Liu Ying [Mon, 5 Jun 2017 02:49:06 +0000 (10:49 +0800)]
MLK-15001-30 arm64: dtsi: fsl-imx8qm: Add Mixel LVDS PHY support

This patch adds Mixel LVDS PHY support.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
7 years agoMLK-15001-29 arm64: dtsi: fsl-imx8qm: Add display subsystem
Liu Ying [Mon, 5 Jun 2017 02:46:17 +0000 (10:46 +0800)]
MLK-15001-29 arm64: dtsi: fsl-imx8qm: Add display subsystem

This patch adds display subsystem support.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
7 years agoMLK-15001-28 arm64: dts: fsl-imx8qm-lpddr2-arm2: Enable dpu1 and dpu2
Liu Ying [Mon, 5 Jun 2017 02:44:08 +0000 (10:44 +0800)]
MLK-15001-28 arm64: dts: fsl-imx8qm-lpddr2-arm2: Enable dpu1 and dpu2

This patch enables dpu1 and dpu2.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
7 years agoMLK-15001-27 arm64: dtsi: fsl-imx8qm: Add basic dpu nodes
Liu Ying [Mon, 5 Jun 2017 02:37:13 +0000 (10:37 +0800)]
MLK-15001-27 arm64: dtsi: fsl-imx8qm: Add basic dpu nodes

This patch adds basic dpu nodes support.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
7 years agoMLK-15001-26 arm64: defconfig: Add ITE IT6263 LVDS to HDMI transmitter support
Liu Ying [Mon, 5 Jun 2017 02:10:09 +0000 (10:10 +0800)]
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>
7 years agoMLK-15001-25 drm/bridge: Add ITE IT6263 LVDS to HDMI transmitter support
Liu Ying [Mon, 27 Mar 2017 09:26:59 +0000 (17:26 +0800)]
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>
7 years agoMLK-15001-24 dt-bindings: Add ITE vendor prefix
Liu Ying [Mon, 27 Mar 2017 03:31:45 +0000 (11:31 +0800)]
MLK-15001-24 dt-bindings: Add ITE vendor prefix

Add vendor prefix for ITE Tech Inc. http://ite.com.tw/en

Signed-off-by: Liu Ying <victor.liu@nxp.com>
7 years agoMLK-15001-23 drm/imx: ldb: Add i.MX8qxp LDB support
Liu Ying [Mon, 12 Jun 2017 05:34:26 +0000 (13:34 +0800)]
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>
7 years agoMLK-15001-22 phy: Add Mixel LVDS combo PHY support
Liu Ying [Tue, 23 May 2017 06:55:17 +0000 (14:55 +0800)]
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>
7 years agoMLK-15001-21 drm/imx: ldb: Add i.MX8qm LDB support
Liu Ying [Fri, 2 Jun 2017 09:46:12 +0000 (17:46 +0800)]
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>
7 years agoMLK-15001-20 phy: Add Mixel LVDS PHY support
Liu Ying [Mon, 24 Apr 2017 05:59:40 +0000 (13:59 +0800)]
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>
7 years agoMLK-15001-19 dt-bindings: Add Mixel vendor prefix
Liu Ying [Mon, 24 Apr 2017 05:57:11 +0000 (13:57 +0800)]
MLK-15001-19 dt-bindings: Add Mixel vendor prefix

Add vendor prefix for Mixel, Inc. http://mixel.com

Signed-off-by: Liu Ying <victor.liu@nxp.com>
7 years agoMLK-15001-18 drm/imx: ldb: Revert an out-of-tree commit
Liu Ying [Fri, 2 Jun 2017 09:39:45 +0000 (17:39 +0800)]
MLK-15001-18 drm/imx: ldb: Revert an out-of-tree commit

To follow the upstreaming implementation:

Revert commit de361832a52a ("MLK-12184 drm/imx: imx-ldb: add mux id check").

Signed-off-by: Liu Ying <victor.liu@nxp.com>
7 years agoMLK-15001-17 arm64: defconfig: Enable i.MX DRM/KMS support
Liu Ying [Fri, 2 Jun 2017 09:37:04 +0000 (17:37 +0800)]
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>
7 years agoMLK-15001-16 drm/imx: Add DPU KMS support
Liu Ying [Sun, 22 Jan 2017 06:23:16 +0000 (14:23 +0800)]
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>
7 years agoMLK-15001-15 drm/imx: ipuv3-kms: Move to a new ipuv3 folder
Liu Ying [Thu, 12 Jan 2017 07:07:51 +0000 (15:07 +0800)]
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>
7 years agoMLK-15001-14 drm/imx: ipuv3-crtc: Rename some IPUv3 specific functions
Liu Ying [Thu, 12 Jan 2017 07:00:37 +0000 (15:00 +0800)]
MLK-15001-14 drm/imx: ipuv3-crtc: Rename some IPUv3 specific functions

Since we want to add i.MX DPU support into imx-drm, the IPUv3 specific
KMS function names should be no more too generic with the prefix 'imx_drm'.
Let's rename them to be prefixed with 'ipu'.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
7 years agoMLK-15001-13 drm/imx: Extract IPUv3 specific KMS functions to ipuv3-kms.c
Liu Ying [Thu, 8 Jun 2017 02:47:08 +0000 (10:47 +0800)]
MLK-15001-13 drm/imx: Extract IPUv3 specific KMS functions to ipuv3-kms.c

Since we want to add i.MX DPU support into imx-drm, the imx-drm core
driver should be no more IPUv3 specific.  Let's make imx-drm more generic
and extract IPUv3 specific KMS functions to ipuv3-kms.c.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
7 years agoMLK-15001-12 arm64: defconfig: Enable i.MX DPU core support
Liu Ying [Fri, 2 Jun 2017 09:27:44 +0000 (17:27 +0800)]
MLK-15001-12 arm64: defconfig: Enable i.MX DPU core support

This patch enables i.MX DPU core support in the arm64 kernel defconfig.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
7 years agoMLK-15001-11 gpu: Move ipuv3 and dpu to imx folder
Liu Ying [Wed, 12 Apr 2017 08:30:34 +0000 (16:30 +0800)]
MLK-15001-11 gpu: Move ipuv3 and dpu to imx folder

IPUv3 and DPU are both i.MX display processing units.
To organize the driver code better, let's introduce the imx folder for them.
Later, we may put more drivers into this folder, e.g., the prefetch engines.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
7 years agoMLK-15001-10 gpu: Add dpu base driver
Liu Ying [Mon, 5 Dec 2016 05:38:22 +0000 (13:38 +0800)]
MLK-15001-10 gpu: Add dpu base driver

DPU is the display processing unit embedded in i.MX8qm and i.MX8qxp.
It was originally designed by Fujitsu.
The first revision has capture controller, display controller and blit engine.
The second revision is a lite one and has display controller and blit engine.
This patch adds a base driver for DPU, which provides a thin register wrapper,
interrurpt support and client platform device register for the upper layer to
use.  Currently, the driver only supports the display controller at the pixel
processing level and only the fetchdecodes are supported/tested as the fetch
units.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
7 years agoMLK-15001-9 media: bus format: Add RGB101010_1X7X5_SPWG/JEIDA support
Liu Ying [Tue, 9 May 2017 09:39:41 +0000 (17:39 +0800)]
MLK-15001-9 media: bus format: Add RGB101010_1X7X5_SPWG/JEIDA support

This patch adds 30bit RGB101010 LVDS pixel formats support for
the SPWG and JEIDA LVDS mapping standards.  Each pixel is transferred
on 5 lanes with 7bit respectively.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
7 years agoMLK-15001-8 media: bus format: Add RGB666_1X30_PADLO support
Liu Ying [Tue, 9 May 2017 09:38:37 +0000 (17:38 +0800)]
MLK-15001-8 media: bus format: Add RGB666_1X30_PADLO support

This patch adds 30bit RGB666 with low padding support.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
7 years agoMLK-15001-7 media: bus format: Add RGB888_1X30_PADLO support
Liu Ying [Tue, 9 May 2017 09:16:27 +0000 (17:16 +0800)]
MLK-15001-7 media: bus format: Add RGB888_1X30_PADLO support

This patch adds 30bit RGB888 with low padding support.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
7 years agoMLK-15001-6 media: bus format: Add RGB101010_1X30 support
Liu Ying [Wed, 22 Mar 2017 03:50:06 +0000 (11:50 +0800)]
MLK-15001-6 media: bus format: Add RGB101010_1X30 support

This patch adds 30bit RGB101010 pixel format support.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
7 years agoMLK-15001-5 clk: imx8qxp: Add some clocks support for DC and MIPI-LVDS SSs
Liu Ying [Wed, 31 May 2017 02:58:46 +0000 (10:58 +0800)]
MLK-15001-5 clk: imx8qxp: Add some clocks support for DC and MIPI-LVDS SSs

This patch adds some clocks support for DC and MIPI-LVDS subsystems.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
7 years agoMLK-15001-4 arm64: dts: fsl-imx8qm-lpddr4-arm2: Remove it6263 support
Liu Ying [Mon, 5 Jun 2017 03:21:01 +0000 (11:21 +0800)]
MLK-15001-4 arm64: dts: fsl-imx8qm-lpddr4-arm2: Remove it6263 support

No driver works with the it6263 nodes, so let's remove them.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
7 years agoMLK-15001-3 arm64: fsl-imx8qm.dtsi: Remove lvds nodes
Liu Ying [Fri, 2 Jun 2017 08:27:14 +0000 (16:27 +0800)]
MLK-15001-3 arm64: fsl-imx8qm.dtsi: Remove lvds nodes

No driver works with the lvds nodes, so let's remove them.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
7 years agoMLK-15001-2 arm64: fsl-imx8qm.dtsi: Remove imxdpu nodes
Liu Ying [Fri, 2 Jun 2017 08:24:34 +0000 (16:24 +0800)]
MLK-15001-2 arm64: fsl-imx8qm.dtsi: Remove imxdpu nodes

No driver works with the imxdpu nodes, so let's remove them.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
7 years agoMLK-15001-1 arm64: fsl-imx8qm.dtsi: Remove framebuffer nodes
Liu Ying [Fri, 2 Jun 2017 08:18:27 +0000 (16:18 +0800)]
MLK-15001-1 arm64: fsl-imx8qm.dtsi: Remove framebuffer nodes

No driver works with the framebuffer nodes, so let's remove them.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
7 years agoMLK-15080 PCI: imx: pcie ep can't be probed properly
Richard Zhu [Thu, 15 Jun 2017 03:41:34 +0000 (11:41 +0800)]
MLK-15080 PCI: imx: pcie ep can't be probed properly

iMX7D Sabre SD board implement the GPIO expander
connected to a peripheral bus.
Probe deferral would be triggered when try to request
the expanded GPIO at the first time.
pcie ep can't be probed properly at the second probe,
because of the duplicated registration of the sysfs.

Change the registeration point of the sysfs to fix
this issue.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
7 years agoMLK-15076: arm: dts: insulate ULP kernel boot from M4 boot
Han Xu [Thu, 15 Jun 2017 20:39:50 +0000 (15:39 -0500)]
MLK-15076: arm: dts: insulate ULP kernel boot from M4 boot

i.MX7ULP QSPI dtb was used to update the M4 images, it should not able
to boot the kernel even without the M4 image in QSPI.

Also fixed the typo in dtsi to correct the QSPI register address
mapping range.

Signed-off-by: Han Xu <han.xu@nxp.com>
7 years agoMLK-15098: ASoC: fsl: fix imx-pcm build error when no dma
Adrian Alonso [Thu, 15 Jun 2017 17:12:49 +0000 (12:12 -0500)]
MLK-15098: ASoC: fsl: fix imx-pcm build error when no dma

Fix build error when SOC_IMX_PCM_DMA is not enabled
error: expected identifier or ‘(’ before ‘{’ token})

Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
7 years agoMLK-15053: ASoC: fsl: imx-cs42888: Reject unsupported sampling rates
Mihai Serban [Wed, 14 Jun 2017 12:40:32 +0000 (15:40 +0300)]
MLK-15053: ASoC: fsl: imx-cs42888: Reject unsupported sampling rates

Dynamic constraints for supported sampling rates cannot prevent aplay to
play audio files with higher rates. So we remove the constraints and hard
reject the unsupported samples.

Signed-off-by: Mihai Serban <mihai.serban@nxp.com>
Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
7 years agoMLK-15096 arm64: dts: imx8qm/imx8qxp: enable enet2 port
Fugang Duan [Thu, 15 Jun 2017 09:33:46 +0000 (17:33 +0800)]
MLK-15096 arm64: dts: imx8qm/imx8qxp: enable enet2 port

Since the enet clock issue is fixed at SCU code by commit 07dcb2d71dd1
("Fix bug clock enable code. Ensure that the appropriate parent PLL is
enabled/disabled.") in scu mainline branch, then enable enet2 port for
imx8qm and imx8qxp lpddr4 arm2 boards.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
7 years agoMLK-15095-02 ARM64: defconfig: add Bluetooth support
Fugang Duan [Thu, 15 Jun 2017 10:04:09 +0000 (18:04 +0800)]
MLK-15095-02 ARM64: defconfig: add Bluetooth support

Enable Bluetooth stack, driver and HCI interface config for
Bluetooth support.

Run "make savedefconfig" to change the defconfig.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
7 years agoMLK-15095-01 arm64: dts: imx8qm: add modem reset for Murata 1FD BT on lpddr4 arm2...
Fugang Duan [Thu, 15 Jun 2017 09:04:15 +0000 (17:04 +0800)]
MLK-15095-01 arm64: dts: imx8qm: add modem reset for Murata 1FD BT on lpddr4 arm2 board

i.MX8QM lpddr4-arm2 support Murata 1FD BT module that need some reset
timing. Add modem reset to support the BT device.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
7 years agoMLK-15094 tty: serial: fsl_lpuart: check dma_tx_in_progress in callback
Fugang Duan [Thu, 15 Jun 2017 08:48:31 +0000 (16:48 +0800)]
MLK-15094 tty: serial: fsl_lpuart: check dma_tx_in_progress in callback

There have a corner case that tx DMA .callback() is comming after
.flush_buffer(), then .callback() should check dma_tx_in_progress
flag and return in directly.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
7 years agoMLK-15093 tty: serial: imx: enable bit TDMAEN in each DMA transfer
Fugang Duan [Mon, 12 Jun 2017 08:56:43 +0000 (16:56 +0800)]
MLK-15093 tty: serial: imx: enable bit TDMAEN in each DMA transfer

In below case:
write() -> flush() -> write() -> flush() ...

.imx_flush_buffer() _MAY_ clear UCR1_TDMAEN bit if the callback is not
comming or DMA transfer is not completed, to ensure DMA trigger is enabled
for the new DMA prep_sg, enable the UCR1_TDMAEN bit in .dma_tx_work().

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Tested-by: Fabio Estevam <fabio.estevam@nxp.com>
Tested-by: David Wolfe <david.wolfe@nxp.com>
7 years agoMLK-15092 reset: gpio-reset: add post reset delay
Fugang Duan [Thu, 15 Jun 2017 08:45:29 +0000 (16:45 +0800)]
MLK-15092 reset: gpio-reset: add post reset delay

Some devices need to wait for some milliseconds after reset, so add
post reset delay in the gpio-reset chip.

The post reset delay is optional.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
7 years agoMLK-15042: ASoC: fsl_asrc: update supported format
Shengjiu Wang [Thu, 15 Jun 2017 07:32:17 +0000 (15:32 +0800)]
MLK-15042: ASoC: fsl_asrc: update supported format

The ASRC support 24 bit input width, but for S20_3LE the input width
is 20 bit, asrc will treat it as 24bit, which like a 24bit data shift
4 bit right, the result is the volume is lower than expected.
ASRC can't shift the 20bit data left 4 bit internally, so remove the
S20_3LE in supported list, add S24_3LE in supported list.

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit e65a014efe0a69c2db9de422fb780f0ba9c41dba)

7 years agoMLK-15063: ASoC: fsl: add dpcm_merged_chan for machine driver
Shengjiu Wang [Thu, 15 Jun 2017 05:19:34 +0000 (13:19 +0800)]
MLK-15063: ASoC: fsl: add dpcm_merged_chan for machine driver

Same as commit cfe36e2e7fce ("MLK-15043-2: ASoC: imx-cs42888: fix
noise issue with FE-BE case"). need to add same configuration
for imx-wm8960, imx-wm8962, imx-mqs.

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit 7195ad8ff56857028a6990296cc06e1c08a4e48e)

7 years agoMLK-15068: ASoC: fsl_ssi: fix the noise issue with S20_3LE Mono bitsream
Shengjiu Wang [Thu, 15 Jun 2017 05:07:20 +0000 (13:07 +0800)]
MLK-15068: ASoC: fsl_ssi: fix the noise issue with S20_3LE Mono bitsream

In master mode, clock of S20_3LE mono bistream is calculated by formula
"2 * params_width * params_rate", and this clock can't be divided from
clock soure, so switch to use the "2 * params_physical_width * params_rate"
formula to fix this issue.

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit 52a91e870b8cc95cbceeda205761134e25626863)

7 years agoMLK-15081 usb: gadget: utp: fix build warning with aarch64 compiler
Li Jun [Wed, 14 Jun 2017 15:16:30 +0000 (23:16 +0800)]
MLK-15081 usb: gadget: utp: fix build warning with aarch64 compiler

Compiler will generate below complain if using %d to print size_t, fix it
by using %zd.

drivers/usb/gadget/function/fsl_updater.c: In function ‘utp_do_read’:
./include/linux/kern_levels.h:4:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘size_t {aka long unsigned int}’ [-Wformat=]
 #define KERN_SOH "\001"  /* ASCII Start Of Header */
                  ^
./include/linux/kern_levels.h:13:19: note: in expansion of macro ‘KERN_SOH’
 #define KERN_INFO KERN_SOH "6" /* informational */
                   ^~~~~~~~
./include/linux/printk.h:284:9: note: in expansion of macro ‘KERN_INFO’
  printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
         ^~~~~~~~~
drivers/usb/gadget/function/fsl_updater.c:245:3: note: in expansion of macro ‘pr_info’
   pr_info("Copied to %p, %d bytes started from %d\n",
   ^~~~~~~

Acked-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Li Jun <jun.li@nxp.com>
7 years agoMLK-15074-7 ARM64: remove mfg_defconfig
Li Jun [Wed, 14 Jun 2017 14:10:19 +0000 (22:10 +0800)]
MLK-15074-7 ARM64: remove mfg_defconfig

As we can build in usb gadget function of utp for MFG tool, so we can
remove the dedicated menuconfig.

Signed-off-by: Li Jun <jun.li@nxp.com>
7 years agoMLK-15074-6 ARM64: defconfig: add USB gadget functions
Li Jun [Thu, 15 Jun 2017 15:18:50 +0000 (23:18 +0800)]
MLK-15074-6 ARM64: defconfig: add USB gadget functions

Build in CONFIG_USB_CONFIGFS, and add legency gadget function drivers
as module.

Acked-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Li Jun <jun.li@nxp.com>
7 years agoMLK-17054-5 ARM64: defconfig: match the output of 'make savedefconfig'
Li Jun [Thu, 15 Jun 2017 15:14:43 +0000 (23:14 +0800)]
MLK-17054-5 ARM64: defconfig: match the output of 'make savedefconfig'

Update defconfig to match the output of make savedefconfig.

Acked-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Li Jun <jun.li@nxp.com>
7 years agoMLK-15074-4 ARM: remove imx_v7_mfg_defconfig
Li Jun [Tue, 13 Jun 2017 14:22:19 +0000 (22:22 +0800)]
MLK-15074-4 ARM: remove imx_v7_mfg_defconfig

As we already build in USB mass storage for UTP via configfs
in kernel, we can use imx_v7_defconfig for MFG tool now, so
remove it.

Reviewed-by: Frank Li <frank.li@nxp.com>
Signed-off-by: Li Jun <jun.li@nxp.com>
7 years agoMLK-15074-3 ARM: imx_v7_defconfig: build in USB_CONFIGFS
Li Jun [Tue, 13 Jun 2017 13:57:14 +0000 (21:57 +0800)]
MLK-15074-3 ARM: imx_v7_defconfig: build in USB_CONFIGFS

Build in CONFIG_USB_CONFIGFS for MFG tool, with that, MFG tool can directly
use imx_v7_defconfig, and we can remove imx_v7_mfg_defconfig.

Acked-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Li Jun <jun.li@nxp.com>
7 years agoMLK-15074-2 usb: gadget: utp: move the Kconfig out of legacy dir
Li Jun [Tue, 13 Jun 2017 13:49:44 +0000 (21:49 +0800)]
MLK-15074-2 usb: gadget: utp: move the Kconfig out of legacy dir

As the UTP is based on mass storage function, instead of legacy
g_mass_storage, so move it out of legacy folder.

Acked-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Li Jun <jun.li@nxp.com>
7 years agoMLK-15074-1 usb: gadget: f_mass_storage: add utp device check
Li Jun [Tue, 13 Jun 2017 20:06:38 +0000 (04:06 +0800)]
MLK-15074-1 usb: gadget: f_mass_storage: add utp device check

Add utp device check for utp handling in f_mass_storage.

Acked-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Li Jun <jun.li@nxp.com>
7 years agoMLK-15061-2: ASoC: fsl_asrc_m2m: fix asrc m2m can't work in imx8
Shengjiu Wang [Mon, 12 Jun 2017 07:19:42 +0000 (15:19 +0800)]
MLK-15061-2: ASoC: fsl_asrc_m2m: fix asrc m2m can't work in imx8

Power domain need to be enabled when asrc m2m start to work, and
disabled when it stop.
Switch back to use the pm_runtime_get_sync and pm_runtime_put_sync
for which is removed in commit 1a3d82e08fa2 ("ASoC: fsl: refine
the asrc driver for imx8qm").

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
7 years agoMLK-15061-1: ASoC: fsl_asrc_m2m: fix dma_map_sg issue for arm64
Shengjiu Wang [Thu, 15 Jun 2017 07:50:50 +0000 (15:50 +0800)]
MLK-15061-1: ASoC: fsl_asrc_m2m: fix dma_map_sg issue for arm64

For arm64, the dma_map_sg and dma_unmap_sg need the device parameter,
otherwise, it will return error.

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
7 years agoMLK-15043-2: ASoC: imx-cs42888: fix noise issue with FE-BE case
Shengjiu Wang [Wed, 14 Jun 2017 09:40:17 +0000 (17:40 +0800)]
MLK-15043-2: ASoC: imx-cs42888: fix noise issue with FE-BE case

The case is "aplay -Dhw:0,1 -d 5 -r 8000 -f S16_LE -c 9 audio8k16b9c.wav",
which is to playback 9 channel bitstream. But the maximum supported channel
of codec is 8, ALSA didn't return error for this case, but continue to
playback.

The reason is that in FE-BE case, ASLA only get the FE's hw parameter for
constraint list, omit the BE's parameter. This patch is to merge BE's
parameter to FE. in this situation with the 9 channel case, ASLA will
return error "aplay: set_params:1303: Channels count non available"

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit cfe36e2e7fce578eeac9a36eac04db2584e6e92e)

7 years agoMLK-15043-1: ASoC: soc-pcm: add dpcm_merged_chan in snd_soc_dai_link
Shengjiu Wang [Wed, 14 Jun 2017 09:35:20 +0000 (17:35 +0800)]
MLK-15043-1: ASoC: soc-pcm: add dpcm_merged_chan in snd_soc_dai_link

According to commit b073ed4e2126 ("ASoC: soc-pcm: DPCM cares BE format"),
Current DPCM only care FE channel, but it will set unsupported channel to
drivers.
So add dpcm_merged_chan, which is used to merge the BE's codec
channels configuration to FE if it exist in snd_soc_dai_link. And
dpcm_runtime_base_chan function is to get the channel configuration of BE,
which likes the dpcm_runtime_base_format function.

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit 19ff1095d4b68d17a5f68a2de5654be72b606809)

7 years agoMLK-15010 mmc: host: sdhci-esdhc-imx: add HS400_ES support for imx8
Haibo Chen [Tue, 13 Jun 2017 08:34:22 +0000 (16:34 +0800)]
MLK-15010 mmc: host: sdhci-esdhc-imx: add HS400_ES support for imx8

i.MX8QXP and i.MX8QM support Enhanced Strobe HS400 mode. This patch
add HS400_ES mode support, due to HS400_ES do not need tuning, select
HS400_ES mode should be faster than select HS400/HS200 mode.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
7 years agoMLK-15047-2: ARM: imx: add IMX_SOC_IMX7
Octavian Purdila [Mon, 12 Jun 2017 08:58:44 +0000 (11:58 +0300)]
MLK-15047-2: ARM: imx: add IMX_SOC_IMX7

IMX_SOC_IMX7 is referenced in makefiles and kconfig but it is not
defined, so define it and select it for both IMX7D and IMX7ULP.

Fixes the following build errors:

arch/arm/mach-imx/built-in.o: In function `update_lpddr2_freq_smp':
platform-imx-dma.c:(.text+0xf7c): undefined reference to `imx_scu_base'
platform-imx-dma.c:(text+0xf88): undefined reference to `imx_scu_base'
arch/arm/mach-imx/built-in.o: In function `update_ddr_freq_imx_smp':
platform-imx-dma.c:(text+0x330c): undefined reference to `imx_scu_base'
platform-imx-dma.c:(text+0x3318): undefined reference to `imx_scu_base'
Makefile:969: recipe for target 'vmlinux' failed
make: *** [vmlinux] Error 1

Signed-off-by: Octavian Purdila <octavian.purdila@nxp.com>
7 years agoMLK-15047-1 media: platform: mxc v4l2 capture: add MXC_MIPI_CSI2 dependency
Octavian Purdila [Mon, 12 Jun 2017 08:55:39 +0000 (11:55 +0300)]
MLK-15047-1 media: platform: mxc v4l2 capture: add MXC_MIPI_CSI2 dependency

Fixes the following build errors:

ERROR: "mipi_csi2_reset" [drivers/media/platform/mxc/capture/ov5640_camera_mipi_int.ko] undefined!
ERROR: "mipi_csi2_set_datatype" [drivers/media/platform/mxc/capture/ov5640_camera_mipi_int.ko] undefined!
ERROR: "mipi_csi2_enable" [drivers/media/platform/mxc/capture/ov5640_camera_mipi_int.ko] undefined!
ERROR: "mipi_csi2_dphy_status" [drivers/media/platform/mxc/capture/ov5640_camera_mipi_int.ko] undefined!
ERROR: "mipi_csi2_disable" [drivers/media/platform/mxc/capture/ov5640_camera_mipi_int.ko] undefined!
ERROR: "mipi_csi2_set_lanes" [drivers/media/platform/mxc/capture/ov5640_camera_mipi_int.ko] undefined!
ERROR: "mipi_csi2_get_status" [drivers/media/platform/mxc/capture/ov5640_camera_mipi_int.ko] undefined!
ERROR: "mipi_csi2_get_info" [drivers/media/platform/mxc/capture/ov5640_camera_mipi_int.ko] undefined!
ERROR: "mipi_csi2_get_error1" [drivers/media/platform/mxc/capture/ov5640_camera_mipi_int.ko] undefined!

Signed-off-by: Octavian Purdila <octavian.purdila@nxp.com>