linux.git
4 years agoLF-1611: arch:arm64: dts: imx8mq-evk: Fix warnings in display nodes
Robert Chiras [Wed, 24 Jun 2020 11:25:38 +0000 (14:25 +0300)]
LF-1611: arch:arm64: dts: imx8mq-evk: Fix warnings in display nodes

Some of the display use-case related dts files are generating warnings
due to the incorrect usage of the 'reg' property. This patch fixes these
warnings.
Also, add the reg property to the mipi_dsi_in endpoint in dcss-adv7535.dts
(currently missing), so that the nwl-dsi driver will select the
appropriate input (DCSS).

Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
4 years agoarm64: dts: imx8m: Add NOC nodes
Leonard Crestez [Tue, 23 Jun 2020 09:36:09 +0000 (12:36 +0300)]
arm64: dts: imx8m: Add NOC nodes

Add nodes for the main interconnect of the imx8m series chips.

These nodes are bound to by devfreq and interconnect drivers.

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Tested-by: Martin Kepplinger <martin.kepplinger@puri.sm>
4 years agoMLK-24063 arm64: dts: imx8mp: add power-domains for lcdif3
Fancy Fang [Tue, 19 May 2020 03:35:11 +0000 (11:35 +0800)]
MLK-24063 arm64: dts: imx8mp: add power-domains for lcdif3

The LCDIF3 is included in the HDMIMIX block, so it is
necessary to enable hdmimix power domain for LCDIF3 to
avoid any potential hang issue.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
(cherry picked from commit 04ff1b1c585a29a08fae5dd2c0a28c1e669fce0b)

4 years agoLF-1438-2 arm64: dts: imx8qxp-lsio: fix scu mu compatible string
Dong Aisheng [Fri, 5 Jun 2020 10:39:10 +0000 (18:39 +0800)]
LF-1438-2 arm64: dts: imx8qxp-lsio: fix scu mu compatible string

Fix compatible string to make sure can use the new SCU message
sending approach.
This issue was introduced during rebase.

Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoMLK-23889 arm: dts: imx6sx: add power domain for csi
Robby Cai [Mon, 25 May 2020 15:19:00 +0000 (23:19 +0800)]
MLK-23889 arm: dts: imx6sx: add power domain for csi

add power domain for csi device node

Signed-off-by: Robby Cai <robby.cai@nxp.com>
Reviewed-by: Guoniu.zhou <guoniu.zhou@nxp.com>
(cherry picked from commit b6195f08924fa05f76e3e6f71733a2118ee1face)

4 years agoLF-1052: arch: arm64: dts: imx8mq: Limit lcdif BW
Robert Chiras [Wed, 3 Jun 2020 08:52:40 +0000 (11:52 +0300)]
LF-1052: arch: arm64: dts: imx8mq: Limit lcdif BW

Limit the maximum allowed bandwidth for LCDIF due to HW limitation in
i.MX8MQ: LCDIF can dcan rive up to 720p60 because of DDR/NoC QoS issue.

Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
4 years agoMLK-23694-13 arm64: dts: imx8mp-evk: integrate HDMI display
Fancy Fang [Sat, 16 May 2020 06:16:44 +0000 (14:16 +0800)]
MLK-23694-13 arm64: dts: imx8mp-evk: integrate HDMI display

Integrate local HDMI display into EVK DTB to support the
DSI + LVDS + HDMI triple display, and previous single
display support for DSI, LVDS or HDMI is also remained.
Put LCDIF3 port to the same display-subsystem node as
LCDIF1 and LCDIF2 to realize this kind of triple display.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Reviewed-by: Liu Ying <victor.liu@nxp.com>
4 years agoMLK-23694-12 arm64: dts: imx8mp-evk: integrate LVDS bridge display in
Fancy Fang [Fri, 15 May 2020 11:58:49 +0000 (19:58 +0800)]
MLK-23694-12 arm64: dts: imx8mp-evk: integrate LVDS bridge display in

Integrate LVDS bridge with single channel display into EVK DTB
to support DSI + LVDS dual display, and the previous single
display support for DSI or LVDS is also remained. Put LCDIF1
and LCDIF2 ports into one display-subystem node to implement
this kind of dual display.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Reviewed-by: Liu Ying <victor.liu@nxp.com>
4 years agoMLK-23694-8 arm64: dts: imx8mp: add power domains for ldb
Fancy Fang [Fri, 15 May 2020 11:27:01 +0000 (19:27 +0800)]
MLK-23694-8 arm64: dts: imx8mp: add power domains for ldb

As other devices in mediamix domain have already enabled
power domains, LDB is also required to enable the power
domains.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Reviewed-by: Liu Ying <victor.liu@nxp.com>
4 years agoMLK-23694-7 arm64: dts: imx8mp: add apb clock for blk-ctl@32ec0000
Fancy Fang [Fri, 15 May 2020 11:19:24 +0000 (19:19 +0800)]
MLK-23694-7 arm64: dts: imx8mp: add apb clock for blk-ctl@32ec0000

The mediamix block control module access requires the
'IMX8MP_CLK_MEDIA_APB_ROOT' clock to be enabled, so
add this clock to this device node.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Reviewed-by: Liu Ying <victor.liu@nxp.com>
4 years agoMLK-23694-5 arm64: dts: imx8mp: rename 'lcdif_disp0' to 'lcdif1_disp'
Fancy Fang [Fri, 15 May 2020 11:12:43 +0000 (19:12 +0800)]
MLK-23694-5 arm64: dts: imx8mp: rename 'lcdif_disp0' to 'lcdif1_disp'

To align with the port names of 'lcdif2_disp' and 'lcdif3_disp',
rename 'lcdif_disp0' to 'lcdif1_disp'.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Reviewed-by: Liu Ying <victor.liu@nxp.com>
4 years agoMLK-23694-4 arm64: dts: imx8mp: assign 27MHz to mipi_phy1_ref
Fancy Fang [Fri, 15 May 2020 11:08:18 +0000 (19:08 +0800)]
MLK-23694-4 arm64: dts: imx8mp: assign 27MHz to mipi_phy1_ref

Since the 'mipi_phy1_ref' clock rate is usually set to
be 27MHz and won't be changed after boot up. So assign
27MHz rate instead of 594MHz to this clock is much more
reasonable.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Reviewed-by: Liu Ying <victor.liu@nxp.com>
4 years agoMLK-23694-3 arm64: dts: imx8mp: skip rate assign for disp1_pix
Fancy Fang [Fri, 15 May 2020 11:01:44 +0000 (19:01 +0800)]
MLK-23694-3 arm64: dts: imx8mp: skip rate assign for disp1_pix

The 'disp1_pix' clock is used to provide pixel clock for
LCDIF1 and its rate is closely related with the display
mode resolution which is configured. So this clock rate
is dynamically determined and unnecessary to be assigned
with a default value at boot up.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Reviewed-by: Liu Ying <victor.liu@nxp.com>
4 years agoMLK-23694-2 arm64: dts: imx8mp: assign 2079MHz to video_pll1
Fancy Fang [Mon, 16 Mar 2020 06:51:03 +0000 (14:51 +0800)]
MLK-23694-2 arm64: dts: imx8mp: assign 2079MHz to video_pll1

The 'video_pll1' clock is shared by MIPI and LVDS displays
and each of the display has a specific requirement for the
PLL rate which can be satified by set 'video_pll1' rate to
be 2079MHz. So assign 2079MHz rate to 'video_pll1' under
CCM device.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Reviewed-by: Liu Ying <victor.liu@nxp.com>
4 years agoMLK-23981 arm64: imx8x-mek.dtsi: Enable adma_pwm node in display specific DT file
Liu Ying [Thu, 14 May 2020 02:35:05 +0000 (10:35 +0800)]
MLK-23981 arm64: imx8x-mek.dtsi: Enable adma_pwm node in display specific DT file

The current DT file for the i.MX8x MEK platform has a pin conflict for
IMX8QXP_SPI0_CS1 bewteen the sai1 node and the adma_pwm node(as needed
by the parallel display panel backlight control).  This patch enables
the adma_pwm node in display specific DT file to avoid the conflict.
Also, the lcdif_backlight is moved to display specific as it is
referencing the adma_pwm node.

Fixes: 62408b1461b6 ("LF-1189-13 arm64: dts: imx8qxp-mek: Add adma_pwm support")
Signed-off-by: Liu Ying <victor.liu@nxp.com>
Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
4 years agoLF-1373-4: arch: arm64: imx8mq-evk: Update endpoint ids for new nwl-dsi driver
Robert Chiras [Wed, 13 May 2020 08:46:34 +0000 (11:46 +0300)]
LF-1373-4: arch: arm64: imx8mq-evk: Update endpoint ids for new nwl-dsi driver

Thw new nwl-dsi driver is addressing the LCDIF vs DCSS input source by
the endpoint ids. So, change our endpoint ids for LCDIF and DCSS nodes
so that the nwl-dsi driver can correctly determine the input source.

Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
4 years agoLF-1392-3 ARM: dts: imx7ulp: support cpufreq dt
Peng Fan [Wed, 13 May 2020 06:59:16 +0000 (14:59 +0800)]
LF-1392-3 ARM: dts: imx7ulp: support cpufreq dt

Support cpufreq dt method

Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
4 years agoMLK-23959 arm64: imx8-ss-dc0/1.dtsi: Correct dpu node interrupt properties
Liu Ying [Sat, 9 May 2020 08:30:53 +0000 (16:30 +0800)]
MLK-23959 arm64: imx8-ss-dc0/1.dtsi: Correct dpu node interrupt properties

The dpu node 'interrupts' and 'interrupt-names' properties should
reflect all dpu interrupts including the missing 'reserved' interrupt.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
4 years agoMLK-23758 arm64: dts: imx8mp: add power domains for dsi, lcdif1 and lcdif2
Fancy Fang [Mon, 11 May 2020 06:07:41 +0000 (14:07 +0800)]
MLK-23758 arm64: dts: imx8mp: add power domains for dsi, lcdif1 and lcdif2

Add the corresponding power domains for MIPI DSI, LCDIF1 and
LCDIF2 device nodes.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Reviewed-by: G.n. Zhou <guoniu.zhou@nxp.com>
4 years agoarm64: dts: imx8mp: Add hdmimix subsystem nodes
Sandor Yu [Thu, 23 Apr 2020 06:12:28 +0000 (14:12 +0800)]
arm64: dts: imx8mp: Add hdmimix subsystem nodes

Add imx8mp hdmimix subsystem nodes.

Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
4 years agoarm64: dts: imx8mp: change the usdhc compatible
Haibo Chen [Tue, 28 Apr 2020 09:13:36 +0000 (17:13 +0800)]
arm64: dts: imx8mp: change the usdhc compatible

Change the usdhc to compatible with imx8mm, then emmc can
work at HS400ES mode.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
4 years agoMLK-23616-2 arm64: imx8mp.dtsi: Add APB clock related properties in lvds phy node
Liu Ying [Wed, 18 Mar 2020 03:06:22 +0000 (11:06 +0800)]
MLK-23616-2 arm64: imx8mp.dtsi: Add APB clock related properties in lvds phy node

This patch adds APB clock related properties in lvds phy node,
so that the driver may get and control the APB clock.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoMLK-23252-15 arm64: dts: imx8mp-evk: Add JDI WUXGA LVDS panel support
Liu Ying [Wed, 12 Feb 2020 03:54:02 +0000 (11:54 +0800)]
MLK-23252-15 arm64: dts: imx8mp-evk: Add JDI WUXGA LVDS panel support

This patch adds JDI WUXGA LVDS panel device tree node support
on the i.MX8mp EVK platform.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoMLK-23252-14 arm64: dts: imx8mp-evk: Add PWM backlight support for LVDS panel
Liu Ying [Mon, 20 Jan 2020 02:31:42 +0000 (10:31 +0800)]
MLK-23252-14 arm64: dts: imx8mp-evk: Add PWM backlight support for LVDS panel

This patch adds PWM backlight device tree node support for LVDS panel
on the i.MX8mp EVK platform.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoMLK-23252-13 arm64: dts: imx8mp-evk: Add it6263 LVDS2HDMI chan0 support
Liu Ying [Mon, 20 Jan 2020 02:40:38 +0000 (10:40 +0800)]
MLK-23252-13 arm64: dts: imx8mp-evk: Add it6263 LVDS2HDMI chan0 support

This patch adds it6263 LVDS to HDMI transmitter channel0 support
on the i.MX8mp EVK platform.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoMLK-23252-12 arm64: dts: imx8mp-evk: Add it6263 LVDS2HDMI dual chan support
Liu Ying [Mon, 20 Jan 2020 02:27:38 +0000 (10:27 +0800)]
MLK-23252-12 arm64: dts: imx8mp-evk: Add it6263 LVDS2HDMI dual chan support

This patch adds it6263 LVDS to HDMI transmitter dual channel support
on the i.MX8mp EVK platform.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoMLK-23252-11 arm64: imx8mq.dtsi: Add LDB node support
Liu Ying [Mon, 20 Jan 2020 01:57:42 +0000 (09:57 +0800)]
MLK-23252-11 arm64: imx8mq.dtsi: Add LDB node support

This patch adds LDB devictree node support.
LVDS PHY node is also added as needed by the LDB node.
Also, connect lcdif2_disp port with lvds-channel@0/1 ports.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoMLK-23252-10 arm64: imx8mp.dtsi: Add LCDIF2 node
Liu Ying [Sun, 19 Jan 2020 09:54:22 +0000 (17:54 +0800)]
MLK-23252-10 arm64: imx8mp.dtsi: Add LCDIF2 node

This patch adds LCDIF2 node support.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoMLK-23190-4 ARM64: dts: imx8mp: add pwm support
Clark Wang [Mon, 6 Jan 2020 02:30:37 +0000 (10:30 +0800)]
MLK-23190-4 ARM64: dts: imx8mp: add pwm support

Add pwm1/2/4 nodes support.
Enable pwm1 on pin GPIO1_IO01 for DSI_BL_PWM
       pwm2 on pin GPIO1_IO11 for LVDS_BL_PWM
       pwm4 on pin SAI5_RXFS for J21-32

Acked-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
4 years agoMLK-23844-1: ARM64: dts: freescale: imx8mn-ddr4-evk: cleanup Rhom pmic
Robin Gong [Fri, 24 Apr 2020 20:27:40 +0000 (04:27 +0800)]
MLK-23844-1: ARM64: dts: freescale: imx8mn-ddr4-evk: cleanup Rhom pmic

Inculding below cleanup for BD71847 pmic driver:

  --Remove ldo4 which's not used by board, otherwise,ldo4 will be on
    since it's always_on.
  --Remove buck5 which's not used by board too,although that may be off
    by kernel requlator common framework after kernel bootup.
  --Add dvs-run-voltage/dvs-idle-voltage setting for buck2 as i.mx8mm.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
4 years agoMLK-23211-4: arm64: imx8mp: dts: add power domain for vpu node
Zhou Peng [Fri, 24 Apr 2020 08:47:17 +0000 (16:47 +0800)]
MLK-23211-4: arm64: imx8mp: dts: add power domain for vpu node

Add power domain property for vpu node: g1/g2/vc8000e

Signed-off-by: Zhou Peng <eagle.zhou@nxp.com>
4 years agoLF-1299: arm64: dts: imx8mp: Enable SAI/ASRC/WM8960/MICFIL
Shengjiu Wang [Wed, 22 Apr 2020 06:02:09 +0000 (14:02 +0800)]
LF-1299: arm64: dts: imx8mp: Enable SAI/ASRC/WM8960/MICFIL

Enable SAI/ASRC/WM8960/MICFIL.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
4 years agoarm64: dts: imx8mp: Add AIPS 4 and 5
Abel Vesa [Mon, 24 Feb 2020 14:01:58 +0000 (16:01 +0200)]
arm64: dts: imx8mp: Add AIPS 4 and 5

There are 5 AIPS maps in total, according to the RM. Add the missing
ones here.

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
[ Aisheng: fix aips base ]
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-1290 arm64: dts: freescale: Add the idle state node on imx8mp
Jacky Bai [Thu, 23 Apr 2020 10:19:10 +0000 (18:19 +0800)]
LF-1290 arm64: dts: freescale: Add the idle state node on imx8mp

Add the idle state node on imx8mp to enable the cpuidle support.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoLF-1285 arm64: dts: freescale: Add the power domain node on imx8mp
Jacky Bai [Thu, 23 Apr 2020 10:04:59 +0000 (18:04 +0800)]
LF-1285 arm64: dts: freescale: Add the power domain node on imx8mp

Add the power domain nodes on i.MX8MP to enable the power domain
support.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoMLK-23211-3: arm64: imx8mp: evk: dts: enable vpu module
Zhou Peng [Thu, 23 Apr 2020 03:55:56 +0000 (11:55 +0800)]
MLK-23211-3: arm64: imx8mp: evk: dts: enable vpu module

Enable g1/g2/vc8000e for imx8mp evk board

Signed-off-by: Zhou Peng <eagle.zhou@nxp.com>
4 years agoMLK-23211-2: arm64: imx8mp: dts: add vpu node
Zhou Peng [Thu, 23 Apr 2020 03:48:10 +0000 (11:48 +0800)]
MLK-23211-2: arm64: imx8mp: dts: add vpu node

Add vpu node: g1/g2/vc8000e

Signed-off-by: Zhou Peng <eagle.zhou@nxp.com>
4 years agoMLK-23234-11 arm64: dts: imx8mp-evk: add dtb to support RM67191
Fancy Fang [Tue, 24 Dec 2019 03:16:07 +0000 (11:16 +0800)]
MLK-23234-11 arm64: dts: imx8mp-evk: add dtb to support RM67191

Add a new dtb 'imx8mp-evk-rm67191.dtb' to support rm67191
mipi panel display on i.MX8MP EVK board.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
4 years agoMLK-23234-10 arm64: dts: imx8mp-evk: enable adv7535 display
Fancy Fang [Tue, 24 Dec 2019 02:47:57 +0000 (10:47 +0800)]
MLK-23234-10 arm64: dts: imx8mp-evk: enable adv7535 display

Enable LCDIFv3 -> SEC DSIM -> ADV7535 display pipeline
on i.MX8MP EVK board by default.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
4 years agoMLK-23234-3 arm64: dts: imx8mp: add 'blk-ctl' property for lcdif1
Fancy Fang [Tue, 14 Jan 2020 03:43:33 +0000 (11:43 +0800)]
MLK-23234-3 arm64: dts: imx8mp: add 'blk-ctl' property for lcdif1

Add the 'blk-ctl' property for lcdif1 which is used to
do the lcdif controller reset during probe stage to
avoid any conflict with uboot splash screen settings.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
4 years agoMLK-23234-2 arm64: dts: imx8mp: add blk-ctl node for mediamix
Fancy Fang [Tue, 14 Jan 2020 03:11:32 +0000 (11:11 +0800)]
MLK-23234-2 arm64: dts: imx8mp: add blk-ctl node for mediamix

The block control module in mediamix is responsible for
clocks gating, sub-modules reset and other module control
for lcdif, dsi, csi, isp, isi and etc sub-modules which
are included in the mediamix. So create a device node to
simplify the usages.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
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>