1
0
Fork 0
Commit Graph

6175 Commits (5691e22711a4ee70f473e909d7aae76a966d819d)

Author SHA1 Message Date
Liu Ying e15cfc057d 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>
2020-04-10 15:23:57 +08:00
Liu Ying 64b07f682b 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>
2020-04-10 15:23:56 +08:00
Liu Ying b4bf1bab57 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>
2020-04-10 15:23:54 +08:00
Liu Ying 460a31461c 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>
2020-04-10 15:23:53 +08:00
Liu Ying f77648f2a1 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>
2020-04-10 15:23:52 +08:00
Fugang Duan cbd935672b MLK-23764 arm64: dts: imx8dxl: enable wireless support for evk board
Add extra pcie dts file to enable wireless (like NXP
88w8997 and CYPRESS 4356/4359) since most of A0 chips
pcie has issue, which is convenient for tester to verify
wireless on comming release with golden chips.

Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
2020-04-09 18:04:04 +08:00
Robin Gong 18e5faa34d MLK-23275-1: ARM64: dts: freescale: fsl-imx8mm-evk: correct ldo1/ldo2 voltage
Correct ldo1/ldo2 voltage as below:
ldo1 --NVCC_SNVS_1V8
ldo2 --VDD_SNVS_0V8

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
(cherry picked from commit 6e1db954c1261c9a8a40f7c4e33f03173c4d05b6)
(cherry picked from commit c159238cd48be1814736ed1eed8905572777d195)
2020-04-10 01:02:12 +08:00
Peng Fan c2be5262f0 MLK-23754-36 arm64: dts: imx8dxl: add cm4 node
Add cm4 node for remoteproc usage.

Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
2020-04-09 10:35:43 +08:00
Peng Fan 9520932a70 MLK-23754-32 arm64: dts: imx8mq: add cm4 node
Add cm4 node for remoteproc usage.

Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
2020-04-09 10:35:43 +08:00
Peng Fan 93e7fa8a68 MLK-23754-31 arm64: dts: imx8qm: add cm4 node
Add cm4 node for remoteproc usage. Disable rpmsg node.

Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
2020-04-09 10:35:42 +08:00
Peng Fan b7c56dc046 MLK-23754-29 arm64: dts: imx8mn: add remoteproc node for i.MX8MN
Add remoteproc node for i.MX8MN

Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
2020-04-09 10:35:42 +08:00
Peng Fan 3c0b3bea88 MLK-23754-28 arm64: dts: imx8mp: add cm7 remoteproc node
Add CM7 remote proc node, decrease rpmsg dma node to 2MB only for
pcie usage.

Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
2020-04-09 10:35:42 +08:00
Peng Fan 8e298b9ca4 MLK-23754-27 arm64: dts: imx8mm: add i.MX8MM cm4 node
Add i.MX8MM cm4 node for remoteproc usage.

Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
2020-04-09 10:35:42 +08:00
Peng Fan 8bd8bf4ea9 MLK-23754-26 arm64: dts: imx8x-mek: add cm4 node
Add cm4 node for remoteproc usage. Currently added ipc-only
for partitioned M4 usage, late this property will be dropped
and check partitioned M4 in driver.

Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
2020-04-09 10:35:42 +08:00
Mirela Rabulea 636de0a39e MLK-23728: Add ov2775 dtb for imx8mp
Make sure all the needed clocks are enabled for mipi_csi,
do not rely on mipi_dsi or lcdif to enable them.
Needed: media_cam1_pix, media_axi_root, media_apb_root

Tested with VSI ISP demo.
Not tested with camera on CSI2.

Signed-off-by: Mirela Rabulea <mirela.rabulea@nxp.com>
Tested-by: Oliver Brown <oliver.brown@nxp.com>
2020-04-08 10:32:22 -05:00
Fancy Fang 639f4b020f 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>
2020-04-08 15:53:24 +08:00
Guoniu.zhou b4b240ce1d MLK-23756: arm64: dts: bind power domain to ISI and CSI of iMX8MP
Bind power doamin to ISI and CSI of iMX8MP

Signed-off-by: Guoniu.zhou <guoniu.zhou@nxp.com>
Reviewed-by: Fancy Fang <chen.fang@nxp.com>
2020-04-08 12:17:46 +08:00
Richard Zhu ea318acd0d MLK-23755 arm64: dts: imx8dxl: enable pcie ep rc verification
Enable the PCIe EP/RC verification on iMX8DXL EVK board.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
2020-04-08 10:53:24 +08:00
Zhang Peng 262a3a287c MLK-23701-0 dts: Add imx8mp-evk-dsp.dts and property audio-interface
Add property audio-interface for set sai or esai.
Add imx8mp-evk-dsp.dts for supporting cplay in mp board.

Signed-off-by: Zhang Peng <peng_zhang_8@nxp.com>
2020-04-07 12:48:18 +08:00
Horia Geantă efdd9963ce arm64: dts: imx8mn: add clock for snvs rtc node
Initial commit adding imx8mn support:
6c3debcbae ("arm64: dts: freescale: Add i.MX8MN dtsi support")
added the "clock-names" property for the snvs rtc node,
however it missed adding the clock.

Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
(cherry picked from commit 42ef961b24)
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Reviewed-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2020-04-03 13:01:27 +03:00
Madalin Bucur 9e62b6673d arm64: dts: ls1046ardb: set RGMII interfaces to RGMII_ID mode
commit d79e9d7c1e upstream.

The correct setting for the RGMII ports on LS1046ARDB is to
enable delay on both Rx and Tx so the interface mode used must
be PHY_INTERFACE_MODE_RGMII_ID.

Since commit 1b3047b520 ("net: phy: realtek: add support for
configuring the RX delay on RTL8211F") the Realtek 8211F PHY driver
has control over the RGMII RX delay and it is disabling it for
RGMII_TXID. The LS1046ARDB uses two such PHYs in RGMII_ID mode but
in the device tree the mode was described as "rgmii".

Changing the phy-connection-type to "rgmii-id" to address the issue.

Fixes: 3fa395d2c4 ("arm64: dts: add LS1046A DPAA FMan nodes")
Signed-off-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-02 15:11:03 +02:00
Madalin Bucur c399a50ae8 arm64: dts: ls1043a-rdb: correct RGMII delay mode to rgmii-id
commit 4022d808c4 upstream.

The correct setting for the RGMII ports on LS1043ARDB is to
enable delay on both Rx and Tx so the interface mode used must
be PHY_INTERFACE_MODE_RGMII_ID.

Since commit 1b3047b520 ("net: phy: realtek: add support for
configuring the RX delay on RTL8211F") the Realtek 8211F PHY driver
has control over the RGMII RX delay and it is disabling it for
RGMII_TXID. The LS1043ARDB uses two such PHYs in RGMII_ID mode but
in the device tree the mode was described as "rgmii_txid".
This issue was not apparent at the time as the PHY driver took the
same action for RGMII_TXID and RGMII_ID back then but it became
visible (RX no longer working) after the above patch.

Changing the phy-connection-type to "rgmii-id" to address the issue.

Fixes: bf02f2ffe5 ("arm64: dts: add LS1043A DPAA FMan support")
Signed-off-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-02 15:11:03 +02:00
Robert Chiras 5162671ac9 MLK-23703: 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>
2020-04-02 10:29:35 +03:00
Madalin Bucur 406f1ac075 arm64: dts: ls1043a: FMan erratum A050385
[ Upstream commit b54d390086 ]

The LS1043A SoC is affected by the A050385 erratum stating that
FMAN DMA read or writes under heavy traffic load may cause FMAN
internal resource leak thus stopping further packet processing.

Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-01 11:01:52 +02:00
Ming Qian 166781cc35 MLK-21760-2: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>
2020-04-01 13:25:29 +08:00
Li Jun 403f0af55d MLK-23412-8 arm64: dtsi: imx8mp: add hsio root clock for usb
Currently hsio root clock is always on, which should be handled
by hsiomix power domain driver but there is problem on doing that,
see commit 5aaceda10a ("MLK-23671-02 arm64: dts: imx8mp: Add the
rpm-always-on flag for hsiomix domain"):

"The hsiomix power domain need to be runtime always-on to maintain USB's
wakeup ability. As this domain need to be boot on by default, no one
will call the power on callback during system boot up, the clock
enable/disable will mismatch, so remove the clocks from this domain.
the necessary clocks will be handled in TF-A."

There is one clock(AXI_DIV) shared between hsiomix and USB, with
rpm-always-on property added, like above commit description, power
domain driver will not do enable/disable and think it's always on, but
it can be disabled by USB driver, afterwards if power domain driver does
hsiomix register access, system will hang because the required clock was
disabled.

Now with above commit and change in TF-A, those clocks are not
controlled by Linux for power domain operations, but user driver(i.e. USB
and PCIE) has to handle it.

Reviewed-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Li Jun <jun.li@nxp.com>
2020-03-31 17:09:57 +08:00
Li Jun 739af17e2a MLK-23412-7 arm64: imx8mp.dtsi: add hsiomix power domain binding for usb
USB controller isolation is controlled by hsiomix power domain,
instead of usb_otg1_pd and usb_otg2_pd, those 2 power domains are
for USB PHY isolation and in our case, PHY is power is kept always
on(but can be suspended).

Reviewed-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Li Jun <jun.li@nxp.com>
2020-03-31 17:03:44 +08:00
Shengjiu Wang 6c3083578f MLK-23702-5: arm64: dts: imx8mp: Support rpmsg audio
1. add i2c-rpmsg support for i2c3
2. reserve memory for LPA, for the accessable memory
of m7: 0x40000000-0xbfffffff.
3. support LPA, playback only

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
Reviewed-by: Viorel Suman <viorel.suman@nxp.com>
2020-03-31 15:04:14 +08:00
Guoniu.zhou 6698b26adb MLK-23697-2: arm64: dts: add ov5640 rpmsg support for iMX8DX
Add ov5640 rpmsg support for iMX8DX platform.

Signed-off-by: Guoniu.zhou <guoniu.zhou@nxp.com>
Reviewed-by: Robby Cai <robby.cai@nxp.com>
2020-03-31 12:16:03 +08:00
Guoniu.zhou 555bc3f5c2 MLK-23697-1: arm64: dts: add two ov5640 support for iMX8DX
Add two ov5640 support for iMX8DX platform. One work at DVP mode,
the other work at MIPI mode.

Signed-off-by: Guoniu.zhou <guoniu.zhou@nxp.com>
Reviewed-by: Robby Cai <robby.cai@nxp.com>
2020-03-31 12:16:03 +08:00
Peter Chen 30ca4c96ea
MLK-23676-2 ARM64: dts: imx8dxl-ss-conn: change clock output name for USBOTG2 PHY
USBOTG2 PHY's output name should be PHY ipg clock, but not controller
ahb clock, it is aligned with USBOTG1 PHY's output clock.

Signed-off-by: Peter Chen <peter.chen@nxp.com>
2020-03-31 10:14:43 +08:00
Frank Li e12c785ff3 MLK-23717 8DXL DDR EVK board enable ADC IN0 IN1 IN4 IN5
Enable IN0 IN1 IN4 IN5

Signed-off-by: Frank Li <Frank.Li@nxp.com>
2020-03-30 20:56:32 -05:00
Han Xu c520bb1de3 MLK-23693-2: arm64: dts: imx8dxl: change nand interrupts in dxl-ss-conn
change the interrupts in imx8dxl-ss-conn for imx8dxl nand support.

Signed-off-by: Han Xu <han.xu@nxp.com>
2020-03-30 14:04:53 -05:00
Han Xu b8db6362ff MLK-23693-1: arm64: dts: imx8dxl: add nand support on ddr3 board
add the nand node to support nand in imx8dxl ddr3 evk board.

Signed-off-by: Han Xu <han.xu@nxp.com>
2020-03-30 14:04:53 -05:00
Jacky Bai d64b959d7c MLk-23696-02 arm64: dts: imx8mp: Add the more hdmi related clock in hdmimix pd
the HDMI APB clock & 266M REF clock should be on when doing HDMIMIX power domain
on/off, so add these clock to hdmimix pd node.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by:  Anson Huang <Anson.Huang@nxp.com>
2020-03-27 20:15:18 +08:00
Shengjiu Wang 2a588a0e21 MLK-23680-2: arm64: dts: imx8mp: update clocks for sdma2 & sdma3
There is hardware issue: TKT0535653
SDMA3 can't work without setting AUDIOMIX_CLKEN0[SDMA2] (bit-26) to 1

The workaround is:
As the reset state of AUDIOMIX_CLKEN0[SDMA2] is enabled,
we just need to keep it on as reset state, don't touch it
in kernel, then every thing is same as before.

So for sdma node, it only need to care about AHB and IPG clock,
the gate of AUDIOMIX_CLKEN0[SDMA2] is always enabled.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Robin Gong <yibin.gong@nxp.com>
2020-03-27 16:04:34 +08:00
Guoniu.zhou f1e4bfdabb MLK-23315-2: arm64: dts: imx8: add i2c and irqsteer device node for CI_PI ss
Add i2c controller and irqsteer device node for CI_PI subsystem of iMX8QXP

Signed-off-by: Guoniu.zhou <guoniu.zhou@nxp.com>
Reviewed-by: Robby Cai <robby.cai@nxp.com>
2020-03-27 13:52:27 +08:00
Peter Chen 89a49f36e0
MLK-23676 ARM64: imx8dxl-ss-conn: change USBOTG2 compatible
"fsl,imx8qm-usb" is not defined at driver, and "fsl,imx27-usb"
is older model. We need to use the closest model for it to get
the newer features, like runtime pm.

Reviewed-by: Jun Li <jun.li@nxp.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
2020-03-27 11:21:59 +08:00
Peter Chen f304da5ac1
MLK-23639 ARM64: imx8dxl.dtsi: enable USB1 and USB2 wakeup interrupt
Enabe USB1 and USB2 wakeup interrupt for system suspend.

Reviewed-by: Jun Li <jun.li@nxp.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
2020-03-27 11:21:59 +08:00
Jacky Bai bd0cec49f7 MLK-23678 arm64: dts: imx8m: Add arm pmu node for imx8mn/mp
Add the pmu node on i.MX8MN/MP to enable the ARM PMU support.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
2020-03-26 20:12:12 +08:00
Jacky Bai 5aaceda10a MLK-23671-02 arm64: dts: imx8mp: Add the rpm-always-on flag for hsiomix domain
The hsiomix power domain need to be runtime always-on to maintain USB's
wakeup ability. As this domain need to be boot on by default, no one will
call the power on callback during system boot up, the clock enable/disable
will mismatch, so remove the clocks from this domain. the necessary clocks
will be handled in TF-A.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
2020-03-26 20:12:12 +08:00
Fugang Duan 81e0e6c356 MLK-23687-02 arm64: dts: imx8dxl: update enet wakeup irq number
Update enet wakeup interrupt number since they are different
with imx8qxp.

Reviewed-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
2020-03-26 17:50:44 +08:00
Fugang Duan 2aceec97c0 MLK-23685 arm64: dts: imx8dxl: add aliases for ethernet node
Add aliases for ethernet node to support set mac
address by uboot ethnaddr env.

Reviewed-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
2020-03-26 17:50:44 +08:00
Fugang Duan 531b44e5c4 MLK-23686 dts: imx8dxl: read mac address from efuse
Add mac address support by reading from efuse.

Reviewed-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
2020-03-26 17:50:44 +08:00
Richard Zhu 7fb4da245b MLK-23669 arm64: dts: imx8qm: add pcieax2pciebx1 usecase
Different HSIO usecase may be used by customers.
- add PCIEAx2PCIEBx1 usecase for example.
Only verified PCIA one lane refer to the iMX8QM MEK and Baseboard
hardware limitation.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
2020-03-26 16:40:48 +08:00
Richard Zhu c24b099bb5 MLK-23668-1 arm64: dts: imx8qm: add multi-pcie ports support
- Enable the PCIEB port on the i.MX8QM MEK and base board.
- In the PCIEAX1PCIEBx1SATA usecase, the PHYX2_PCLK[0] is mandatory
required by PCIEB. Otherwise PCIEB can't link up when exist from
L2 mode when only PCIEB is used.
- PCIEB has one more PER clock, since that the PCIEA CSR register
would be configuired when PCIEB is initialized.
- Regarding to the base board HW limitation(two Disable#) are not
connected. Only the standard PCIe EP device is supported on PCIEB port.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
2020-03-26 16:40:48 +08:00
Joakim Zhang 1b43d34c6e MLK-23528 arm64: dts: imx8dxl: add CAN wakeup irq
Add CAN wakeup irq.

Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
2020-03-26 10:58:29 +08:00
Richard Zhu b8a7102caa MLK-23637 dts: arm64: imx8mp: enable the pcie ep rc on imx8mp evk
Add the PCIe DMA IRQ name.
Enable the PCIe EP RC validation on iMX8MP EVK boards.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
2020-03-25 19:39:51 +08:00
Guoniu.zhou 72155acb74 MLK-23665: arm64: dts: ov5640: add new dts for imx8qxp ov5640 rpmsg
Because our relase image include m4 image by default, but dts for two
ov5640 don't include rpmsg, so user need to burn non-rpmsg flash.bin
if they want to test two ov5640 case. Test team and more and more guys
request to add rpmsg ov5640. The patch is used for the purpose.

Signed-off-by: Guoniu.zhou <guoniu.zhou@nxp.com>
2020-03-25 14:07:42 +08:00
Shengjiu Wang b45c81db62 MLK-23653-3: arm64: dts: imx8mm-evk: change sai to master for bt-sco
Change sai to master for bt-sco to resolve the long latence issue
for uplink

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
2020-03-24 11:47:24 +08:00
Richard Zhu f3db6a0c22 MLK-23666 arm64: dts: correct the legacy intx of imx8dxl pcie
Correct the legacy INTX numbers of the iMX8DXL PCIe.
Use the internal PLL as PCIe REF clock.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
2020-03-24 11:24:49 +08:00
Frank Li dc62e993e1 MLK-23646 i.MX8DXL support DDR3 EVK board
support only basic function
eqos network
USB1 and USB2 basic work
Only total 512MB in DDR3 evk boards

Reviewed-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
2020-03-23 09:17:32 -05:00
Jacky Bai 985d669e1e MLK-23658 arm64: dts: imx8mm: Add ddr3l val board for imx8mm
Add the DDR3L val board for i.MX8MM.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
2020-03-23 20:44:49 +08:00
Shengjiu Wang 614ecd7e6c MLK-23653-2: arm64: dts: imx8mm-evk: enable sound card for bt-sco
enable sound card for bt-sco

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Viorel Suman <viorel.suman@nxp.com>
2020-03-23 17:43:57 +08:00
Alice Guo 04e7c76cff MLK-23626-3 arm64: dts: imx8mq: let inmate dts do not include .dtsi
Rewrite inmate dts for jailhouse dual linux case.

Signed-off-by: Alice Guo <alice.guo@nxp.com>
2020-03-21 22:08:16 +08:00
Alice Guo 161c003bfc MLK-23626-2 arm64: dts: imx8mn: let inmate dts do not include .dtsi
Rewrite inmate dts for jailhouse dual linux case.

Signed-off-by: Alice Guo <alice.guo@nxp.com>
2020-03-21 22:08:16 +08:00
Alice Guo 705e7f1b29 MLK-23626-1 arm64: dts: imx8mm: let inmate dts do not include .dtsi
Rewrite inmate dts for jailhouse dual linux case.

Signed-off-by: Alice Guo <alice.guo@nxp.com>
2020-03-21 22:08:16 +08:00
Viorel Suman a9972cff81 MLK-23579: dts: arm64: imx8mp-ab2: remove mask for 2ch dsd
Due to 8MQ/MM IOMUX specifics for DSD stereo case the audio
data is routed via DATA0 and DATA4 SAI1 signals, thus a
specific channel map is required for DSD stereo case. For
8MP there is no need for a such specific case, so remove it.

Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
2020-03-18 16:10:54 +02:00
Liu Ying 04f3727879 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>
2020-03-18 18:44:15 +08:00
Shengjiu Wang f967f755ed MLK-23618-16: arm64: dts: remove unneeded power domain for audio modules
The power domain for clocks is not needed by audio drivers, which
is handled by clock driver.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
2020-03-18 15:42:28 +08:00
Jacky Bai 91a988106b MLK-23622-02 arm64: dts: imx8mp: Add active-wakeup property for hsiomix
The HSIOMIX domain need to be on if usb wakeup is enabled for system
wakeup source, so add the 'active-wakeup' property for this domain.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
2020-03-18 14:12:02 +08:00
Jacky Bai 46814fb05c arm64: dts: imx8mp: Add power domain property for vpu nodes
Add power domain property for vpu node to enable power domain
off when module entering runtime PM.

BuildInfo:
         - ATF 13de44f73

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Zhou Peng <eagle.zhou@nxp.com>
2020-03-18 11:11:59 +08:00
Anson Huang d1236dcacf MLK-23621 arm64: dts: imx8dxl: Add A35 cpu-freq support
Add A35 cpu-freq support, 900MHz and 1.2GHz are supported.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
2020-03-18 10:45:40 +08:00
Li Jun 9998366273 MLK-23596-2 ARM64: dtsi: imx8mp: add soft-itp-sync property for usb
SOFITPSYNC
If this bit is set to '0' operating in host mode, the core keeps the
UTMI/ULPI PHY on the first port in a non-suspended state whenever there
is a SuperSpeed port that is not in Rx.Detect, SS.Disable and U3.
If this bit is set to '1' operating in host mode, the core keeps the
UTMI/ULPI PHY on the first port in a non-suspended state whenever the
other non-SuperSpeed ports are not in a suspended state. This feature is
useful because it saves power by suspending UTMI/ULPI when SuperSpeed
only is active, and it helps resolve when the PHY does not transmit a
host resume unless it is placed in suspend state. This bit must be
programmed as a part of initialization at power-on reset, and must not
be dynamically changed afterwards.

with this property specified, this bit is set to be 1.

Reviewed-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Li Jun <jun.li@nxp.com>
2020-03-17 19:38:52 +08:00
Viorel Suman d550cd7a1e MLK-23586: dts: arm64: imx8mp-ab2: disable busfreq node
Disable busfreq node for AB2 as currently it is
causing "underrun" errors.

Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2020-03-17 13:13:41 +02:00
Guoniu.zhou 5a740a3218 MLK-23578-2: arm64: dts: add ISI m2m device node for i.MX865
Add ISI m2m device node in dts for i.MX865 platform

Signed-off-by: Guoniu.zhou <guoniu.zhou@nxp.com>
Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
2020-03-16 17:43:24 +08:00
Han Xu ad81692901 MLK-23588: arm64: dts: enable usbotg on imx8qxp lpddr4 val board for uuu download
Enabled the usbotg ports on imx8qxp lpddr4 val board for uuu download
NAND image.

Signed-off-by: Han Xu <han.xu@nxp.com>
Reviewed-by: Frank Li <frank.li@nxp.com>
2020-03-13 15:32:19 -05:00
Silvano di Ninno 7753837330 arm64: dts: imx8dxl Add caam node
8DXL have a different IRQ mapping compare to
8QM and 8QxP.

Signed-off-by: Silvano di Ninno <silvano.dininno@nxp.com>
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
2020-03-13 22:44:22 +01:00
Franck LENORMAND 53dca82ef1 SSI-87: arm64: dts: imx8qxp: Add node for Security Violations
Signed-off-by: Franck LENORMAND <franck.lenormand@nxp.com>
2020-03-13 17:11:58 +01:00
Shengjiu Wang 3dab39b149 MLK-23585-4: arm64: dts: Enable audio features for imx8dxl-evk
Enable SAI/ASRC/WM8960
1. Update the interrupt number for audio modules
2. Enable 3 wm8960 codecs

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2020-03-13 16:26:02 +08:00
Liu Ying 869d88224b MLK-23267-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>
2020-03-13 15:12:16 +08:00
Liu Ying bf8ae75604 MLK-23267-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>
2020-03-13 15:11:21 +08:00
Christian Hewitt 8937a74575 arm64: dts: meson: fix gxm-khadas-vim2 wifi
commit 146033562e upstream.

before

[6.418252] brcmfmac: F1 signature read @0x18000000=0x17224356
[6.435663] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4356-sdio for chip BCM4356/2
[6.551259] brcmfmac: brcmf_sdiod_ramrw: membytes transfer failed
[6.551275] brcmfmac: brcmf_sdio_verifymemory: error -84 on reading 2048 membytes at 0x00184000
[6.551352] brcmfmac: brcmf_sdio_download_firmware: dongle image file download failed

after

[6.657165] brcmfmac: F1 signature read @0x18000000=0x17224356
[6.660807] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4356-sdio for chip BCM4356/2
[6.918643] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4356-sdio for chip BCM4356/2
[6.918734] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[6.922724] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4356/2 wl0: Jun 16 2015 14:25:06 version 7.35.184.r1 (TOB) (r559293) FWID 01-b22ae69c

Fixes: adc52bf7ef ("arm64: dts: meson: fix mmc v2 chips max frequencies")
Suggested-by: Art Nikpal <email2tema@gmail.com>
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Link: https://lore.kernel.org/r/1582212790-11402-1-git-send-email-christianshewitt@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-03-12 13:00:31 +01:00
Fabio Estevam 67a6b0adb1 arm64: dts: imx8qxp-mek: Remove unexisting Ethernet PHY
commit 26c4b4758f upstream.

There is only on Ethernet port and one Ethernet PHY on imx8qxp-mek.

Remove the unexisting ethphy1 port.

This fixes a run-time warning:

mdio_bus 5b040000.ethernet-1: MDIO device at address 1 is missing.

Fixes: fdea904e85 ("arm64: dts: imx: add imx8qxp mek support")
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-03-12 13:00:27 +01:00
Guillaume La Roque 422d098fe6 arm64: dts: meson-sm1-sei610: add missing interrupt-names
commit 5bea1336ed upstream.

add missing "host-wakeup interrupt names

Fixes: 30388cc075 ("arm64: dts: meson-sm1-sei610: add gpio bluetooth interrupt")

Signed-off-by: Guillaume La Roque <glaroque@baylibre.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lore.kernel.org/r/20200117133423.22602-1-glaroque@baylibre.com
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-03-12 13:00:24 +01:00
Ley Foon Tan 637627d832 arm64: dts: socfpga: agilex: Fix gmac compatible
commit 8c86738716 upstream.

Fix gmac compatible string to "altr,socfpga-stmmac-a10-s10". Gmac for
Agilex should use same compatible as Stratix 10.

Fixes: 4b36daf9ad ("arm64: dts: agilex: Add initial support for Intel's Agilex SoCFPGA")
Cc: stable@vger.kernel.org
Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-03-12 13:00:20 +01:00
Franck LENORMAND e4468cd15c MLK-23421: arch: arm64: imx8dxl: Change IRQ number
On 8dxl, the IRQ numbe ris different than on other 8SoC.

Signed-off-by: Franck LENORMAND <franck.lenormand@nxp.com>
2020-03-12 09:29:51 +01:00
Franck LENORMAND 9a91e2843e MLK-23421: arm64: dts: Use fast IPC for seco mu
This patch enables all the MU in the security subsystem
and configure them to use FAST IPC.

Signed-off-by: Franck LENORMAND <franck.lenormand@nxp.com>
2020-03-12 09:29:51 +01:00
Joakim Zhang f158c242b8 MLK-23573 arm64: dts: imx8qm/qxp-val: Enable CAN
Enable CAN on i.MX8QM/QXP validation board for test team requirement.

Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
2020-03-11 14:34:31 +08:00
Silvano di Ninno 534d8537d4 MLK-23561 arm64: dts: imx8-ss-security: fix Secure Memory mapping
Ranges for the security subsystem node is too small and does not include
the caam_sm range.

Fixes: e08b2903ae ("LF-824:  arm64: dts: Add seco mu nodes")
Signed-off-by: Silvano di Ninno <silvano.dininno@nxp.com>
Tested-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Reviewed-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
2020-03-10 18:40:44 +01:00
Viorel Suman 80aaafd873 MLK-23567-1: dts: arm64: imx8mp-ab2: add SPDIF iomux config
Add SPDIF iomux configuration.

Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2020-03-10 11:08:35 +02:00
Viorel Suman 2bcdf92a47 MLK-23566-1: arm64: dts: imx8mp: replace "earc" with "xcvr"
IP module name is AUDIO XCVR, eARC being just one
of the audio interfaces supported by XCVR IP module.
Use IP module name instead of a specific audio interface
in order to avoid confusion.

Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2020-03-10 11:08:35 +02:00
Ella Feng fd3523b31e arm64: dts: imx8mp: Add power domain for GPU 3D/2D and VIP
Add power domain for GPU 3D/2D and VIP for imx8mp.

Signed-off-by: Ella Feng <ella.feng@nxp.com>
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
2020-03-11 00:32:59 +08:00
Ye Li 8a35ec5fc3 MLK-23552-4 arm64: dts: imx8dxl: Update ADMA subsystem nodes
Remove non-existing ADMA nodes on iMX8DXL, update the edma0 and
enable acm since this parent for some audio lpcg nodes.

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
2020-03-09 21:05:05 -07:00
Ye Li 4ad83f42e3 MLK-23552-2 arm64: dts: imx8dxl: Remove IMG subsystem
iMX8DXL does not have IMG subsystem, so remove this SS dtsi file
from iMX8DXL

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
2020-03-09 21:05:05 -07:00
Ye Li 2bcf70ad60 MLK-23552-1 arm64: dts: imx8dxl: Remove MLB and its lpcg node
iMX8DXL does not have MLB in connectivity subsystem, remove mlb node
and mlb_lpcg node from imx8dxl conn DTSi.

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
2020-03-09 21:05:05 -07:00
Anson Huang c5726388aa MLK-23556 arm64: dts: imx8dxl: Eliminate error message for audio ss
Disable those audio lpcgs which probe failed to avoid below error message during
kernel boot up:

[    0.322195] imx8qxp-lpcg-clk 59420000.clock-controller: failed to get clock parent names
[    0.322275] imx8qxp-lpcg-clk: probe of 59420000.clock-controller failed with error -22
[    0.322400] imx8qxp-lpcg-clk 59440000.clock-controller: failed to get clock parent names
[    0.322440] imx8qxp-lpcg-clk: probe of 59440000.clock-controller failed with error -22
[    0.322568] imx8qxp-lpcg-clk 59450000.clock-controller: failed to get clock parent names
[    0.322605] imx8qxp-lpcg-clk: probe of 59450000.clock-controller failed with error -22
[    0.322814] imx8qxp-lpcg-clk 59460000.clock-controller: failed to get clock parent names
[    0.322859] imx8qxp-lpcg-clk: probe of 59460000.clock-controller failed with error -22
[    0.323022] imx8qxp-lpcg-clk 59470000.clock-controller: failed to get clock parent names
[    0.323067] imx8qxp-lpcg-clk: probe of 59470000.clock-controller failed with error -22
[    0.323195] imx8qxp-lpcg-clk 59c50000.clock-controller: failed to get clock parent names
[    0.323236] imx8qxp-lpcg-clk: probe of 59c50000.clock-controller failed with error -22
[    0.324090] imx8qxp-lpcg-clk 59d50000.clock-controller: failed to get clock parent names
[    0.324152] imx8qxp-lpcg-clk: probe of 59d50000.clock-controller failed with error -22
[    0.324257] imx8qxp-lpcg-clk 59d60000.clock-controller: failed to get clock parent names
[    0.324296] imx8qxp-lpcg-clk: probe of 59d60000.clock-controller failed with error -22

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
2020-03-09 11:05:35 +08:00
Jason Liu 335d2828a9 This is the 5.4.24 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAl5hHjgACgkQONu9yGCS
 aT6CSBAA0c16mnDb59jgmW/sBj/p/MrlD/WJzLriqiKN5BUsPt9++I5mNj8mG+d2
 Glm4086e8L826zv8oKiZm23xk93on+78ExhVFVZvZNaEUpiRNYCGSuDq2NrHW0z+
 kpagkAFLfCUZFoKtmWo+bpl0YtF4dd/fg7+EjyL6qT1DBs8NVMwZx7i/v0xXv7Wc
 0vsGCLYoBLzcW1FB2d9cfAUPCBuGEzL/7TdifNOXRgI9owGsZndFJgXgIzoBUt/P
 tqB8RLjIupCiMEPtsEAZ/rgEQLPFkb3yrBvgjd1wDI8bHUIQU0clqThKVNvmNSmv
 UTBSNgPAhkP8nZG7X9xCkyfEsUefejBJy66da9n4XTGGrXf9ga0BL0nNrOGwOesr
 m+tNnBSFsbFCMqFopQnt4zZSnaf67AOk2mzxbEu4E+sStyW943aDO9MoRRFgaYGH
 pfie3qOKtKta2MuNTJA+q6F0W9H+V5MtMpwbyuy1/dp2eVln2wewBBMvXYdL1YOy
 E/Z87nsQgalsDynz9m/niv32J4JAxHptyOyROkktDLBSzL5RawNn+Op8X5EtmZOe
 sPkiYicqp9CLmMj13qWXJhtuyNdD4wk6FyyAy6cX9mF44+EZGOBkyNP+n8g789Kn
 sqFJ7sfTfOnwLBFciMA5PaMTGNWROyWXNkvvUzO+9t0CyFAnT2U=
 =abGA
 -----END PGP SIGNATURE-----

Merge tag 'v5.4.24' into imx_5.4.y

Merge Linux stable release v5.4.24 into imx_5.4.y

* tag 'v5.4.24': (3306 commits)
  Linux 5.4.24
  blktrace: Protect q->blk_trace with RCU
  kvm: nVMX: VMWRITE checks unsupported field before read-only field
  ...

Signed-off-by: Jason Liu <jason.hui.liu@nxp.com>

 Conflicts:
	arch/arm/boot/dts/imx6sll-evk.dts
	arch/arm/boot/dts/imx7ulp.dtsi
	arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
	drivers/clk/imx/clk-composite-8m.c
	drivers/gpio/gpio-mxc.c
	drivers/irqchip/Kconfig
	drivers/mmc/host/sdhci-of-esdhc.c
	drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
	drivers/net/can/flexcan.c
	drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
	drivers/net/ethernet/mscc/ocelot.c
	drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
	drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
	drivers/net/phy/realtek.c
	drivers/pci/controller/mobiveil/pcie-mobiveil-host.c
	drivers/perf/fsl_imx8_ddr_perf.c
	drivers/tee/optee/shm_pool.c
	drivers/usb/cdns3/gadget.c
	kernel/sched/cpufreq.c
	net/core/xdp.c
	sound/soc/fsl/fsl_esai.c
	sound/soc/fsl/fsl_sai.c
	sound/soc/sof/core.c
	sound/soc/sof/imx/Kconfig
	sound/soc/sof/loader.c
2020-03-08 18:57:18 +08:00
Fugang Duan e99d9ddb56 MLK-23546: dts: arm64: imx8: assign per clk for 8qm/8qxp
SLSLICE[2] cannot be accessed on 8DXL platform since it is
fixed and locked clock, but can be accessed on 8qm/8qxp platforms
who want to assign the clock to 250Mhz.

Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
2020-03-06 17:17:48 +08:00
Silvano di Ninno 28a4a2e2fb arm64: dts: imx8mm: align CAAM Job ring node naming
Align i.MX 8mm 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>
2020-03-05 17:24:24 +01:00
Silvano di Ninno b7ad286ff8 arm64: dts: imx8mn: align CAAM Job ring node naming
Align i.MX 8mn Job ring node naming
with the rest of the i.MX 8 platforms.

Fixes: aad2417502 ("arm64: dts: imx8mn: add crypto node")
Signed-off-by: Silvano di Ninno <silvano.dininno@nxp.com>
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
2020-03-05 16:45:49 +01:00
Silvano di Ninno e7534bb984 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>
2020-03-05 16:45:26 +01:00
Fancy Fang 7caaecd405 MLK-23532 arm64: dts: imx8mp: correct clocks for mediamix-pd
There is a shared gate clock exists after 'IMX8MP_CLK_MEDIA_
AXI_ROOT' and 'IMX8MP_CLK_MEDIA_AXI_ROOT' clocks according to
the clock tree, so correct clock values for 'mediamix-pd' by
using the corresponding gate clocks.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Reviewed-by: Robby Cai <robby.cai@nxp.com>
Tested-by: Liu Ying <victor.liu@nxp.com>
2020-03-05 18:06:47 +08:00
Jacky Bai e8df7e14ff MLK-23423 arm64: dts: imx8mp: Add gpu 3d shader clock to gpu3d power domain
The GPU3D shader clock must be on to make sure that GPU3D can be reset
successfully.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
2020-03-05 16:44:56 +08:00
Frank Li 18acf2d4b6 MLK-23533 dts: dxl fix usb vbus control polarity problem
correct property name. power-active-high
USB OTG2 power pin function set problem is fixed by scfw
848498bf4c6d79b33cc5018969574a5369479bc4

Signed-off-by: Frank Li <Frank.Li@nxp.com>
2020-03-04 19:52:16 -06:00
Bing Song 0fe7ae6936 MLK-23394-3: DTS: enable XUVI/PPM on i.MX8QM
Add XUVI/PPM on i.MX8QM platform.

Signed-off-by: Bing Song <bing.song@nxp.com>
Reviewed-by: Jian Li <jian.li@nxp.com>
Reviewed-by: Zhou Peng <eagle.zhou@nxp.com>
2020-03-05 08:16:44 +08:00
Joakim Zhang 0af50931db MLK-23418-6 arch: arm64: dts: imx8dxl: add perf device node in DB
Add PMU device node in DB on i.MX8DXL EVK board.

Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
2020-03-04 09:06:05 +08:00
Joakim Zhang cb1a3f4a79 MLK-23417-4 arch: arm64: imx8dxl: add perf device node for DRC
Add PMU device node for DRC on i.MX8DXL EVK board.

Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
2020-03-04 09:06:04 +08:00
Daniel Baluta 3dd2059f82 arm64: dts: Fix DAI index for i.MX8MP
On i.MX8MP wm8960 codec is connected with SAI3 so dai-index
should be 3.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
2020-03-03 15:13:23 +02:00
Fugang Duan 086025cc8d MLK-23424 arm64: dts: imx8dxl: enable legacy enet0 port
Enable legacy enet0 port to support daughter RGMII AR8031
PHY board.

imx8dxl evk board rework:
- Remove U30, R181, R182
- Connect U30.2 -U30.7
- Connect U30.3 ->U30.6
- Change R178/R179 to 1.5K

Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
2020-03-03 14:21:47 +08:00
Li Jun b84f6b9289 MLK-23411 ARM64: dts: imx8mq-evk: disable u1 and u2 entries for typec port
Commit 729dcffd1e ("usb: dwc3: gadget: Add support for disabling
U1 and U2 entries") give detail explaination for user case of
disable u1 and u2 in gadget mode:

"Usecase 1:
 When combining dwc3 with an redriver for a USB Type-C device
 solution, itsometimes have problems with leaving U1/U2 for
 certain hosts, resulting in link training errors and reconnects.
 For this U1/U2 state entries may be avoided."

on imx8mq-evk board, we have typec and redriver used and android
reported unstable issue when use some host PC for adb, so to have
a better performance, we disable u1 and u2 entries.

Reported-by: Richard Liu <xuegang.liu@nxp.com>
Reviewed-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Li Jun <jun.li@nxp.com>
2020-03-02 21:38:22 +08:00
Daniel Baluta 2a3bb30476 MLK-23350-15 arm64: dts: Add dai-index property
dai-index property must match dai-index from topology. FSL DAI
driver uses it for now figure out the correct DAI name, but might
be used for other things in the future.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
2020-03-02 13:20:57 +02:00
Silvano di Ninno 16ea12e66c TEE-518 arm64: dts: imx8mp: Increase alloc range for CMA.
With the reserved memory for optee, Linux is no
longer able to allocate CMA within the allocation
range defined in the dtb.
Increase the alloc-range so that Linux can allocate in the 4G
address range (in case some DMA are not able to address more).

Signed-off-by: Silvano di Ninno <silvano.dininno@nxp.com>
Reviewed-by: Jian Li <jian.li@nxp.com>
2020-02-29 14:47:07 +01:00
Fugang Duan e04b181ca9 MLK-23406 arm64: dts: imx8dxl: enable wireless HIF
Enable HIF PCIe for wlan, uart for bluetooth.

Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
2020-02-28 14:44:21 +08:00
Jacky Bai 349e4ee942 MLK-23404 arm64: dts: imx8mp: Correct the hdmi irqsteer's interrupt controller parent
Correct the HDMI irqsteer's interrupt controller parent, otherwise the HDMI
irq can NOT wakeup the cpu core from idle timely, then HDMI performance
will be impacted.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
2020-02-28 14:50:38 +08:00
Peter Chen 40688bff75
MLK-23349-5 ARM64: dts: imx8-ss-conn: specific USB3 clocks rate
IC confirmed the both imx8qm and imx8qxp could use 250M as usb3_clk
and no performance drop.

Reviewed-by: Jun Li <jun.li@nxp.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
2020-02-28 11:15:58 +08:00
Robin Gong ed2a39826e MLK-23400-2 ARM64: dts: freescale: imx8mp: add new 'imx8mp-sdma' type for sdma2/sdma3
Add new compatible 'imx8mp-sdma' for sdma2/sdma3 to support resume back after
audiomix off.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2020-02-28 19:10:32 +08:00
Frank Li 8faceabaae MLK-23403-3: i.MX8DXL: Change board name to EVK from MEK
Correct board name

Signed-off-by: Frank Li <Frank.Li@nxp.com>
2020-02-27 14:06:22 -06:00
Daniel Baluta c9c1501ede MLK-23350-14 arm64: dts: imx8mp-evk-sof: Use imx8mp dedicated topology
Topology is similar with the one for i.MX8QXP but now we really
use correct name for SAI: sai3 instead of sai1.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
2020-02-26 18:58:02 +02:00
Jacky Bai 015b388d46 MLK-23390 arm64: dts: imx8mp: add more clocks to gpumix & mlmix
The GPU AXI/AHB & ML AXI/AHB clock must be on when doing corresponding
power domain on/off, so Add these clocks to GPUMIX & MLMIX power domain.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
2020-02-26 21:28:04 +08:00
Peng Fan 3bea10bd31 MLK-23373-2 ARM64: dts: imx8mp-evk-root: fix jailhouse root dts
Fix jailhouse root dts to make it boot again.

Remove gpc
Disable cpuidle
Fix pinctrl
Add IMX8MP_CLK_HSIO_ROOT follow imx8mp-evk.dts

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
2020-02-26 15:13:34 +08:00
Peng Fan b027bfd918 MLK-23373-1 ARM64: dts: imx8mp: correct interrupt parent
With GPC as interrupt parent, need set edac and irqsteer interrupt
parent as gpc.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
2020-02-26 15:13:04 +08:00
Ye Li 80ef9839d8 MLK-23393 arm64: dts: imx8dxl-evk: Change CMA size to 320M
iMX8DXL EVK board only has 1GB DDR, so it can't allocate 960MB CMA.
Change the CMA size to 320M to align with 8DX.

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Anson Huang <anson.huang@nxp.com>
2020-02-25 21:20:20 -08:00
Robert Chiras a29e420506 LF-842-1: drm/bridge: nwl-dsi: Change mipi clocks re-parenting
The MIPI clock parenting is made in dts file, causing the MIPI clocks to
be parented even if that specific MIPI node is needed or not, causing
issues to the LVDS block (which has a shared PHY with MIPI on 8QXP).
In order to avoid these problems with the shared PHY on 8QXP, store the
MIPI parent clock for phy and escape clocks, along with their rates and
do the re-parenting in the MIPI driver only when a bridge (or panel) is
attached to it.

Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
Tested-by: Dong Aisheng <aisheng.dong@nxp.com>
[Aisheng: Tested on MX8QM/QXP with single LVDS-HDMI or MIPI panel]
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Reviewed-by: Liu Ying <victor.liu@nxp.com>

(cherry picked from commit 2f794bb2f88e18e43dab31f2edea98177fce4e95)
2020-02-26 04:17:46 +08:00
Gagandeep Singh ae43adb972 LF-881: arm64: dts: add a dts file for dpdk
A new device tree file fsl-ls1028a-rdb-dpdk.dts is added
for user space networking.

Signed-off-by: Gagandeep Singh <g.singh@nxp.com>
Reviewed-by: Alex Marginean <alexandru.marginean@nxp.com>
Reviewed-by: Li Yang <leoyang.li@nxp.com>
(cherry picked from commit 5c1ec7a8a42de9b144ee87177c016270a3334492)
2020-02-26 04:17:45 +08:00
Robert Chiras 3160145163 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>
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
(cherry picked from commit f46b5624b3a15874019ebf27d9a27d8742abc22f)
2020-02-26 04:17:44 +08:00
Dong Aisheng c40ba5e597 LF-789-2 arm64: dts: add overlay support for ls1028a-qds
Now seems only ls1028a-qds using overlay by adding fragment dtbs.
Add their support in Makefile.

This is one of approach suggested by DT maintainer Rob here:
https://lore.kernel.org/patchwork/patch/821645/

Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Jason Liu <jason.hui.liu@nxp.com>
Reviewed-by: Alex Marginean <alexandru.marginean@nxp.com>
Tested-by: Alex Marginean <alexandru.marginean@nxp.com>
(cherry picked from commit 7220fa2e1a02e471f5d3276601709f3df372ee63)
2020-02-26 04:17:44 +08:00
Alex Marginean 9cdef9a04a arm64: dts: fsl-ls1028a: add labels to Ethernet switch ports
Labels are used to name switch port net devices in Linux, use more
convenient names to make it simpler for users.

Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
(cherry picked from commit 3ad82375cfc4d4f6df68ebe02164995de654001c)
2020-02-26 04:17:39 +08:00
Alex Marginean 80bcf697df arm64: dts: fsl-ls1028a-qds: Add overlays for various serdes protocols
Adds overlays for various serdes protocols on LS1028A QDS board using
different PHY cards.  These should be applied at boot, based on serdes
configuration.  If no overlay is applied, only the RGMII interface on
the QDS is available in Linux.

Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
(cherry picked from commit 779c69e4ae9d1535e958cda7309f030293e3c45c)
2020-02-26 04:17:38 +08:00
Alex Marginean af9560bd3b arm64: dts: fsl-ls1028a: prepare dts for overlay
Named the ports node of the Felix Eth switch so it can be used in DT
overlays to associate the ports with proper PHYs.
Ports are now by default disabled in dtsi, so if the board dts doesn't
do anything about them they stay disabled.
Updated RDB and QDS dts files to match.
Replaced all 'phy-connection-type' with 'phy-mode'.
The set-up for protocol 7777 on QDS was changed to a single quad port card
in slot 1.  This requires a QDS board with no lane B rework and a AQR412
or similar PHY card without any lane rework done on it.

Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
(cherry picked from commit 0462421755cb92b3ee9ace632d15a9a19db9f14c)
2020-02-26 04:17:38 +08:00
Alex Marginean fe7299f8a1 arm64: dts: fsl-ls1028a-rdb: fix QSGMII PHY node names
Use ethernet-phy@ADDR, previously the numbers were wrong.

Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
(cherry picked from commit 4085dc853441dd17b53a95d19f324d76d946fee3)
2020-02-26 04:17:37 +08:00
Vladimir Oltean 3a2eb6f453 arm64: dts: ls1028a: Disable swp5 by default
This was missed when moving the CPU port and disabling eno3.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
(cherry picked from commit b180bb294ef127e40f11d186443aed162cd5d270)
2020-02-26 04:17:37 +08:00
Vladimir Oltean bef7199d2b arm64: dts: ls1028a-rdb: Enable SGMII AN for the QSGMII switch ports
This enables monitoring of link status and AN. It should also physically
enable SGMII AN with the VSC8514 PHY, but in practice that is still
hardcoded as "on" in the PHY driver, at the moment. So since Felix
actually disables SGMII AN when this DT property is absent, this would
result in an in-band AN mismatch between the MAC and the PHY. So this
property is required for the moment for this MAC/PHY combination.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
(cherry picked from commit 57575d3b92a1b2ca9fb0e75dcf20d8283df2dcfd)
2020-02-26 04:17:37 +08:00
Vladimir Oltean 807e706700 Revert "arm64: dts: LS1028a-rdb: use Ethernet PHY interrupt"
This reverts commit 841edb9867.

There are 2 separate issues with interrupts on the LS1028A-RDB board:

1. The GPIO1_DAT25 interrupt line is shared, so there is a real risk of
   race conditions if used in edge-triggered mode, as we currently do.
   This can be illustrated in the following setup:
   - Take 2 LS1028A-RDB boards
   - Connect swp0 to swp0, swp1 to swp1, swp2 to swp2
   - Plug/unplug the power to board 2, 10 times in a row. This will make
     the PHYs lose link simultaneously.
   - Notice that at one point, the net devices on board 1 remain in a
     state where not all the links are down (visible in "ip link"):

     5: swp0: <BROADCAST,MULTICAST,UP> mtu 1468 qdisc pfifo_fast master br0 state UP mode DEFAULT group default qlen 1000
         link/ether be:97:36:d3:3d:70 brd ff:ff:ff:ff:ff:ff
     6: swp1: <BROADCAST,MULTICAST,UP> mtu 1468 qdisc pfifo_fast master br0 state UP mode DEFAULT group default qlen 1000
         link/ether be:97:36:d3:3d:71 brd ff:ff:ff:ff:ff:ff
     7: swp2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1468 qdisc pfifo_fast master br0 state DOWN mode DEFAULT group default qlen 1000
         link/ether be:97:36:d3:3d:72 brd ff:ff:ff:ff:ff:ff

   This cannot be solved by making the interrupts level-triggered,
   because the gpio-mpc8xxx controller only supports generating
   edge-triggered interrupts. So the effective reality is that we
   cannot not use shared interrupts connected to the gpio1
   interrupt-parent.

2. The uBUS1 and uBUS2 slots that share this interrupt line with the
   Ethernet PHYs are not pulled up by default, they are left floating on
   current revisions of the LS1028A-RDB boards. So sufficient electrical
   noise on these lines will make the CPLD think there's an interrupt
   request, so it asserts the GPIO1_DAT25 signal and leaves it asserted.
   This means that the PHYs on those boards will never have link when
   used in interrupt mode, because their IRQ will be masked by the uBUS
   line that is erroneously kept asserted. In poll mode this issue does
   not occur.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
(cherry picked from commit f0d8d28ed417194f9e83e495949225d18d1505c7)
2020-02-26 04:17:33 +08:00
Kuldeep Singh e8df7f7543 arm64: dts: ls1012ardb: Update qspi node property
Use generic node name and specific label name.
Add m25p,fast-read.

Use dt-bindings constants in interrupts instead of using numbers.

Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com>
(cherry picked from commit 58f10e679079d68275f961f131bb146abf532b6d)
2020-02-26 04:17:32 +08:00
Kuldeep Singh d72fc501f7 LF-18-2 arm64: dts: ls1046ardb: Update qspi node dts properties
Use compatibles as "jedec,spi-nor" to probe flash without displaying
warning: found s25fs512s, expected m25p80.
Remove "fsl,qspi-has-second-chip" as new driver doesn't use it anymore.
Update rx and tx width to 1.

Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com>
(cherry picked from commit 538bebe00be17f49d6f4c5b5b75be67ba4bf6ed4)
2020-02-26 04:17:32 +08:00
Kuldeep Singh 61f6db3cb3 LF-18-1 arm64: dts: ls1088ardb: Update qspi dts node properties
Use compatibles as "jedec,spi-nor" to probe flash without displaying
warning: found s25fs512s, expected m25p80.
Also remove "fsl,qspi-has-second-chip" property as new driver doesn't use
it anymore.

Update dtsi compatibles to use "fsl,ls2080a-qspi".

Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com>
(cherry picked from commit 7afe154e046717c9c6249ac7ded256563236811a)
2020-02-26 04:17:32 +08:00
Laurentiu Tudor cb86fbf5b5 arm64: dts: lx2160a: add iommu-map property to pci nodes
Add the iommu-map property to the pci nodes so that the firmware
fixes it up with the required values thus enabling iommu for
devices connected over pci.

Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Acked-by: Li Yang <leoyang.li@nxp.com>
(cherry picked from commit 94db63e57e5150e693ab39a3195a0ac02000fb05)
2020-02-26 04:17:32 +08:00
Robert Chiras 8866ea5077 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>
(cherry picked from commit 3fb1a1b1065be60b06540de066a737244c97fb86)
2020-02-26 04:17:31 +08:00
Peng Ma 1e327b39ec arm64: dts: ls1028a: Update edma compatible to fit eDMA driver
The eDMA of LS1028A soc has a little bit different from others, So we
should distinguish them in driver by compatible.

Signed-off-by: Peng Ma <peng.ma@nxp.com>
(cherry picked from commit fa6956d853b3ebed26e1588e7b78d959701fa841)
2020-02-26 04:17:30 +08:00
Han Xu cbce1961ef 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>
(cherry picked from commit 55983f692e8cff1c0892dfb7d3c5b7fa2a2341b4)
2020-02-26 04:17:30 +08:00
Kuldeep Singh f0f4c6af3f LF-20-1 arm64: dts: ls1012ardb: Update qspi node dts properties
Update rx and tx bus-width to 1.
Use compatibles as "jedec,spi-nor" to probe flash without displaying warning:
found s25fs512s, expected m25p80

Remove property 'big-endian' as it is not used by new driver anymore.
Also, update dtsi compatibles to use "fsl,ls1021a-qspi".

Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com>
(cherry picked from commit e9f44d4f413bc6b8cd0d9fdaece2bcc1cb1edbc5)
2020-02-26 04:17:29 +08:00
Richard Zhu fbbbe74863 MLK-23391 ARM64: dts: enable rpmsg on imx8dxl evk board
enable RPMSG on i.MX8DXL EVK board.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
2020-02-26 11:37:08 +08:00
Frank Li 72517d57f9 MLK-23388: DTS: iMX8DXL enable ADC
Enable ADC0, tested by internal 1.2v.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
2020-02-25 10:29:56 -06:00
Anson Huang 0cd4e78334 MLK-23331 arm64: dts: imx8mn: Update settings according to latest datasheet
According to latest datasheet Rev.0.1, 03/2020, VDD_ARM does
NOT have dependency on VDD_SOC, so below table in datasheet
can be used directly for VDD_ARM:

Clock               Voltage
1.2GHz              0.85V
1.4GHz              0.95V
1.5GHz              1.0V

For DDR4 EVK board, system runs at nominal mode, so GPU can
ONLY run up to 400MHz.

For LPDDR4 EVK board, system runs at over-drive mode, so GPU
can run up to 600MHz.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
2020-02-25 12:23:41 +08:00
Viorel Suman d056a46170 MLK-23313-13: dts: arm64: imx8mp-ab2: set eARC RX mode
eARC TX mode is not yet supported, so set eARC in RX mode.

Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
2020-02-24 17:20:07 +02:00
Viorel Suman 0f69bcd2f9 MLK-23313-12: dts: arm64: imx8mp-evk: set eARC RX mode
eARC TX mode is not yet supported, so set eARC in RX mode.

Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
2020-02-24 16:02:44 +02:00
Silvano di Ninno ad460e81a4 TEE-502 arch: arm64: dts: imx8dxl:imx8dx:imx8mp reserved BL32 memory
BL32 base address is set within the first 1GByte of DDR.
As a new rule it will be set at base address + 0x16000000.
This new position will relax current dependency of the OPTEE
base address on the size of the DDR.

Signed-off-by: Silvano di Ninno <silvano.dininno@nxp.com>
2020-02-24 13:08:39 +01:00
Lokesh Vutla 8da6ae7dcb arm64: dts: ti: k3-j721e-main: Add missing power-domains for smmu
[ Upstream commit 3f03a58b25 ]

Add power-domains entry for smmu, so that the it is accessible as long
as the driver is active. Without this device shutdown is throwing the
below warning:
"[   44.736348] arm-smmu-v3 36600000.smmu: failed to clear cr0"

Reported-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-02-24 08:36:51 +01:00
Johan Jonker 7c32c479b1 arm64: dts: rockchip: add reg property to brcmf sub-nodes
[ Upstream commit 96ff264bcc ]

An experimental test with the command below gives this error:
rk3399-firefly.dt.yaml: dwmmc@fe310000: wifi@1:
'reg' is a required property
rk3399-orangepi.dt.yaml: dwmmc@fe310000: wifi@1:
'reg' is a required property
rk3399-khadas-edge.dt.yaml: dwmmc@fe310000: wifi@1:
'reg' is a required property
rk3399-khadas-edge-captain.dt.yaml: dwmmc@fe310000: wifi@1:
'reg' is a required property
rk3399-khadas-edge-v.dt.yaml: dwmmc@fe310000: wifi@1:
'reg' is a required property
So fix this by adding a reg property to the brcmf sub node.
Also add #address-cells and #size-cells to prevent more warnings.

make ARCH=arm64 dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Link: https://lore.kernel.org/r/20200110142128.13522-1-jbx6244@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-02-24 08:36:46 +01:00
Johan Jonker f9de6fb6e6 arm64: dts: rockchip: fix dwmmc clock name for px30
[ Upstream commit 7f21473502 ]

An experimental test with the command below gives this error:
px30-evb.dt.yaml: dwmmc@ff390000: clock-names:2:
'ciu-drive' was expected

'ciu-drv' is not a valid dwmmc clock name,
so fix this by changing it to 'ciu-drive'.

make ARCH=arm64 dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Link: https://lore.kernel.org/r/20200110161200.22755-1-jbx6244@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-02-24 08:36:46 +01:00
Bjorn Andersson 0c09d9dc84 arm64: dts: qcom: db845c: Enable ath10k 8bit host-cap quirk
[ Upstream commit 2e198c395a ]

The WiFi firmware used on db845c implements the 8bit host-capability
message, so enable the quirk for this.

Reviewed-by: Jeffrey Hugo <jeffrey.l.hugo@gmail.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20191113232245.4039932-1-bjorn.andersson@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-02-24 08:36:39 +01:00
Manu Gautam c3a0074353 arm64: dts: qcom: msm8996: Disable USB2 PHY suspend by core
[ Upstream commit d026c96b25 ]

QUSB2 PHY on msm8996 doesn't work well when autosuspend by
dwc3 core using USB2PHYCFG register is enabled. One of the
issue seen is that PHY driver reports PLL lock failure and
fails phy_init() if dwc3 core has USB2 PHY suspend enabled.
Fix this by using quirks to disable USB2 PHY LPM/suspend and
dwc3 core already takes care of explicitly suspending PHY
during suspend if quirks are specified.

Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
Link: https://lore.kernel.org/r/20191209151501.26993-1-p.pisati@gmail.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-02-24 08:36:34 +01:00
Andre Przywara 5a241d7bf1 arm64: dts: allwinner: H5: Add PMU node
[ Upstream commit c35a516a46 ]

Add the Performance Monitoring Unit (PMU) device tree node to the H5
.dtsi, which tells DT users which interrupts are triggered by PMU
overflow events on each core.
As with the A64, the interrupt numbers from the manual were wrong (off
by 4), the actual SPI IDs have been gathered in U-Boot, and were
verified with perf in Linux.

Tested with perf record and taskset on an OrangePi PC2.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-02-24 08:36:34 +01:00
Andre Przywara 02dfae36b0 arm64: dts: allwinner: H6: Add PMU mode
[ Upstream commit 7aa9b9eb7d ]

Add the Performance Monitoring Unit (PMU) device tree node to the H6
.dtsi, which tells DT users which interrupts are triggered by PMU
overflow events on each core. The numbers come from the manual and have
been checked in U-Boot and with perf in Linux.

Tested with perf record and taskset on a Pine H64.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-02-24 08:36:34 +01:00
Robin Murphy fa0316aaf0 arm64: dts: rockchip: Fix NanoPC-T4 cooling maps
[ Upstream commit a793e19c15 ]

Although it appeared to follow logically from the bindings, apparently
the thermal framework can't properly cope with a single cooling device
being shared between multiple maps. The CPU zone is probably easier to
overheat, so remove the references to the (optional) fan from the GPU
cooling zone to avoid things getting confused. Hopefully GPU-intensive
tasks will leak enough heat across to the CPU zone to still hit the
fan trips before reaching critical GPU temperatures.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/5bb39f3115df1a487d717d3ae87e523b03749379.1573908197.git.robin.murphy@arm.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-02-24 08:36:33 +01:00
Anson Huang 725fb3cd81 MLK-23368 arm64: dts: imx8mp: Update 1.2GHz voltage setting
Design team confirms that i.MX8MP can support ARM/SOC with any
combinations(SOD/OD, SOD/ND, OD/OD, OD/ND, ND/ND, ND/OD), it has
level shift and STA timing passed, so ARM's 1.2GHz opp can use
typical 0.85V directly.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
2020-02-24 14:32:06 +08:00
Frank Li 5899aa781b MLK-23366 8dxl workaround SD3.0 card tuning failure
limited max frequency to 100M

Signed-off-by: Frank Li <Frank.Li@nxp.com>
2020-02-21 13:58:07 -06:00
Frank Li a13a38714a MLK-23346-3 DXL OTG1 change to pinmux control power
DXL use usb pwr alternate function in pinmux.
Needn't GPIO regulator

Reviewed-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
2020-02-21 13:58:07 -06:00
Frank Li 37bdd12015 MLK-23346-2 DXL: enable second USB controller
basic host and peripheral work

Reviewed-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
2020-02-21 13:58:07 -06:00
Daniel Baluta 87ece2ab2c MLK-23350-7 arm64: dts: imx8mp-evk-sof: Enable simple-audio-card for SAI3 + wm8960
We use existing simple-audio-card machine driver to demonstrate
the usage of SAI3 + 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>
2020-02-21 17:22:10 +02:00
Daniel Baluta 1716b83d7f MLK-23350-4 arm64: dts: imx8mp: Add mboxes for dsp node
Similar with implementation for i.MX8QXP/QM ARM core uses mailboxes
to communicated with DSP.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
2020-02-21 17:22:09 +02:00
Daniel Baluta 8dabdc2bbf MLK-23350-3 arm64: dts: imx8mp: Prepare mu2 node to be used by SOF
mu2 node is used by the mailbox framework for SOF. Add corresponding
compatible, clocks and mbox-cells properties.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
2020-02-21 17:22:09 +02:00
Viorel Suman 80fa68efea MLK-23313-10: dts: arm64: imx8mp-evk: enable eARC module
Enable eARC module configured by default in eARC TX/RX mode.

Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
2020-02-21 16:03:58 +02:00
Viorel Suman b3aace8b13 MLK-23314-9: dts: arm64: imx8mp-evk: mode hdmi pins to pinctrl_hog
Move MX8MP_IOMUXC_HDMI_DDC_SCL__HDMIMIX_EARC_SCL,
MX8MP_IOMUXC_HDMI_DDC_SDA__HDMIMIX_EARC_SDA
MX8MP_IOMUXC_HDMI_HPD__HDMIMIX_EARC_DC_HPD
MX8MP_IOMUXC_HDMI_CEC__HDMIMIX_EARC_CEC

into pinctrl_hog since are needed by both hdmi and xcvr modules.

Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
2020-02-21 16:03:58 +02:00
Viorel Suman 8646f36ae2 MLK-23314-8: dts: arm64: imx8mp-evk: drop unused tcm node
Remove tcm node as it is not needed anymore.

Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
2020-02-21 16:03:58 +02:00
Franck LENORMAND e08b2903ae LF-824: arm64: dts: Add seco mu nodes
Signed-off-by: Franck LENORMAND <franck.lenormand@nxp.com>
2020-02-21 14:46:00 +01:00
Joakim Zhang 2d908d71e8 MLK-23363 arch: arm64: dts: imx8dxl: enable FlexCAN
Enable FlexCAN on i.MX8DXL EVK board.

Acked-by: Fugang Duan <Fugang.duan@nxp.com>
Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
2020-02-21 14:32:48 +08:00
Jacky Bai 3d65a35181 MLK-23354 irqchip: gpcv2: Add wait mode workaround on imx8mp
Add the wait mode workaround on i.MX8MP. it is just
a provisional patch for Alpha release. it will be
dropped in the future. As all the changes in this
patch need to be revered for that time, just including
all the changes of dts & driver in one patch to make
it more easier to track all the changes.

Coresight probe has some conlict with the IPI workaround.
it is meaningless to put effort on resolve such conflict,
and Coresight is not an must feature for Alpha release,
disable the Coresight support directly.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
2020-02-21 13:40:30 +08:00
Clark Wang e8ccca366a MLK-23362-2 arm64: dts: imx8dxl: add lpspi3 support
Add lpspi3 for imx8dxl-evk. According to the schematic, disable it
by default to support display functions.

Acked-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
2020-02-21 13:26:28 +08:00
Clark Wang c866e9512a MLK-23362-1 arm64: dts: imx8dxl: add i2c3 and pca9548
Add i2c3 node.
Correct the place of pca9548 to i2c2 and i2c3.

Acked-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
2020-02-21 13:26:28 +08:00
Viorel Suman f15f7281ea MLK-23313-6: dts: arm64: imx8mp-ab2: enable eARC module
Enable eARC module configured by default in eARC TX/RX mode.

Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2020-02-20 12:58:22 +02:00
Viorel Suman 54d5ce3423 MLK-23314-2: dts: arm64: imx8mp: add Audio Board 2 support
Add Audio Board 2 specific DTS file.

Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2020-02-20 12:57:49 +02:00
Marc Zyngier ec86856b46 arm64: dts: fast models: Fix FVP PCI interrupt-map property
commit 3543d7ddd5 upstream.

The interrupt map for the FVP's PCI node is missing the
parent-unit-address cells for each of the INTx entries, leading to the
kernel code failing to parse the entries correctly.

Add the missing zero cells, which are pretty useless as far as the GIC
is concerned, but that the spec requires. This allows INTx to be usable
on the model, and VFIO to work correctly.

Fixes: fa083b99eb ("arm64: dts: fast models: Add DTS fo Base RevC FVP")
Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-02-19 19:53:08 +01:00
Frank Li 076c16af0f MLK-23334: dts: 8dxl add usb otg1 basic function support
usb peripherial and host basic function work

Signed-off-by: Frank Li <Frank.Li@nxp.com>
2020-02-18 11:19:38 -06:00
Fugang Duan 97ed44092c MLK-23329-05 arm64: dts: add eqos support
Add eqos support for imx8dxl evk board.

Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
2020-02-18 23:10:50 +08:00
Li Jun 072b296eba MLK-23324 ARM64: dts: imx8mp/q: add typec data role
Typec port data role is missing.

Reviewed-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Li Jun <jun.li@nxp.com>
2020-02-18 21:04:20 +08:00
Anson Huang 21f92b1ea9 MLK-23325-2 arm64: dts: imx8mn-evk: Assign cpu-supply for cpu-freq
Add missing cpu-supply assignment to support voltage scaling by cpu-freq
driver.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
2020-02-17 13:44:16 +08:00
Anson Huang 0399f813e2 MLK-23325-1 arm64: dts: imx8mn-evk: Correct 1.2GHz OPP overwrite
operating-points-v2 is used on i.MX8MN, so the 1.2GHz OPP overwrite
based on old i.MX8M cpu-freq driver is incorrect, correct it to be
based on operating-points-v2.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
2020-02-17 13:44:07 +08:00
Peter Chen 613c257750
MLK-23319-1 ARM64: dts: fsl: imx8mm-evk: add two parameters for picophy tuning
With these two parameters tuning, it can pass USB eye diagram at evk board.

Reviewed-by: Jun Li <jun.li@nxp.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
2020-02-16 20:34:47 +08:00
Baruch Siach 3d2d8cd29c arm64: dts: marvell: clearfog-gt-8k: fix switch cpu port node
commit 62bba54d99 upstream.

Explicitly set the switch cpu (upstream) port phy-mode and managed
properties. This fixes the Marvell 88E6141 switch serdes configuration
with the recently enabled phylink layer.

Fixes: a612083327 ("arm64: dts: add support for SolidRun Clearfog GT 8K")
Reported-by: Denis Odintsov <d.odintsov@traviangames.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-02-14 16:34:15 -05:00
Kuninori Morimoto c44134c2a2 arm64: dts: renesas: r8a77990: ebisu: Remove clkout-lr-synchronous from sound
commit bf2b74ce9b upstream.

rcar_sound doesn't support clkout-lr-synchronous in upstream.
It was supported under out-of-tree rcar_sound.
upstream rcar_sound is supporting
	- clkout-lr-synchronous
	+ clkout-lr-asynchronous

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87mubt3tux.wl-kuninori.morimoto.gx@renesas.com
Fixes: 56629fcba9 ("arm64: dts: renesas: ebisu: Enable Audio")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-02-14 16:34:14 -05:00
Russell King d01521db86 arm64: dts: uDPU: fix broken ethernet
commit 1eebac0240 upstream.

The uDPU uses both ethernet controllers, which ties up COMPHY 0 for
eth1 and COMPHY 1 for eth0, with no USB3 comphy.  The addition of
COMPHY support made the kernel override the setup by the boot loader
breaking this platform by assuming that COMPHY 0 was always used for
USB3.  Delete the USB3 COMPHY definition at platform level, and add
phy specifications for the ethernet channels.

Fixes: bd3d25b073 ("arm64: dts: marvell: armada-37xx: link USB hosts with their PHYs")
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-02-14 16:34:13 -05:00
Jeffrey Hugo 5ee40005f4 arm64: dts: qcom: msm8998: Fix tcsr syscon size
commit 05caa5bf9c upstream.

The tcsr syscon region is really 0x40000 in size.  We need access to the
full region so that we can access the axi resets when managing the
modem subsystem.

Fixes: c783394956 ("arm64: dts: qcom: msm8998: Add smem related nodes")
Signed-off-by: Jeffrey Hugo <jeffrey.l.hugo@gmail.com>
Link: https://lore.kernel.org/r/20191107045948.4341-1-jeffrey.l.hugo@gmail.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-02-14 16:34:12 -05:00
Daniel Baluta 9c998972be 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>
2020-02-14 11:57:06 +02:00
Abel Vesa 4d3e8aa6e6 LF-794 arm64: dts: imx8qm: Add firmware-name properties for HDMI and DP
Add the display port firmware name property and set it to dpfw.bin for
the lpddr4 validation board, and the hdmi firmware name property and
set it to hdmitxfw.bin for the mek board. This tells the driver to load
right the firmware based on the compatible property.

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reviewed-by: Sandor Yu <sandor.yu@nxp.com>
2020-02-13 13:42:54 +02:00
Sherry Sun a867b9013f MLK-23310-2 arm64: dts: imx8mp: add ddr controller node to support edac driver
Add ddr controller dts node to support edac driver for imx8mp.
Also change CMA alloc-ranges to avoid memory address confilct with
inline ECC region if ECC is enabled on imx8mp lpddr4.

Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Reviewed-by: Frank Li <frank.li@nxp.com>
2020-02-13 14:33:50 +08:00
Anson Huang 5aa692b745 MLK-23312 arm64: dts: Remove imx8dxl-evk-sd-workaround.dtb build
All i.MX8DXL EVK boards are reworked, so no need to have SD workaround
DTB.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
2020-02-13 13:55:28 +08:00
Liu Ying 1081f9b63e 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>
2020-02-13 12:13:57 +08:00
Liu Ying 427c593a9f 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>
2020-02-13 12:13:46 +08:00
Liu Ying 438296936a 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>
2020-02-13 12:13:33 +08:00
Liu Ying 1476bbaa81 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>
2020-02-13 12:13:23 +08:00
Liu Ying 363ca859fd 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>
2020-02-13 12:13:11 +08:00
Liu Ying ff37a4d5fd 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>
2020-02-13 12:12:59 +08:00
Richard Zhu 13d9a2b6e3 MLK-23303-1 dts: arm64: add the pcie support on imx8mp
Add the PCIe support on iMX8MP.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Fugang Duan <Fugang.duan@nxp.com>
2020-02-13 10:40:17 +08:00
Teo Hall dc329c155d MLK-23273-5: arm64: dts: Add DT support for imx8dxl
Add DT support for i.MX8DXL.

Signed-off-by: Teo Hall <teo.hall@nxp.com>
Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
2020-02-13 07:51:40 +08:00
Jacky Bai 17513ce399 MLK-23295 arm64: dts: freescale: add busfreq support for imx8mp
Add the busfreq node to enable the DDR DVFS support on i.MX8MP.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
2020-02-12 15:04:39 +08:00
Haibo Chen beb65f437e MLK-23306 ARM64: dts: imx8mp-evk: add synaptic_dsx touch support
Add the touch support on MIPI_DSI screen.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
2020-02-12 14:40:26 +08:00
Daniel Baluta fb29abcd7a MLK-23255-1: ASoC: fsl_dsp: Add Audio MIX DSP helper
This is a subdevice of audiomix MFD device, exposing
access to DSP control register from AudioMIX subsystem.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
2020-02-13 19:26:37 +08:00
Daniel Baluta 196f718910 MLK-23255-0: arm64: dts: Enable DSP and add audio-mix DSP node for i.MX8MP
1. Add reserved_mem for DSP and enable DSP.
2. Audio-mix DSP node will instantiate part of the AUDIOMIX who
takes care of DSP configuration.

Signed-off-by: Zhang Peng <peng_zhang_8@nxp.com>
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
2020-02-13 19:21:02 +08:00
Niklas Cassel 091c961512 arm64: dts: qcom: qcs404-evb: Set vdd_apc regulator in high power mode
commit eac8ce86cb upstream.

vdd_apc is the regulator that supplies the main CPU cluster.

At sudden CPU load changes, we have noticed invalid page faults on
addresses with all bits shifted, as well as on addresses with individual
bits flipped.

By putting the vdd_apc regulator in high power mode, the voltage drops
during sudden load changes will be less severe, and we have not been able
to reproduce the invalid page faults with the regulator in this mode.

Fixes: 8faea8edbb ("arm64: dts: qcom: qcs404-evb: add spmi regulators")
Cc: stable@vger.kernel.org
Suggested-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Niklas Cassel <niklas.cassel@linaro.org>
Reviewed-by: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20191014120920.12691-1-niklas.cassel@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-02-11 04:35:42 -08:00
Shengjiu Wang f6221fc042 MLK-23287-4: arm64: dts: imx8mp: Enable HDMI audio
Enable HDMI audio, playback only.

errata ERR050440:
HDMI Audio interface from the Audio subsystem to the HDMI
subsystem has an incorrectly inverted sampling clock, this
results in corrupted audio on HDMI output. (noise)

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Viorel Suman <viorel.suman@nxp.com>
2020-02-11 18:07:38 +08:00
Joakim Zhang a406ca7454 MLK-23296 arch: arm64: dts: imx8mp: add flexcan2 support
Add flexcan2 support for imx8mp.

Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
2020-02-11 14:01:50 +08:00
Daniel Baluta 841eb12ce1 LF-537-18 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>
2020-02-10 17:01:57 +02:00
Paul Olaru 3b2920129a LF-537-17 arm64: dts: Add SOF device tree file for i.MX8QM with wm8960
Signed-off-by: Paul Olaru <paul.olaru@nxp.com>
2020-02-10 17:01:57 +02:00
Paul Olaru bda791228c LF-537-16 arm64: dts: Add i.MX8QM SOF device tree
Signed-off-by: Paul Olaru <paul.olaru@nxp.com>
2020-02-10 17:01:57 +02:00
Peng Fan 3fdc4e069f MLK-23285-5 ARM64: dts: i.MX8MP: fix ocotp compatible
i.MX8MP should not share i.MX8MQ ocotp, it has different ocotp
ctrl layout and register numbers

Reviewed-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
2020-02-10 10:24:00 +08:00
Guillaume La Roque e8b0d16e4c arm64: dts: meson-sm1-sei610: add gpio bluetooth interrupt
[ Upstream commit 30388cc075 ]

add gpio irq to support interrupt trigger mode.

Signed-off-by: Guillaume La Roque <glaroque@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-02-05 21:22:42 +00:00
Horia Geantă bada100fd3 MLKU-129-4 arm64: dts: imx8mp: add caam snvs and secvio
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Reviewed-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2020-01-29 12:57:42 +02:00
Horia Geantă 3297d4538e MLKU-129-3 arm64: dts: imx8mp: add secure memory
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Reviewed-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2020-01-29 12:57:32 +02:00