linux.git
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>
4 years agoLF-531-1 arm64: dts: imx8mq/imx8mn: fix gpu setting
Xianzhong [Thu, 19 Dec 2019 15:27:25 +0000 (23:27 +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>
4 years agoLF-487-2 ARM: dts: imx6sll: add fsl,mf-mix-wakeup-irq for gpc
Li Jun [Wed, 18 Dec 2019 02:16:13 +0000 (10:16 +0800)]
LF-487-2 ARM: dts: imx6sll: add fsl,mf-mix-wakeup-irq for gpc

Otherwise M/F will be off while system sleep even wakeup source
is enabled or requested on.

Signed-off-by: Li Jun <jun.li@nxp.com>
4 years agoLF-487-1 ARM: dts: imx6ul: add fsl,mf-mix-wakeup-irq for gpc
Li Jun [Wed, 18 Dec 2019 02:12:09 +0000 (10:12 +0800)]
LF-487-1 ARM: dts: imx6ul: add fsl,mf-mix-wakeup-irq for gpc

Otherwise M/F will be off while system sleep even wakeup source
is enabled or requested on.

Signed-off-by: Li Jun <jun.li@nxp.com>
4 years agoLF-413-1 arm64: dtsi: imx8mn: add power domain for usb
Li Jun [Thu, 12 Dec 2019 02:24:33 +0000 (10:24 +0800)]
LF-413-1 arm64: dtsi: imx8mn: add power domain for usb

Add the missing power domain for usbotg1.

Reviewed-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Li Jun <jun.li@nxp.com>
4 years agoLF-514-2 arm64: dts: imx8mq-root: init on IMX8MQ_CLK_USDHC1_ROOT
Peng Fan [Tue, 17 Dec 2019 10:41:43 +0000 (18:41 +0800)]
LF-514-2 arm64: dts: imx8mq-root: init on IMX8MQ_CLK_USDHC1_ROOT

Without init on IMX8MQ_CLK_USDHC1_ROOT, inmate linux emmc
will not work properly.

Reviewed-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
4 years agoLF-440: arm64: dts: enable fspi on imx8qxp val board
Han Xu [Wed, 11 Dec 2019 21:50:06 +0000 (15:50 -0600)]
LF-440: arm64: dts: enable fspi on imx8qxp val board

enable fspi on imx8qxp val board

Signed-off-by: Han Xu <han.xu@nxp.com>
4 years agoLF-497-3 arm: dts: imx6qdl-sabresd: enable mipi dsi
Fancy Fang [Tue, 17 Dec 2019 09:50:35 +0000 (17:50 +0800)]
LF-497-3 arm: dts: imx6qdl-sabresd: enable mipi dsi

Enable mipi dsi for imx6q and imx6dl sabresd
boards by default.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Reviewed-by: Robby Cai <robby.cai@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-497-2 arm: dts: imx6q: add mipi dsi node
Fancy Fang [Tue, 17 Dec 2019 10:23:56 +0000 (18:23 +0800)]
LF-497-2 arm: dts: imx6q: add mipi dsi node

Add the mipi dsi device node for imx6q platform.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-497-1 arm: dts: imx6dl: add mipi dsi node
Fancy Fang [Tue, 17 Dec 2019 10:23:20 +0000 (18:23 +0800)]
LF-497-1 arm: dts: imx6dl: add mipi dsi node

Add the mipi dsi device node for imx6dl platform.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-496-5 arm64: dts: add i.MX8QM inmate/root dts
Peng Fan [Tue, 17 Dec 2019 08:17:14 +0000 (16:17 +0800)]
LF-496-5 arm64: dts: add i.MX8QM inmate/root dts

Use the following command to boot the 2nd linux, the lpuart2 is in base
board. The m4 should be disabled for qm mek, because lpuart2 is used
by m4.

jailhouse cell linux imx8qm-linux-demo.cell Image -d
imx8qm-mek-inmate.dtb -c "clk_ignore_unused console=ttyLP2,115200
earlycon=lpuart32,mmio32,0x5a060010,115200 cma=32MB root=/dev/mmcblk0p2
rootwait rw"

Reviewed-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
4 years agoLF-496-4 arm64: dts: add i.MX8QXP inmate/root dts
Peng Fan [Tue, 17 Dec 2019 03:06:12 +0000 (11:06 +0800)]
LF-496-4 arm64: dts: add i.MX8QXP inmate/root dts

Add i.MX8QXP inmate/root dts.

Use the following command to boot the 2nd linux, the lpuart2 is in base
board.

jailhouse cell linux imx8qxp-linux-demo.cell Image -d
imx8qxp-mek-inmate.dtb -c "clk_ignore_unused console=ttyLP2,115200
earlycon=lpuart32,mmio32,0x5a060010,115200 cma=32MB root=/dev/mmcblk0p2
rootwait rw"

Reviewed-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
4 years agoLF-496-3 arm64: dts: imx8qxp: move memory-region to soc dtsi
Peng Fan [Tue, 17 Dec 2019 03:04:23 +0000 (11:04 +0800)]
LF-496-3 arm64: dts: imx8qxp: move memory-region to soc dtsi

memory-region in ss dtsi is not correct, it should be in soc dtsi,
because the referenced region is in soc dtsi

Reviewed-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
4 years agoLF-470 ARM: dts: imx7d: Add DDRC node
Anson Huang [Tue, 17 Dec 2019 05:25:05 +0000 (13:25 +0800)]
LF-470 ARM: dts: imx7d: Add DDRC node

Add DDRC node to support DDR type identification during
kernel boot up.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
4 years agoarch: arm64: Rename cs42888 SOF dts file
Daniel Baluta [Mon, 16 Dec 2019 15:54:50 +0000 (17:54 +0200)]
arch: arm64: Rename cs42888 SOF dts file

Rename imx8qxp-mek-sof.dtb -> imx8qxp-mek-sof-cs42888.dtb to better
explain what this dts is for.

We have now:
* imx8qxp-mek-sof-wm8960, for wm8960 codec
* imx8qxp-mek-sof-cs42888, for cs42888 codec.

In the future we will support both codecs in parallel, but currently SOF
doesn't easily allow this.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
4 years agoarch: arm64: Add machine driver property to dts
Daniel Baluta [Sun, 15 Dec 2019 08:52:06 +0000 (10:52 +0200)]
arch: arm64: Add machine driver property to dts

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
4 years agoarm64: dts: Enable simple-audio-card for SAI1 + wm8960
Daniel Baluta [Tue, 3 Dec 2019 13:16:53 +0000 (15:16 +0200)]
arm64: dts: Enable simple-audio-card for SAI1 + wm8960

We use existing simple-audio-card machine drivfer to demonstrate
the usage of SAI1 + wm8960 codec.

FSL DAI driver is used in order to manage SAI resources (PD, clocks,
pinctrl) the rest is taken care of by the SAI driver from the DSP.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
4 years agoLF-168: arm64: dts: imx8qm: add frequency operating-points to enable GPU governor
Minjie Zhuang [Mon, 16 Dec 2019 09:51:05 +0000 (17:51 +0800)]
LF-168: arm64: dts: imx8qm: add frequency operating-points to enable GPU governor

add frequency operating-points to enable GPU governor

Signed-off-by: Minjie Zhuang <minjie.zhuang@nxp.com>
4 years agoLF-463-2: arm64/dts/imx8qm: Enable DisplayPort in lpddr4 val board
Sandor Yu [Fri, 13 Dec 2019 07:44:07 +0000 (15:44 +0800)]
LF-463-2: arm64/dts/imx8qm: Enable DisplayPort in lpddr4 val board

Enable DisplayPort in imx8qm lpddr4 validation board.

Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
4 years agoLF-463-1: arm64/dts/imx8qm: Enable DPU in lpddr4 validation board
Sandor Yu [Fri, 13 Dec 2019 06:55:32 +0000 (14:55 +0800)]
LF-463-1: arm64/dts/imx8qm: Enable DPU in lpddr4 validation board

Enable DPU in lpddr4 validation board.

Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
4 years agoLF-462 ARM: dts: imx7d-12x12-lpddr3-val: correct the phy interface mode
Fugang Duan [Fri, 13 Dec 2019 06:27:23 +0000 (14:27 +0800)]
LF-462 ARM: dts: imx7d-12x12-lpddr3-val: correct the phy interface mode

Correct the phy interface mode to "rgmii-id".

Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoLF-382 ARM: dts: imx6dl: Add bus-freq node
Anson Huang [Tue, 10 Dec 2019 01:22:03 +0000 (09:22 +0800)]
LF-382 ARM: dts: imx6dl: Add bus-freq node

Add bus-freq node to enable it by default.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
4 years agoarm64: dts: mipi-lvds: fix mipi rx/tx clocks
Aisheng Dong [Fri, 6 Dec 2019 11:42:30 +0000 (11:42 +0000)]
arm64: dts: mipi-lvds: fix mipi rx/tx clocks

By default, the MIPI RX and TX clocks are parented to the BYPASS clock,
but it seems that this doesn't work on QXP. Since these clocks can also
be parented to MIPI_PLL and MIPI_PLL_DIV2, use the MIPI_PLL_DIV2 with a
fixed rate of 432M and parent the RX and TX clocks to it.
This works on both QM and QXP.

Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
Reviewed-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
4 years agoarch: arm64: Fix reserved memory area property name for DSP
Daniel Baluta [Fri, 6 Dec 2019 08:23:43 +0000 (10:23 +0200)]
arch: arm64: Fix reserved memory area property name for DSP

After change  e00f0e9f115b604 ("ASoC: fsl_dsp: Rename reserved-region
with memory-region") reserved memory area for DSP is now grabbed
from DSP node property named memory-region instead of reserved-region.

We've done this change in order to align with upstream implementation.
Usually we should support the old property name but because
imx-audio-framework is is obsolete and planned for removal in the future
we won't do that.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
4 years agoLF-367: arm64/dts: imx8qm: Disable mipi dsi in hdmi dts file
Sandor Yu [Thu, 5 Dec 2019 10:17:29 +0000 (18:17 +0800)]
LF-367: arm64/dts: imx8qm: Disable mipi dsi in hdmi dts file

HDMI driver couldn't support unbind function now,
because HDMI FW should always running.
mipi dsi driver will probe faile if no mipi dsi panel connected
to mek board, then all connectors will be unbinded and hdmi will faile
in the secondly bind.
Disable mipi dsi in hdmi dts file to avoid hdmi driver unbinded.

Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
Reviewed-by: Robby Cai <robby.cai@nxp.com>
4 years agoLF-362-2 arm64: dts: imx8mq: Add DDR3l and DDR4 validation boards support
Ye Li [Thu, 5 Dec 2019 06:12:18 +0000 (22:12 -0800)]
LF-362-2 arm64: dts: imx8mq: Add DDR3l and DDR4 validation boards support

Add DTS files to support iMX8MQ DDR3l and DDR4 validation boards. Basic nodes
like UART, SD/eMMC, i2c, Ethernet, rawnand and usb are added to work.

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
4 years agoLF-362-1 arm64: dts: imx8mq: Add gpmi and apbh-dma nodes
Ye Li [Thu, 5 Dec 2019 06:11:03 +0000 (22:11 -0800)]
LF-362-1 arm64: dts: imx8mq: Add gpmi and apbh-dma nodes

Add gpmi and apbh-dma nodes to i.MX8MQ DTSi. Both are used by RAWNAND driver.

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
4 years agoLF-352 arm: dts: imx6ul[l]-evk: increase CMA size to fix alloc failure for v4l2
Robby Cai [Wed, 4 Dec 2019 08:15:05 +0000 (16:15 +0800)]
LF-352 arm: dts: imx6ul[l]-evk: increase CMA size to fix alloc failure for v4l2

increase CMA size to 160MB to fix cma alloc failure for v4l2 capture case:

Capture_To_Display_mmap: mode 6(2592x1944)@15fps test.
...
[ 247.301290] cma: cma_alloc: alloc failed, req-size: 2461 pages, ret: -12
[ 247.308290] mx6s-csi 21c4000.csi: dma_alloc_coherent of size 10080256 failed
[ 247.317097] cma: cma_alloc: alloc failed, req-size: 2461 pages, ret: -12
...

Signed-off-by: Robby Cai <robby.cai@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-95-3 arm64: imx8qxp-ss-lvds.dtsi: Correct LVDS/MIPI DSI region address and size
Liu Ying [Tue, 3 Dec 2019 12:27:00 +0000 (20:27 +0800)]
LF-95-3 arm64: imx8qxp-ss-lvds.dtsi: Correct LVDS/MIPI DSI region address and size

The LVDS/MIPI DSI region is the CSR(Control Status Registers) space.
The spec tells us that the CSR start address is 0x1000 and end address
is 0x1FFF according to the subsystem start address.  However, it turns
out some space are inaccessible, which would accidently cause system
hang via kernel regmap debugfs.  This patch corrects the LVDS/MIPI DSI
region start address and chooses a sensible size, which makes sure all
exposed registers are accessible.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-95-2 arm64: imx8qm-ss-mipi.dtsi: Correct MIPI CSR address and size
Liu Ying [Tue, 3 Dec 2019 12:25:21 +0000 (20:25 +0800)]
LF-95-2 arm64: imx8qm-ss-mipi.dtsi: Correct MIPI CSR address and size

The spec tells us that the CSR start address is 0x1000 and end address
is 0x1FFF according to the subsystem start address.  However, it turns
out some space are inaccessible, which would accidently cause system
hang via kernel regmap debugfs.  This patch corrects the MIPI CSR
start address and chooses a sensible size, which makes sure all exposed
registers are accessible.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-95-1 arm64: imx8qm-ss-lvds.dtsi: Correct LVDS region address and size
Liu Ying [Tue, 3 Dec 2019 12:17:43 +0000 (20:17 +0800)]
LF-95-1 arm64: imx8qm-ss-lvds.dtsi: Correct LVDS region address and size

The LVDS region is the CSR(Control Status Registers) space.
The spec tells us that the CSR start address is 0x1000 and end address
is 0x1FFF according to the subsystem start address.  However, it turns
out some space are inaccessible, which would accidently cause system
hang via kernel regmap debugfs.  This patch corrects the LVDS region
start address and chooses a sensible size, which makes sure all exposed
registers are accessible.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-332 ARM: dts: imx6ul-14x14-evk: update usdhc1 pin group
Fugang Duan [Tue, 3 Dec 2019 10:30:21 +0000 (18:30 +0800)]
LF-332 ARM: dts: imx6ul-14x14-evk: update usdhc1 pin group

imx6ul Rev1.2 with 14x14 evk revC board required to increase
SD1_CLK pin drive strength. So update usdhc1 pin group for
imx6ul-14x14-evk to avoid crc error.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoLF-318 arm64: dts: imx8qm/qxp: mark ocotp as read only
Peng Fan [Tue, 3 Dec 2019 07:15:47 +0000 (15:15 +0800)]
LF-318 arm64: dts: imx8qm/qxp: mark ocotp as read only

Mark ocotp as read only, if you need to program fuse in linux,
remove this property.

Acked-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
4 years agoLF-304 ARM64: dts: add synaptics_dsx_i2c touch support for imx8mm board.
Haibo Chen [Mon, 2 Dec 2019 11:29:13 +0000 (19:29 +0800)]
LF-304 ARM64: dts: add synaptics_dsx_i2c touch support for imx8mm board.

Add synaptics_dsx_i2c touch support for imx8mm-ddr4-evk board and
imx8mq-evk board.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Acked-by: Leonard Crestez <leonard.crestez@nxp.com>
[ Aisheng: drop mx8mm part which needs further clean up ]
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoarm64: dts: Add tplg-filename property
Daniel Baluta [Mon, 2 Dec 2019 16:13:44 +0000 (18:13 +0200)]
arm64: dts: Add tplg-filename property

This will support ESAI + cs42888 usecase.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
4 years agoarm64: dts: Fix memory-region property of DSP node
Daniel Baluta [Mon, 2 Dec 2019 15:25:11 +0000 (17:25 +0200)]
arm64: dts: Fix memory-region property of DSP node

With this fixed we can avoid overrinding the property in SOF DTS
because it is useless now.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
4 years agoarm64: dts: Move mailbox description to generic DSP node
Daniel Baluta [Mon, 2 Dec 2019 15:20:24 +0000 (17:20 +0200)]
arm64: dts: Move mailbox description to generic DSP node

This matches the upstream implementation.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
4 years agoarm64: dts: Do not override power-domains node of dsp
Daniel Baluta [Mon, 2 Dec 2019 15:03:28 +0000 (17:03 +0200)]
arm64: dts: Do not override power-domains node of dsp

Because we've separated power domain enablement for DSP (DAI related
power-domains are now enabled in FSL DAI node) there is no need
to override power-domains node.

Note that IRQSTR_DSP power-domain was missing from initial dsp
description so add it now.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
4 years agoarm64: dts: Disable amix when running SOF testcases
Daniel Baluta [Mon, 2 Dec 2019 15:01:06 +0000 (17:01 +0200)]
arm64: dts: Disable amix when running SOF testcases

This will allow imx8qxp-mek-sof.dtb to be used exclusively
for SOF.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
4 years agoLF-261: arm64: dts: imx8mq: Set parent clock for IMX8MQ_CLK_AUDIO_AHB
Shengjiu Wang [Fri, 29 Nov 2019 10:13:03 +0000 (18:13 +0800)]
LF-261: arm64: dts: imx8mq: Set parent clock for IMX8MQ_CLK_AUDIO_AHB

Set parent clock for IMX8MQ_CLK_AUDIO_AHB, and move setting
IMX8MQ_AUDIO_PLL1 and IMX8MQ_AUDIO_PLL2 rate to a common place.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Viorel Suman <viorel.suman@nxp.com>
4 years agoLF-235: arm64: dts: imx8qm: disable all hdmi ss modules defaultly
Sandor Yu [Wed, 27 Nov 2019 08:07:45 +0000 (16:07 +0800)]
LF-235: arm64: dts: imx8qm: disable all hdmi ss modules defaultly

imx8qm hdmi has a specific dts file, in order to avoid
unnecessary probe hdmi subsystem modules in imx8qm-mek.dts
all hdmi submodules by default set to disabled and enabled
in imx8qm-mek-hdmi.dts

Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
Reviewed-by: Robby Cai <robby.cai@nxp.com>
4 years agoLF-257-02 dts: imx6ull: change the usdhc root clock to 396MHz
Fugang Duan [Fri, 29 Nov 2019 09:22:29 +0000 (17:22 +0800)]
LF-257-02 dts: imx6ull: change the usdhc root clock to 396MHz

Due to the errata ERR010450 limit, this patch change the imx6ull
usdhc root clock to 132MHz in soc related dts file, remove all
the root clock setting in board dts file, after this patch,
SDR104/HS200 work at 132MHz, DDR50/DDR52 work at 33MHz.

(merged from commit: 1a3160ae69f725237752f65ee7bd47f5db4cfc1d)

Reviewed-by: Haibo Chen <haibo.chen@nxp.com>
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoLF-257-01 ARM: dts: imx6ull/ulz-14x14-evk: update usdhc1 pin group
Fugang Duan [Fri, 29 Nov 2019 09:08:29 +0000 (17:08 +0800)]
LF-257-01 ARM: dts: imx6ull/ulz-14x14-evk: update usdhc1 pin group

Update usdhc1 pin group for imx6ull/ulz-14x14-evk.

Reviewed-by: Haibo Chen <haibo.chen@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoLF-270 ARM64: dts: imx8mq.dtsi: set the IMX8MQ_CLK_NAND_USDHC_BUS clock rate
Haibo Chen [Fri, 29 Nov 2019 08:57:52 +0000 (16:57 +0800)]
LF-270 ARM64: dts: imx8mq.dtsi: set the IMX8MQ_CLK_NAND_USDHC_BUS clock rate

Need to set the IMX8MQ_CLK_NAND_USDHC_BUS clock rate to 266MHz, to make
clock align, otherwise USDHC oparation will has issue.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
4 years agoLF-255 ARM: dts: imx6ul-14x14-evk.dtsi: set CMA memory size to 96M bytes
Fugang Duan [Fri, 29 Nov 2019 05:06:49 +0000 (13:06 +0800)]
LF-255 ARM: dts: imx6ul-14x14-evk.dtsi: set CMA memory size to 96M bytes

imx6ul/ull/ulz 14x14 evk board memory size is 512M, current
board dts set CMA reserved memory size to 320M, which causes
system has no free memory for unmovable and reclaimable.

In fact, set CMA memory size to 96M is large enough for pxp and
epdc cases.

Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoLF-227 arm64: dts: imx8qxp: add i.MX8QXP MEK dom0 dts
Peng Fan [Thu, 28 Nov 2019 08:20:14 +0000 (16:20 +0800)]
LF-227 arm64: dts: imx8qxp: add i.MX8QXP MEK dom0 dts

Add i.MX8QXP MEK dom0 dts to work with XEN 4.13

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Acked-by: Leonard Crestez <leonard.crestez@nxp.com>
4 years agoarch: arm64: Remove ESAI related PD from original esai node
Daniel Baluta [Thu, 28 Nov 2019 22:20:28 +0000 (00:20 +0200)]
arch: arm64: Remove ESAI related PD from original esai node

This nodes will be enabled inside FSL DAI node.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
4 years agoarm64: dts: Remove nodes related to old audio framework
Daniel Baluta [Thu, 28 Nov 2019 21:01:00 +0000 (23:01 +0200)]
arm64: dts: Remove nodes related to old audio framework

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
4 years agoarm64: dts: Enable simple-audio-card for ESAI0 + cs42888
Daniel Baluta [Thu, 28 Nov 2019 15:17:30 +0000 (17:17 +0200)]
arm64: dts: Enable simple-audio-card for ESAI0 + cs42888

We use existing simple-audio-card machine driver to demonstrate
the usage of ESAI0 with cs42888 codec.

Mind that we use FSL DAI driver in order to manage ESAI related
resources (PD, clocks, pinctrl). This was previously done by
dsp platorm node.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>