[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240730125023.710237-1-jbrunet@baylibre.com>
Date: Tue, 30 Jul 2024 14:50:10 +0200
From: Jerome Brunet <jbrunet@...libre.com>
To: Neil Armstrong <neil.armstrong@...aro.org>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
David Airlie <airlied@...il.com>,
Daniel Vetter <daniel@...ll.ch>
Cc: Jerome Brunet <jbrunet@...libre.com>,
Kevin Hilman <khilman@...libre.com>,
Martin Blumenstingl <martin.blumenstingl@...glemail.com>,
dri-devel@...ts.freedesktop.org,
linux-amlogic@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 0/9] drm/meson: dw-hdmi: clean-up
This patchset is a clean up of the Amlogic HDMI phy driver.
It is part of an effort to remove the use HHI syscon from the driver
and properly use frameworks, such as PD and clocks, instead of going
for an incorrectly global register region.
When this is done, it should be easier to remove the usage of the
component API from the Amlogic display drivers.
To be clear, this patchset does not go this far yet. It stops
short of making any controversial DT changes. To decouple the HDMI
phy driver and main DRM driver, allowing the PHY to get hold of its
registers, I believe a DT ABI break is inevitable. Ideally the
register region of the PHY within the HHI should provided, not the
whole HHI. That's pain for another day ...
The last 2 patches should not be applied yet. They depend on DT
changes which recently got applied. Time is needed for the DT changes
to sink in u-boot and distros, to avoid breaking platforms which don't
take DT from the kernel. These 2 patches are provided as a note that
this should happen eventually.
Jerome Brunet (9):
drm/meson: hdmi: move encoder settings out of phy driver
drm/meson: vclk: drop hdmi system clock setup
drm/meson: dw-hdmi: use generic clock helpers
drm/meson: dw-hdmi: fix incorrect comment in suspend
drm/meson: dw-hdmi: split resets out of hw init.
drm/meson: dw-hdmi: convert to regmap
drm/meson: dw-hdmi: use matched data
drm/meson: dw-hdmi: don't write power controller registers
drm/meson: dw-hdmi: drop hdmi system clock setup
drivers/gpu/drm/meson/meson_dw_hdmi.c | 746 ++++++++++-----------
drivers/gpu/drm/meson/meson_dw_hdmi.h | 49 +-
drivers/gpu/drm/meson/meson_encoder_hdmi.c | 16 +
drivers/gpu/drm/meson/meson_vclk.c | 8 -
4 files changed, 389 insertions(+), 430 deletions(-)
--
2.43.0
Powered by blists - more mailing lists