From patchwork Tue Mar 28 05:12:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brendan Higgins X-Patchwork-Id: 744068 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 3vsfDZ15HMz9s7F for ; Tue, 28 Mar 2017 16:13:18 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b="rJRNrkXi"; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753886AbdC1FNF (ORCPT ); Tue, 28 Mar 2017 01:13:05 -0400 Received: from mail-pg0-f43.google.com ([74.125.83.43]:35799 "EHLO mail-pg0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753882AbdC1FNE (ORCPT ); Tue, 28 Mar 2017 01:13:04 -0400 Received: by mail-pg0-f43.google.com with SMTP id 81so46899430pgh.2 for ; Mon, 27 Mar 2017 22:13:03 -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=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=olmCVs5WDNOSgHt4EFaIHmWpeTHCxWxzNNN57dtEhMcGy8o7qu1yGEXYqKV2UhxGsg UBcAiPpxRQRbO0VxA1pXnYqFgwCUZQuFrMcWxXP/E/7SLqEyPyoslc9QzeArQWZ0Vcw2 G+MDwnsytXJ+jMR6Z871+ZUWE86fhox/sX0y+XQz4OxfZuzezmaY1V9YM88qXqEpv1Ls +ykDvf/yQIMrjWwfUOy7evNeZGNgW24ifr2svsRW166BlfROSwitAmiej5beTWPR0omM Rt9JJA5KM2w+9CRkao3fPJti2m3I/wHR8Vgxo9xkoRmMypSmIpyi1uWpqzAhY3RSadhb feaQ== X-Gm-Message-State: AFeK/H2oItUAuZHxFl8cK5i4ep9JH8rnbyioW5pnMCBTCh1Dxhf9FJuZwhFC5QiWndD8jEVn X-Received: by 10.98.209.25 with SMTP id z25mr29706429pfg.200.1490677973029; Mon, 27 Mar 2017 22:12:53 -0700 (PDT) Received: from mactruck.svl.corp.google.com ([100.123.242.94]) by smtp.gmail.com with ESMTPSA id p19sm368233pfl.15.2017.03.27.22.12.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 27 Mar 2017 22:12:52 -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 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 Subject: [PATCH v6 1/5] irqchip/aspeed-i2c-ic: binding docs for Aspeed I2C Interrupt Controller Date: Mon, 27 Mar 2017 22:12:22 -0700 Message-Id: <20170328051226.21677-2-brendanhiggins@google.com> X-Mailer: git-send-email 2.12.2.564.g063fe858b8-goog In-Reply-To: <20170328051226.21677-1-brendanhiggins@google.com> References: <20170328051226.21677-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. --- .../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; +};