From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932831AbdA0Oyo (ORCPT ); Fri, 27 Jan 2017 09:54:44 -0500 Received: from mail.kernel.org ([198.145.29.136]:45648 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932240AbdA0Oyb (ORCPT ); Fri, 27 Jan 2017 09:54:31 -0500 From: Sebastian Reichel To: Sebastian Reichel , Linus Walleij , Alexandre Courbot Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] mcp23s08 pinconf support Date: Fri, 27 Jan 2017 15:47:36 +0100 Message-Id: <20170127144738.21107-1-sre@kernel.org> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Here are two patches for the mcp23s08 driver adding proper support for the pull-up resistors. The regmap conversion was mainly done to improve the debugging capabilities, but is also a nice cleanup. Further cleanups could be done by using regmap's caching instead of the open-coded one. The patches were tested with a couple of mcp23017 connected to the I²C bus of an RPi (and modified DT). -- Sebastian Sebastian Reichel (2): gpio: mcp23s08: use regmap gpio: mcp23s08: add pinconf support drivers/gpio/gpio-mcp23s08.c | 430 ++++++++++++++++++++++++++----------------- 1 file changed, 261 insertions(+), 169 deletions(-) -- 2.11.0