Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1695622

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

From Johannes Poehlmann <johannes.poehlmann@izt-labs.de>
Newsgroups linux.kernel
Subject [PATCH v4 0/5] w1: ds1wm: register access patch
Date 2017-07-25 13:30 +0200
Message-ID <u76ch-295-3@gated-at.bofh.it> (permalink)
References <u4BvY-3ta-31@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/4] w1: ds1wm: register access patch Johannes Poehlmann <johannes.poehlmann@izt-labs.de> - 2017-07-18 13:30 +0200
  [PATCH v3 1/4] w1: ds1wm: fix and simplify register access Johannes Poehlmann <johannes.poehlmann@izt-labs.de> - 2017-07-18 13:30 +0200
    Re: [PATCH v3 1/4] w1: ds1wm: fix and simplify register access Greg Kroah-Hartman <greg@kroah.com> - 2017-07-18 16:20 +0200
      [PATCH v4 0/5] w1: ds1wm: register access patch Johannes Poehlmann <johannes.poehlmann@izt-labs.de> - 2017-07-25 13:30 +0200
        [PATCH v4 1/5] w1: ds1wm: fix register offset (bus shift) calculation Johannes Poehlmann <johannes.poehlmann@izt-labs.de> - 2017-07-25 13:30 +0200
        [PATCH v4 5/5] w1: ds1wm: add messages to make incorporation in mfd-drivers easier Johannes Poehlmann <johannes.poehlmann@izt-labs.de> - 2017-07-25 13:30 +0200
        [PATCH v4 4/5] w1: ds1wm: silence interrupts on HW before claiming the interrupt Johannes Poehlmann <johannes.poehlmann@izt-labs.de> - 2017-07-25 13:30 +0200
        [PATCH v4 2/5] w1: ds1wm: make endian clean and use standard io memory accessors Johannes Poehlmann <johannes.poehlmann@izt-labs.de> - 2017-07-25 13:30 +0200
        [PATCH v4 3/5] w1: ds1wm: add level interrupt modes Johannes Poehlmann <johannes.poehlmann@izt-labs.de> - 2017-07-25 13:30 +0200

csiph-web