[PATCH 0/3] MediaTek MIPI-DSI PHY: Cleanups

From: AngeloGioacchino Del Regno
Date: Thu May 25 2023 - 07:53:11 EST


This series performs some cleanups to the MediaTek mipi-dsi PHY, used in
various MediaTek SoCs; in particular, it's migrating this driver to
register its clock as clk_hw provider instead and makes use of the devm
function for the same, allowing to remove a pointer to struct clk and
the whole .remove_new() callback, as it's not needed anymore.
This also cleans up the of_device_id table.

Tested on MT8173, MT8192 Chromebooks, MT6795 Xperia M5 smartphone.

AngeloGioacchino Del Regno (3):
phy: mediatek: mipi-dsi: Convert to register clk_hw
phy: mediatek: mipi-dsi: Use devm variant for of_clk_add_hw_provider()
phy: mediatek: mipi-dsi: Compress of_device_id match entries

drivers/phy/mediatek/phy-mtk-mipi-dsi.c | 30 +++++++++----------------
drivers/phy/mediatek/phy-mtk-mipi-dsi.h | 1 -
2 files changed, 10 insertions(+), 21 deletions(-)

--
2.40.1