On Thu, Dec 01, 2016 at 11:19:56AM +0200, Laurent Pinchart wrote: > Hi Maxime, > > On Thursday 01 Dec 2016 10:13:13 Maxime Ripard wrote: > > On Wed, Nov 30, 2016 at 12:12:55PM +0200, Laurent Pinchart wrote: > > >> More, it is not sure that the bridge/DW code would work with Allwinner's > > >> SoCs. > > > > > > If it doesn't work and can't be made to work in a non-invasive way they it > > > should certainly not be used :-) > > > > Even if the register layout is completely scrambled, as long as the > > bits themselves aren't (and by comparing the two drivers it looks like > > they haven't changed), you can easily deal with that using the > > regmap_fields, with the two implementations (the original one and the > > scrambled one) providing their register map that way, and the driver > > code using whatever has been provided. > > Looking at https://linux-sunxi.org/DWC_HDMI_Controller#DWC_HDMI_Controller it > seems that an address remapping function could be used. Even better. Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
Attachment:
signature.asc
Description: PGP signature