{"id":817916,"url":"http://patchwork.ozlabs.org/api/covers/817916/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-gpio/cover/20170924145622.4031-1-linus.walleij@linaro.org/","project":{"id":42,"url":"http://patchwork.ozlabs.org/api/projects/42/?format=json","name":"Linux GPIO development","link_name":"linux-gpio","list_id":"linux-gpio.vger.kernel.org","list_email":"linux-gpio@vger.kernel.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170924145622.4031-1-linus.walleij@linaro.org>","list_archive_url":null,"date":"2017-09-24T14:56:14","name":"[0/8] GPIO extcon modernization","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-gpio/cover/20170924145622.4031-1-linus.walleij@linaro.org/mbox/","series":[{"id":4818,"url":"http://patchwork.ozlabs.org/api/series/4818/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-gpio/list/?series=4818","date":"2017-09-24T14:56:14","name":"GPIO extcon modernization","version":1,"mbox":"http://patchwork.ozlabs.org/series/4818/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/817916/comments/","headers":{"Return-Path":"<linux-gpio-owner@vger.kernel.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=linux-gpio-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=linaro.org header.i=@linaro.org\n\theader.b=\"kb/08E0a\"; dkim-atps=neutral"],"Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3y0Vgx6269z9sRW\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 25 Sep 2017 00:57:49 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1752392AbdIXO5h (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tSun, 24 Sep 2017 10:57:37 -0400","from mail-pg0-f49.google.com ([74.125.83.49]:51663 \"EHLO\n\tmail-pg0-f49.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1752243AbdIXO5g (ORCPT\n\t<rfc822; linux-gpio@vger.kernel.org>); Sun, 24 Sep 2017 10:57:36 -0400","by mail-pg0-f49.google.com with SMTP id k193so2723388pgc.8\n\tfor <linux-gpio@vger.kernel.org>;\n\tSun, 24 Sep 2017 07:57:35 -0700 (PDT)","from genomnajs.saswifi.com ([104.153.224.168])\n\tby smtp.gmail.com with ESMTPSA id\n\tn83sm7386805pfi.163.2017.09.24.07.57.05\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tSun, 24 Sep 2017 07:57:34 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google;\n\th=from:to:cc:subject:date:message-id;\n\tbh=RC0BxYBebtUIrbcu4N3jW8NTAovwNM2JQwzH+e/Fhnw=;\n\tb=kb/08E0aXMRQ8xb0aiuQRTchk0Qb4qNvVsXgQNBqVjYAhblBeob5CIUe43COlBo/7T\n\t3ZLqWAEhzbna8rEuH+SOudR8n0Z6CTbVyNS7jDOesxSJn53bDLGHFCPT9HeLcWYx6Rxb\n\tKJCF6SeqZMMd+2xKoEWbtxGhxljtEkkYqTDkA=","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;\n\tbh=RC0BxYBebtUIrbcu4N3jW8NTAovwNM2JQwzH+e/Fhnw=;\n\tb=U/6eRzXql3smHlOJs4CtOAPJbccXpzPytkmkZGnEoKBtbZDJ4uF9LwQsJpDgMZj1nU\n\tCBhsGcQSGnR+G+QXqzr3NW2Gt+NyWVfnDVyPtUYtzKtU5oE3yjHpbtrwa/ceD7eFpPFQ\n\teDo4NmUpcmGs3AywCblNaKy+fOiakqAl6AVz4MM2XWJRtUipmHNWs/aapuvM7T6axPHh\n\tNyCI8HdiKja9seumqJfXW95B+5Guc0EhTejibYEOB+3qUIGZrcojvDmznpFouIqrBSS7\n\tuJy0s0sGnF846Xk4PYjns480hpLnQo1mp8tqYNF9iLu4a1505Ea/9lytoEt7CTKl9dTV\n\tziSg==","X-Gm-Message-State":"AHPjjUinMIa8QTScWrvRxL8Krw9UJgbnYrGWQItlIqfRprkSPy7byJKk\n\tj9pGCFmLYe14t8YcKXQFcwowkw==","X-Google-Smtp-Source":"AOwi7QAYmI6wqwuaKa5MIx1OrDDgQXpfGKP7aFmCcMj+JxwmAW/tTeJWqqQAprOohZjsQS9w+rpcoQ==","X-Received":"by 10.99.3.208 with SMTP id 199mr4993958pgd.111.1506265055590;\n\tSun, 24 Sep 2017 07:57:35 -0700 (PDT)","From":"Linus Walleij <linus.walleij@linaro.org>","To":"MyungJoo Ham <myungjoo.ham@samsung.com>,\n\tChanwoo Choi <cw00.choi@samsung.com>","Cc":"linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org,\n\tJohn Stultz <john.stultz@linaro.org>,\n\tMike Lockwood <lockwood@google.com>, Guenter Roeck <linux@roeck-us.net>,\n\tLinus Walleij <linus.walleij@linaro.org>","Subject":"[PATCH 0/8] GPIO extcon modernization","Date":"Sun, 24 Sep 2017 16:56:14 +0200","Message-Id":"<20170924145622.4031-1-linus.walleij@linaro.org>","X-Mailer":"git-send-email 2.13.5","Sender":"linux-gpio-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<linux-gpio.vger.kernel.org>","X-Mailing-List":"linux-gpio@vger.kernel.org"},"content":"Like with the GPIO mouse input, I found that this driver has no in-tree\nusers at all.\n\nI *could* just propose to delete it. But the driver seems generally useful,\nso I made a patch series shaping it up to get configuration from device\ntree or ACPI DSDT using device properties instead.\n\nWe start off the series by defining a set of device tree bindings for it.\n\nIt would be great to have some input from the initial authors on this\nrewrite. I think we would not merge any board file using the platform\ndata anymore, so making it an all-in device property (device tree || ACPI)\ndriver seems reasonable.\n\nLinus Walleij (8):\n  extcon: gpio: Add DT bindings\n  extcon: gpio: Localize platform data\n  extcon: gpio: Move platform data into state container\n  extcon: gpio: Convert to fully use GPIO descriptor\n  extcon: gpio: Request reasonable interrupts\n  extcon: gpio: Get debounce setting from device property\n  extcon: gpio: Get connector type from device property\n  extcon: gpio: Always check state on resume\n\n .../devicetree/bindings/extcon/extcon-gpio.txt     |  24 ++++\n drivers/extcon/extcon-gpio.c                       | 132 ++++++++++++---------\n include/dt-bindings/extcon/connectors.h            |  38 ++++++\n include/linux/extcon/extcon-gpio.h                 |  47 --------\n 4 files changed, 135 insertions(+), 106 deletions(-)\n create mode 100644 Documentation/devicetree/bindings/extcon/extcon-gpio.txt\n create mode 100644 include/dt-bindings/extcon/connectors.h\n delete mode 100644 include/linux/extcon/extcon-gpio.h"}