lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 27 Jan 2017 15:47:36 +0100
From:   Sebastian Reichel <sre@...nel.org>
To:     Sebastian Reichel <sre@...nel.org>,
        Linus Walleij <linus.walleij@...aro.org>,
        Alexandre Courbot <gnurou@...il.com>
Cc:     linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH 0/2] mcp23s08 pinconf support

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ