android_kernel_xiaomi_sm8450/drivers/reset
Richard Zhu a658f0bc72 reset: imx7: Fix the iMX8MP PCIe PHY PERST support
[ Upstream commit 051d9eb403887bb11852b7a4f744728a6a4b1b58 ]

On i.MX7/iMX8MM/iMX8MQ, the initialized default value of PERST bit(BIT3)
of SRC_PCIEPHY_RCR is 1b'1.
But i.MX8MP has one inversed default value 1b'0 of PERST bit.

And the PERST bit should be kept 1b'1 after power and clocks are stable.
So fix the i.MX8MP PCIe PHY PERST support here.

Fixes: e08672c039 ("reset: imx7: Add support for i.MX8MP SoC")
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Tested-by: Marek Vasut <marex@denx.de>
Tested-by: Richard Leitner <richard.leitner@skidata.com>
Tested-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Link: https://lore.kernel.org/r/1661845564-11373-5-git-send-email-hongxing.zhu@nxp.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-10-05 10:38:40 +02:00
..
hisilicon
sti
tegra reset: tegra-bpmp: Restore Handle errors in BPMP response 2022-04-27 13:53:52 +02:00
core.c reset: bail if try_module_get() fails 2021-07-20 16:05:56 +02:00
Kconfig
Makefile
reset-a10sr.c reset: a10sr: add missing of_match_table reference 2021-07-20 16:05:54 +02:00
reset-ath79.c
reset-axs10x.c
reset-berlin.c
reset-brcmstb-rescal.c reset: brcmstb-rescal: fix incorrect polarity of status bit 2021-11-02 19:48:22 +01:00
reset-brcmstb.c reset: brcmstb: Add missing MODULE_DEVICE_TABLE 2021-07-20 16:05:54 +02:00
reset-hsdk.c
reset-imx7.c reset: imx7: Fix the iMX8MP PCIe PHY PERST support 2022-10-05 10:38:40 +02:00
reset-intel-gw.c
reset-lantiq.c
reset-lpc18xx.c
reset-meson-audio-arb.c
reset-meson.c
reset-npcm.c
reset-oxnas.c
reset-pistachio.c
reset-qcom-aoss.c
reset-qcom-pdc.c
reset-raspberrypi.c
reset-scmi.c
reset-simple.c
reset-socfpga.c reset: socfpga: add empty driver allowing consumers to probe 2021-11-18 14:03:42 +01:00
reset-stm32mp1.c
reset-sunxi.c
reset-ti-sci.c
reset-ti-syscon.c reset: ti-syscon: fix to_ti_syscon_reset_data macro 2021-07-25 14:36:11 +02:00
reset-uniphier-glue.c
reset-uniphier.c
reset-zynq.c
reset-zynqmp.c reset: reset-zynqmp: Fixed the argument data type 2021-09-08 08:49:00 +02:00