Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3860565imm; Tue, 29 May 2018 15:28:53 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIrhMuMZyV7GfPWCsj9L8fulFu+K/8kFKvGttx76iCAI2iw7Lbrj8O35m4Gowk5H8uT0Des X-Received: by 2002:a17:902:a5:: with SMTP id a34-v6mr277518pla.58.1527632933303; Tue, 29 May 2018 15:28:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527632933; cv=none; d=google.com; s=arc-20160816; b=KSoUj7H0k8vWZgwRAt9T3AUD6mlcqmnJCrQQMCV+WsQe18Vzcz1e6took7F+YkbZXV 9MR3ISlsFjlckRrunGAi/HTkx4dWLgLeVdHc69IhE2LPcQvLaqHy4o/AAvL9f1z19PEu cy1TIUKp3kn1g2eZW20yTZNqyB1WtDfiNgt29U1U/t5hQCCXZuxLvO1xqPbVU7+M3/8Z gWWVdP+C5VlLjce8RX6Dh6t/If79NdMWjGLi0h4VEbSi7frM16xBvIq6MXnilFAhZHW1 Cs0hjkNebuEX4auiTnnrwdLMVAEsi41PCpHKM+XjWelIn9lks8HHSV/OJKoM7SPzJWk7 up5w== 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=GI6K9if5epMura30urBP64frRSZQWHBqtd24agXoADk=; b=I22rc09Ov8mx/iAPLnhAeqfXpiYahuSIWwZdZRVV7rpkX603hN6Z8sJ9qD+FAyfJT+ HmQw7gJnmQYuNQHtyUNMldxjXA5Wlw6fDi0h8w+4j3faYzsuYsWk86hPuV749ga2YgTn HUKnX+uJ8jBV8rE4ix8j4AAwpBiZ/OQaMyB/dYYDNxUF6Crn5JTjC1TglocB90YJjo3u Ca3HrZyloTGfG6K1WY00ImnJY1mhbfLl9n7Pob1Ed+pt93In/+JhqJW0f631e1w9kE0k 6rFgZIWqQZdspmgyR0LoJ5SMNRhvHnoLxQDBVpCPPTe0Uo6USRHT6UKj7A1yPTb8In45 fnVA== 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 j193-v6si11394501pge.371.2018.05.29.15.28.39; Tue, 29 May 2018 15:28:53 -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 S968474AbeE2WYs (ORCPT + 99 others); Tue, 29 May 2018 18:24:48 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:60988 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967727AbeE2WYj (ORCPT ); Tue, 29 May 2018 18:24:39 -0400 Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w4TMOGSc049510 for ; Tue, 29 May 2018 18:24:38 -0400 Received: from e32.co.us.ibm.com (e32.co.us.ibm.com [32.97.110.150]) by mx0a-001b2d01.pphosted.com with ESMTP id 2j9ex19ckg-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 29 May 2018 18:24:38 -0400 Received: from localhost by e32.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 29 May 2018 16:24:37 -0600 Received: from b03cxnp07028.gho.boulder.ibm.com (9.17.130.15) by e32.co.us.ibm.com (192.168.1.132) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Tue, 29 May 2018 16:24:33 -0600 Received: from b03ledav004.gho.boulder.ibm.com (b03ledav004.gho.boulder.ibm.com [9.17.130.235]) by b03cxnp07028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w4TMOWwH10355052 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 29 May 2018 15:24:32 -0700 Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4B0C478057; Tue, 29 May 2018 16:24:32 -0600 (MDT) Received: from talon7.ibm.com (unknown [9.80.223.183]) by b03ledav004.gho.boulder.ibm.com (Postfix) with ESMTP id D896078051; Tue, 29 May 2018 16:24:30 -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, "Edward A. James" Subject: [PATCH v7 1/7] dt-bindings: i2c: Add FSI-attached I2C master dt binding documentation Date: Tue, 29 May 2018 17:24:19 -0500 X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1527632665-25707-1-git-send-email-eajames@linux.vnet.ibm.com> References: <1527632665-25707-1-git-send-email-eajames@linux.vnet.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 18052922-0004-0000-0000-0000142FE0B0 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00009097; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000264; SDB=6.01039556; UDB=6.00532065; IPR=6.00818684; MB=3.00021364; MTD=3.00000008; XFM=3.00000015; UTC=2018-05-29 22:24:35 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18052922-0005-0000-0000-000087730579 Message-Id: <1527632665-25707-2-git-send-email-eajames@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-05-29_10:,, 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=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=851 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1805220000 definitions=main-1805290238 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "Edward A. James" Document the bindings. Signed-off-by: Edward A. 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