{"id":814624,"url":"http://patchwork.ozlabs.org/api/covers/814624/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-imx/cover/20170917093906.16325-1-linus.walleij@linaro.org/","project":{"id":19,"url":"http://patchwork.ozlabs.org/api/projects/19/?format=json","name":"Linux IMX development","link_name":"linux-imx","list_id":"linux-imx-kernel.lists.patchwork.ozlabs.org","list_email":"linux-imx-kernel@lists.patchwork.ozlabs.org","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170917093906.16325-1-linus.walleij@linaro.org>","list_archive_url":null,"date":"2017-09-17T09:38:59","name":"[0/7] I2C GPIO to use gpiolibs open drain","submitter":{"id":7055,"url":"http://patchwork.ozlabs.org/api/people/7055/?format=json","name":"Linus Walleij","email":"linus.walleij@linaro.org"},"mbox":"http://patchwork.ozlabs.org/project/linux-imx/cover/20170917093906.16325-1-linus.walleij@linaro.org/mbox/","series":[{"id":3499,"url":"http://patchwork.ozlabs.org/api/series/3499/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-imx/list/?series=3499","date":"2017-09-17T09:38:59","name":"I2C GPIO to use gpiolibs open drain","version":1,"mbox":"http://patchwork.ozlabs.org/series/3499/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/814624/comments/","headers":{"Return-Path":"<linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming-imx@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-imx@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.infradead.org\n\t(client-ip=65.50.211.133; helo=bombadil.infradead.org;\n\tenvelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"fHZaVk37\"; \n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=linaro.org header.i=@linaro.org\n\theader.b=\"PGoh4cd6\"; dkim-atps=neutral"],"Received":["from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xw3yC61cNz9s72\n\tfor <incoming-imx@patchwork.ozlabs.org>;\n\tSun, 17 Sep 2017 19:39:47 +1000 (AEST)","from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dtW3D-00069p-RD; Sun, 17 Sep 2017 09:39:43 +0000","from mail-lf0-x22b.google.com ([2a00:1450:4010:c07::22b])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dtW38-00062P-C1 for linux-arm-kernel@lists.infradead.org;\n\tSun, 17 Sep 2017 09:39:41 +0000","by mail-lf0-x22b.google.com with SMTP id k9so5568605lfe.10\n\tfor <linux-arm-kernel@lists.infradead.org>;\n\tSun, 17 Sep 2017 02:39:17 -0700 (PDT)","from fabina.bredbandsbolaget.se\n\t(c-2209e055.014-348-6c756e10.cust.bredbandsbolaget.se. [85.224.9.34])\n\tby smtp.gmail.com with ESMTPSA id\n\tt84sm974559lfi.21.2017.09.17.02.39.13\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tSun, 17 Sep 2017 02:39:14 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To\n\t:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:\n\tResent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:\n\tList-Owner; bh=NAedHjd84aZKbWZjoA5Hl/q2lvQjl6e1LTutXpaGF8w=;\n\tb=fHZaVk37qqBSGF\n\tjKZi4lMJWNk5kHdYNVnsZ9g3b80wUqReLUl7ctLtirZ5Ey2xufKUXdRsVUACIcz+05Puz7fgzCto+\n\tW92z+1PfLu1DjyeHPuUv9tu8RL6P5LegFYtBfo2BvLzk7Sqj4RMgIppMEQ/Grj2Ctn33Z/WWcuri+\n\twjXArglPdL2t4uVkuPeNH0kANq5tRCffGlgvwz1wdDqJHz5hGaFoheenNKQNw10SEL59uW8G0llty\n\tL730UUXAPGAOdLWYSj9ZsHhoZT9YmHRwX4Maso/zaPWTdEUWR+uCdSTesj2+oXzmQFul1tPm+Garp\n\tK6F4Q83D5MfvoB1L3N+w==;","v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google;\n\th=from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=jnkFVZuCs8tCS72rnGKumg5zfRI8BEYKUCFYpr678Do=;\n\tb=PGoh4cd6Ps6Av8pYMJ4uQr4IHxAEZP5frtqQVt3+aUqL3QB/jliD0DPS1xp5R011r/\n\t4Gf3vvE9VtvRNVMj1A5xH8/BvMhoJNV+Neh7YeUbDJJ3jN2ZLVOcyTRzp3f7Dh9X83BM\n\tq+64DxGd+YVIuW4EdE/87PEJWmQbReqP0x8m4="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=jnkFVZuCs8tCS72rnGKumg5zfRI8BEYKUCFYpr678Do=;\n\tb=qseqVJDstlTuJiDOO3WyDZMkUyl9m23NkeEmZHbn7GLE93vNaOt1u8Vvzh2PX5CvJG\n\t409eFTaoKalv6FvSf212C0NlTkBW9sEkQ3pP/O8LQzmAO9VeUgrDRZ2diUWw14VUfNQi\n\tPKCqC6Ra78IYLvDTKDy2ebcfGa/xSbfIZp7lM65IZKx6FhUZ3EwmWJkWRdU4Em0NSsWU\n\tHA2g2iHBR46NTyTQo2D3V6KDF1SnieSu8lqGhlXtTJtaPRa5KAUfUnAnUEz7JJcQfFK8\n\t3q5MGyE6HFk/gAKfuBJS8r0rVF3g7x88MUqmjEglxsf3BLyea0K0X2w7rbNuneumGldQ\n\tNGBw==","X-Gm-Message-State":"AHPjjUgCIgg6HTlPqsQAeY/AQcQCOKM68cDzhwtqSWM4QBummYxixeGb\n\tMQBOygpqpg/LPixxM7wOUA==","X-Google-Smtp-Source":"AOwi7QCxFP77zq2rHe7EymrvY8tdC5bVPT/OV8/B1/GnedKUbtAIfN2HoqhBm/E1IgP44ExqeG/k3w==","X-Received":"by 10.25.205.149 with SMTP id d143mr2012195lfg.147.1505641155348;\n\tSun, 17 Sep 2017 02:39:15 -0700 (PDT)","From":"Linus Walleij <linus.walleij@linaro.org>","To":"Wolfram Sang <wsa@the-dreams.de>,\n\tlinux-i2c@vger.kernel.org","Subject":"[PATCH 0/7] I2C GPIO to use gpiolibs open drain","Date":"Sun, 17 Sep 2017 11:38:59 +0200","Message-Id":"<20170917093906.16325-1-linus.walleij@linaro.org>","X-Mailer":"git-send-email 2.13.5","MIME-Version":"1.0","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20170917_023938_783021_3BD3C949 ","X-CRM114-Status":"GOOD (  11.07  )","X-Spam-Score":"-0.2 (/)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-0.2 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/,\n\tlow\n\ttrust [2a00:1450:4010:c07:0:0:0:22b listed in] [list.dnswl.org]\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t2.5 SUSPICIOUS_RECIPS      Similar addresses in recipient list\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature\n\t0.1 DKIM_SIGNED            Message has a DKIM or DK signature,\n\tnot necessarily valid\n\t-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from\n\tauthor's domain","X-BeenThere":"linux-arm-kernel@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-arm-kernel/>","List-Post":"<mailto:linux-arm-kernel@lists.infradead.org>","List-Help":"<mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>","Cc":"linux-mips@linux-mips.org, Linus Walleij <linus.walleij@linaro.org>,\n\tGeert Uytterhoeven <geert@linux-m68k.org>,\n\tadi-buildroot-devel@lists.sourceforge.net,\n\tlinux-arm-kernel@lists.infradead.org","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"\"linux-arm-kernel\" <linux-arm-kernel-bounces@lists.infradead.org>","Errors-To":"linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org","List-Id":"linux-imx-kernel.lists.patchwork.ozlabs.org"},"content":"This augments the I2C GPIO driver to use open drain emulation\nor hardware support for open drain from the GPIO driver.\n\nThis version layers Geert Uytterhoeven's idea to use explicit\nsda-gpios and scl-gpios for the GPIO lines, and strongly\nencourage the (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN) flags to be\nused in all device trees.\n\nWe have collected ACKs from the ARM SoC maintainers and the\nMFD maintainer and are looking for testers to try this out.\n\nGeert Uytterhoeven (1):\n  dt-bindings: i2c: i2c-gpio: Add support for named gpios\n\nLinus Walleij (6):\n  i2c: gpio: Convert to use descriptors\n  gpio: Make it possible for consumers to enforce open drain\n  i2c: gpio: Enforce open drain through gpiolib\n  i2c: gpio: Augment all boardfiles to use open drain\n  i2c: gpio: Local vars in probe\n  i2c: gpio: Add support for named gpios in DT\n\n Documentation/devicetree/bindings/i2c/i2c-gpio.txt |  32 +++-\n arch/arm/mach-ep93xx/core.c                        |  41 ++--\n arch/arm/mach-ep93xx/edb93xx.c                     |  15 +-\n arch/arm/mach-ep93xx/include/mach/platform.h       |   4 +-\n arch/arm/mach-ep93xx/simone.c                      |  12 +-\n arch/arm/mach-ep93xx/snappercl15.c                 |  12 +-\n arch/arm/mach-ep93xx/vision_ep9307.c               |   7 +-\n arch/arm/mach-ixp4xx/avila-setup.c                 |  17 +-\n arch/arm/mach-ixp4xx/dsmg600-setup.c               |  16 +-\n arch/arm/mach-ixp4xx/fsg-setup.c                   |  16 +-\n arch/arm/mach-ixp4xx/goramo_mlr.c                  |  24 +--\n arch/arm/mach-ixp4xx/ixdp425-setup.c               |  16 +-\n arch/arm/mach-ixp4xx/nas100d-setup.c               |  16 +-\n arch/arm/mach-ixp4xx/nslu2-setup.c                 |  16 +-\n arch/arm/mach-ks8695/board-acs5k.c                 |  15 +-\n arch/arm/mach-pxa/palmz72.c                        |  14 +-\n arch/arm/mach-pxa/viper.c                          |  27 ++-\n arch/arm/mach-sa1100/simpad.c                      |  14 +-\n arch/blackfin/mach-bf533/boards/blackstamp.c       |  19 +-\n arch/blackfin/mach-bf533/boards/ezkit.c            |  18 +-\n arch/blackfin/mach-bf533/boards/stamp.c            |  18 +-\n arch/blackfin/mach-bf561/boards/ezkit.c            |  18 +-\n arch/mips/alchemy/board-gpr.c                      |  23 ++-\n arch/mips/ath79/mach-pb44.c                        |  16 +-\n drivers/gpio/gpiolib.c                             |  13 ++\n drivers/i2c/busses/i2c-gpio.c                      | 213 ++++++++++-----------\n drivers/mfd/sm501.c                                |  49 ++---\n include/linux/gpio/consumer.h                      |   6 +\n include/linux/i2c-gpio.h                           |   4 -\n 29 files changed, 423 insertions(+), 288 deletions(-)"}