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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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)
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>
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>
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>
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>
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>
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>
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>
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>
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)
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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)
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>