OSDN Git Service

arm64: dts: imx8mq: Add clock parents for mipi dphy
authorGuido Günther <agx@sigxcpu.org>
Sun, 10 Jan 2021 16:55:51 +0000 (17:55 +0100)
committerShawn Guo <shawnguo@kernel.org>
Mon, 11 Jan 2021 00:25:57 +0000 (08:25 +0800)
commit62270eeb2b639ed840ee133e301073057d497ed8
treeba87c533d919bd5bfd119f373cb488286ef8ae8a
parent190621e0f6094001790b364900086448c1b12cf5
arm64: dts: imx8mq: Add clock parents for mipi dphy

This makes sure the clock tree setup for the dphy is not dependent on
other components.

Without this change bringing up the display can fail like

  kernel: phy phy-30a00300.dphy.2: Invalid CM/CN/CO values: 165/217/1
  kernel: phy phy-30a00300.dphy.2: for hs_clk/ref_clk=451656000/593999998 ~ 165/217

if LCDIF doesn't set up that part of the clock tree first. This was
noticed when testing the Librem 5 devkit with defconfig. It doesn't
happen when modules are built in.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mq.dtsi