From patchwork Sun Jul 9 22:30:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Beniamino Galvani X-Patchwork-Id: 9832113 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3512E60317 for ; Sun, 9 Jul 2017 22:30:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 32ECD280DE for ; Sun, 9 Jul 2017 22:30:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 27492283C5; Sun, 9 Jul 2017 22:30:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D7862280DE for ; Sun, 9 Jul 2017 22:30:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=dyzl6BzPdpfZGzxr5FQZtAN44zRbeK566ljj61ILU9s=; b=Kogr4fDw1STl3/RIv+C4jQUlMl InpqosV0nlvrx7p0awiRbyvDxFV+NrRmSUrX4iavRBAMaPmpFahIGbHuuT1qkw4fse9v8T6pZPNii ++24d/r92uu/mBjWpIqQihvSLFTiQNJCbK9+AgO9JnmmDfEy1RvZoLTWE/euBg/1bC79S/C2CodGJ XJkB4rZhGrJd3G6GDs/ELkkgljLHC4Wh1OMVKifD1zZCNc4zy1MM3/nbjpy9qnKjsJ/NEHfBllzFB BvqzRLlumeigE+Jgk5g5W7+NB1wREHIH4okV7XlYfb+6z1Zqji1SK1ogpeKxY8eXDbYFkzdxUsUTP Cs71IeTg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dUKjC-0006dL-Fx; Sun, 09 Jul 2017 22:30:58 +0000 Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dUKj7-0006Ys-OA for linux-amlogic@lists.infradead.org; Sun, 09 Jul 2017 22:30:56 +0000 Received: by mail-wr0-x242.google.com with SMTP id k67so21023139wrc.1 for ; Sun, 09 Jul 2017 15:30:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=BRl/OpS+anOu1RSTQ31z7oDJE1ojX2ZL6T95Vdvom84=; b=m948XhYoLaPPkXOSvKcXtwsTrgmx0fUPijC2yBg0u2AzfcVs3r228r5/NawUqbodqn 4mW+A/P6GvtZNzWHVyNkUJ6TbI4bowxgfRw9+b3RgeInTmNvKGy6879aO89cZLQs2LAp XWbkSQZ9RbyGG2na+H1D1yTDXNMgW0ZF6dAr22Y8hD8EiP8iEzLLHaZEl9HUZZD7Tm28 nnDtPe9cvgqtxeW8Gu31ezGjWkcvnzllsHpbRrV8BvB124DeN/dILYFNf5x++o6C6A2D 2dvZlaUX2FaOVLxd0cAbiNBXymff1lyo8rrMwkg9Fa/UPYquwsAmwcSjLa71yatSK0bJ bGrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=BRl/OpS+anOu1RSTQ31z7oDJE1ojX2ZL6T95Vdvom84=; b=qVyhmGsQ8aFVzukR3DE6Got2+LJq+K7/odBX9Bu+azEB4LtnQdaXpGmBzC6Glrr0SQ oTHKnhVqgkcYqxtZ0I9pipflgNuanoQ/j5UVlP389bbRvRiPPAp+YYyM3dd6gVwZk5S/ poGR0J00Qomqoi4xlvsIgNJKuCsoVldbYp6QKOkcDZfZdOgm19aakkM48ItpzSQbfBrU /IVpan6DlbRRb/lH7LNkLZ0+V/rL+48n+OugLs4S1VabircbsMcX4A7SUcfL2kUKrSMR As43SurWuYH4jUOZVk/LAWtsgV6OeosQCfnLuS4iWZcnlBhhjaqbZX4mXfgDNzX007lA HlsQ== X-Gm-Message-State: AIVw113mAiLxKOyoUVTZe1d3fj+PahJvomLUdUoyQjinBNsPWnEyOZ4+ xM266WRJHtPscw== X-Received: by 10.223.179.193 with SMTP id x1mr6036964wrd.86.1499639432770; Sun, 09 Jul 2017 15:30:32 -0700 (PDT) Received: from sark.homenet.telecomitalia.it (host230-116-dynamic.211-62-r.retail.telecomitalia.it. [62.211.116.230]) by smtp.gmail.com with ESMTPSA id u80sm10697089wrb.1.2017.07.09.15.30.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Jul 2017 15:30:32 -0700 (PDT) From: Beniamino Galvani To: u-boot@lists.denx.de Subject: [PATCH v2 3/4] odroid-c2: enable GPIO Date: Mon, 10 Jul 2017 00:30:05 +0200 Message-Id: <20170709223006.3998-4-b.galvani@gmail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170709223006.3998-1-b.galvani@gmail.com> References: <20170709223006.3998-1-b.galvani@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170709_153053_943588_FCE4EBE0 X-CRM114-Status: UNSURE ( 7.42 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Beniamino Galvani , Tom Rini , Simon Glass , linux-amlogic@lists.infradead.org, Albert Aribaud MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP GPIOs are now supported on Meson GXBB, enable driver and command in the config. Signed-off-by: Beniamino Galvani Reviewed-by: Simon Glass --- configs/odroid-c2_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/odroid-c2_defconfig b/configs/odroid-c2_defconfig index 3531414..3ad2219 100644 --- a/configs/odroid-c2_defconfig +++ b/configs/odroid-c2_defconfig @@ -13,9 +13,11 @@ CONFIG_DEBUG_UART=y # CONFIG_CMD_LOADS is not set CONFIG_CMD_MMC=y # CONFIG_CMD_FPGA is not set +CONFIG_CMD_GPIO=y # CONFIG_CMD_SETEXPR is not set CONFIG_OF_CONTROL=y CONFIG_NET_RANDOM_ETHADDR=y +CONFIG_DM_GPIO=y CONFIG_DM_MMC=y CONFIG_MMC_MESON_GX=y CONFIG_DM_ETH=y