From: Maxime Ripard Subject: Re: [PATCH v4 00/11] drm/sun4i: hdmi: Support HDMI controller on A31 Date: Wed, 11 Oct 2017 10:00:56 +0200 Message-ID: <20171011080056.i2eodfsujdhcvxpi@flea.lan> References: <20171010032008.682-1-wens@csie.org> Reply-To: maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yjcoao36nugbyrtt" Return-path: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Content-Disposition: inline In-Reply-To: <20171010032008.682-1-wens-jdAy2FN1RRM@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Chen-Yu Tsai Cc: David Airlie , Rob Herring , Mark Rutland , dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Id: dri-devel@lists.freedesktop.org --yjcoao36nugbyrtt Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline On Tue, Oct 10, 2017 at 03:19:57AM +0000, Chen-Yu Tsai wrote: > Hi everyone, > > This is v4 of my A31 HDMI support series. The DTS patches depend on > the patch "clk: sunxi-ng: sun6i: Export video PLLs" alreay merged. > The DRM patches depend on "regmap: add iopoll-like polling macro for > regmap_field" already merged on a topic branch in the regmap repository. > > Changes since v3: > > - Renamed sun4i_get_first_tcon() to sun4i_get_tcon0() > > - Made sun4i_get_tcon0() return NULL when it fails, and > sun6i_tcon_set_mux() will error out if that happens. > > - Removed has_unknown_mux field in tcon_quirks structure, > as its function is replaced by the per-soc muxing function > pointer. > > - Dropped clk and regmap patches that were merged. > > Changes since v2: > > - TCON muxing moved into functions for each platform, with pointers > to them in the TCON quirks structure. > > - CCU "hdmi-ddc" clock renamed to "ddc". > > - Added Maxime's acks. > > Changes since v1: > > - Core changes to sun4i-drm to support two display pipelines > have been merged into drm-misc and thus dropped from this > version > > - Reworked DDC variant support onto new exposed I2C interface bits. > > - Reworked DDC variant support to use regmap_fields. > > - Patches to add variant support to various (TMDS, DDC, HDMI > controller) sub-blocks have been merged into one patch. > > This series adds support for the HDMI controller found on Allwinner > A31/A31s SoCs. It builds upon Maxime's work that added support for > the HDMI controller on the Allwinner A10s SoC. > > The HDMI controllers in the older generation Allwinner SoCs is very > similar. The A10/A10s/A20 all have the same hardware block, with the > A10 having slightly different initial configuration values. The A31's > variant splits out the DDC parent clock, has different formulas for > the DDC and TMDS clocks, and a different register layout for the DDC > block. Applied everything, thanks! > Also, it does not expose the CEC pins outside of the SoC, which is > unfortunate. Maybe we shouldn't register the CEC adapter in that case then? Can you send an additional patch for that? Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com --yjcoao36nugbyrtt--