linux.git
4 years agoMLK-23234-1 arm64: dts: imx8mp: correct cfg clock for mipi_dsi
Fancy Fang [Mon, 13 Jan 2020 14:27:09 +0000 (22:27 +0800)]
MLK-23234-1 arm64: dts: imx8mp: correct cfg clock for mipi_dsi

The 'cfg' clock for mipi dsi is used for register
accesses and the mipi apb clock should be enabled
for this purpose, so correct it in the mipi dsi
device node.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
4 years agoLF-1273-2 arm64: dts: imx8mp: add 'display-subsystem' node
Fancy Fang [Wed, 22 Apr 2020 13:42:51 +0000 (21:42 +0800)]
LF-1273-2 arm64: dts: imx8mp: add 'display-subsystem' node

Add the 'display-subsystem' node which attach to the
'lcdif_disp0' ports defined in 'lcdif1' node.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
4 years agoLF-1273-1 arm64: dts: imx8mp: add dsim and lcdif1 nodes
Fancy Fang [Wed, 22 Apr 2020 13:37:21 +0000 (21:37 +0800)]
LF-1273-1 arm64: dts: imx8mp: add dsim and lcdif1 nodes

Add the 'mipi_dsi' and 'lcdif1' device nodes to i.MX8MP
platform.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
4 years agoLF-1262 arm64: dts: imx8mp: Add cpufreq support
Anson Huang [Wed, 22 Apr 2020 03:00:37 +0000 (11:00 +0800)]
LF-1262 arm64: dts: imx8mp: Add cpufreq support

Add A53 OPP table and regulator to support cpufreq.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
4 years agoLF-1232-12 arm64: dts: imx8qxp-mek: Add DPU LCDIF support with rpmsg
Liu Ying [Thu, 16 Apr 2020 04:04:16 +0000 (12:04 +0800)]
LF-1232-12 arm64: dts: imx8qxp-mek: Add DPU LCDIF support with rpmsg

This patch adds DPU LCDIF support with rpmsg on the i.MX8qxp MEK platform.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1232-11 arm64: dts: imx8qxp-mek-dpu-lcdif: Remove rpmsg support
Liu Ying [Thu, 16 Apr 2020 04:18:13 +0000 (12:18 +0800)]
LF-1232-11 arm64: dts: imx8qxp-mek-dpu-lcdif: Remove rpmsg support

As the dts file name doesn't contain 'rpmsg', we should remove the
rpmsg support to avoid user's confusion.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1232-10 arm64: dts: imx8x-mek: Introduce DPU LCDIF include file
Liu Ying [Thu, 16 Apr 2020 03:59:10 +0000 (11:59 +0800)]
LF-1232-10 arm64: dts: imx8x-mek: Introduce DPU LCDIF include file

This patch introduces DPU LCDIF dts include file,
so that it may be included in some dts files as needed.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1232-9 arm64: dts: imx8qxp-mek: Add IT6263 LVDS0/1 dual channel support with rpmsg
Liu Ying [Thu, 16 Apr 2020 03:44:27 +0000 (11:44 +0800)]
LF-1232-9 arm64: dts: imx8qxp-mek: Add IT6263 LVDS0/1 dual channel support with rpmsg

This patch adds IT6263 LVDS0/1 dual channel support with rpmsg on
the i.MX8qxp MEK platform.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1232-8 arm64: dts: imx8qxp-mek: Add JDI WUXGA LVDS0/1 panel support with rpmsg
Liu Ying [Thu, 16 Apr 2020 03:41:38 +0000 (11:41 +0800)]
LF-1232-8 arm64: dts: imx8qxp-mek: Add JDI WUXGA LVDS0/1 panel support with rpmsg

This patch adds JDI WUXGA LVDS0/1 panel support with rpmsg on
the i.MX8qxp MEK platform.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1232-7 arm64: dts: imx8qxp-mek-it6263-lvds0/1-dual-channel: Remove rpmsg support
Liu Ying [Thu, 16 Apr 2020 04:13:54 +0000 (12:13 +0800)]
LF-1232-7 arm64: dts: imx8qxp-mek-it6263-lvds0/1-dual-channel: Remove rpmsg support

As the dts file names don't contain 'rpmsg', we should remove the
rpmsg support to avoid user's confusion.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1232-6 arm64: dts: imx8qxp-mek-jdi-wuxga-lvds0/1-panel: Remove rpmsg support
Liu Ying [Thu, 16 Apr 2020 04:13:03 +0000 (12:13 +0800)]
LF-1232-6 arm64: dts: imx8qxp-mek-jdi-wuxga-lvds0/1-panel: Remove rpmsg support

As the dts file names don't contain 'rpmsg', we should remove the
rpmsg support to avoid user's confusion.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1232-5 arm64: dts: imx8x-mek: Introduce IT6263 LVDS0/1 dual channel include files
Liu Ying [Thu, 16 Apr 2020 03:32:44 +0000 (11:32 +0800)]
LF-1232-5 arm64: dts: imx8x-mek: Introduce IT6263 LVDS0/1 dual channel include files

This patch introduces IT6263 LVDS0/1 dual channel dts include files,
so that they may be included in some dts files as needed.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1232-4 arm64: dts: imx8x-mek: Introduce JDI WUXGA LVDS0/1 panel include files
Liu Ying [Thu, 16 Apr 2020 03:21:13 +0000 (11:21 +0800)]
LF-1232-4 arm64: dts: imx8x-mek: Introduce JDI WUXGA LVDS0/1 panel include files

This patch introduces JDI WUXGA LVDS0/1 panel dts include files,
so that they may be included in some dts files as needed.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1232-3 arm64: dts: imx8qm-mek: Add JDI WUXGA LVDS1 panel support with rpmsg
Liu Ying [Thu, 16 Apr 2020 03:16:45 +0000 (11:16 +0800)]
LF-1232-3 arm64: dts: imx8qm-mek: Add JDI WUXGA LVDS1 panel support with rpmsg

This patch adds JDI WUXGA LVDS1 panel support with rpmsg on
the i.MX8qm MEK platform.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1232-2 arm64: dts: imx8qm-mek-jdi-wuxga-lvds1-panel: Remove rpmsg support
Liu Ying [Thu, 16 Apr 2020 03:13:27 +0000 (11:13 +0800)]
LF-1232-2 arm64: dts: imx8qm-mek-jdi-wuxga-lvds1-panel: Remove rpmsg support

As the dts file name doesn't contain 'rpmsg', we should remove the
rpmsg support to avoid user's confusion.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1232-1 arm64: dts: imx8qm-mek: Introduce JDI WUXGA LVDS1 panel include file
Liu Ying [Thu, 16 Apr 2020 03:09:23 +0000 (11:09 +0800)]
LF-1232-1 arm64: dts: imx8qm-mek: Introduce JDI WUXGA LVDS1 panel include file

This patch introduces JDI WUXGA LVDS1 panel dts include file,
so that it may be included in some dts files as needed.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoMLK-23700 ARM: dts: Fix system freeze caused low power run mode on imx6ulz
Jacky Bai [Fri, 3 Apr 2020 02:15:23 +0000 (10:15 +0800)]
MLK-23700 ARM: dts: Fix system freeze caused low power run mode on imx6ulz

The 'fsl,low-power-run' property should be added for i.MX6ULL/ULZ
to enable the low power run mode. if this property is missed,
system will hang due to ARM core clock source mismatch.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoLF-1207: arm64/dts: imx8qxp: Add rpmsg support for rm67191
Robert Chiras [Mon, 6 Apr 2020 11:31:57 +0000 (14:31 +0300)]
LF-1207: arm64/dts: imx8qxp: Add rpmsg support for rm67191

Add new dts file to support the rpmsg dts for the dsi-rm67191
use-case.

Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
4 years agoLF-1189-15 arm64: imx8qxp-mek: Add Seiko WVGA LCD panel(driven by DPU) support
Liu Ying [Mon, 30 Mar 2020 02:37:34 +0000 (10:37 +0800)]
LF-1189-15 arm64: imx8qxp-mek: Add Seiko WVGA LCD panel(driven by DPU) support

This patch adds Seiko WVGA LCD panel support on the i.MX8qxp mek platform.
The panel is driven by DPU in DC0 subsystem.

Reviewed-by: Robert Chiras <robert.chiras@nxp.com>
Tested-by: Robert Chiras <robert.chiras@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1189-14 arm64: imx8qxp-mek: Add backlight support for LCDIF display
Liu Ying [Mon, 30 Mar 2020 02:19:35 +0000 (10:19 +0800)]
LF-1189-14 arm64: imx8qxp-mek: Add backlight support for LCDIF display

This patch adds backlight support for LCDIF display on
i.MX8qxp mek platform.
The backlight brightness is controlled by PWM.

Reviewed-by: Robert Chiras <robert.chiras@nxp.com>
Tested-by: Robert Chiras <robert.chiras@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1189-13 arm64: dts: imx8qxp-mek: Add adma_pwm support
Liu Ying [Mon, 30 Mar 2020 02:15:28 +0000 (10:15 +0800)]
LF-1189-13 arm64: dts: imx8qxp-mek: Add adma_pwm support

This patch adds adma_pwm support for i.MX8qxp mek platform.
The PWM can be used to control display panel's backlight.

Reviewed-by: Robert Chiras <robert.chiras@nxp.com>
Tested-by: Robert Chiras <robert.chiras@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1189-12 arm64: dts: imx8qxp-mek: Add PWM pinctrl for LCDIF display
Liu Ying [Mon, 30 Mar 2020 02:03:04 +0000 (10:03 +0800)]
LF-1189-12 arm64: dts: imx8qxp-mek: Add PWM pinctrl for LCDIF display

This patch adds PWM pinctrl setting support for LCDIF display.
The PWM can be used to control display panel's backlight.

Reviewed-by: Robert Chiras <robert.chiras@nxp.com>
Tested-by: Robert Chiras <robert.chiras@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1189-11 arm64: dts: imx8qxp-mek: Add LCDIF pinctrl
Liu Ying [Fri, 27 Mar 2020 08:24:42 +0000 (16:24 +0800)]
LF-1189-11 arm64: dts: imx8qxp-mek: Add LCDIF pinctrl

This patch adds all pinctrl settings for LCDIF to send
out parallel display signals to externel display device.

Reviewed-by: Robert Chiras <robert.chiras@nxp.com>
Tested-by: Robert Chiras <robert.chiras@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1189-10 arm64: imx8qxp-ss-adma.dtsi: Add pwm support
Liu Ying [Mon, 30 Mar 2020 04:19:49 +0000 (12:19 +0800)]
LF-1189-10 arm64: imx8qxp-ss-adma.dtsi: Add pwm support

This patch adds pwm device tree support for i.MX8qxp ADMA support.

Reviewed-by: Robert Chiras <robert.chiras@nxp.com>
Tested-by: Robert Chiras <robert.chiras@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1189-9 arm64: imx8qxp-ss-adma.dtsi: Add pwm lpcg clocks support
Liu Ying [Mon, 30 Mar 2020 01:32:11 +0000 (09:32 +0800)]
LF-1189-9 arm64: imx8qxp-ss-adma.dtsi: Add pwm lpcg clocks support

This patch adds pwm lpcg clocks support for i.MX8qxp ADMA subsystem.

Reviewed-by: Robert Chiras <robert.chiras@nxp.com>
Tested-by: Robert Chiras <robert.chiras@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1189-8 arm64: imx8qxp-ss-adma.dtsi: Add LCDIF mux regs syscon
Liu Ying [Thu, 26 Mar 2020 08:48:07 +0000 (16:48 +0800)]
LF-1189-8 arm64: imx8qxp-ss-adma.dtsi: Add LCDIF mux regs syscon

LCDIF mux found in i.MX8qxp SoC muxes different inputs to
parallel display interface.  The control register for the
mux lives in LCDIF mux regs region.  This patch adds a
relevant LCDIF mux regs syscon node for that region.

Reviewed-by: Robert Chiras <robert.chiras@nxp.com>
Tested-by: Robert Chiras <robert.chiras@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1189-7 arm64: imx8qxp-ss-dc.dtsi: Add lcdif endpoint to dpu node
Liu Ying [Thu, 26 Mar 2020 08:41:45 +0000 (16:41 +0800)]
LF-1189-7 arm64: imx8qxp-ss-dc.dtsi: Add lcdif endpoint to dpu node

i.MX8qxp DPU display stream1 may drive a parallel display through
pixel link to LCDIF mux.  This patch adds lcdif endpoint to DPU node.

Reviewed-by: Robert Chiras <robert.chiras@nxp.com>
Tested-by: Robert Chiras <robert.chiras@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1209: ARM64: dts: freescale: imx8mp-evk: add pca9450 pmic
Robin Gong [Wed, 8 Apr 2020 11:42:09 +0000 (19:42 +0800)]
LF-1209: ARM64: dts: freescale: imx8mp-evk: add pca9450 pmic

Add pca9450 driver.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reviewed-by: Anson Huang <anson.huang@nxp.com>
4 years agoLF-1622-15 ARM: dts: imx6q: fix apis-bus node name
Dong Aisheng [Fri, 20 Mar 2020 14:20:09 +0000 (22:20 +0800)]
LF-1622-15 ARM: dts: imx6q: fix apis-bus node name

This node name changed since:
c0157bdcafa1 ("ARM: dts: imx: use generic name bus")

Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoMLK-21760 arm64: dts: imx8qm/imx8qxp: VPU Encoder: increase resolution limitation
Ming Qian [Wed, 1 Apr 2020 05:44:03 +0000 (13:44 +0800)]
MLK-21760 arm64: dts: imx8qm/imx8qxp: VPU Encoder: increase resolution limitation

increase the resolution limitation from 1920x1080 to 1920x1920
I have submitted the patch on branch 4.19.y
I don't know why branch 5.4 doesn't include this patch
so I submit it again

Signed-off-by: Ming Qian <ming.qian@nxp.com>
4 years agoarm64: dtsi: imx8mq: disable super speed park mode for usb
Li Jun [Mon, 30 Mar 2020 13:43:04 +0000 (21:43 +0800)]
arm64: dtsi: imx8mq: disable super speed park mode for usb

- Advantage of park mode
  When only a single Async endpoint is active.

- Behavior of park mode
  1. The controller prefetches data/TRBs to do 3 * burst_size worth
     of packets.
  2. When park mode is disabled there will be some delay between
     bursts on the USB. This can be avoided if park mode is enabled
     in cases of only one endpoint is active.
   3. But this delay is significant only with systems of large
      latencies.
   4. We have noticed that in cases where a device NAKs often, it
      tends to bring down the performance for a single endpoint case.

- Issue on "park mode"
   1. LSP (List Processor) goes in and out of park mode irrespective
      of the fact that there are more endpoints active. #LSP consider
      that there is only one endpoint active.
   2. This causes master scheduler and transaction handlers to think
      that they are in park mode even though they are not. This is
      because request to transaction handlers, generated by HSCH is
      in park mode when the request is made
   3. This causes a case where the master scheduler calculates wrongly
      the number of TRB cache space available.
   4. Because of the wrongly calculated number of TRB spaces, the core
      fetches more TRBS than there is space for.
   5. This causes overwriting the TRB cache area into the TRQ cache
      area which is next to the TRB cache area.
   6. This causes invalidating an entry in the TRQ
   7. This causes transaction handlers to ignore a request in the TRQ
      which it should have processed.
   8. This causes the main scheduler to hang because it is waiting for
      status from transaction handler.
   9. This causes host controller to hang.

- Work Around
  Disabling park mode for super speed by setting GUCTL1[17] to be 1.

Signed-off-by: Li Jun <jun.li@nxp.com>
4 years agoLF-1187 ARM64: dts: imx8mp: add ethernet support for evk board
Fugang Duan [Thu, 26 Mar 2020 15:14:57 +0000 (23:14 +0800)]
LF-1187 ARM64: dts: imx8mp: add ethernet support for evk board

Add ethernet support for imx8mp evk board.

Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoMLK-23131-1 arm64: dts: imx8mm/imx8mn: Add dram_pll_div clock for busfreq
Anson Huang [Thu, 19 Dec 2019 06:29:53 +0000 (14:29 +0800)]
MLK-23131-1 arm64: dts: imx8mm/imx8mn: Add dram_pll_div clock for busfreq

On i.MX8MM/i.MX8MN platforms, need to add dram_pll_div clock for
busfreq driver to update dram_core clock when DRAM frequency switches
between low bus mode and high bus mode.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Robin Gong <yibin.gong@nxp.com>
4 years agoLF-723 ARM: dts: imx: Add pwm backlight for lvds display
Jacky Bai [Wed, 8 Jan 2020 06:30:38 +0000 (14:30 +0800)]
LF-723 ARM: dts: imx: Add pwm backlight for lvds display

Add PWM backlight for LVDS display on i.MX6SX SDB board.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoMGS-5584 arm64: imx8mn.dtsi: GPU reg format should align with soc0.
Ella Feng [Wed, 25 Mar 2020 10:33:34 +0000 (18:33 +0800)]
MGS-5584 arm64: imx8mn.dtsi: GPU reg format should align with soc0.

GPU node is now within soc0 node, reg format need follow
“#address-cells = <1>;#size-cells = <1>;” as soc0.

Signed-off-by: Ella Feng <ella.feng@nxp.com>
4 years agoLF-882-2 arm64: imx8qm-ss-lvds.dtsi: Correct clock property of irqsteer_lvds1 node
Liu Ying [Fri, 13 Mar 2020 05:58:47 +0000 (13:58 +0800)]
LF-882-2 arm64: imx8qm-ss-lvds.dtsi: Correct clock property of irqsteer_lvds1 node

The irqsteer_lvds1 node's ipg clock source should be
lvds1_lis_lpcg_ipg_clk, instead of lvds0_lis_lpcg_ipg_clk.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-882-1 arm64: imx8qm-ss-lvds.dtsi: Separate ipg clock for lvds0/1 subsystems
Liu Ying [Fri, 13 Mar 2020 05:57:17 +0000 (13:57 +0800)]
LF-882-1 arm64: imx8qm-ss-lvds.dtsi: Separate ipg clock for lvds0/1 subsystems

Each LVDS subsystem should have ipg clock of their own.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-749 ARM: dts: imx6qdl: add bus recovery for i2c buses
Clark Wang [Thu, 9 Jan 2020 07:15:01 +0000 (15:15 +0800)]
LF-749 ARM: dts: imx6qdl: add bus recovery for i2c buses

Add bus recovery for all i2c buses to avoid bus dead lock.

Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
Acked-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoLF-633-3 ARM64: dts: imx8qm: add bus recovery for i2c1
Clark Wang [Fri, 27 Dec 2019 07:22:12 +0000 (15:22 +0800)]
LF-633-3 ARM64: dts: imx8qm: add bus recovery for i2c1

In order to avoid the bus busy status when read wm8960, add bus recovery
feature for i2c1.

Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
4 years agoLF-633-2 ARM64: dts: imx8qxp: add bus recovery for cm40_i2c
Clark Wang [Fri, 27 Dec 2019 07:26:19 +0000 (15:26 +0800)]
LF-633-2 ARM64: dts: imx8qxp: add bus recovery for cm40_i2c

In order to avoid the bus busy status when read wm8960, add bus recovery
feature for cm40_i2c.

Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
4 years agoLF-1106 arm64: dts: imx8mq-evk: reduce cma reserved memory size to 896M
Dong Aisheng [Tue, 10 Mar 2020 09:19:04 +0000 (17:19 +0800)]
LF-1106 arm64: dts: imx8mq-evk: reduce cma reserved memory size to 896M

Currently the cma reserved memory allocation will fail due to conflict
with rpmsg reserved memory which results in a lot of VPU test failure.

e.g
rpmsg_reserved: rpmsg@0xb8000000 {
        no-map;
        reg = <0 0xb8000000 0 0x400000>;
};

This patch worked around this issue first by reducing the CMA size to 896M
from 960M.

We're still investigating a more sane approach to add back the correct
requirement CMA memory (per MM team, it may need 1060M).

Reviewed-by: ZHOU PENG <eagle.zhou@nxp.com>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoMLKU-129-4 arm64: dts: imx8mp: add caam snvs and secvio
Horia Geantă [Fri, 10 Jan 2020 11:03:39 +0000 (13:03 +0200)]
MLKU-129-4 arm64: dts: imx8mp: add caam snvs and secvio

Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Acked-by: Leonard Crestez <leonard.crestez@nxp.com>
4 years agoMLKU-129-3 arm64: dts: imx8mp: add secure memory
Horia Geantă [Fri, 10 Jan 2020 11:03:22 +0000 (13:03 +0200)]
MLKU-129-3 arm64: dts: imx8mp: add secure memory

Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Acked-by: Leonard Crestez <leonard.crestez@nxp.com>
4 years agodt-bindings: crypto: fsl: add clock for caam snvs
Horia Geantă [Thu, 16 Jan 2020 08:36:56 +0000 (10:36 +0200)]
dt-bindings: crypto: fsl: add clock for caam snvs

Add "clock" property (and corresponding "clock-names")
for the CAAM SNVS node.

This property is optional: there are cases when SNVS clock is kept
always on (chips such as i.MX6 SX, UL).
A good guide line is to check whether i.MX clk driver defines the clock.

Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Acked-by: Leonard Crestez <leonard.crestez@nxp.com>
4 years agoLF-835-2 ARM: dts: imx7ulp-evk: add pinctrl for suspend
Peter Chen [Mon, 20 Jan 2020 02:04:43 +0000 (10:04 +0800)]
LF-835-2 ARM: dts: imx7ulp-evk: add pinctrl for suspend

For imx7ulp, the power of pinctrl is lost during the system
susupend, so we need to restore the pinctrl value after resume.
Add one group pinctrl for "sleep" for both id and vbus pinctrl.

Reviewed-by: Jun Li <jun.li@nxp.com>
Acked-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-835-1 ARM: dts: imx7ulp.dtsi: add phandle for sim for USBPHY1
Peter Chen [Fri, 17 Jan 2020 07:33:00 +0000 (15:33 +0800)]
LF-835-1 ARM: dts: imx7ulp.dtsi: add phandle for sim for USBPHY1

During the system wakeup, USB PHY driver needs to access sim registers,
so we add phandle for sim, otherwise, the M4 doesn't know USB
is a wakeup source, and USB wakeup function would not work like this
ticket describes.

Reviewed-by: Jun Li <jun.li@nxp.com>
Acked-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoarm64: dts: imx8qm/qxp: Correct the compatible string for thermal support
Jacky Bai [Mon, 9 Mar 2020 07:41:12 +0000 (15:41 +0800)]
arm64: dts: imx8qm/qxp: Correct the compatible string for thermal support

The compatible string for imx8qm/qxp tmu sensor should be "fsl,imx-sc-thermal",
so correct it.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
[ Aisheng: drop unneeded MX8QXP part ]
Sign-off-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-1081 arch: arm64: dts: imx8-cm4: correct INTMUX compatible string and
Joakim Zhang [Thu, 5 Mar 2020 02:19:02 +0000 (10:19 +0800)]
LF-1081 arch: arm64: dts: imx8-cm4: correct INTMUX compatible string and
interrupt specifier

Since upstream change:
commit 2fbb13961e74 ("irqchip: Add NXP INTMUX interrupt multiplexer support")

1. Compatible string change:
nxp,imx-intmux -> fsl,imx-intmux

2. Two cells needed in interrupt specifier for INTMUX:
the 1st cell: hw interrupt number
the 2nd cell: channel index

Fixes: 9d18df5cc1bb (arm64: dts: imx8: cm40: move into a separate ss dtsi)
Fixes: bc431df69ac0 (arch: arm64: imx8qm: add lpi2c and intmux for CM41 subsystem)
Acked-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
4 years agoarm64: dts: imx8qm:imx8qxp align CAAM Job ring node naming
Silvano di Ninno [Tue, 3 Mar 2020 17:09:50 +0000 (18:09 +0100)]
arm64: dts: imx8qm:imx8qxp align CAAM Job ring node naming

Align i.MX 8QXP/QM Job ring node naming
with the rest of the i.MX 8 platforms.

Signed-off-by: Silvano di Ninno <silvano.dininno@nxp.com>
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
4 years agoLF-665-16 arm64: dts: imx8mn: make sure cma do not overlap dma zone
Anson Huang [Tue, 3 Mar 2020 09:01:02 +0000 (17:01 +0800)]
LF-665-16 arm64: dts: imx8mn: make sure cma do not overlap dma zone

After commit 1a8e1cef7603 ("arm64: use both ZONE_DMA and ZONE_DMA32"),
ZONE_DMA will contain the lower 1G of memory.
Change the CMA range start or size to ensure it's not overlapped
with dma zone.

Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoLF-514-3 arm64: dts: imx8m: fix inmate linux boot
Anson Huang [Tue, 3 Mar 2020 08:58:56 +0000 (16:58 +0800)]
LF-514-3 arm64: dts: imx8m: fix inmate linux boot

The security related node in dtsi are default status okay, so we need
remove them from inmate linux, otherwise inmate crash.

Also remove other nodes that might break boot, such as busfreq and etc
to make it align with 4.19 kernel.

Reviewed-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoarm64: dts: imx8mn: add inmate/root dts
Anson Huang [Tue, 3 Mar 2020 08:50:16 +0000 (16:50 +0800)]
arm64: dts: imx8mn: add inmate/root dts

Add inmate/root dts for jailhouse dual linux case.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoLF-531-2 arm64: dts: imx8mn: add cma setting
Anson Huang [Tue, 3 Mar 2020 08:31:41 +0000 (16:31 +0800)]
LF-531-2 arm64: dts: imx8mn: add cma setting

Fix GPU AXI bus error when run WebGL 2.0 CTS,

The original CMA size is 320MB, set with 640MB,
This patch will align 8MN CMA size with L4.14.

Signed-off-by: Xianzhong <xianzhong.li@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoLF-531-1 arm64: dts: imx8mq/imx8mn: fix gpu setting
Anson Huang [Tue, 3 Mar 2020 08:30:11 +0000 (16:30 +0800)]
LF-531-1 arm64: dts: imx8mq/imx8mn: fix gpu setting

move gpu device configuration out of soc subsystem,
gpu parameters exceed soc range and will be skipped:
  ranges = <0x0 0x0 0x0 0x3e000000>

Signed-off-by: Xianzhong <xianzhong.li@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoLF-458-4 arm64: dts: imx8mn-evk: add dtb for rm67191 panel
Anson Huang [Tue, 3 Mar 2020 08:23:01 +0000 (16:23 +0800)]
LF-458-4 arm64: dts: imx8mn-evk: add dtb for rm67191 panel

Add a new dtb imx8mn-evk-rm67191.dtb to support rm67191
mipi panel display.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Reviewed-by: Robby Cai <robby.cai@nxp.com>
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoLF-458-2 arm64: dts: imx8mn-evk: add 'attach-bridge' to dsi port@1
Anson Huang [Tue, 3 Mar 2020 08:20:11 +0000 (16:20 +0800)]
LF-458-2 arm64: dts: imx8mn-evk: add 'attach-bridge' to dsi port@1

The 'attach-bridge' property for dsi port@1 can be used
to assit the dsim bridge to check if the port is used to
attach to the next bridge display device(e.g. adv7511).

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Reviewed-by: Robby Cai <robby.cai@nxp.com>
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoMLK-23015: add flexspi support for iMX8MN DDR4 EVK
Anson Huang [Tue, 3 Mar 2020 08:15:28 +0000 (16:15 +0800)]
MLK-23015: add flexspi support for iMX8MN DDR4 EVK

Add flexspi support in iMX8MN DDR4 EVK dts

Signed-off-by: Han Xu <han.xu@nxp.com>
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoarm64: dts: add flexspi in iMX8MN EVK dts
Anson Huang [Tue, 3 Mar 2020 08:08:11 +0000 (16:08 +0800)]
arm64: dts: add flexspi in iMX8MN EVK dts

add flexspi support in iMX8MN EVK dts

Signed-off-by: Han Xu <han.xu@nxp.com>
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoarm64: dts: add the rpmsg and enable rpmsg audio on imx8mn
Anson Huang [Tue, 3 Mar 2020 08:05:39 +0000 (16:05 +0800)]
arm64: dts: add the rpmsg and enable rpmsg audio on imx8mn

Enable the RPMSG on iMX8MN DDR4 EVK platform, and verify the rpmsg
audio feature.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Acked-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoARM64: dts: add synaptics_dsx touch support for imx8mn
Anson Huang [Tue, 3 Mar 2020 08:02:16 +0000 (16:02 +0800)]
ARM64: dts: add synaptics_dsx touch support for imx8mn

Enable the synaptics_dsx touch support when use rm67191 screen.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Acked-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoarm64: dts: imx8mn-evk: change to use off-on-delay-us in regulator
Anson Huang [Tue, 3 Mar 2020 07:59:04 +0000 (15:59 +0800)]
arm64: dts: imx8mn-evk: change to use off-on-delay-us in regulator

After commit f7907e57aea2 ("regulator: fixed: add off-on-delay"), user
can use "off-on-delay-us" to define the regulator off-delay time.

For SD card, according to the spec requirement, for sd card power reset
operation, it need sd card supply voltage to be lower than 0.5v and keep
over 1ms, otherwise, next time power back the sd card supply voltage to
3.3v, sd card can't support SD3.0 mode again.

This patch add the off-on-delay-us to each board, make sure the sd power
reset behavior is align with the specification. Without this patch, when
do quick system suspend/resume test, some sd card can't work at SD3.0 mode
after system resume back.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Acked-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoarm64: dts: imx8mn-ddr4-evk: enable wlan/bt HIF
Anson Huang [Tue, 3 Mar 2020 07:40:25 +0000 (15:40 +0800)]
arm64: dts: imx8mn-ddr4-evk: enable wlan/bt HIF

Enable sdio HIF for wlan, and uart HIF for bluetooth to
support cypress cyw43455 wireless solution.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoarm64: dts: imx8mn-ddr4-evk: add a new dts for rm67191 display
Anson Huang [Tue, 3 Mar 2020 07:35:37 +0000 (15:35 +0800)]
arm64: dts: imx8mn-ddr4-evk: add a new dts for rm67191 display

Add a new dts imx8mn-ddr4-evk-rm67191.dts to support the
mipi panel RM67191 display on IMX8MN DDR4 EVK board.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoarm64: dts: imx8mn-ddr4-evk: enable adv7535 HDMI display
Anson Huang [Tue, 3 Mar 2020 07:24:38 +0000 (15:24 +0800)]
arm64: dts: imx8mn-ddr4-evk: enable adv7535 HDMI display

Enable LCDIF --> MIPI DSIM --> ADV7535 HDMI display for
imx8mn-ddr4-evk board.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoarm64: dts: imx8mn: Add LPDDR4 EVK pmic support
Anson Huang [Tue, 3 Mar 2020 07:19:31 +0000 (15:19 +0800)]
arm64: dts: imx8mn: Add LPDDR4 EVK pmic support

Add i.MX8MN LPDDR4 EVK pmic driver support.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoarm64: dts: imx8mn: add display devices nodes
Anson Huang [Tue, 3 Mar 2020 07:11:08 +0000 (15:11 +0800)]
arm64: dts: imx8mn: add display devices nodes

Add LCDIF, MIPI DSI, display subystem display devices
and the required resets nodes.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoarm64: dts: imx8mn: add device nodes support for camera
Anson Huang [Tue, 3 Mar 2020 07:10:20 +0000 (15:10 +0800)]
arm64: dts: imx8mn: add device nodes support for camera

Camera subsystem of imx8mn is consist of ISI, MIPI CSI and OV5640
sensor, add device nodes for them.

Signed-off-by: Guoniu.zhou <guoniu.zhou@nxp.com>
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoARM64: dts: imx8mn: enable audio modules
Anson Huang [Tue, 3 Mar 2020 07:08:41 +0000 (15:08 +0800)]
ARM64: dts: imx8mn: enable audio modules

Enable SAI/MICFIL/SPDIF/WM8524/AK5558

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoLF-1042: arm64: dts: imx8: update compatible string for asrc
Shengjiu Wang [Tue, 3 Mar 2020 05:34:06 +0000 (13:34 +0800)]
LF-1042: arm64: dts: imx8: update compatible string for asrc

According to latest DT binding, update the compatible string

Documentation/devicetree/bindings/sound/fsl,asrc.txt

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
4 years agoLF-845: arch: arm: dts: Add sii902x hdmi converter to imx6sx sdb
Sandor Yu [Wed, 26 Feb 2020 13:01:57 +0000 (21:01 +0800)]
LF-845: arch: arm: dts: Add sii902x hdmi converter to imx6sx sdb

Add sii902x hdmi converter to imx6sx sdb.

Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
4 years agoLF-855-1: arm: dts: enable nand-on-flash-bbt for 6qdl
Han Xu [Tue, 21 Jan 2020 22:29:56 +0000 (16:29 -0600)]
LF-855-1: arm: dts: enable nand-on-flash-bbt for 6qdl

miss to enable the on flash bbt for all 6qdl platforms

Reviewed-by: Frank Li <frank.li@nxp.com>
Signed-off-by: Han Xu <han.xu@nxp.com>
4 years agoLF-908-3: ARM: dts: imx6sx: set freq for ssi root clok
Shengjiu Wang [Tue, 18 Feb 2020 07:58:57 +0000 (15:58 +0800)]
LF-908-3: ARM: dts: imx6sx: set freq for ssi root clok

select a proper freq for S20_3LE/S24_LE/S16_LE, the frequency
can be divided by 24/32/16.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Viorel Suman <viorel.suman@nxp.com>
4 years agoLF-908-2: ARM: dts: imx6qdl: set freq for ssi root clok
Shengjiu Wang [Thu, 13 Feb 2020 04:49:19 +0000 (12:49 +0800)]
LF-908-2: ARM: dts: imx6qdl: set freq for ssi root clok

select a proper freq for S20_3LE/S24_LE/S16_LE, the frequency
can be divided by 24/32/16.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Viorel Suman <viorel.suman@nxp.com>
4 years agoMLK-23320: arm64: dts: Use rpmsg environment for SOF dtbs
Daniel Baluta [Fri, 14 Feb 2020 09:30:08 +0000 (11:30 +0200)]
MLK-23320: arm64: dts: Use rpmsg environment for SOF dtbs

This will allow us the use the default uboot on i.MX8QXP/i.MX8QM.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
4 years agoLF857-3: ARM: dts: imx6sx-sdb-m4: correct base address of m4_reserved
Robin Gong [Fri, 7 Feb 2020 20:49:16 +0000 (04:49 +0800)]
LF857-3: ARM: dts: imx6sx-sdb-m4: correct base address of m4_reserved

Correct base address of m4_reserved node.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reviewed-by: Anson Huang <anson.huang@nxp.com>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
(cherry picked from commit d26a53b10b2b9f3f8486aac0c0372b170c088b06)

4 years agoarch: arm64: Use corect property to set card name
Daniel Baluta [Wed, 29 Jan 2020 16:36:40 +0000 (18:36 +0200)]
arch: arm64: Use corect property to set card name

simple-audio-card uses 'label' property to set the correct card name. We
were using 'model' because that name was used by non-SOF drivers.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
4 years agoarm64: dts: Add SOF device tree file for i.MX8QM with wm8960
Paul Olaru [Wed, 29 Jan 2020 16:07:17 +0000 (18:07 +0200)]
arm64: dts: Add SOF device tree file for i.MX8QM with wm8960

Signed-off-by: Paul Olaru <paul.olaru@nxp.com>
4 years agoLF-810: arm64: dts: imx8mq: Add support for dual-display
Robert Chiras [Tue, 14 Jan 2020 09:54:40 +0000 (11:54 +0200)]
LF-810: arm64: dts: imx8mq: Add support for dual-display

Add dts file to support dual-display on imx8mq-evk:
1. DCSS + onboard HDMI
2. LCDIF + DSI-HDMI converter: ADV7535

Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
4 years agoarm64: dts: Add i.MX8QM SOF device tree
Paul Olaru [Mon, 13 Jan 2020 14:03:37 +0000 (16:03 +0200)]
arm64: dts: Add i.MX8QM SOF device tree

Signed-off-by: Paul Olaru <paul.olaru@nxp.com>
4 years agoLF-794 arm64: dts: imx8qm-ss-hdmi: Add firmware-name property
Abel Vesa [Wed, 11 Dec 2019 07:22:17 +0000 (09:22 +0200)]
LF-794 arm64: dts: imx8qm-ss-hdmi: Add firmware-name property

This tells the driver to load the firmware named hdmitxfw.bin.

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reviewed-by: Sandor Yu <sandor.yu@nxp.com>
4 years agoLF-741: ARM: dts: imx6qdl-sabresd: disable snvs_pwrkey
Robin Gong [Thu, 9 Jan 2020 15:02:49 +0000 (23:02 +0800)]
LF-741: ARM: dts: imx6qdl-sabresd: disable snvs_pwrkey

There are snvs design issue on legacy i.mx6q/dl chip so gpio key used
instead of snvs_pwrkey on i.mx6qdl-sabresd board. Disable snvs_pwrkey to
match board design though there is another software workaround for such
design issue in the future:
https://lore.kernel.org/linux-arm-kernel/20191125161210.8275-1-robin@protonic.nl/

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoLF-698: arm64: dts: remove the redundant qspi node in i.MX8MQ EVK dts
Han Xu [Tue, 7 Jan 2020 20:19:21 +0000 (14:19 -0600)]
LF-698: arm64: dts: remove the redundant qspi node in i.MX8MQ EVK dts

remove the redundant qspi node in i.MX8MQ EVK dts

Signed-off-by: Han Xu <han.xu@nxp.com>
4 years agoLF-540: arm64: dts: imx8mq: adv7535: Decrease the max memory bandwidth
Robert Chiras [Tue, 7 Jan 2020 09:35:33 +0000 (11:35 +0200)]
LF-540: arm64: dts: imx8mq: adv7535: Decrease the max memory bandwidth

Decrease the maximum allowed memory bandwidth for the LCDIF-ADV7535
use-case. The reason for this decrease is described by errata e11326.

Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
Reviewed-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
4 years agoMLK-13477: ARM: dts: imx6sll-evk: add charger driver
Robin Gong [Thu, 17 Nov 2016 08:21:48 +0000 (16:21 +0800)]
MLK-13477: ARM: dts: imx6sll-evk: add charger driver

Add charger driver in dts.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
Reviewed-by: Anson Huang <anson.huang@nxp.com>
(cherry picked from commit b0eeefe99b174fbf281bc71de8aece03f33a3643)

4 years agoLF-695 arm: dts: imx6qdl-sabreauto: increase the drive strength for usdhc1
Haibo Chen [Fri, 3 Jan 2020 11:01:12 +0000 (19:01 +0800)]
LF-695 arm: dts: imx6qdl-sabreauto: increase the drive strength for usdhc1

On sabreauto board, the usdhc1 is connected to the base board, to
make sd card work stable on base board sd slot, need to increase
the I/O drive strength.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
4 years agoLF-710 arm: dts: add touch support for imx7ulp-evkb board
Haibo Chen [Mon, 6 Jan 2020 07:17:25 +0000 (15:17 +0800)]
LF-710 arm: dts: add touch support for imx7ulp-evkb board

Add goodix touch support for imx7ulp-evkb board.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Acked-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoLF-527 ARM64: dts: imx8mn: change the usdhc compatible with imx8mm
Haibo Chen [Wed, 18 Dec 2019 08:06:13 +0000 (16:06 +0800)]
LF-527 ARM64: dts: imx8mn: change the usdhc compatible with imx8mm

the usdhc IP of imx8mn and imx8mm is the same, so let imx8mn share
the compatible with imx8mm. so that it can support HS400ES and CMDQ.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-311 ARM: dts: imx6sx: add tuning step and tuning start tap for usdhc
Haibo Chen [Wed, 18 Dec 2019 07:49:00 +0000 (15:49 +0800)]
LF-311 ARM: dts: imx6sx: add tuning step and tuning start tap for usdhc

If usdhc want to support SDR104/HS200, it need to do tuning, so need
to config the tuning step and tuning start tap. Otherwise some card may
meet tuning issue as the following log show:

mmc2: Tuning failed, falling back to fixed sampling clock

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-701 arm: dts: imx6qp-sabreauto: add sata support
Richard Zhu [Thu, 2 Jan 2020 08:49:22 +0000 (16:49 +0800)]
LF-701 arm: dts: imx6qp-sabreauto: add sata support

Add the SATA supports on iMX6QP sabreauto board.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
[ Aisheng: update patch title ]
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-665-23 arm: dts: imx: fix dtbs build break
Dong Aisheng [Wed, 25 Dec 2019 06:42:12 +0000 (14:42 +0800)]
LF-665-23 arm: dts: imx: fix dtbs build break

Fix dtbs build break due to a typo introduced during rebase.

Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-665-20 arm64: dts: imx8x: make sure cma do not overlap dma zone
Dong Aisheng [Tue, 24 Dec 2019 10:38:49 +0000 (18:38 +0800)]
LF-665-20 arm64: dts: imx8x: make sure cma do not overlap dma zone

After commit 1a8e1cef7603 ("arm64: use both ZONE_DMA and ZONE_DMA32"),
ZONE_DMA will contain the lower 1G of memory.
Change the CMA range start or size to ensure it's not overlapped
with dma zone.

Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-665-19 arm64: dts: imx8qm: make sure cma do not overlap dma zone
Dong Aisheng [Tue, 24 Dec 2019 10:36:05 +0000 (18:36 +0800)]
LF-665-19 arm64: dts: imx8qm: make sure cma do not overlap dma zone

After commit 1a8e1cef7603 ("arm64: use both ZONE_DMA and ZONE_DMA32"),
ZONE_DMA will contain the lower 1G of memory.
Change the CMA range start or size to ensure it's not overlapped
with dma zone.

Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-665-18 arm64: dts: imx8mq: make sure cma do not overlap dma zone
Dong Aisheng [Tue, 24 Dec 2019 10:29:50 +0000 (18:29 +0800)]
LF-665-18 arm64: dts: imx8mq: make sure cma do not overlap dma zone

After commit 1a8e1cef7603 ("arm64: use both ZONE_DMA and ZONE_DMA32"),
ZONE_DMA will contain the lower 1G of memory.
Change the CMA range start or size to ensure it's not overlapped
with dma zone.

Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-665-17 arm64: dts: imx8mm: make sure cma do not overlap dma zone
Dong Aisheng [Tue, 24 Dec 2019 10:27:53 +0000 (18:27 +0800)]
LF-665-17 arm64: dts: imx8mm: make sure cma do not overlap dma zone

After commit 1a8e1cef7603 ("arm64: use both ZONE_DMA and ZONE_DMA32"),
ZONE_DMA will contain the lower 1G of memory.
Change the CMA range start or size to ensure it's not overlapped
with dma zone.

Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-665-1 arm64: dts: imx8qxp: fix build break introduced during rebase
Dong Aisheng [Mon, 23 Dec 2019 17:28:46 +0000 (01:28 +0800)]
LF-665-1 arm64: dts: imx8qxp: fix build break introduced during rebase

fix build break introduced during rebase

Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-603-1 arm: dts: imx7d: use power-domains for mipi phy
Fancy Fang [Thu, 26 Dec 2019 05:04:06 +0000 (13:04 +0800)]
LF-603-1 arm: dts: imx7d: use power-domains for mipi phy

Since the gpcv2 driver has been changed to use
power domains for all the modules, so add the
'power-domains' property for mipi dsi and remove
previous 'mipi-phy' supply property for dphy
power management.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Reviewed-by: Robby Cai <robby.cai@nxp.com>
(cherry picked from commit 5372899ed037bb7cc1ee53d71dfb5f897fe4468a)

4 years agoLF-590-2: ARM64: dts: imx8mq-evk: support switch enable/disable feature
Robin Gong [Tue, 24 Dec 2019 10:27:49 +0000 (18:27 +0800)]
LF-590-2: ARM64: dts: imx8mq-evk: support switch enable/disable feature

On i.mx8mq-evk, sw1ab/sw1c could be enable/disable in runtime.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoLF-590-1: ARM64: dts: imx8mq-evk: correct pgc_vpu
Robin Gong [Tue, 24 Dec 2019 10:20:48 +0000 (18:20 +0800)]
LF-590-1: ARM64: dts: imx8mq-evk: correct pgc_vpu

Correct supply for vpu since it source from pgc_vpu which relies on
sw1c_reg.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
[ Aisheng: fix minior conflicts ]
Sign-off-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-562 arm: dts: add the vgen3 into pcie node
Richard Zhu [Mon, 23 Dec 2019 08:53:30 +0000 (16:53 +0800)]
LF-562 arm: dts: add the vgen3 into pcie node

The VGEN_1V8 is used on SCH-28857 REV B sabresd board.
Add the according vgen3 into PCIe node.
Thus, the external OSC can keep toggling with the correct
power supply.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Acked-by: Fugang Duan <Fugang.duan@nxp.com>
4 years agoLF-168: arm64: dts: imx8qm: modify GPU frequency according to 8QM spec
Minjie Zhuang [Thu, 19 Dec 2019 09:54:13 +0000 (17:54 +0800)]
LF-168: arm64: dts: imx8qm: modify GPU frequency according to 8QM spec

modify GPU core clock to 800000 and GPU shader clock to 1000000.

As per commit 30d9947ad71007("LF-168: arm64: dts: imx8qm: add frequency
operating-points to enable GPU governor") the operating-points node use
the wrong GPU core clock and shader clock.

So, modify GPU frequency according to 8QM spec

Fixes:30d9947ad71007("LF-168: arm64: dts: imx8qm: add frequency
operating-points to enable GPU governor")

Signed-off-by: Minjie Zhuang <minjie.zhuang@nxp.com>