Re: [PATCH v2 05/13] drm/sun4i: hdmi: create a regmap for later use
From: Maxime Ripard <hidden>
Date: 2017-09-26 09:56:52
Also in:
dri-devel, linux-arm-kernel, linux-clk, lkml
From: Maxime Ripard <hidden>
Date: 2017-09-26 09:56:52
Also in:
dri-devel, linux-arm-kernel, linux-clk, lkml
On Tue, Sep 26, 2017 at 06:59:11AM +0000, Chen-Yu Tsai wrote:
The HDMI driver is written with readl/writel I/O to the registers. However, to support the A31 variant, which has a different layout for the DDC registers, it was recommended to use regfields to have a cleaner implementation. To use regfields, we need to create an underlying regmap. This patch only adds the regmap. It does not convert the existing driver accesses to use regmap. Signed-off-by: Chen-Yu Tsai <redacted>
Acked-by: Maxime Ripard <maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com