From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 25 Jul 2016 09:38:33 -0400 Subject: [U-Boot] [PATCH 1/4] gpio: Add driver for TI PCF8575 I2C GPIO expander In-Reply-To: <20160725131023.30656-2-vigneshr@ti.com> References: <20160725131023.30656-1-vigneshr@ti.com> <20160725131023.30656-2-vigneshr@ti.com> Message-ID: <20160725133833.GH14698@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Jul 25, 2016 at 06:40:20PM +0530, Vignesh R wrote: > TI's PCF8575 is a 16-bit I2C GPIO expander.The device features a > 16-bit quasi-bidirectional I/O ports. Each quasi-bidirectional I/O can > be used as an input or output without the use of a data-direction > control signal. The I/Os should be high before being used as inputs. > Read the device documentation for more details[1]. > > This driver is based on pcf857x driver available in Linux v4.7 kernel. > It supports basic reading and writing of gpio pins. > > [1] http://www.ti.com/lit/ds/symlink/pcf8575.pdf > > Signed-off-by: Vignesh R [snip] > @@ -0,0 +1,199 @@ > +/* > + * PCF8575 I2C GPIO EXPANDER DRIVER > + * > + * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/ > + * > + * Vignesh R > + * > + * This program is free software; you can redistribute it and/or > + * modify it under the terms of the GNU General Public License as > + * published by the Free Software Foundation version 2. > + * > + * This program is distributed "as is" WITHOUT ANY WARRANTY of any > + * kind, whether express or implied; without even the implied warranty > + * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > + * GNU General Public License for more details. > + * > + * SPDX-License-Identifier: GPL-2.0 With the SPDX tag we don't need the rest of the GPL boilerplate. > + * > + * > + * Driver for TI PCF-8575 16 bit I2C gpio expander. Based on > + * gpio-pcf857x Linux Kernel(v4.7) driver. > + * > + * Copyright (C) 2007 David Brownell But of course do keep the above. Otherwise: Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: