[PATCH v2 08/10] drm/simpledrm: Acquire clocks from DT device node
Maxime Ripard
maxime at cerno.tech
Thu Apr 8 08:13:53 UTC 2021
Hi,
On Thu, Mar 18, 2021 at 11:29:19AM +0100, Thomas Zimmermann wrote:
> Make sure required hardware clocks are enabled while the firmware
> framebuffer is in use.
>
> The basic code has been taken from the simplefb driver and adapted
> to DRM. Clocks are released automatically via devres helpers.
>
> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
> Tested-by: nerdopolis <bluescreen_avenger at verizon.net>
Even though it's definitely simpler to review, merging the driver first
and then the clocks and regulators will break bisection on the platforms
that rely on them
Another thing worth considering is also that both drivers will probe if
they are enabled (which is pretty likely), which is not great :)
I guess we should make them mutually exclusive through Kconfig
Maxime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20210408/632bae53/attachment.sig>
More information about the dri-devel
mailing list