From patchwork Thu Nov 13 19:32:01 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Beniamino Galvani X-Patchwork-Id: 5300401 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 049119F2ED for ; Thu, 13 Nov 2014 19:38:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 406412010B for ; Thu, 13 Nov 2014 19:38:05 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 709A120176 for ; Thu, 13 Nov 2014 19:38:04 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Xp0Be-0003Hu-1s; Thu, 13 Nov 2014 19:36:10 +0000 Received: from mail-wg0-x233.google.com ([2a00:1450:400c:c00::233]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Xp0BN-000358-Jg for linux-arm-kernel@lists.infradead.org; Thu, 13 Nov 2014 19:35:55 +0000 Received: by mail-wg0-f51.google.com with SMTP id l18so17343653wgh.24 for ; Thu, 13 Nov 2014 11:35:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=1oI85OrfE3Q4FhDDPVoJ9Ty0FZVB1QfOfaUtN1PsXls=; b=MJXLYIZ9e6GcporaqK7HiOy/aUWwTmwr3ulm10vvYTtr0AF8OFw/Ma3CbkKQQ1yRaL atDLdlmsws7PHaiaUgrbTPx0gHVR7CO1RqGQJOlFRzyWe2uVOclk1thOO33dVxtfYOjZ 1PycCkWN/dm6BJc472YHfh/fyjbuCMUMhd8C91CwTep0nLkl+2Mzow4Aje8Q1K1A41zK oqDesfE7R6IvuBy+sL2u7TaPQAhe/FntSErUO6SLpN3J7kguyA8lEoKib5KcxvT2PiYe Xc93hW2hjESsueqD+ITMlpm2xpGVILSTHEJX1ztQQ1X1z7ne4rJyXXzDBzCH0tsuAC98 R0QQ== X-Received: by 10.180.107.35 with SMTP id gz3mr1212881wib.38.1415907331404; Thu, 13 Nov 2014 11:35:31 -0800 (PST) Received: from sark.local (host115-93-dynamic.40-79-r.retail.telecomitalia.it. [79.40.93.115]) by mx.google.com with ESMTPSA id a8sm482383wiz.21.2014.11.13.11.35.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Nov 2014 11:35:30 -0800 (PST) From: Beniamino Galvani To: Wolfram Sang Subject: [PATCH v3 1/3] i2c: meson: add device tree bindings documentation Date: Thu, 13 Nov 2014 20:32:01 +0100 Message-Id: <1415907123-4318-2-git-send-email-b.galvani@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1415907123-4318-1-git-send-email-b.galvani@gmail.com> References: <1415907123-4318-1-git-send-email-b.galvani@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141113_113553_835656_5C83B43E X-CRM114-Status: GOOD ( 10.74 ) X-Spam-Score: -0.8 (/) Cc: Mark Rutland , devicetree@vger.kernel.org, Victor Wan , Pawel Moll , Ian Campbell , linux-kernel@vger.kernel.org, Beniamino Galvani , Grant Likely , Rob Herring , linux-i2c@vger.kernel.org, Kumar Gala , Carlo Caione , Jerry Cao , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This commit adds device tree bindings documentation for the I2C bus controller found on Amlogic Meson SoCs. Signed-off-by: Beniamino Galvani --- .../devicetree/bindings/i2c/i2c-meson.txt | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/i2c/i2c-meson.txt diff --git a/Documentation/devicetree/bindings/i2c/i2c-meson.txt b/Documentation/devicetree/bindings/i2c/i2c-meson.txt new file mode 100644 index 0000000..682f9a6 --- /dev/null +++ b/Documentation/devicetree/bindings/i2c/i2c-meson.txt @@ -0,0 +1,24 @@ +Amlogic Meson I2C controller + +Required properties: + - compatible: must be "amlogic,meson6-i2c" + - reg: physical address and length of the device registers + - interrupts: a single interrupt specifier + - clocks: clock for the device + - #address-cells: should be <1> + - #size-cells: should be <0> + +Optional properties: +- clock-frequency: the desired I2C bus clock frequency in Hz; in + absence of this property the default value is used (100 kHz). + +Examples: + + i2c@c8100500 { + compatible = "amlogic,meson6-i2c"; + reg = <0xc8100500 0x20>; + interrupts = <0 92 1>; + clocks = <&clk81>; + #address-cells = <1>; + #size-cells = <0>; + };