Re: [PATCH v3 1/4] w1: ds1wm: fix and simplify register access

2017-07-18 Thread Greg Kroah-Hartman
On Tue, Jul 18, 2017 at 01:26:50PM +0200, Johannes Poehlmann wrote: > o Replace incorrect register offsett calculation by > direct configuration of bus_shift in mfd-cell. > Indirect definition of address-shift by resource size > was unobvious and should have used a binary log. > o Make endian clean

[PATCH v3 1/4] w1: ds1wm: fix and simplify register access

2017-07-18 Thread Johannes Poehlmann
o Replace incorrect register offsett calculation by direct configuration of bus_shift in mfd-cell. Indirect definition of address-shift by resource size was unobvious and should have used a binary log. o Make endian clean, make HW-endianness configurable. o Use ioread*, iowrite* instead of __raw_re