Re: [PATCH v2 06/16] drm/exynos: shift register values to fields on write

2020-11-10 Thread Michael Tretter
On Sat, 07 Nov 2020 23:39:30 +0100, Sam Ravnborg wrote: > On Fri, Sep 11, 2020 at 03:54:03PM +0200, Michael Tretter wrote: > > The phy timings are already shifted to the field position. If the driver > > is reused on multiple platforms, this exposes the field positions to the > > platform code. > >

Re: [PATCH v2 06/16] drm/exynos: shift register values to fields on write

2020-11-07 Thread Sam Ravnborg
Hi Michael. On Fri, Sep 11, 2020 at 03:54:03PM +0200, Michael Tretter wrote: > The phy timings are already shifted to the field position. If the driver > is reused on multiple platforms, this exposes the field positions to the > platform code. > > Store only the timing values in the platform data

[PATCH v2 06/16] drm/exynos: shift register values to fields on write

2020-09-11 Thread Michael Tretter
The phy timings are already shifted to the field position. If the driver is reused on multiple platforms, this exposes the field positions to the platform code. Store only the timing values in the platform data and shift the value to the field when writing the fields to the registers. Signed-off-