This series performs some very much needed cleanups to the MediaTek DisplayPort driver, including a fix for the audio codec and PHY driver unregistration, a refactor to finally correctly use the PHY (!) and introduces support for the Embedded DisplayPort (eDP) IP in MT8196.
Note that this deprecates the nvmem related properties in this driver because those are NOT related to the DisplayPort IP, but rather to the DisplayPort PHY, and were therefore transferred there instead (code in a different series, updating the PHY driver). On legacy devices, this driver was carefully tested with both NEW and OLD devicetrees, so both with the new, proper PHY usage, and with the old platform device registration strategy and eFuse retrieval from DP instead of PHY driver. This was also successfully (manually) tested in a kernel that misses the PHY driver updates on devices using old devicetrees (mt8195/88) and no regressions were experienced. AngeloGioacchino Del Regno (11): dt-bindings: display: mediatek: dp: Deprecate nvmem efuse data dt-bindings: display: mediatek: dp: Add compatible for MT8196 eDP drm/mediatek: mtk_dp: Fix hdmi codec and phy driver unregistration drm/mediatek: mtk_dp: Clarify SMC eDP/DP video unmute commands drm/mediatek: mtk_dp: Rework register offsets for proper PHY usage drm/mediatek: mtk_dp: Use PHY API for PHY power sequences drm/mediatek: mtk_dp: Add support for PHY from devicetree drm/mediatek: mtk_dp: Move max link rate to SoC specific data drm/mediatek: mtk_dp: Add support for HotPlug Detection in DP AUX drm/mediatek: mtk_dp: Add support for eDP1.5 IPs and MT8196 SoC drm/mediatek: mtk_dp: Clarify XTAL freq and Debounce registers .../display/mediatek/mediatek,dp.yaml | 5 +- drivers/gpu/drm/mediatek/mtk_dp.c | 576 +++++++++++++++--- drivers/gpu/drm/mediatek/mtk_dp_reg.h | 328 +++++----- 3 files changed, 691 insertions(+), 218 deletions(-) -- 2.54.0
