[PATCH v4 0/5] w1: ds1wm: register access patch

From: Johannes Poehlmann
Date: Tue Jul 25 2017 - 07:27:46 EST



To make the ds1wm driver work on a powerpc architecture (big endian, 32bit)
with a register offset multiplier of 4 I had to make some changes to

drivers/w1/masters/ds1wm.c
and include/linux/mfd/ds1wm.h.

Version 2 of the patchset

o fixes kbuild reported build problems on x86_64
o removes unobvious shift constants
o moves shift value checking into the probe function
o rename variable (fix 'CamelCase' style)

Version 3 of the patchset
o rebased on v4.13-rc1 and resent to lkml

Version 4 of the patchset
work on Greg Kroah-Hartmanns comments:
o added changelog to every patch
o separate one big patch into two
o use bool
o use blockcomments
o dev_dbg instead of dev_info
o rebased to v4.13-rc2

Johannes Poehlmann (5):
w1: ds1wm: fix register offset (bus shift) calculation
w1: ds1wm: make endian clean and use standard io memory accessors
w1: ds1wm: add level interrupt modes
w1: ds1wm: silence interrupts on HW before claiming the interrupt
w1: ds1wm: add messages to make incorporation in mfd-drivers easier

drivers/w1/masters/ds1wm.c | 108 ++++++++++++++++++++++++++++++++++++++++++---
include/linux/mfd/ds1wm.h | 29 +++++++++---
2 files changed, 123 insertions(+), 14 deletions(-)

--
2.1.4