From patchwork Tue Apr 19 12:49:56 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 66095 Delivered-To: patch@linaro.org Received: by 10.140.93.198 with SMTP id d64csp1830197qge; Tue, 19 Apr 2016 05:50:06 -0700 (PDT) X-Received: by 10.66.66.77 with SMTP id d13mr3822551pat.75.1461070206099; Tue, 19 Apr 2016 05:50:06 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id wl8si14404523pab.33.2016.04.19.05.50.05; Tue, 19 Apr 2016 05:50:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753798AbcDSMuF (ORCPT + 4 others); Tue, 19 Apr 2016 08:50:05 -0400 Received: from mail-lf0-f43.google.com ([209.85.215.43]:36051 "EHLO mail-lf0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753420AbcDSMuE (ORCPT ); Tue, 19 Apr 2016 08:50:04 -0400 Received: by mail-lf0-f43.google.com with SMTP id g184so17413782lfb.3 for ; Tue, 19 Apr 2016 05:50:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=dTCAyyuBFdp6giyx7l9c+t0F7N472IxbII+z1eTjWBs=; b=GKa0XR4R9z2prgdFcn8bttOlgmT1YVcR/9L3Zw2jVQEVTDLeQFdW5wmlWz3naTAdBt PWjvNF1EBJgvFr9kVSRyLGN3x+RvsxZzy/mO7V3zR+Dx7B2keckhKuv2UEdPaeuaWKwZ 99LIPs6XpsRket7aF++Rbv8czA1Vc3ENl+lo0= 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; bh=dTCAyyuBFdp6giyx7l9c+t0F7N472IxbII+z1eTjWBs=; b=gushesyHvcDdro17faYZaRuO0Df7DPr4pn/Sn3j1HkX+hZKXChHjvu6SrCXaeeHdlW VQPhbLMFIOFBH7A1HHqwQRp2dM4W/wrhevP28Hn3hXw0RhhQSGjTJ38h9RTYJKmXavja Xp56PUROfICz6nLV/XnMrHL5TP/O4KO5GCw7eoSZ2SoW1+7nknvxZRko0fOMS/q7Z1Pj Q4bf7CZfIxbhxoIsE5hGfgXxjl+E3hDFKT0xf4+mrDzrsySYe2qpnvsSYajDRp044cKh qG3ON8hZDFoWy71gnLsFMO7yTyhA8Ka5+R0TaybpVmxmsSYs1RR20kDeCp2LJuxI/8kp Esvg== X-Gm-Message-State: AOPr4FUWjjFetzfjjxpflJ6B+iHFzSBFBFs3Etj3TnFKICU9u1cs4p5mKU8giB4oAM0/IR4W X-Received: by 10.112.164.39 with SMTP id yn7mr1086262lbb.103.1461070202779; Tue, 19 Apr 2016 05:50:02 -0700 (PDT) Received: from localhost.localdomain ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id t9sm23581lfd.28.2016.04.19.05.50.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Apr 2016 05:50:01 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org, Alexandre Courbot Cc: Linus Walleij , Rob Herring Subject: [PATCH] gpio: revert bank bindings Date: Tue, 19 Apr 2016 14:49:56 +0200 Message-Id: <1461070196-15382-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.4.11 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Keep the words talking about what a GPIO bank is, but remove the binding. We have not agreed that this is something we want to have. Cc: Rob Herring Signed-off-by: Linus Walleij --- Documentation/devicetree/bindings/gpio/gpio.txt | 7 ------- 1 file changed, 7 deletions(-) -- 2.4.11 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/gpio/gpio.txt b/Documentation/devicetree/bindings/gpio/gpio.txt index f509ecf03ece..c88d2ccb05ca 100644 --- a/Documentation/devicetree/bindings/gpio/gpio.txt +++ b/Documentation/devicetree/bindings/gpio/gpio.txt @@ -138,12 +138,6 @@ exposed in the device tree as an individual gpio-controller node, reflecting the fact that the hardware was synthesized by reusing the same IP block a few times over. -A GPIO controller may specify a bank ID. This is a hardware index that -indicate the logical order of the GPIO controller in the hardware architecture, -usually in the sequence 0, 1, 2 .. n. The hardware index may be different -from the order of register ranges and related to the backplane of how this -one bank is connected to the outside through a pin controller for example. - Optionally, a GPIO controller may have a "ngpios" property. This property indicates the number of in-use slots of available slots for GPIOs. The typical example is something like this: the hardware register is 32 bits @@ -165,7 +159,6 @@ gpio-controller@00000000 { reg = <0x00000000 0x1000>; gpio-controller; #gpio-cells = <2>; - gpio-bank = <0>; ngpios = <18>; }