]> www.infradead.org Git - users/jedix/linux-maple.git/commit
phy: mediatek: phy-mtk-hdmi: Register PHY provided regulator
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Wed, 20 Nov 2024 12:41:43 +0000 (13:41 +0100)
committerVinod Koul <vkoul@kernel.org>
Wed, 4 Dec 2024 14:25:33 +0000 (19:55 +0530)
commit49393b2da1cd5b0a6859693369b4fb27df59d3e2
tree3035bc3666562e9a6b9ea8e807e8868b56c9d79b
parent2318ca5994599bb4d287e9e00ae87e0855cba712
phy: mediatek: phy-mtk-hdmi: Register PHY provided regulator

At least version 2 of the HDMI PHY, found in MediaTek MT8195 and
MT8188 SoCs, does provide hardware support to switch on/off the
HDMI 5V pins (which are also used for DDC), and this translates
to this being a fixed regulator.

Register this PHY-provided regulator so that it can be fed to the
hdmi-connector driver to manage the HDMI +5V PWR rail.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20241120124143.132637-1-angelogioacchino.delregno@collabora.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/mediatek/phy-mtk-hdmi-mt8195.c
drivers/phy/mediatek/phy-mtk-hdmi-mt8195.h
drivers/phy/mediatek/phy-mtk-hdmi.c
drivers/phy/mediatek/phy-mtk-hdmi.h