From patchwork Mon Aug 11 15:24:03 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 379059 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 1E88714012E for ; Tue, 12 Aug 2014 01:26:34 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id DEFBFA7451; Mon, 11 Aug 2014 17:26:15 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2LUOwbgS3PnV; Mon, 11 Aug 2014 17:26:15 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 28AEFA746B; Mon, 11 Aug 2014 17:25:27 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C03EFA745F for ; Mon, 11 Aug 2014 17:25:23 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oKWQWWNbIjNu for ; Mon, 11 Aug 2014 17:25:20 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-pa0-f73.google.com (mail-pa0-f73.google.com [209.85.220.73]) by theia.denx.de (Postfix) with ESMTPS id 6DBB1A742D for ; Mon, 11 Aug 2014 17:24:58 +0200 (CEST) Received: by mail-pa0-f73.google.com with SMTP id kx10so2165660pab.2 for ; Mon, 11 Aug 2014 08:24:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Akh4Au8uhNrypPTNSQ5f9dJ0CAsmqxEBadV+oNWZnQE=; b=P48e3wCCQ17hUHzlDHSz0tuno71vQPP2s7UN+8wwgjn1mnbTbdKv4FeZU1I/sUIykN GDMBBE7owvXbl8ai+W5MrlquUAhEYAlh7XVzhU6FNVlG/M4FTCYSF+bgIoawGDEZ2HnA ErcVbeTJxNU/MFVDwYX8MQxFdbFLA6kDbJL4pR4HUB3SCQ2q/IBau0BRMfxo1Jtekj8y HOLZmEbKLrDy1uPgSVyOw3XdheHw+BW2Skx6fbv7KT8OYYuDRuZITYC3rgmgA6BvHdBb b5ypecdSU39EmYO8ymL6udT+bGTkgZyORD2nkIt1yIRLfG0E9yZpr3xsRqyU+U3C1fql G38g== X-Gm-Message-State: ALoCoQkSEbXxKVYdYZBXcRXFEuhtrZageymcV//ctVL62TObaCZMRlyvee0fysQgutvyqYT6zE6Z X-Received: by 10.66.224.40 with SMTP id qz8mr20475204pac.20.1407770697201; Mon, 11 Aug 2014 08:24:57 -0700 (PDT) Received: from corp2gmr1-2.hot.corp.google.com (corp2gmr1-2.hot.corp.google.com [172.24.189.93]) by gmr-mx.google.com with ESMTPS id x19si68821yhg.0.2014.08.11.08.24.57 for (version=TLSv1.1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 11 Aug 2014 08:24:57 -0700 (PDT) Received: from kaki.bld.corp.google.com (kaki.bld.corp.google.com [172.29.216.32]) by corp2gmr1-2.hot.corp.google.com (Postfix) with ESMTP id 0C5745A446C; Mon, 11 Aug 2014 08:24:57 -0700 (PDT) Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id B97D0220EE3; Mon, 11 Aug 2014 09:24:56 -0600 (MDT) From: Simon Glass To: U-Boot Mailing List Date: Mon, 11 Aug 2014 09:24:03 -0600 Message-Id: <1407770643-12044-13-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.0.0.526.g5318336 In-Reply-To: <1407770643-12044-1-git-send-email-sjg@chromium.org> References: <1407770643-12044-1-git-send-email-sjg@chromium.org> Cc: u-boot-review@google.com, Tom Warren Subject: [U-Boot] [PATCH v6 12/12] dm: sandbox: dts: Add a GPIO bank X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Add a bank of GPIOs for sandbox which can be used for testing this functionality. Signed-off-by: Simon Glass --- Changes in v6: None Changes in v5: - Remove RFC label now that build errors are fixed - Tidy up and update cover letter message Changes in v4: - Add patches for exynos GPIO support Changes in v3: None Changes in v2: None arch/sandbox/dts/sandbox.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/sandbox/dts/sandbox.dts b/arch/sandbox/dts/sandbox.dts index 62d8037..efffacb 100644 --- a/arch/sandbox/dts/sandbox.dts +++ b/arch/sandbox/dts/sandbox.dts @@ -113,4 +113,12 @@ 0x070b0067 0x070c0069>; }; + gpio_a: gpios { + gpio-controller; + compatible = "sandbox,gpio"; + #gpio-cells = <1>; + gpio-bank-name = "a"; + num-gpios = <20>; + }; + };