Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3vF3422957zDqBX for ; Fri, 3 Feb 2017 14:57:54 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=aj.id.au header.i=@aj.id.au header.b="WJ5WQ8ty"; dkim=pass (1024-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="Tof6GtR1"; dkim-atps=neutral Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 3DA22207D8; Thu, 2 Feb 2017 22:57:52 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Thu, 02 Feb 2017 22:57:52 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=aj.id.au; h=cc :date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=eNg 8bMmQsC4QQEr24SLHVL1SSRo=; b=WJ5WQ8tyx2rXTHH4Ztwc5Dij9/aTDVvobgU vKko2IXBOEeQwNEbRc0PwatzPsgN+7CPrCOm+rfHmEZx1hWj/81Q45Q65nt8/Uj7 g0kdwfsLFTpuZa2MXxYDNkJDDeuxdrCpowlfUvVZfNsbkMSPB1EKYZtQbsnyx62+ hhOUnu/0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=smtpout; bh=eNg8bMmQsC4QQEr24SLHVL1SSRo=; b=Tof6G tR1Nsk7guzbCp98dZ6sn3ilN3X+OjzGisWMzi94I/i2kq6nMazXJoo9Xt6o2PJlv ytpqCai9ATRjRHPQ/fi2qZut18b9qOpsTc4GgxlJNDvKjeLYFzc5XwAGwookrZHg AyzgWTnxhOxbuLQqz7xb3Sm9D1AZ7EXV31vyoY= X-ME-Sender: X-Sasl-enc: xBS81SNipJ6Rab50/4O2WLJrLYDIXr8+EUzjQoGOP7Ne 1486094271 Received: from keelia.au.ibm.com (unknown [203.0.153.9]) by mail.messagingengine.com (Postfix) with ESMTPA id 29EDB24066; Thu, 2 Feb 2017 22:57:49 -0500 (EST) From: Andrew Jeffery To: Joel Stanley Cc: Andrew Jeffery , openbmc@lists.ozlabs.org, Christopher Bostic Subject: [PATCH linux dev-4.7 01/14] gpio: aspeed: dt: Reset bindings to mainline Date: Fri, 3 Feb 2017 14:27:03 +1030 Message-Id: <20170203035716.646-2-andrew@aj.id.au> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170203035716.646-1-andrew@aj.id.au> References: <20170203035716.646-1-andrew@aj.id.au> X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Feb 2017 03:57:54 -0000 Signed-off-by: Andrew Jeffery --- .../devicetree/bindings/gpio/gpio-aspeed.txt | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/Documentation/devicetree/bindings/gpio/gpio-aspeed.txt b/Documentation/devicetree/bindings/gpio/gpio-aspeed.txt index 1954b288cd49..393bb2ed8a77 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-aspeed.txt +++ b/Documentation/devicetree/bindings/gpio/gpio-aspeed.txt @@ -2,28 +2,22 @@ Aspeed GPIO controller Device Tree Bindings ------------------------------------------- Required properties: +- compatible : Either "aspeed,ast2400-gpio" or "aspeed,ast2500-gpio" + - #gpio-cells : Should be two - First cell is the GPIO line number - Second cell is used to specify optional parameters (unused) -- compatible : Either "aspeed,ast2400-gpio" or "aspeed,ast2500-gpio" - - reg : Address and length of the register set for the device - gpio-controller : Marks the device node as a GPIO controller. - interrupts : Interrupt specifier (see interrupt bindings for details) +- interrupt-controller : Mark the GPIO controller as an interrupt-controller Optional properties: -- interrupt-controller : Marks the device node as an interrupt controller. -- interrupt-parent : The parent interrupt controller, optional if inherited -- #interrupt-cells : Should be 2. The first cell is the GPIO number. - The second cell bits[3:0] is used to specify trigger - type and level flags: - 1 = low-to-high edge triggered. - 2 = high-to-low edge triggered. - 4 = active high level-sensitive. - 8 = active low level-sensitive. + +- interrupt-parent : The parent interrupt controller, optional if inherited The gpio and interrupt properties are further described in their respective bindings documentation: @@ -34,9 +28,9 @@ bindings documentation: Example: gpio@1e780000 { #gpio-cells = <2>; - compatible = "aspeed,ast2400-gpio" + compatible = "aspeed,ast2400-gpio"; gpio-controller; - interrupt-parent = <&intc>; interrupts = <20>; reg = <0x1e780000 0x1000>; + interrupt-controller; }; -- 2.9.3