drm/sun4i: sun8i-hdmi-phy: Separate A83T and H3 PHY ops

Since the driver already needs to support multiple sets of ops, we can
drop the mid-layer used by the A83T and H3 PHYs. They share only a small
amount of code; factor this out as sun8i_hdmi_phy_set_polarity.

For clarity, this commit keeps the existing function order.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20220615045543.62813-6-samuel@sholland.org
This commit is contained in:
Samuel Holland 2022-06-14 23:55:42 -05:00 • committed by Maxime Ripard
commit ef2731e48b
No known key found for this signature in database
GPG key ID: E3EF0D6F671851C5
2 changed files with 46 additions and 48 deletions