Commit graph

873449 commits

Author SHA1 Message Date
Richard Zhu 5f96d0fe49 arm64: dts: imx8qxp: add the rpmsg support
Add the rpmsg support.
- Setup the rpmsg reserved memory, one is used for vring, the other one
is used for shared buffers.
- The mailbox of the lsio mu5a is used by rpmsg on imx8qxp platforms

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
2019-11-25 16:04:18 +08:00
Robin Gong 86d846cbd4 ARM: dts: imx6sll: correct ecspi/sdma compatible
Correct ecspi/sdma compatible since ecspi errata ERR009165
not fixed on i.mx6sll chip.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
[ Aisheng: fix small conflicts during upgrade ]
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
2019-11-25 16:04:15 +08:00
Robin Gong 8877af4ee5 ARM64: dts: freescale: imx8mm/8mq: update new compatible name for ecspi and sdma
Add new 'imx6ul-ecspi' compatible name for ecspi and new 'imx8mq-sdma' name
for sdma since on i.mx8mm/mq chip fix ecspi errata.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
2019-11-25 16:04:14 +08:00
Robin Gong 1fb98e9584 Revert "ARM: dts: imx6: Use correct SDMA script for SPI cores"
There are two ways for SDMA accessing SPBA devices: one is SDMA->AIPS
->SPBA(masterA port), another is SDMA->SPBA(masterC port). Please refer
to the 'Figure 58-1. i.MX 6Dual/6Quad SPBA connectivity' of i.mx6DQ
Reference Manual. SDMA provide the corresponding app_2_mcu/mcu_2_app and
shp_2_mcu/mcu_2_shp script for such two options. So both AIPS and SPBA
scripts should keep the same behaviour, the issue only caught in AIPS
script sounds not solide.
  The issue is more likely as the ecspi errata
ERR009165(http://www.nxp.com/docs/en/errata/IMX6DQCE.pdf):
eCSPI: TXFIFO empty flag glitch can cause the current FIFO transfer to
           be sent twice
So revert commit 'dd4b487b32a3' firstly.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
2019-11-25 16:04:14 +08:00
Robin Gong 61e25044be Revert "ARM: dts: imx6q: Use correct SDMA script for SPI5 core"
There are two ways for SDMA accessing SPBA devices: one is SDMA->AIPS
->SPBA(masterA port), another is SDMA->SPBA(masterC port). Please refer
to the 'Figure 58-1. i.MX 6Dual/6Quad SPBA connectivity' of i.mx6DQ
Reference Manual. SDMA provide the corresponding app_2_mcu/mcu_2_app and
shp_2_mcu/mcu_2_shp script for such two options. So both AIPS and SPBA
scripts should keep the same behaviour, the issue only caught in AIPS
script sounds not solide.
  The issue is more likely as the ecspi errata
ERR009165(http://www.nxp.com/docs/en/errata/IMX6DQCE.pdf):
eCSPI: TXFIFO empty flag glitch can cause the current FIFO transfer to
       be sent twice
So revert commit 'df07101e1c4a' firstly.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
2019-11-25 16:04:13 +08:00
Anson Huang 7052d5ef55 ARM: dts: imx7d: add low power support
This patch adds low power mode support for i.MX7D, including
FastMix off feature support, low power idle support and A7-M4
AMP power management support.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
2019-11-25 16:04:13 +08:00
Anson Huang b92e16830e ARM: dts: imx6sx: add M4 support
Add AMP system support for i.MX6SX.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
2019-11-25 16:04:11 +08:00
Anson Huang cf6f49c024 ARM: dts: imx6sx: add more clocks for cpu-freq driver
When cpu-freq driver switch ARM clock source from PLL1 to
STEP clock, need to keep PLL1 enabled and from its bypass
clock source OSC, this is necessary for i.MX6SX low power
idle.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
2019-11-25 16:04:11 +08:00
Anson Huang dfa9c3b870 ARM: dts: imx6sx: add fastmix off suspend support
Add suspend with FastMix OFF support.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
2019-11-25 16:04:10 +08:00
Anson Huang 956b8b6daa ARM: dts: imx6sx: add bus-freq support
Add busfreq node and adjust ocram space to support bus-freq
driver.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
2019-11-25 16:04:10 +08:00
Anson Huang 80f8151aa5 ARM: dts: imx6q: add bus-freq support
Add busfreq/ocram/mmdc node to bus-freq support.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
2019-11-25 16:04:10 +08:00
Anson Huang 17f3800cb1 ARM: dts: imx7d: add bus-freq driver support
This patch adds i.MX7D bus-freq driver support.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
2019-11-25 16:04:09 +08:00
Guoniu.zhou 51e520c19f arm64: dts: imx8qm-mek: add ov5640 sensor support
Add ov5640 sensor support for imx8qm platform

Signed-off-by: Guoniu.zhou <guoniu.zhou@nxp.com>
2019-11-25 16:04:09 +08:00
Guoniu.zhou a136034d5f arm64: dts: imx8qm.dtsi: add image sensor subsystem support
Add image sensor subsystem support for imx8qm platform

Signed-off-by: Guoniu.zhou <guoniu.zhou@nxp.com>
2019-11-25 16:04:08 +08:00
Liu Ying 9cc6950b27 arm64: dts: imx8qxp-mek: Enable IT6263 LVDS to HDMI displays
This patch enables IT6263 LVDS to HDMI displays on the iMX8qxp mek platform.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2019-11-25 16:04:08 +08:00
Liu Ying 62285a3318 arm64: dts: imx8qxp-mek: Enable dpu node
This patch enables dpu node on the iMX8qxp mek platform.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2019-11-25 16:04:07 +08:00
Liu Ying 684fe315b3 arm64: imx8qxp.dtsi: Add display subsystem support
This patch adds i.MX8qxp display subsystem support in device tree.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2019-11-25 16:04:06 +08:00
Liu Ying df466f76d8 arm64: imx8qxp.dtsi: Introduce LVDS subsystem support
This patch introduces i.MX8qxp LVDS subsystem support in device tree.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
[ Aisheng: update irqsteer to latest binding ]
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
2019-11-25 16:04:05 +08:00
Liu Ying 98c4feea2b arm64: imx8qxp.dtsi: Introduce DC subsystem support
This patch introduces i.MX8qxp DC subsystem support in device tree.
The dpu node is supported.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
[ Aisheng: update irqsteer to latest binding ]
[ Aisheng: Fix rebase conflict ]
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
2019-11-25 16:04:05 +08:00
Anson Huang be9cf2f5b4 arm64: dts: freescale: imx8qxp: add cpu opp table
Add CPU opp table for cpu-freq.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
2019-11-25 16:04:04 +08:00
Shengjiu Wang f7f6138204 ARM64: dts: imx8qxp: enable dsp function
enable dsp function

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
[ Aisheng: fix conflict due to upstreamed MU13 ]
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
2019-11-25 16:04:04 +08:00
Anson Huang 30608e4d28 arm64: dts: freescale: imx8qxp: add soc node
Add SoC node for Linux kernel SoC driver to use.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
2019-11-25 16:04:03 +08:00
Shengjiu Wang 6e9a87265b ARM64: dts: imx8qxp: enable audio modules
enable audio modules

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2019-11-25 16:04:03 +08:00
Clark Wang 870fc0e0fe arm64: dts: imx8qxp: add LPSPI node in adma
Add LPSPI decive in adma subsystem.

Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
2019-11-25 16:04:02 +08:00
Peter Chen d89f1dd6d0 ARM64: dts: imx8qxp-mek: enable USB2
Enable both controller and PHY for USB2.

Signed-off-by: Peter Chen <peter.chen@nxp.com>
2019-11-25 16:04:02 +08:00
Peter Chen 370e4a3bef ARM64: dts: imx8qm-mek: enable USB2
Enable both USB2 controller and PHY.

Signed-off-by: Peter Chen <peter.chen@nxp.com>
2019-11-25 16:04:01 +08:00
Peter Chen 8e9d597ea4 ARM64: dts: imx8-ss-conn: add NXP USB2 node
Add NXP USB2 controller and PHY node

Signed-off-by: Peter Chen <peter.chen@nxp.com>
2019-11-25 16:04:00 +08:00
Haibo Chen b0026e3c00 arm: dts: imx7d-sdb: add SD3.0 support for usdhc1
Add usdhc1 support SD3.0.

Besides, add fsl,tuning-start-tap for all usdhc, imx usdhc IP
logic require the tuning-start-tap larger than 10, to make
sure the tuning logical can work normal.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
2019-11-25 16:04:00 +08:00
Haibo Chen e2581a17e8 ARM64: dts: imx8qxp/imx8qm: add SD3.0 support
Add SD3.0 support, and make usdhc support eMMC V5.1

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
2019-11-25 16:04:00 +08:00
Xianzhong 93f7238341 ARM64: dts: freescale: imx8qxp-mek: add gpu device
Add gpu in device tree:
arch/arm64/boot/dts/freescale/imx8qxp.dtsi
arch/arm64/boot/dts/freescale/imx8qxp-mek.dts

Signed-off-by: Xianzhong <xianzhong.li@nxp.com>
2019-11-25 16:03:59 +08:00
Li Jun 01ea60eb25 ARM64: dts: imx8mq-evk: add typec switch node
PTN36043 is a super speed active channel switch controlled
by a GPIO, used for USB3 data channel switch according to typec
orientation.

Signed-off-by: Li Jun <jun.li@nxp.com>
2019-11-25 16:03:59 +08:00
Li Jun 9bef6e0c61 ARM64: dts: imx8mq-evk: add typec port controller node
Add typec port controller node ptn5110, which is a standard
TCPCI interface with PD PHY, imx8mq-evk board equiped with
a typec connector which is DRP on power, with the usb port
dwc3_0 has dual role enabled, so typec can control the data
role of the otg port.

Signed-off-by: Li Jun <jun.li@nxp.com>
2019-11-25 16:03:58 +08:00
Li Jun 5c95116d03 ARM64: dts: imx8mq-evk: enable the first USB port
Enable the USB0 as dual role mode.

Signed-off-by: Li Jun <jun.li@nxp.com>
2019-11-25 16:03:58 +08:00
Li Jun 1dceaa46a3 arm64: dts: fsl: imx8mq: add "snps,power-down-scale" for usb nodes
Signed-off-by: Li Jun <jun.li@nxp.com>
2019-11-25 16:03:57 +08:00
Guoniu.zhou 4bb24e1b44 arm64: dts: imx: add ov5640 sensor device node in dts
Add ov5640 sensor device node support in device tree

Signed-off-by: Guoniu.zhou <guoniu.zhou@nxp.com>
2019-11-25 16:03:56 +08:00
Guoniu.zhou 03b13719b1 arm64: dts: imx: add image subsystem dts support for IMX8
Add image subsystem of imx8 device tree support

Signed-off-by: Guoniu.zhou <guoniu.zhou@nxp.com>
[ Aisheng: update irqsteer to latest binding ]
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
2019-11-25 16:03:56 +08:00
Dong Aisheng addcb26299 ARM64: dts: freescale: imx8qxp: add lpuart1 dma support
Add lpuart1 with dma support.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
[ Aisheng: change title as lpuart1 is already there ]
[ Aisheng: fix upgrade conflicts ]
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
2019-11-25 16:03:55 +08:00
Zhou Peng 97717f1b49 arm64: dts: vpu: add hantro decoder
Add vpu in device tree:
arch/arm64/boot/dts/freescale/imx8mq-evk.dts
arch/arm64/boot/dts/freescale/imx8mq.dtsi

Signed-off-by: Zhou Peng <eagle.zhou@nxp.com>
2019-11-25 16:03:55 +08:00
Anson Huang 036d3dfa40 ARM64: dts: imx: add i.MX8QXP thermal support
Add i.MX8QXP CPU thermal zone support.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
[ Aisheng: fix wrong postiion of thermal zones ]
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
2019-11-25 16:03:54 +08:00
Richard Zhu 3a4a0b0520 ARM64: dts: add the hsio pcie support for imx8qm/qxp
Add the hsio pcie support for imx8qm/qxp.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
2019-11-25 16:03:54 +08:00
Joakim Zhang b02e0dfef8 arm64: dts: imx8qxp: add FlexCAN in adma
Add FlexCAN decive in adma subsystem.

Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
2019-11-25 16:03:54 +08:00
Joakim Zhang c607df59ff arm64: dts: imx8qxp: add i2c and intmux in cm40
Add i2c and intmux device which are in cm40 subsystem.

Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
2019-11-25 16:03:53 +08:00
Robin Gong 5b2c6f40bd ARM64: dts: freescale: imx8qxp: add edmav3 support
Add edmav3 in dts.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
2019-11-25 16:03:52 +08:00
Zhou Peng 4ea49e9e9e arm64: dts: imx8: add vpu support
add vpu support

Signed-off-by: Zhou Peng <eagle.zhou@nxp.com>
2019-11-25 16:03:52 +08:00
Dong Aisheng 7a3f0cae70 arm64: dts: imx: add imx8qm mek support
The i.MX8QuadMax is a Dual (2x) Cortex-A72 and Quad (4x) Cortex-A53
proccessor with powerful graphic and multimedia features.
This patch adds i.MX8QuadMax MEK board support.

Note that MX8QM needs a special workaround for TLB flush due to a SoC
errata, otherwise there may be random crash if enable both clusters of
A72 and A53. As the errata workaround is still not in mainline, so we
disable A72 cluster first for MX8QM MEK.

Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: devicetree@vger.kernel.org
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
2019-11-25 16:03:52 +08:00
Dong Aisheng a8caf2c7d5 arm64: dts: add imx8qm common dts file
The i.MX8QuadMax is a Dual (2x) Cortex-A72 and Quad (4x) Cortex-A53
proccessor with powerful graphic and multimedia features.
This patch adds i.MX8QuadMax SoC dtsi file.

Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: devicetree@vger.kernel.org
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
2019-11-25 16:03:50 +08:00
Dong Aisheng 412967b5b0 arm64: dts: imx8qxp: orginize dts in subsystems
MX8 SoC is comprised of a few HW subsystems while some of them can be
reused in the different SoCs. So let's re-orginize them into subsystems
in device tree as well for the possible reuse of the common part.

Note, as there's still no devices of hsio subsys, so removed it
first instead of creating a subsys headfile with no devices.
They will be added back when new devices added.

Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: devicetree@vger.kernel.org
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
2019-11-25 16:03:50 +08:00
Linus Torvalds 219d54332a Linux 5.4 2019-11-24 16:32:01 -08:00
Linus Torvalds b8387f6f34 Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull cramfs fix from Al Viro:
 "Regression fix, fallen through the cracks"

* 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
  cramfs: fix usage on non-MTD device
2019-11-24 12:36:39 -08:00
Maxime Bizon 3e5aeec0e2 cramfs: fix usage on non-MTD device
When both CONFIG_CRAMFS_MTD and CONFIG_CRAMFS_BLOCKDEV are enabled, if
we fail to mount on MTD, we don't try on block device.

Note: this relies upon cramfs_mtd_fill_super() leaving no side
effects on fc state in case of failure; in general, failing
get_tree_...() does *not* mean "fine to try again"; e.g. parsed
options might've been consumed by fill_super callback and freed
on failure.

Fixes: 74f78fc5ef ("vfs: Convert cramfs to use the new mount API")

Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2019-11-23 21:44:49 -05:00