phy: rockchip: inno-dsidphy: Add support for rk3568
authorChris Morgan <macromorgan@hotmail.com>
Mon, 19 Sep 2022 16:46:15 +0000 (11:46 -0500)
committerVinod Koul <vkoul@kernel.org>
Tue, 20 Sep 2022 06:09:47 +0000 (11:39 +0530)
commitb8ecfbaf2e7268d4f934678d00a3849eda0cf7c9
treea69599c47dae32204648be49a5a80d6ff3cf76d1
parent4b507195a4c3afa0b4365a34555fd6735ae7e8bc
phy: rockchip: inno-dsidphy: Add support for rk3568

Add support for the Rockchip RK3568 DSI-DPHY. Registers were taken from
the BSP kernel driver and wherever possible cross referenced with the
TRM.

Refactor the code to allow the different compatible strings to set
either a max 1GHz timing table (all existing hardware) or a max 2.5GHz
timing table (the new RK356x). This works (for me) on both an RK3326
(PX30) and a new RK3566 device.

Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Link: https://lore.kernel.org/r/20220919164616.12492-3-macroalpha82@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/rockchip/phy-rockchip-inno-dsidphy.c