From patchwork Mon Apr 24 18:18:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brendan Higgins X-Patchwork-Id: 754381 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3wBZNl36sKz9s2P for ; Tue, 25 Apr 2017 04:19:03 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b="AOANccWl"; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S976373AbdDXSSy (ORCPT ); Mon, 24 Apr 2017 14:18:54 -0400 Received: from mail-pf0-f172.google.com ([209.85.192.172]:35725 "EHLO mail-pf0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S973204AbdDXSSj (ORCPT ); Mon, 24 Apr 2017 14:18:39 -0400 Received: by mail-pf0-f172.google.com with SMTP id v14so12411827pfd.2 for ; Mon, 24 Apr 2017 11:18:38 -0700 (PDT) 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=/d+n1gLkMUPKcYH1s8pf18pxcaRyGd8fnZGFlCK+K9c=; b=AOANccWlEz5AorpY5HYiH42fOiGB191Ddfr+paOwJ/5YsPwRRkEf/hekcEC5pn6r4h syVJdWqcKk8ut94Il/C4iiXRnprHVANBu/e1cnog9YGVXycPkvIQg6wVgG67RT8G07p+ IMfMQpLStV8ODI+BvPWjuZNkfe5THILG8KzqOYRqMSzL7whuaR7KwZK5DProvksEpFOl PI/3nRkAvNQsLeir3JS+xweeoYGJBzF7LvN6ZsUbLrZ0y+Mt71oN7r5vnCovSsc1SP2g D4qCI59iAuHsQ4gm9lOiCsLW2MhAcodp0T/Awf+ojYGwTp4kymatLQBF0S9fn3Uy4qS7 PIQg== 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=/d+n1gLkMUPKcYH1s8pf18pxcaRyGd8fnZGFlCK+K9c=; b=jgrrUL48ShxnXEvHxG21owye2MiJCJqBuz7MJ2RLkI/g5S6D8ofqtFG8JTepMwEXzA YRsDMDUasuHrQZ+DsnZL9EOhN+TtOPDD4wjb5Hft9fvFter3dhrktRdHYBOELfxArxgM HuegXq4WpTlC8ZAEH2k+tUHmGA6LneJfrDxfOAZNEPSnRk146hanIZtsBg8W3xctds7H cjQ8e9D/D9bXWuM48Fjg1watKO0Gic9kk121JOdmT/PX+GfJQwouQLlyzVbyJUf7tkLg pdcIcenZRfCvED420YVpZuq8jHLtnOadLiqCUQuiCdSddhsxJuCRTvDCXiRi0/uUa9ev DP2A== X-Gm-Message-State: AN3rC/5Hy7520qlv8FiZKoEprnSofh4I+LvloI6Yt/5sMAKwJh4OtEpm +MAuqmEDwA7PQJIi X-Received: by 10.98.202.80 with SMTP id n77mr26756060pfg.158.1493057917842; Mon, 24 Apr 2017 11:18:37 -0700 (PDT) Received: from mactruck.svl.corp.google.com ([100.123.242.94]) by smtp.gmail.com with ESMTPSA id 65sm32220630pgc.1.2017.04.24.11.18.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 24 Apr 2017 11:18:37 -0700 (PDT) From: Brendan Higgins 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, benh@kernel.crashing.org Cc: linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, Brendan Higgins Subject: [PATCH v7 1/5] irqchip/aspeed-i2c-ic: binding docs for Aspeed I2C Interrupt Controller Date: Mon, 24 Apr 2017 11:18:14 -0700 Message-Id: <20170424181818.2754-2-brendanhiggins@google.com> X-Mailer: git-send-email 2.12.2.816.g2cccc81164-goog In-Reply-To: <20170424181818.2754-1-brendanhiggins@google.com> References: <20170424181818.2754-1-brendanhiggins@google.com> Sender: linux-i2c-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org Added device tree binding documentation for Aspeed I2C Interrupt Controller. Signed-off-by: Brendan Higgins Acked-by: Rob Herring --- Added in v6: - Pulled "aspeed_i2c_controller" out into a interrupt controller since that is what it actually does. Changes for v7: - None --- .../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; +};