1
0
Fork 0
Commit Graph

4 Commits (e07881a460c9afbaf5b56ccbd3ac27cfdc645b3f)

Author SHA1 Message Date
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
Aisheng Dong 01b8b7a56f arm64: dts: mipi-lvds: fix mipi rx/tx clocks
By default, the MIPI RX and TX clocks are parented to the BYPASS clock,
but it seems that this doesn't work on QXP. Since these clocks can also
be parented to MIPI_PLL and MIPI_PLL_DIV2, use the MIPI_PLL_DIV2 with a
fixed rate of 432M and parent the RX and TX clocks to it.
This works on both QM and QXP.

Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
Reviewed-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
2019-12-10 11:38:00 +02:00
Liu Ying bc13a402c6 LF-95-2 arm64: imx8qm-ss-mipi.dtsi: Correct MIPI CSR address and size
The spec tells us that the CSR start address is 0x1000 and end address
is 0x1FFF according to the subsystem start address.  However, it turns
out some space are inaccessible, which would accidently cause system
hang via kernel regmap debugfs.  This patch corrects the MIPI CSR
start address and chooses a sensible size, which makes sure all exposed
registers are accessible.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
2019-12-04 13:26:55 +08:00
Robert Chiras f21cd56a98 arm64: dts: imx8qm: Add mipi dsi nodes
Add dts file for mipi dsi nodes and the corresponding endpoints.

Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
2019-11-28 17:22:28 +02:00