Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1610297

[PATCH v6 1/5] irqchip/aspeed-i2c-ic: binding docs for Aspeed I2C Interrupt Controller

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Brendan Higgins <brendanhiggins@google.com>
Newsgroups linux.kernel
Subject [PATCH v6 1/5] irqchip/aspeed-i2c-ic: binding docs for Aspeed I2C Interrupt Controller
Date Tue, 28 Mar 2017 07:20:01 +0200
Message-ID <tpRHX-2LM-5@gated-at.bofh.it> (permalink)
References <tpRHX-2LM-3@gated-at.bofh.it>
X-Original-To wsa@the-dreams.de, robh+dt@kernel.org, mark.rutland@arm.com, tglx@linutronix.de, jason@lakedaemon.net, marc.zyngier@arm.com, joel@jms.id.au, vz@mleia.com, mouse@mayc.ru, clg@kaod.org
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=XOCpHlfjC0Otp4kutqaghMDBWvwYp4vkYf0NrWq1D7M=; b=rJRNrkXi3KrVO90fbgjjSVmnBOjOTo1RBizhL7i8D+jDRUgFMDnxY11BCPvimA9ST+ ipvKYeVV/dqAdlDFjqos/xgmNV3b5VZ7Me36TBzweAArVhBBMOUj2dB4z+1348FpJeZ5 zTQXamW7bWW+kd1AGCpmUxiirWWUBuItgjCrEsUOdXwhQorTokq2UeT2C4ZSVpMkfuk4 0DAvwkMT+J+imZK1vrrZ/xy0pHAwLB7VQv0aFWlR9C33h2S1jhkioz1Y7R3QlNvLstir pbit0t6KagzGFFqiBT9WiDyUMoGFRyg+vcPf8QBAnofNhYI6v3sGiv5S+FKpcU57g137 ckyQ==
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=XOCpHlfjC0Otp4kutqaghMDBWvwYp4vkYf0NrWq1D7M=; b=fIp7cCdeyQiHtE8L2mjzcKUygDZ2H7H+f1jLcRNqFVOpUAdNEGSudoT8v/RB7v68T+ K5BHPRTJJ+J+j2NdRWzZwxEyi6EH9BeZ1MEMlLJCOJzbRTfgZJC6zSV71mdM4A2XlsiJ VQ0+uonpg5tX92GosAv3Jsdt74Q2Dmdl2nKF7QzbcA8qL2BpdlffrWUP/PFx3IRGzzUd ILMKBvqN6M3iK6r0ZZMRpbqcNS9WrzT1U3vPikxXuZ3k4Fwg88Zy+335FuqHyiGq5EvZ WkNBR9g6FyDx/BnAYnaPDsiMeXUxj6owhXj9a6BJ8Ey/nsAgx+ImXLhTk9szcDuVE1vE b6Cg==
X-Gm-Message-State AFeK/H2J9sh/tMEjOsKXdUvgsuuWYRbo0YyzyOtPkb9TNC81FG39T6LFKPbI1hoELsCSYYan
X-Received by 10.98.209.25 with SMTP id z25mr29706429pfg.200.1490677973029; Mon, 27 Mar 2017 22:12:53 -0700 (PDT)
X-Mailer git-send-email 2.12.2.564.g063fe858b8-goog
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 46
Organization linux.* mail to news gateway
X-Original-Cc linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, benh@kernel.crashing.org, Brendan Higgins <brendanhiggins@google.com>
X-Original-Date Mon, 27 Mar 2017 22:12:22 -0700
X-Original-Message-ID <20170328051226.21677-2-brendanhiggins@google.com>
X-Original-References <20170328051226.21677-1-brendanhiggins@google.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1610297

Show key headers only | View raw


Added device tree binding documentation for Aspeed I2C Interrupt
Controller.

Signed-off-by: Brendan Higgins <brendanhiggins@google.com>
---
Added in v6:
  - Pulled "aspeed_i2c_controller" out into a interrupt controller since that is
    what it actually does.
---
 .../interrupt-controller/aspeed,ast2400-i2c-ic.txt | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2400-i2c-ic.txt

diff --git a/Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2400-i2c-ic.txt b/Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2400-i2c-ic.txt
new file mode 100644
index 000000000000..033cc82e5684
--- /dev/null
+++ b/Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2400-i2c-ic.txt
@@ -0,0 +1,25 @@
+Device tree configuration for the I2C Interrupt Controller on the AST24XX and
+AST25XX SoCs.
+
+Required Properties:
+- #address-cells	: should be 1
+- #size-cells 		: should be 1
+- #interrupt-cells 	: should be 1
+- compatible 		: should be "aspeed,ast2400-i2c-ic"
+			  or "aspeed,ast2500-i2c-ic"
+- reg			: address start and range of controller
+- interrupts		: interrupt number
+- interrupt-controller	: denotes that the controller receives and fires
+			  new interrupts for child busses
+
+Example:
+
+i2c_ic: interrupt-controller@0 {
+	#address-cells = <1>;
+	#size-cells = <1>;
+	#interrupt-cells = <1>;
+	compatible = "aspeed,ast2400-i2c-ic";
+	reg = <0x0 0x40>;
+	interrupts = <12>;
+	interrupt-controller;
+};
-- 
2.12.2.564.g063fe858b8-goog

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v6 1/5] irqchip/aspeed-i2c-ic: binding docs for Aspeed I2C Interrupt Controller Brendan Higgins <brendanhiggins@google.com> - 2017-03-28 07:20 +0200
  Re: [PATCH v6 1/5] irqchip/aspeed-i2c-ic: binding docs for Aspeed  I2C Interrupt Controller Benjamin Herrenschmidt <benh@kernel.crashing.org> - 2017-03-28 11:00 +0200
    Re: [PATCH v6 1/5] irqchip/aspeed-i2c-ic: binding docs for Aspeed I2C  Interrupt Controller Brendan Higgins <brendanhiggins@google.com> - 2017-03-29 12:40 +0200
      Re: [PATCH v6 1/5] irqchip/aspeed-i2c-ic: binding docs for Aspeed  I2C Interrupt Controller Benjamin Herrenschmidt <benh@kernel.crashing.org> - 2017-03-29 14:20 +0200
        Re: [PATCH v6 1/5] irqchip/aspeed-i2c-ic: binding docs for Aspeed I2C  Interrupt Controller Brendan Higgins <brendanhiggins@google.com> - 2017-03-29 23:00 +0200
          Re: [PATCH v6 1/5] irqchip/aspeed-i2c-ic: binding docs for Aspeed  I2C Interrupt Controller Benjamin Herrenschmidt <benh@kernel.crashing.org> - 2017-03-29 23:50 +0200
  Re: [PATCH v6 1/5] irqchip/aspeed-i2c-ic: binding docs for Aspeed  I2C Interrupt Controller Rob Herring <robh@kernel.org> - 2017-04-03 16:20 +0200

csiph-web