Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751557AbdGYL1m (ORCPT ); Tue, 25 Jul 2017 07:27:42 -0400 Received: from mail.izt-labs.de ([82.135.25.162]:51321 "EHLO mail.izt-labs.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750864AbdGYL1l (ORCPT ); Tue, 25 Jul 2017 07:27:41 -0400 From: Johannes Poehlmann To: linux-kernel@vger.kernel.org Cc: Johannes Poehlmann , Evgeniy Polyakov , Greg Kroah-Hartman Subject: [PATCH v4 0/5] w1: ds1wm: register access patch Date: Tue, 25 Jul 2017 13:27:10 +0200 Message-Id: <1500982035-28838-1-git-send-email-johannes.poehlmann@izt-labs.de> X-Mailer: git-send-email 2.1.4 In-Reply-To: <20170718141502.GA18857@kroah.com> References: <20170718141502.GA18857@kroah.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1234 Lines: 39 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