Received: by 10.223.164.202 with SMTP id h10csp137326wrb; Thu, 16 Nov 2017 20:43:49 -0800 (PST) X-Google-Smtp-Source: AGs4zMZzUbweU5c1aGxKbtjSsPfrjh7kQDDORRoC8puJx5dGWzr4yri8pUAVPtqtyFGCpDTTq5Vq X-Received: by 10.84.143.195 with SMTP id 61mr3979030plz.277.1510893829172; Thu, 16 Nov 2017 20:43:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510893829; cv=none; d=google.com; s=arc-20160816; b=bRKD+CsrgiUwjBLpokbSSYC6Xtx1QEkVm5ZOtuJl8rkAtt+bM/FqNaXdlDvgwHBvpd Ql9bfyZGzYZILGJCOdIkuh1mNUo545+FGdYkejGp+LCEndt2vgJE9qq80vQT+qzxnE7F 4wM0ZBooEqmELl5m9jyNbQwa2WGQxAI9r8tEbty2nBFuPba6DckECUnMhc6xHalS3Du4 Lof3iF/td6IvbsChdWtkxAXsvGIZa3T35Q+GtfYC4leNjycY6f7D+/UoPmvzyO8CId9P PWSbuFAv5kV99kJ4Zbt8RlfzTSESj+7iDTxEwVfOu6VuSHRyvrIMVZYCR1lWXgvbaNZQ ZkBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=1sPbwbdfHog6B/jrJLCmVIF92vHDeADczvzZXSrz2kY=; b=eZ7Tjr7KyZczCAgkntpQfRpzJGzME/i4z2U1LuHuMLZ9mjYR1u+B5hHH4gpHSb3+Li sQv15uoQVKxkocJg89n9ehuMZUcNBuYvmgKN8EBaGmdaptyKMdxrCHOdMZ5jI/MKigjd XD+ALe2Vc5+33MZEpXL8vaH+zTp9U1D4WMiwZ+6JxvGBCetOGUy9pxzqGZZV/0OXdiZE iFhAsVJ9RoJiVQUA27CAbastSL3O2JIlwfNE4YcKP9wdc7RE6KYfxecwWFOtsXC9J7Hv BDVqk5ZMLaIfKnt0KXeMRTv827ERHcAa+z/MtaVUNHtP9i7DZRxeU3JqLXitYiE1jutE +k3w== 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 x23si2271554pfh.0.2017.11.16.20.43.26; Thu, 16 Nov 2017 20:43:49 -0800 (PST) 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 S1757991AbdKPTyJ (ORCPT + 92 others); Thu, 16 Nov 2017 14:54:09 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:57194 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753976AbdKPTyC (ORCPT ); Thu, 16 Nov 2017 14:54:02 -0500 Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id vAGJqNQX008440 for ; Thu, 16 Nov 2017 14:54:02 -0500 Received: from e33.co.us.ibm.com (e33.co.us.ibm.com [32.97.110.151]) by mx0a-001b2d01.pphosted.com with ESMTP id 2e9gk5syky-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Thu, 16 Nov 2017 14:54:01 -0500 Received: from localhost by e33.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 16 Nov 2017 12:54:01 -0700 Received: from b03cxnp07028.gho.boulder.ibm.com (9.17.130.15) by e33.co.us.ibm.com (192.168.1.133) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 16 Nov 2017 12:53:58 -0700 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 vAGJrwRv655802; Thu, 16 Nov 2017 12:53:58 -0700 Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2FAC778038; Thu, 16 Nov 2017 12:53:58 -0700 (MST) Received: from oc3016140333.ibm.com (unknown [9.85.131.228]) by b03ledav004.gho.boulder.ibm.com (Postfix) with ESMTP id 0DB497803F; Thu, 16 Nov 2017 12:53:56 -0700 (MST) From: Eddie James To: linux-kernel@vger.kernel.org Cc: linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, wsa@the-dreams.de, robh+dt@kernel.org, joel@jms.id.au, eajames@linux.vnet.ibm.com, "Edward A. James" Subject: [PATCH v6 0/7] drivers/i2c: Add FSI-attached I2C master algorithm Date: Thu, 16 Nov 2017 13:53:45 -0600 X-Mailer: git-send-email 1.8.3.1 X-TM-AS-GCONF: 00 x-cbid: 17111619-0008-0000-0000-000008E09C50 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00008076; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000240; SDB=6.00946833; UDB=6.00477975; IPR=6.00727126; BA=6.00005695; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00018049; XFM=3.00000015; UTC=2017-11-16 19:54:00 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17111619-0009-0000-0000-000044C97359 Message-Id: <1510862032-12394-1-git-send-email-eajames@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-11-16_06:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=4 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=4 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1711160265 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "Edward A. James" This series adds an algorithm for an I2C master physically located on an FSI slave device. The I2C master has multiple ports, each of which may be connected to an I2C slave. Access to the I2C master registers is achieved over FSI bus. Due to the multi-port nature of the I2C master, the driver instantiates a new I2C adapter for each port connected to a slave. The connected ports should be defined in the device tree under the I2C master device. Changes since v5 - Fix reset functionality and do a reset after every transfer failure Edward A. James (7): dt-bindings: i2c: Add FSI-attached I2C master dt binding documentation drivers/i2c: Add FSI-attached I2C master algorithm drivers/i2c: Add port structure to FSI algorithm drivers/i2c: Add abort and hardware reset procedures drivers/i2c: Add transfer implementation for FSI algorithm drivers/i2c: Add I2C master locking to FSI algorithm drivers/i2c: Add bus recovery for FSI algorithm Documentation/devicetree/bindings/i2c/i2c-fsi.txt | 40 ++ drivers/i2c/busses/Kconfig | 11 + drivers/i2c/busses/Makefile | 1 + drivers/i2c/busses/i2c-fsi.c | 793 ++++++++++++++++++++++ 4 files changed, 845 insertions(+) create mode 100644 Documentation/devicetree/bindings/i2c/i2c-fsi.txt create mode 100644 drivers/i2c/busses/i2c-fsi.c -- 1.8.3.1 From 1584270252351935508@xxx Fri Nov 17 00:17:29 +0000 2017 X-GM-THRID: 1584270252351935508 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread