1
0
Fork 0
Commit Graph

35 Commits (ee7b6ad15b845d3c3e7d144585f4b4cd7a817be3)

Author SHA1 Message Date
Andrey Zhizhikin ee7b6ad15b This is the 5.4.67 stable release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAl9rJlYACgkQONu9yGCS
 aT6WbRAAga6QVKrO6R4NeKk0fPqKQQoQeTK+phBOFA7jAoX/rIRKyob2Si9BwhBA
 F77vZ6HIZ7+e/o35JJQYQbffbHYs0ANuS1oHGqe0vgbh+72Viaan6g7lFOhpx8qf
 y0YS7q+hw4WLZB0gGlBM7nkPXRiis32IrEVabQW+t8hmT2lWyutY8E2yFAU60tvI
 Tvjm2c2pvHEcHz9MrjEd/jIVxMFnIl42FBTx9bGsbDUCDzBwEvPArS4bNioP7EFJ
 O+rrGCNvwtiv0DuKzX1UIZzQ88IROmU3ZjsIlgOwla7xJWv4QDgmPfyAyRI48QhH
 PAZQmSntz+y+MP6B3z3ZBrxc2Fx0kCDtugn2P9+2RVUEpheANJ293vUgYTKN9Roy
 dHdWHFWNTO9IYpIN0cZjc25db4ULdjerWQrKcCr6ZO8+Ep/0mSzx3lkWjfuUP8Hr
 L2RD6rAm259OpPq8xhAcJpJvoQLwGxaBHyr4QYUmRgmNVURoqe9Q0MTZuiyGsXhm
 rtcNky9WvmyyI1lJgXi4A+vmsIThCHEstEMycgTejfJ4itIVA9e1ctJVVomWULCn
 9oNStBJpmHw0myDCohbKNjeO1UX/erdF9NaoGto5bnfIhcSae1YQEjRB8zKmzbg1
 DpgC1f7IZ7q53vfrDGsAjInOcuEwAn/Y5JMLJOL4mdA9j3XlX2o=
 =Ot99
 -----END PGP SIGNATURE-----

Merge tag 'v5.4.67' into 5.4-2.2.x-imx

This is the 5.4.67 stable release

This updates the kernel present in the NXP release imx_5.4.47_2.2.0 to the
latest patchset available from stable korg.

Base stable kernel version present in the NXP BSP release is v5.4.47.

Following conflicts were recorded and resolved:
- arch/arm/mach-imx/pm-imx6.c
NXP version has a different PM vectoring scheme, where the IRAM bottom
half (8k) is used to store IRAM code and pm_info. Keep this version to
be compatible with NXP PM implementation.

- arch/arm64/boot/dts/freescale/imx8mm-evk.dts
- arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts
NXP patches kept to provide proper LDO setup:
imx8mm-evk.dts: 975d8ab07267ded741c4c5d7500e524c85ab40d3
imx8mn-ddr4-evk.dts: e8e35fd0e759965809f3dca5979a908a09286198

- drivers/crypto/caam/caamalg.c
Keep NXP version, as it already covers the functionality for the
upstream patch [d6bbd4eea2]

- drivers/gpu/drm/imx/dw_hdmi-imx.c
- drivers/gpu/drm/imx/imx-ldb.c
- drivers/gpu/drm/imx/ipuv3/ipuv3-crtc.c
Port changes from upstream commit [1a27987101], which extends
component lifetime by moving drm structures allocation/free from
bind() to probe().

- drivers/gpu/drm/imx/imx-ldb.c
Merge patch [1752ab50e8] from upstream to disable both LVDS channels
when Enoder is disabled

- drivers/mmc/host/sdhci-esdhc-imx.c
Fix merge fuzz produced by [6534c897fd].

- drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c
Commit d1a00c9bb1 from upstream solves the issue with improper error
reporting when qdisc type support is absent. Upstream version is merged
into NXP implementation.

- drivers/net/ethernet/freescale/enetc/enetc.c
Commit [ce06fcb6a6] from upstream merged,
base NXP version kept

- drivers/net/ethernet/freescale/enetc/enetc_pf.c
Commit [e8b86b4d87] from upstream solves
the kernel panic in case if probing fails. NXP has a clean-up logic
implemented different, where the MDIO remove would be invoked in any
failure case. Keep the NXP logic in place.

- drivers/thermal/imx_thermal.c
Upstream patch [9025a5589c] adds missing
of_node_put call, NXP version has been adapted to accommodate this patch
into the code.

- drivers/usb/cdns3/ep0.c
Manual merge of commit [be8df02707] from
upstream to protect cdns3_check_new_setup

- drivers/xen/swiotlb-xen.c
Port upstream commit cca58a1669 to NXP tree, manual hunk was
resolved during merge.

- sound/soc/fsl/fsl_esai.c
Commit [53057bd4ac] upstream addresses the problem of endless isr in
case if exception interrupt is enabled and tasklet is scheduled. Since
NXP implementation has tasklet removed with commit [2bbe95fe6c],
upstream fix does not match the main implementation, hence we keep the
NXP version here.

- sound/soc/fsl/fsl_sai.c
Apply patch [b8ae2bf5cc] from upstream, which uses FIFO watermark
mask macro.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-09-26 20:54:42 +00:00
Joakim Zhang 5f0cbb7b9b MLK-24752-1 arch: arm64: imx8m: add IR support
Add IR support for i.MX8MM/MN/MQ.

Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
2020-09-09 02:51:28 +08:00
Robin Gong 90bd9c611f arm64: dts: imx8mm-evk: correct ldo1/ldo2 voltage range
commit 4fd6b5735c upstream.

Correct ldo1 voltage range from wrong high group(3.0V~3.3V) to low group
(1.6V~1.9V) because the ldo1 should be 1.8V. Actually, two voltage groups
have been supported at bd718x7-regulator driver, hence, just corrrect the
voltage range to 1.6V~3.3V. For ldo2@0.8V, correct voltage range too.
Otherwise, ldo1 would be kept @3.0V and ldo2@0.9V which violate i.mx8mm
datasheet as the below warning log in kernel:

[    0.995524] LDO1: Bringing 1800000uV into 3000000-3000000uV
[    0.999196] LDO2: Bringing 800000uV into 900000-900000uV

Fixes: 78cc25fa26 ("arm64: dts: imx8mm-evk: Add BD71847 PMIC")
Cc: stable@vger.kernel.org
Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-06-30 15:37:10 -04: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
Adrian Alonso 710953489d MLK-23920: dts: arm64: freescale: imx8mm evk pca6416 vcc supply
Add missing vcc-supply assing buck4_reg which corresponds
to VDD_3V3 from pmic, fixes probe pca6416 driver

Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
2020-05-12 13:20:02 -05:00
Shengjiu Wang 222873f7cd MLK-23792-2: arm64: dts: imx8mm: Enable sai6 for monitorring spdic rx clock
Enable sai6 for monitorring spdic rx clock

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Viorel Suman <viorel.suman@nxp.com>
2020-04-17 12:06:58 +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
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
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
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
S.j. Wang 3ccb2d7a76 arm64: dts: imx8mm-evk: Assigned clocks for audio plls
commit e8b395b236 upstream.

Assign clocks and clock-rates for audio plls, that audio
drivers can utilize them.

Add dai-tdm-slot-num and dai-tdm-slot-width for sound-wm8524,
that sai driver can generate correct bit clock.

Fixes: 13f3b9fdef ("arm64: dts: imx8mm-evk: Enable audio codec wm8524")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-23 08:22:56 +01:00
Fancy Fang 3b78f128f6 LF-425-1 arm64: dts: imx8mm-evk: add 'attach-bridge' to dsi port@1
The 'attach-bridge' property for dsi port@1 can be used
to assit the dsim bridge to check if the port is used to
attach to the next bridge display device(e.g. adv7511).

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Reviewed-by: Robby Cai <robby.cai@nxp.com>
2019-12-12 09:20:10 +08:00
Richard Zhu 4b8d4a6c10 arm64: dts: enable the imx pcie ep verification solution
Enable the imx pcie ep verification solution.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
2019-11-27 11:13:24 +08:00
Haibo Chen 2882394893 MLK-22900 ARM: dts: change to use off-on-delay-us in regulator
After commit f7907e57ae ("regulator: fixed: add off-on-delay"), user
can use "off-on-delay-us" to define the regulator off-delay time.

For SD card, according to the spec requirement, for sd card power reset
operation, it need sd card supply voltage to be lower than 0.5v and keep
over 1ms, otherwise, next time power back the sd card supply voltage to
3.3v, sd card can't support SD3.0 mode again.

This patch add the off-on-delay-us to each board, make sure the sd power
reset behavior is align with the specification. Without this patch, when
do quick system suspend/resume test, some sd card can't work at SD3.0 mode
after system resume back.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Acked-by: Leonard Crestez <leonard.crestez@nxp.com>
2019-11-25 16:09:11 +08:00
Shengjiu Wang 4acf3940c9 ARM64: imx8mm-evk: Move assign clocks of audio PLLs to correct place
Put assigned clocks of audio PLLs in imx8mm-evk.dts, which conflict
with the assigned clocks in imx8mm.

Fixes: 77b5daa55e63 ("ARM64: dts: imx8mm: Enable AK4497/AK4458/AK5558/SPDIF/MICFIL")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2019-11-25 16:08:36 +08:00
Sherry Sun 0aea80b560 MLK-22746-1 dts: add wifi device support in i.MX8mm device tree
Add usdhc1 node which represent wifi device.

Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
(cherry picked from commit ae940d9d4393b7b1fa68faf61f4755310d0f564c)
2019-11-25 16:08:29 +08:00
Shengjiu Wang eb6281aee4 ARM64: dts: imx8mm: Add dai-tdm-slot-num and dai-tdm-slot-width
Add dai-tdm-slot-num and dai-tdm-slot-width for sound-wm8524

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
(cherry picked from commit 874740c7dcceb0704e68cacf57b3ea907c3b2710)
2019-11-25 16:08:20 +08:00
Robby Cai d7e137db9d ARM64: dts: imx8mm-evk: enable mipi camera ov5640
enable csi bridge, mipi csi and mipi camera ov5640

Signed-off-by: Robby Cai <robby.cai@nxp.com>
2019-11-25 16:08:12 +08:00
Ella Feng 8bbd733e2e arm64: dts: imx8mm: Add GPU device for 8MM
Add gpu in device tree:
arch/arm64/boot/dts/freescale/imx8mm.dtsi
arch/arm64/boot/dts/freescale/imx8mm-evk.dts

Signed-off-by: Ella Feng <ella.feng@nxp.com>
[ Aisheng: remove unecessary new blank line ]
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
2019-11-25 16:07:31 +08:00
Shengjiu Wang 1b2ccb849f ARM64: dts: imx8mm: Enable AK4497/AK4458/AK5558/SPDIF/MICFIL
Enable AK4497/AK4458/AK5558/SPDIF/MICFIL

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2019-11-25 16:07:15 +08:00
Zhou Peng 5215b05419 arm64: dts: imx845: add vpu encoder
enable 845 h1 in device tree

Signed-off-by: Zhou Peng <eagle.zhou@nxp.com>
2019-11-25 16:07:06 +08:00
Zhou Peng d78d416ca7 arm64: dts: imx845: add vpu decoder
enable 845 g1/g2 in device tree

Signed-off-by: Zhou Peng <eagle.zhou@nxp.com>
2019-11-25 16:07:06 +08:00
Richard Zhu ea334b7f64 ARM64: dts: enable pcie on imx8mm
Enable PCIe on iMX8MM platforms.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
2019-11-25 16:06:34 +08:00
Fugang Duan b1ed9140d3 ARM64: dts: imx8mm-evk: initialize the at8031 phy
- enable VDDIO as 1v8
- disable the PHY EEE mode

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
2019-11-25 16:05:49 +08:00
Fancy Fang 3aa2619452 MLK-21299 ARM64: dts: imx8mm-evk: add interrupt support for ADV7535
Add interrupt and related pinctrl properties for ADV7535,
the interrupt can be used for hotplug, edid ready and etc
in the adv bridge driver.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
2019-11-25 16:05:39 +08:00
Fancy Fang bd7ffc71e5 MLK-18605-12 ARM64: dts: imx8mm-evk: add support for RM67191 panel
Create a new dts 'fsl-imx8mm-evk-rm67191.dts' to support panel
'RM67191' display which is attached to DSIM controller directly.
So the corresponding panel device node is defined as the child
of 'mipi_dsi' node under the DRM DSI framework. Since the
'adv_bridge' and 'RM67191' should be enabled exclusively, so
disable 'adv_bridge' when enable 'RM67191'.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
2019-11-25 16:05:38 +08:00
Fancy Fang 133cc5a047 MLK-18535-11 ARM64: dts: imx8mm-evk: enable 'lcdif', 'mipi_dsi' and 'adv7535'
Enable the whole display pipeline 'LCDIF --> MIPI DSI --> ADV7535'
on IMX8MM EVK board.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
2019-11-25 16:05:38 +08:00
Han Xu f5fc8e4f9a MLK-21960-3: arm64: dts: enable fspi in imx8mm dts
enable fspi in imx8mm DT file

Signed-off-by: Han Xu <han.xu@nxp.com>
2019-11-25 16:04:31 +08:00
Fugang Duan ca8f0a8df5 arm64: dts: imx: enable uart1 and uart3 ports
Enable uart1 and uart3 ports, uart1 port is for Bluetooth.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
[ Aisheng: fix small conflicts during upgrade ]
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
2019-11-25 16:04:29 +08:00
Fabio Estevam b5547e22be arm64: dts: imx8mm-evk: Remove invalid properties
All these at803x properties are not documented anywhere, so
just remove them.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2019-08-03 12:28:19 +02:00
Li Jun ef4c47ab88 arm64: dts: imx8mm-evk: enable usb1 and typec support
USB1 port has typec connector with power delivery support:
- Dual data role: host and device.
- Dual power role: source and sink, prefer power sink.

Signed-off-by: Li Jun <jun.li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2019-08-03 12:28:16 +02:00
Daniel Baluta 13f3b9fdef arm64: dts: imx8mm-evk: Enable audio codec wm8524
i.MX8MM has one wm8524 audio codec connected with
SAI3 digital audio interface.

This patch uses simple-card machine driver in order
to enable wm8524 codec.

We need to set:
	* SAI3 pinctrl configuration
	* codec reset gpio pinctrl configuration
	* clock hierarchy
	* codec node
	* simple-card configuration

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2019-06-23 15:35:48 +08:00
Anson Huang d038c1dc35 arm64: dts: imx8mm: Enable SNVS power key according to board design
The SNVS power key depends on board design, by default it should
be disabled in SoC DT and ONLY be enabled on board DT if it is
wired up.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2019-06-18 15:06:01 +08:00
Leonard Crestez 78cc25fa26 arm64: dts: imx8mm-evk: Add BD71847 PMIC
The BUCK2 regulator is used for cpufreq voltage control, otherwise
configuration is mostly static.

This uses the newly-implemented rohm,reset-snvs-powered property to
properly handle the SNVS state of imx8mm.

Between BD71837 and BD71847 the BUCK3/4 regulators were removed but
datasheet and board schematics kept the names for BUCK5/6/7/8. The
driver however renumbered 5/6/7/8 to 3/4/5/6. Use the names from DT
bindings and add comments to signal this.

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Acked-By: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2019-05-20 10:36:24 +08:00
Jacky Bai 547e12325d arm64: dts: imx: Add i.mx8mm evk basic dts support
Add basic dts support for i.MM8MM LPDDR4 EVK.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2019-03-26 17:08:53 +08:00