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: 410565 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id E38261400AB for ; Fri, 14 Nov 2014 06:37:04 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934042AbaKMTfe (ORCPT ); Thu, 13 Nov 2014 14:35:34 -0500 Received: from mail-wi0-f176.google.com ([209.85.212.176]:47131 "EHLO mail-wi0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934012AbaKMTfc (ORCPT ); Thu, 13 Nov 2014 14:35:32 -0500 Received: by mail-wi0-f176.google.com with SMTP id ex7so577465wid.15 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 Cc: Carlo Caione , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Grant Likely , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jerry Cao , Victor Wan , Beniamino Galvani 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> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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>; + };