{"id":814397,"url":"http://patchwork.ozlabs.org/api/1.2/patches/814397/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20170915204414.16459-1-joerg.krause@embedded.rocks/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.2/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170915204414.16459-1-joerg.krause@embedded.rocks>","list_archive_url":null,"date":"2017-09-15T20:44:14","name":"[U-Boot] gpio: Kconfig: DM_GPIO depends on OF_CONTROL","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"9f1b8edd59dba30564a648ed97d16bd8a881b923","submitter":{"id":65665,"url":"http://patchwork.ozlabs.org/api/1.2/people/65665/?format=json","name":"Jörg Krause","email":"joerg.krause@embedded.rocks"},"delegate":{"id":3651,"url":"http://patchwork.ozlabs.org/api/1.2/users/3651/?format=json","username":"trini","first_name":"Tom","last_name":"Rini","email":"trini@ti.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20170915204414.16459-1-joerg.krause@embedded.rocks/mbox/","series":[{"id":3382,"url":"http://patchwork.ozlabs.org/api/1.2/series/3382/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=3382","date":"2017-09-15T20:44:14","name":"[U-Boot] gpio: Kconfig: DM_GPIO depends on OF_CONTROL","version":1,"mbox":"http://patchwork.ozlabs.org/series/3382/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/814397/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/814397/checks/","tags":{},"related":[],"headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xv6p35SdPz9s83\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 16 Sep 2017 06:44:27 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 7877CC21F58; Fri, 15 Sep 2017 20:44:25 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 24674C21E24;\n\tFri, 15 Sep 2017 20:44:23 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 19036C21E24; Fri, 15 Sep 2017 20:44:22 +0000 (UTC)","from mout02.posteo.de (mout02.posteo.de [185.67.36.142])\n\tby lists.denx.de (Postfix) with ESMTPS id C4677C21C62\n\tfor <u-boot@lists.denx.de>; Fri, 15 Sep 2017 20:44:21 +0000 (UTC)","from customer (localhost [127.0.0.1])\n\tby submission (posteo.de) with ESMTPSA id 3xv6nw0sYTz10Hl\n\tfor <u-boot@lists.denx.de>; Fri, 15 Sep 2017 22:44:19 +0200 (CEST)","from mail.embedded.rocks ([127.0.0.1])\n\tby localhost (mail.embedded.rocks [127.0.0.1]) (amavisd-new,\n\tport 10025)\n\twith ESMTP id THD8Wblrz6Ot; Fri, 15 Sep 2017 22:44:19 +0200 (CEST)","from nzxt.fritz.box (port-92-195-72-91.dynamic.qsc.de\n\t[92.195.72.91]) (Authenticated sender: joerg.krause@embedded.rocks)\n\tby mail.embedded.rocks (Postfix) with ESMTPSA;\n\tFri, 15 Sep 2017 22:44:19 +0200 (CEST)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED\n\tautolearn=unavailable autolearn_force=no version=3.4.0","From":"=?utf-8?q?J=C3=B6rg_Krause?= <joerg.krause@embedded.rocks>","To":"u-boot@lists.denx.de","Date":"Fri, 15 Sep 2017 22:44:14 +0200","Message-Id":"<20170915204414.16459-1-joerg.krause@embedded.rocks>","X-Mailer":"git-send-email 2.14.1","MIME-Version":"1.0","Subject":"[U-Boot] [PATCH] gpio: Kconfig: DM_GPIO depends on OF_CONTROL","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"},"content":"Building U-Boot with DM_GPIO set, but with OF_CONTROL unset fails.\n\nFixes:\ndrivers/gpio/built-in.o: In function `gpio_request_tail':\ndrivers/gpio/gpio-uclass.c:666: undefined reference to `ofnode_get_name'\ndrivers/gpio/built-in.o: In function `_gpio_request_by_name_nodev':\ndrivers/gpio/gpio-uclass.c:693: undefined reference to `ofnode_parse_phandle_with_args'\n\nSigned-off-by: Jörg Krause <joerg.krause@embedded.rocks>\n---\n drivers/gpio/Kconfig | 1 +\n 1 file changed, 1 insertion(+)","diff":"diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig\nindex ffeda9425a..d79beeafb5 100644\n--- a/drivers/gpio/Kconfig\n+++ b/drivers/gpio/Kconfig\n@@ -7,6 +7,7 @@ menu \"GPIO Support\"\n config DM_GPIO\n \tbool \"Enable Driver Model for GPIO drivers\"\n \tdepends on DM\n+\tdepends on OF_CONTROL\n \thelp\n \t  Enable driver model for GPIO access. The standard GPIO\n \t  interface (gpio_get_value(), etc.) is then implemented by\n","prefixes":["U-Boot"]}