phy/rockchip: inno-dsidphy: generalize parameter handling
authorHeiko Stuebner <heiko.stuebner@theobroma-systems.com>
Fri, 8 Nov 2019 00:06:40 +0000 (01:06 +0100)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 8 Jan 2020 07:28:06 +0000 (12:58 +0530)
commitf0684c1a836770afba7a7097e61935edd69693bf
tree21ba2ab6dd5329f45815d30043271d3b0c247829
parentcb18b9a92b0baaa3188d67d1371079c1eacb3454
phy/rockchip: inno-dsidphy: generalize parameter handling

During review it came to light that exposing the pll clock outside is
not the right approach and struct phy_configure_opts_mipi_dphy exists
just for that reason to transfer parameters to the phy.

So drop the exposed clock and rely on the phy configure options
to bring in the correct rate. That way we can also just drop the
open coded timing struct and default values function.

Fixes: b7535a3bc0ba ("phy/rockchip: Add support for Innosilicon MIPI/LVDS/TTL PHY")
Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/rockchip/Kconfig
drivers/phy/rockchip/phy-rockchip-inno-dsidphy.c