1
0
Fork 0
Commit Graph

6175 Commits (5691e22711a4ee70f473e909d7aae76a966d819d)

Author SHA1 Message Date
Jason Liu 5691e22711 Merge tag 'v5.4.47' into imx_5.4.y
* tag 'v5.4.47': (2193 commits)
  Linux 5.4.47
  KVM: arm64: Save the host's PtrAuth keys in non-preemptible context
  KVM: arm64: Synchronize sysreg state on injecting an AArch32 exception
  ...

 Conflicts:
	arch/arm/boot/dts/imx6qdl.dtsi
	arch/arm/mach-imx/Kconfig
	arch/arm/mach-imx/common.h
	arch/arm/mach-imx/suspend-imx6.S
	arch/arm64/boot/dts/freescale/imx8qxp-mek.dts
	arch/powerpc/include/asm/cacheflush.h
	drivers/cpufreq/imx6q-cpufreq.c
	drivers/dma/imx-sdma.c
	drivers/edac/synopsys_edac.c
	drivers/firmware/imx/imx-scu.c
	drivers/net/ethernet/freescale/fec.h
	drivers/net/ethernet/freescale/fec_main.c
	drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
	drivers/net/phy/phy_device.c
	drivers/perf/fsl_imx8_ddr_perf.c
	drivers/usb/cdns3/gadget.c
	drivers/usb/dwc3/gadget.c
	include/uapi/linux/dma-buf.h

Signed-off-by: Jason Liu <jason.hui.liu@nxp.com>
2020-06-19 17:32:49 +08:00
Fugang Duan 236e62fc5e LF-1569 dts: arm64: imx8mn-evk: enable 8mic revE board
Add support for 8mic rev E PDM mic array board
support for gpio leds and software keys events:

SW1: KEY_F9 Factory reset for Android
SW2: VOLUME_MUTE
SW3: VOLUME_UP
SW4: VOLUME_DOWN

Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
2020-06-19 16:05:04 +08:00
Fugang Duan d07cf6a7eb MLK-24342 arm64: dts: imx8mn-evk: enable bt hsp for nxp 88w8987
Enable nxp 88w8987 bluetooth HSP.
Note:
- 88w8987 bt i2s only support pcm mode A.

Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
2020-06-19 16:05:04 +08:00
Fugang Duan 890e0a2a6b MLK-24332 arm64: dts: imx8qm-mek: enable M.2/uSD sdio wlan HIF support
Add M.2/uSD sdio wlan HIF support.

Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
2020-06-16 15:08:02 +08:00
Fugang Duan 0358d500ab MLK-24329 arm64: dts: imx8mm-evk: set the usd io voltage fixed at 1.8v
Set the usd slot IO voltage fixed at 1.8v.

Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
2020-06-16 15:07:49 +08:00
Andy Duan 86a746d5ac MLK-24330 arm64: dts: imx8mq-evk: set usd io voltage fixed at 1.8v
Set the usd slot IO voltage fixed at 1.8v.

Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
2020-06-16 15:07:31 +08:00
Peng Fan 029bc3d1e4 MLK-24324 arm64: dts: imx8qm: passthrough dsp to domu
We need passthrough dsp to domu, it is in vpu ss,
without power off it, vpu ss will not be really off.
And domu audio also needs dsp to work proper for hifi.

Reviewed-by: Shijie Qin <shijie.qin@nxp.com>
Reviewed-by: zhang sanshan <pete.zhang@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
2020-06-15 13:55:22 +08:00
zhang sanshan f3cd2f6a3e MA-17261 crtc do not bind encoder in dpu driver correctly in xen for android auto
display-subsystem in imx8qm-ss-dc.dtsi cover the domu dts.
dpu2_disp0 and dpu2_disp1 are added into “ports”, however dpu2 do not enable.
It cause bind failed and it have no display shown.

Change-Id: I2a16708ba49a64b61d6bd87ffdce82c0734dad2c
Signed-off-by: zhang sanshan <pete.zhang@nxp.com>
(cherry picked from commit 75b467a4eadd1b541cbdf1ef81de12550edbdc44)
2020-06-15 13:55:21 +08:00
Richard Zhu 5a38f632e9 MLK-24012-07 arm64: dts: add imx8dxl pcie ep support
Add the iMX8DXL PCIe EP support and verified on EVK board.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
2020-06-11 10:06:32 +08:00
Richard Zhu a96d687775 MLK-24012-06 arm64: dts: add imx8m pcie ep support
Add the PCIe EP mode on iMX8MQ/MM/MP platforms.
And enable the EP mode on EVK boards.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
2020-06-11 10:06:32 +08:00
Richard Zhu 11b7bf3e9d MLK-24012-05 arm64: dts: add imx8qm pciea ep support
Add the iMX8QM PCIEA EP support and verified on MEK board.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
2020-06-11 10:06:32 +08:00
Richard Zhu 6b36a7243a MLK-24012-04 arm64: dts: add imx8qxp pcie ep support
Add the iMX8QXP PCIe EP mode, and verified on MEK board.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
2020-06-11 10:06:32 +08:00
Anson Huang 70d5cee438 MLK-24296-2 arm64: dts: imx8mp: Add fallback compatible to ocotp node
Add "fsl,imx8mm-ocotp" as fallback compatible of i.MX8MP ocotp
to support SoC UID read.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
2020-06-11 09:23:35 +08:00
Clark Wang 775c6e8a73 MLK-24169 ARM64: dts: imx8dxl: fix system hang when using multiple arecords
Different "arecords" tasks getting i2c_adapter_lock_bus and
clk_prepare_lock at the same time cause the deadlock.

Task A gets the clk_prepare_lock and waiting for the
i2c_adapter_lock_bus when it tries to open MCLK which is gated by
a pin of IO Expander on the same i2c bus.
Task B gets the i2c_adapter_lock_bus and waiting for the
clk_prepare_lock when configs wm8960 through i2c.

The usages of i2c mux, i2c device and clock prepare lock do not have
obvious error.
So, avoid the deadlock by using "pinctrl-assert-gpios"
to set the GPIO gate of MCLK when kernel boot instead of using
"gpio-gate-clock" to set the GPIO gate every time using it.

Task A blocked call trace:
[  112.367398] Call trace:
[  112.369840]  __switch_to+0x104/0x170
[  112.373420]  __schedule+0x224/0x560
[  112.376910]  schedule+0x40/0xe0
[  112.380050]  __rt_mutex_slowlock+0x60/0xf8
[  112.384150]  rt_mutex_slowlock+0xac/0x188
[  112.388164]  rt_mutex_lock+0x58/0x60
[  112.391750]  i2c_adapter_lock_bus+0x10/0x18
[  112.395939]  i2c_transfer+0x4c/0xf8
[  112.399430]  i2c_transfer_buffer_flags+0x58/0x80
[  112.404058]  regmap_i2c_write+0x1c/0x50
[  112.407893]  _regmap_raw_write_impl+0x514/0x610
[  112.412427]  _regmap_bus_raw_write+0x60/0x78
[  112.416701]  _regmap_write+0x58/0xa8
[  112.420281]  _regmap_update_bits+0xf0/0x108
[  112.424468]  regmap_update_bits_base+0x60/0x90
[  112.428923]  pca953x_gpio_set_value+0xac/0xc8
[  112.433284]  gpiod_set_value_nocheck+0x54/0x98
[  112.437726]  gpiod_set_value_cansleep+0x38/0x48
[  112.442264]  clk_sleeping_gpio_gate_prepare+0x14/0x20
[  112.447321]  clk_core_prepare+0x58/0xe0
[  112.451155]  clk_prepare+0x24/0x40
[  112.454571]  wm8960_set_bias_level_out3+0x120/0x1f8

Task B blocked call trace:
[  115.927987] Call trace:
[  115.930429]  __switch_to+0x104/0x170
[  115.934001]  __schedule+0x224/0x560
[  115.937491]  schedule+0x40/0xe0
[  115.940638]  schedule_preempt_disabled+0x20/0x38
[  115.945260]  __mutex_lock.isra.0+0x17c/0x5b8
[  115.949532]  __mutex_lock_slowpath+0x10/0x18
[  115.953808]  mutex_lock+0x34/0x50
[  115.957131]  clk_prepare_lock+0x40/0x98
[  115.960968]  clk_core_get_rate+0x14/0x70
[  115.964895]  clk_get_rate+0x14/0x28
[  115.968393]  lpi2c_imx_xfer+0x78/0x610
[  115.972144]  __i2c_transfer+0x14c/0x390
[  115.975979]  i2c_smbus_xfer_emulated+0xd8/0x630
[  115.980513]  __i2c_smbus_xfer+0x118/0x210
[  115.984529]  pca954x_select_chan+0x74/0xb8
[  115.988628]  __i2c_mux_master_xfer+0x38/0x80
[  115.992903]  __i2c_transfer+0x14c/0x390
[  115.996743]  i2c_transfer+0x5c/0xf8
[  116.000236]  i2c_transfer_buffer_flags+0x58/0x80
[  116.004859]  regmap_i2c_write+0x1c/0x50
[  116.008696]  _regmap_bus_formatted_write+0x6c/0xb8
[  116.013489]  _regmap_write+0x58/0xa8
[  116.017071]  regmap_write+0x48/0x70
[  116.020564]  snd_soc_component_write+0x30/0x40
[  116.025015]  wm8960_set_pll+0x1e8/0x210

Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
2020-06-10 15:01:34 +08:00
Alice Guo 2e6d2985aa MLK-24278: arm64: dts: add i.MX8DXL inmate/root dts
Add i.MX8DXL inmate/root dts. Needs to use non-m4 flash.bin and use the
following command to boot the 2nd Linux:

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

Signed-off-by: Alice Guo <alice.guo@nxp.com>
2020-06-09 21:35:44 +08:00
Adrian Alonso 1c91db7d5b MLK-24232-1: dts: arm64: freescale: imx8mm evk 8mic swpdm decimation
Set decimation factor to 64 this allows to support all
possible sample rates for SPK0641HT4H-1 on 8mic board

Example: 16khz: BCLK = 16khz * 64 = 1024000 Hz
[ 8000 - 11025] low power mode
[16000 - 64000] performance mode

Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
Reviewed-by: Viorel Suman <viorel.suman@nxp.com>
2020-06-05 11:07:41 -05:00
Adrian Alonso 6499674c67 MLK-24231: dts: arm64: freescale: imx8mm evk 8mic swpdm datalines
Use fsl,dataline,dsd channel mask to enable only SAI
datalines available per SAI block; On SAI5 0xf enables
4 datalines on SAI5_RX; Up to 4 channels capture, one
channel per dataline.

Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
Reviewed-by: Viorel Suman <viorel.suman@nxp.com>
2020-06-05 11:06:38 -05:00
Robert Chiras 4716092970 MLK-24251: arch: arm64: dts: imx8mq: Limit lcdif BW
Limit the maximum allowed bandwidth for LCDIF due to HW limitation in
i.MX8MQ: LCDIF can dcan rive up to 720p60 because of DDR/NoC QoS issue.

Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
2020-06-03 11:52:40 +03:00
Hsin-Yi Wang 56e7873ed2 arm64: dts: mt8173: fix vcodec-enc clock
[ Upstream commit 3b1f6c5e4d ]

Fix the assigned-clock-parents to higher frequency clock to avoid h264
encode timeout:

[  134.763465] mtk_vpu 10020000.vpu: vpu ipi 4 ack time out !
[  134.769008] [MTK_VCODEC][ERROR][18]: vpu_enc_send_msg() vpu_ipi_send msg_id c002 len 32 fail -5
[  134.777707] [MTK_VCODEC][ERROR][18]: vpu_enc_encode() AP_IPIMSG_ENC_ENCODE 0 fail

venc_sel is the clock used by h264 encoder, and venclt_sel is the clock
used by vp8 encoder. Assign venc_sel to vcodecpll_ck and venclt_sel to
vcodecpll_370p5.

    vcodecpll                         1482000000
       vcodecpll_ck                    494000000
          venc_sel                     494000000
...
       vcodecpll_370p5                 370500000
          venclt_sel                   370500000

Fixes: fbbad0287c ("arm64: dts: Using standard CCF interface to set vcodec clk")
Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>
Link: https://lore.kernel.org/r/20200504124442.208004-1-hsinyi@chromium.org
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-06-03 08:21:19 +02:00
Johan Jonker 96e88e6831 arm64: dts: rockchip: swap interrupts interrupt-names rk3399 gpu node
[ Upstream commit c604fd810b ]

Dts files with Rockchip rk3399 'gpu' nodes were manually verified.
In order to automate this process arm,mali-midgard.txt
has been converted to yaml. In the new setup dtbs_check with
arm,mali-midgard.yaml expects interrupts and interrupt-names values
in the same order. Fix this for rk3399.

make ARCH=arm64 dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/gpu/
arm,mali-midgard.yaml

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Link: https://lore.kernel.org/r/20200425143837.18706-1-jbx6244@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-06-03 08:21:08 +02:00
Johan Jonker 9dc2e51ea7 arm64: dts: rockchip: fix status for &gmac2phy in rk3328-evb.dts
[ Upstream commit c617ed8850 ]

The status was removed of the '&gmac2phy' node with the apply
of a patch long time ago, so fix status for '&gmac2phy'
in 'rk3328-evb.dts'.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Link: https://lore.kernel.org/r/20200425122345.12902-2-jbx6244@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-06-03 08:21:07 +02:00
Peng Fan 749435ba3d MLK-24226 arm64: dts: imx8qm: domu: add mu alias
Add mu alias to make power key driver could probe successfully,
otherwise it might use wrong resource number to enable irq group
which cause failure.

Reviewed-by: zhang sanshan <pete.zhang@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit 31f7e2b7fed10b72b2e4fe7c28284c79e4889481)
2020-06-01 09:59:42 +08:00
Peng Fan 18421a4580 MLK-24224-1 arm64: dts: imx8qm-dom0: fix resources assign
The VPU ENC is removed from smmu, it will cause smmu abort.
Drop the PI resources, it is not able to assign and report fail.

Reviewed-by: zhang sanshan <pete.zhang@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
2020-05-30 15:24:35 +08:00
Peng Fan ca81e31265 MLK-24218 arm64: dts: imx8qm: give domu gpio1-19 access
DomU mipi dsi needs this, so give access, otherwise domu crash

Reviewed-by: Jun Li <jun.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit 8a6cd912c31d69e043b78e1b054cc8aa3472f66f)
2020-05-29 19:27:08 +08:00
Peng Fan 395d3943ba MLK-24216 arm64: dts: dom0: fix audio for domu
Give SAI0 pad to domu and audio sys reg space.

Reviewed-by: zhang sanshan <pete.zhang@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit 817b83494247ef5b43287d27ca6331348d960e1e)
2020-05-29 19:27:00 +08:00
Shengjiu Wang eadf1405d5 MLK-24215: arm64: dts: imx8mm-evk-rpmsg: Disable bt-sco
There is a limitation on imx8mm when SAI shared with A core
and M core, and M core is in stop mode, SAI can't be accessed.
So we disable SAI2 node which is newly added to avoid
compatible issue.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Viorel Suman <viorel.suman@nxp.com>
2020-05-29 18:09:50 +08:00
Viorel Suman 7d635d2084 MLK-24139-2 arm64: dts: imx8mp: xcvr: define resources for ram, regs and fifos
Define XCVR resources for RAM, regs and FIFOs.

Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2020-05-29 12:40:39 +03:00
Jacky Bai fe0e7065a5 MLK-24089 arm64: dts: freescale: Correct the interrupt parent of pmu on imx8mp
The interrupt parent of PMU node should be gic, so correct it to fix the pmu
no sampling/overflow interrupt issue.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
2020-05-29 17:34:26 +08:00
Peng Fan 9812b346b7 MLK-24005 arm64: dts: imx8qm: fix gpio usage for xen
GPIO4/3 needs to be given access for DomU for otg usb.
MIPI GPIO needs to be passthrough DOmU
LSIO_GPIO1 interrupts gives to DomU, dom0 not need the interrupt
currently.

Reviewed-by: zhang sanshan <pete.zhang@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit 1615076996096b26353baefd79211f24e6aa835e)
2020-05-29 12:05:32 +08:00
Peng Fan 9f160e20cf MLK-24199 arm64: dts: imx8m: add psci node for inmate dts
Add psci node for inmate dts, otherwise secondary cpus could
not be booted up.

Reviewed-by: Alice Guo <alice.guo@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit 028306eb6a60c51769156755c7526b8512b8ff38)
2020-05-29 12:05:24 +08:00
Clark Wang 883777aba5 MLK-24176-2 ARM64: dts: imx8dxl: add new property to fix the CS issue
Add property fsl,spi-only-use-cs1-sel to mark this board only uses
CS1 without CS0.

Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
2020-05-27 18:15:36 +08:00
Fugang Duan 48daa0ca63 MLK-24174-04 arm64: dts: imx8: standardize the tja110x phy address
Some tja1100 cards phy address is 0x2, some cards is 0x5.
tja1101 cards phy address is 0x2.

To make thing simple, and to support tja1100 and tja1101
cards by one dts file, we define the tja110x card phy
address to 0x2 in default bsp.

Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
2020-05-27 08:37:17 +00:00
Fugang Duan 7725151e50 MLK-24174-02 dts: arm64: imx8dx-mek: add tja110x card support for enet2 port
Add tja1100/tja1101 card support for enet2 port.

Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
2020-05-27 08:36:48 +00:00
Fugang Duan 555af78715 MLK-24174-01 arm64: dts: imx8dxl-evk: add tja1100 phy support
When imx8dxl enet1 is fused as below, enet1 doesn't support
RGMII mode, so add tja1100 RMII phy support.

ENET1 otp fuse: word 0xa, bit1

Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
2020-05-27 08:36:40 +00:00
Peng Fan 4574beb107 MLK-24165 arm64: dts: imx8qm: xen: passthrough devices to domu
passthrough vpu/esai/pcie/edma and etc to domu, to let domu
could use more functions which is a must for android auto in
domu.

Reviewed-by: zhang sanshan <pete.zhang@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
2020-05-27 10:29:09 +08:00
Peng Fan 0268df6bb3 MLK-24140 arm64: dts: imx8m: enable wdog
Enable wdog for rpmsg dts to make wdog function could work properly.

Reviewed-by: Robin Gong <yibin.gong@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
2020-05-26 09:57:53 +08:00
Anson Huang 65918e1b15 MLK-24133 arm64: dts: imx8mp: Update pinfunc.h
Update i.MX8MP pinfunc.h according to latest RM Rev C.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
2020-05-23 08:42:23 +08:00
Peng Fan 1f49d90eba MLK-24093 arm64: dts: imx8mn: disable flexspi for rpmsg dts
When M4 boots from flexspi, linux should not use that, otherwise
M4 will hang.

Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
2020-05-22 16:58:00 +08:00
Robert Chiras 6dd8bdb302 LF-811-5: arm64: dts: imx8qxp: Add dts file for lcdif use-case
Create imx8qxp-mek-lcdif.dts and imx8qxp-mek-lcdif-rpmsg.dts files for
the display use-case of LCDIF.

Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
2020-05-22 11:10:41 +03:00
Robert Chiras 02bfa9904b LF-811-4: arm64: dts: imx8qxp: Add lcdif subsystem
Add the lcdif nodes for the LCDIF Display Controller subsystem.

Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
2020-05-22 11:10:40 +03:00
Han Xu ba8559b45b MLK-24061: arm64: dts: rename the imx8dxl ddr3 evk to ddr3 val
Rename the i.mx8dxl ddr3 evk to i.mx8dxl ddr3 val as it is only a
validation board.

Signed-off-by: Han Xu <han.xu@nxp.com>
2020-05-21 11:20:13 -05:00
Alice Guo 0c2a3e5783 MLK-24064-5: arm64: dts: imx8dxl: enable and disable cm40_lpuart in dts
files

Enable cm40 lpuart in imx8dxl-evk.dts and disable it in
imx8dxl-evk-rpmsg.dts.

Signed-off-by: Alice Guo <alice.guo@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
2020-05-22 01:29:03 +08:00
Alice Guo 3cf73c962d MLK-24064-4: arm64: dts: imx8dxl: fix cm4 intmux interrupt number
Redefine cm4 intmux interrupt number.

Signed-off-by: Alice Guo <alice.guo@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
2020-05-22 01:29:03 +08:00
Alice Guo 07eea77e16 MLK-24064-3: arm64: dts: imx8dxl: add lpuart device in cm40 subsystem
Adding lpuart device in cm40 subsystem needs to add cm40_lpuart node and
Low-Power Clock Gating which is used for uart. Add serial4 alias for 8dxl.

Signed-off-by: Alice Guo <alice.guo@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
2020-05-22 01:29:03 +08:00
Yoshihiro Shimoda cd8ae9b732 arm64: dts: renesas: r8a77980: Fix IPMMU VIP[01] nodes
commit f4d71c6ea9 upstream.

Missing the renesas,ipmmu-main property on ipmmu_vip[01] nodes.

Fixes: 55697cbb44 ("arm64: dts: renesas: r8a779{65,80,90}: Add IPMMU devices nodes)
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/1587108543-23786-1-git-send-email-yoshihiro.shimoda.uh@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-05-20 08:20:39 +02:00
Adam Ford 8972721aea arm64: dts: imx8mn: Change SDMA1 ahb clock for imx8mn
commit 15ddc3e17a upstream.

Using SDMA1 with UART1 is causing a "Timeout waiting for CH0" error.
This patch changes to ahb clock from SDMA1_ROOT to AHB which fixes the
timeout error.

Fixes: 6c3debcbae ("arm64: dts: freescale: Add i.MX8MN dtsi support")

Signed-off-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-05-20 08:20:38 +02:00
Chen-Yu Tsai 7647156151 arm64: dts: rockchip: Rename dwc3 device nodes on rk3399 to make dtc happy
commit 190c7f6fd4 upstream.

The device tree compiler complains that the dwc3 nodes have regs
properties but no matching unit addresses.

Add the unit addresses to the device node name. While at it, also rename
the nodes from "dwc3" to "usb", as guidelines require device nodes have
generic names.

Fixes: 7144224f2c ("arm64: dts: rockchip: support dwc3 USB for rk3399")
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Link: https://lore.kernel.org/r/20200327030414.5903-7-wens@kernel.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-05-20 08:20:38 +02:00
Chen-Yu Tsai 64ad7ef3a6 arm64: dts: rockchip: Replace RK805 PMIC node name with "pmic" on rk3328 boards
commit 83b994129f upstream.

In some board device tree files, "rk805" was used for the RK805 PMIC's
node name. However the policy for device trees is that generic names
should be used.

Replace the "rk805" node name with the generic "pmic" name.

Fixes: 1e28037ec8 ("arm64: dts: rockchip: add rk805 node for rk3328-evb")
Fixes: 955bebde05 ("arm64: dts: rockchip: add rk3328-rock64 board")
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Link: https://lore.kernel.org/r/20200327030414.5903-3-wens@kernel.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-05-20 08:20:38 +02:00
Neil Armstrong af518b5b77 arm64: dts: meson-g12-common: fix dwc2 clock names
commit e4f634d812 upstream.

Use the correct dwc2 clock name.

Fixes: 9baf7d6be7 ("arm64: dts: meson: g12a: Add G12A USB nodes")
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://lore.kernel.org/r/20200326160857.11929-3-narmstrong@baylibre.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-05-20 08:20:37 +02:00
Neil Armstrong 9b9c52752a arm64: dts: meson-g12b-khadas-vim3: add missing frddr_a status property
commit 5ac0869fb3 upstream.

In the process of moving the VIM3 audio nodes to a G12B specific dtsi
for enabling the SM1 based VIM3L, the frddr_a status = "okay" property
got dropped.
This re-enables the frddr_a node to fix audio support.

Fixes: 4f26cc1c96 ("arm64: dts: khadas-vim3: move common nodes into meson-khadas-vim3.dtsi")
Reported-by: Christian Hewitt <christianshewitt@gmail.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Reviewed-by: Jerome Brunet <jbrunet@baylibre.com>
Tested-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20191018140216.4257-1-narmstrong@baylibre.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-05-20 08:20:37 +02:00