Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4888132imm; Wed, 30 May 2018 14:10:19 -0700 (PDT) X-Google-Smtp-Source: ADUXVKILyRbaO9Hk3xyruQfUPyJRiZgUDEBBtUDEAfiEgqPfRtFxrQ7msTtBgyLwDAsGcLyIpjzs X-Received: by 2002:a17:902:9a9:: with SMTP id 38-v6mr4398852pln.114.1527714619653; Wed, 30 May 2018 14:10:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527714619; cv=none; d=google.com; s=arc-20160816; b=tWqW8h9AdZfLEdOjw2GhIJQ0aNvMmQI66j0k+8sTUhgqOI8ajxh+9z440Nb5gWCmqt sATQTFGm/9I6S9t5xSg1dt32W84hyGzMi/i2geyZwuZs9XmZM7FmCl/dYGmRQLuTXk+9 Y30dOJ4dKLf0Co0u7IVmCVlZW8taPZZ+qMNK4onmWKgG88anrye2zzPlfK6WW6+ozxCE OCS4eXIQaVFzOQP/s4sRxfSqwPpQcTJCSXAofD1XG0vSIbYcZojMWtDyGyTb2Q8ec2Jt /p83Ki0u2W/dXC1yU2Wtunl5ZL2nXoEibuoBX/N7F7QHitbdc2vuJbjyo15vnEcG7aMj Al7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:references:in-reply-to:date :subject:cc:to:from:arc-authentication-results; bh=Wh0eda9HFl/fClXzfb6wqtcWsH1oqrpf5j9mlJawxe8=; b=H48k0ZdB162c+NuEKeLrtC3T6hRuSv4CrbW4Vat+/CRLXxfyEnbw9JEdeeqI6Tmn3c 3Wlf1bXok9ETb/2YuAJHb1pYMygeyU/r16WCCMFjQ/0M2JAVDKEcCv+/fEGiaE7QMHL7 MtyLTDWwFUSRChscw4+fEtnkLbAqkFATuSJULAXFS0XGwy7upFQ+kBt0x6QQrrE29Eh3 9ueuZNQTxxbeY0u2jHyZD0N/bWxPcfimY26D5i3fxT55O02akEcfxKnecySG0duf4Nx2 V8dtXklmGfBawu5eGKWb+ucsb1fsGnRDTp7qbK7iJIo+8EdyLLSxCMXBp/Xgr5qLgg3D aH8g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m8-v6si34391719plt.29.2018.05.30.14.10.06; Wed, 30 May 2018 14:10:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932513AbeE3VJS (ORCPT + 99 others); Wed, 30 May 2018 17:09:18 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:36122 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753719AbeE3VJK (ORCPT ); Wed, 30 May 2018 17:09:10 -0400 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w4UL4PN8081879 for ; Wed, 30 May 2018 17:09:09 -0400 Received: from e35.co.us.ibm.com (e35.co.us.ibm.com [32.97.110.153]) by mx0a-001b2d01.pphosted.com with ESMTP id 2ja2jwaep2-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 30 May 2018 17:09:09 -0400 Received: from localhost by e35.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 30 May 2018 15:09:08 -0600 Received: from b03cxnp08027.gho.boulder.ibm.com (9.17.130.19) by e35.co.us.ibm.com (192.168.1.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 30 May 2018 15:09:05 -0600 Received: from b03ledav002.gho.boulder.ibm.com (b03ledav002.gho.boulder.ibm.com [9.17.130.233]) by b03cxnp08027.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w4UL7nWd12517632 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 30 May 2018 14:07:49 -0700 Received: from b03ledav002.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 402B2136053; Wed, 30 May 2018 15:07:49 -0600 (MDT) Received: from b03ledav002.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9284113604F; Wed, 30 May 2018 15:07:48 -0600 (MDT) Received: from talon7.ibm.com (unknown [9.41.241.240]) by b03ledav002.gho.boulder.ibm.com (Postfix) with ESMTP; Wed, 30 May 2018 15:07:48 -0600 (MDT) From: Eddie James To: linux-i2c@vger.kernel.org Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, wsa@the-dreams.de, robh+dt@kernel.org, benh@kernel.crashing.org, joel@jms.id.au, mark.rutland@arm.com, gregkh@linuxfoundation.org, rdunlap@infradead.org, andy.shevchenko@gmail.com, Eddie James Subject: [PATCH v8 1/7] dt-bindings: i2c: Add FSI-attached I2C master dt binding documentation Date: Wed, 30 May 2018 16:07:38 -0500 X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1527714464-8642-1-git-send-email-eajames@linux.vnet.ibm.com> References: <1527714464-8642-1-git-send-email-eajames@linux.vnet.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 18053021-0012-0000-0000-0000165A7B0A X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00009099; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000264; SDB=6.01039988; UDB=6.00532325; IPR=6.00819121; MB=3.00021383; MTD=3.00000008; XFM=3.00000015; UTC=2018-05-30 21:09:07 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18053021-0013-0000-0000-0000530BFC2E Message-Id: <1527714464-8642-2-git-send-email-eajames@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-05-30_09:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=907 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1805220000 definitions=main-1805300224 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document the bindings. Signed-off-by: Eddie James > Acked-by: Rob Herring --- Documentation/devicetree/bindings/i2c/i2c-fsi.txt | 40 +++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Documentation/devicetree/bindings/i2c/i2c-fsi.txt diff --git a/Documentation/devicetree/bindings/i2c/i2c-fsi.txt b/Documentation/devicetree/bindings/i2c/i2c-fsi.txt new file mode 100644 index 0000000..b1be2ce --- /dev/null +++ b/Documentation/devicetree/bindings/i2c/i2c-fsi.txt @@ -0,0 +1,40 @@ +Device-tree bindings for FSI-attached I2C master and busses +----------------------------------------------------------- + +Required properties: + - compatible = "ibm,i2c-fsi"; + - reg = < address size >; : The FSI CFAM address and address + space size. + - #address-cells = <1>; : Number of address cells in child + nodes. + - #size-cells = <0>; : Number of size cells in child nodes. + - child nodes : Nodes to describe busses off the I2C + master. + +Child node required properties: + - reg = < port number > : The port number on the I2C master. + +Child node optional properties: + - child nodes : Nodes to describe devices on the I2C + bus. + +Examples: + + i2c@1800 { + compatible = "ibm,i2c-fsi"; + reg = < 0x1800 0x400 >; + #address-cells = <1>; + #size-cells = <0>; + + i2c-bus@0 { + reg = <0>; + }; + + i2c-bus@1 { + reg = <1>; + + eeprom@50 { + compatible = "vendor,dev-name"; + }; + }; + }; -- 1.8.3.1