{"id":817712,"url":"http://patchwork.ozlabs.org/api/covers/817712/?format=json","web_url":"http://patchwork.ozlabs.org/project/devicetree-bindings/cover/1506114362-492-1-git-send-email-eajames@linux.vnet.ibm.com/","project":{"id":37,"url":"http://patchwork.ozlabs.org/api/projects/37/?format=json","name":"Devicetree Bindings","link_name":"devicetree-bindings","list_id":"devicetree.vger.kernel.org","list_email":"devicetree@vger.kernel.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<1506114362-492-1-git-send-email-eajames@linux.vnet.ibm.com>","list_archive_url":null,"date":"2017-09-22T21:05:56","name":"[v3,0/6] drivers: fsi: Add SBEFIFO and OCC drivers","submitter":{"id":70876,"url":"http://patchwork.ozlabs.org/api/people/70876/?format=json","name":"Eddie James","email":"eajames@linux.vnet.ibm.com"},"mbox":"http://patchwork.ozlabs.org/project/devicetree-bindings/cover/1506114362-492-1-git-send-email-eajames@linux.vnet.ibm.com/mbox/","series":[{"id":4710,"url":"http://patchwork.ozlabs.org/api/series/4710/?format=json","web_url":"http://patchwork.ozlabs.org/project/devicetree-bindings/list/?series=4710","date":"2017-09-22T21:06:00","name":"drivers: fsi: Add SBEFIFO and OCC drivers","version":3,"mbox":"http://patchwork.ozlabs.org/series/4710/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/817712/comments/","headers":{"Return-Path":"<devicetree-owner@vger.kernel.org>","X-Original-To":"incoming-dt@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-dt@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=devicetree-owner@vger.kernel.org; receiver=<UNKNOWN>)","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xzR0m5n2Vz9sP1\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tSat, 23 Sep 2017 07:08:40 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1752507AbdIVVGP (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tFri, 22 Sep 2017 17:06:15 -0400","from mx0a-001b2d01.pphosted.com ([148.163.156.1]:53394 \"EHLO\n\tmx0a-001b2d01.pphosted.com\" rhost-flags-OK-OK-OK-OK)\n\tby vger.kernel.org with ESMTP id S1752276AbdIVVGM (ORCPT\n\t<rfc822; devicetree@vger.kernel.org>); Fri, 22 Sep 2017 17:06:12 -0400","from pps.filterd (m0098404.ppops.net [127.0.0.1])\n\tby mx0a-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id\n\tv8ML3eAJ130690\n\tfor <devicetree@vger.kernel.org>; Fri, 22 Sep 2017 17:06:12 -0400","from e35.co.us.ibm.com (e35.co.us.ibm.com [32.97.110.153])\n\tby mx0a-001b2d01.pphosted.com with ESMTP id 2d53q442nh-1\n\t(version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT)\n\tfor <devicetree@vger.kernel.org>; Fri, 22 Sep 2017 17:06:11 -0400","from localhost\n\tby e35.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use\n\tOnly! Violators will be prosecuted\n\tfor <devicetree@vger.kernel.org> from <eajames@linux.vnet.ibm.com>;\n\tFri, 22 Sep 2017 15:06:10 -0600","from b03cxnp07029.gho.boulder.ibm.com (9.17.130.16)\n\tby e35.co.us.ibm.com (192.168.1.135) with IBM ESMTP SMTP Gateway:\n\tAuthorized Use Only! Violators will be prosecuted; \n\tFri, 22 Sep 2017 15:06:08 -0600","from b03ledav002.gho.boulder.ibm.com\n\t(b03ledav002.gho.boulder.ibm.com [9.17.130.233])\n\tby b03cxnp07029.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with\n\tESMTP id v8ML67ZB8716716; Fri, 22 Sep 2017 14:06:07 -0700","from b03ledav002.gho.boulder.ibm.com (unknown [127.0.0.1])\n\tby IMSVA (Postfix) with ESMTP id AB0D7136043;\n\tFri, 22 Sep 2017 15:06:07 -0600 (MDT)","from oc3016140333.ibm.com (unknown [9.80.204.134])\n\tby b03ledav002.gho.boulder.ibm.com (Postfix) with ESMTP id\n\tCC29913603C; Fri, 22 Sep 2017 15:06:05 -0600 (MDT)"],"From":"Eddie James <eajames@linux.vnet.ibm.com>","To":"linux-kernel@vger.kernel.org","Cc":"gregkh@linuxfoundation.org, devicetree@vger.kernel.org,\n\trobh+dt@kernel.org, mark.rutland@arm.com,\n\tbradleyb@fuzziesquirrel.com, jk@ozlabs.org,\n\tcbostic@linux.vnet.ibm.com, joel@jms.id.au, andrew@aj.id.au,\n\teajames@linux.vnet.ibm.com, \"Edward A. James\" <eajames@us.ibm.com>","Subject":"[PATCH v3 0/6] drivers: fsi: Add SBEFIFO and OCC drivers","Date":"Fri, 22 Sep 2017 16:05:56 -0500","X-Mailer":"git-send-email 1.8.3.1","X-TM-AS-GCONF":"00","x-cbid":"17092221-0012-0000-0000-0000150BDFED","X-IBM-SpamModules-Scores":"","X-IBM-SpamModules-Versions":"BY=3.00007779; HX=3.00000241; KW=3.00000007;\n\tPH=3.00000004; SC=3.00000231; SDB=6.00920876; UDB=6.00462765;\n\tIPR=6.00701097; \n\tBA=6.00005601; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009;\n\tZB=6.00000000; \n\tZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00017252;\n\tXFM=3.00000015; UTC=2017-09-22 21:06:10","X-IBM-AV-DETECTION":"SAVI=unused REMOTE=unused XFE=unused","x-cbparentid":"17092221-0013-0000-0000-00004F989FF7","Message-Id":"<1506114362-492-1-git-send-email-eajames@linux.vnet.ibm.com>","X-Proofpoint-Virus-Version":"vendor=fsecure engine=2.50.10432:, ,\n\tdefinitions=2017-09-22_09:, , signatures=0","X-Proofpoint-Spam-Details":"rule=outbound_notspam policy=outbound score=0\n\tspamscore=0 suspectscore=1\n\tmalwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam\n\tadjust=0 reason=mlx scancount=1 engine=8.0.1-1707230000\n\tdefinitions=main-1709220294","Sender":"devicetree-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<devicetree.vger.kernel.org>","X-Mailing-List":"devicetree@vger.kernel.org"},"content":"From: \"Edward A. James\" <eajames@us.ibm.com>\n\nThis series adds two FSI-based device drivers. The OCC driver is dependent on\nthe SBEFIFO driver, as a user of it's in-kernel API. The in-kernel API provided\nby the OCC driver will be used by a hwmon driver (on the lkml as \"Add On-Chip\nController (OCC) hwmon driver\").\n\nChanges since v2:\n * Rename occ.c and occ.h to fsi-occ.c and fsi-occ.h\n * Improved remove() ordering in both drivers.\n * Added cancel functionality to OCC driver to make sure no xfrs started during\n   remove().\n * Fix spin_unlock with spin_unlock_irq in OCC driver.\n * Fix list_first_entry with list_first_entry_or_null in OCC worker function.\n * Add OCC response definitions to OCC include file.\n * Handle probe() failures better.\n\nChanges since v1:\n * Split bindings into separate patch and added SBEFIFO device binding\n * Fixed #includes\n * Fix SBEFIFO race condition between write() and poll_timer().\n * Followed Rob's suggestion to just create one platform device for hwmon\n   driver, instead of using the device tree.\n * Also check for \"command in progress\" response from OCC and try a while\n\nEdward A. James (6):\n  dt-bindings: fsi: Add SBEFIFO documentation\n  drivers: fsi: Add SBEFIFO FSI client device driver\n  drivers: fsi: sbefifo: Add in-kernel API\n  dt-bindings: fsi: Add OCC documentation\n  drivers: fsi: Add On-Chip Controller (OCC) driver\n  drivers: fsi: occ: Add in-kernel API\n\n .../devicetree/bindings/fsi/ibm,p9-occ.txt         |  15 +\n .../devicetree/bindings/fsi/ibm,p9-sbefifo.txt     |  20 +\n drivers/fsi/Kconfig                                |  17 +\n drivers/fsi/Makefile                               |   2 +\n drivers/fsi/fsi-occ.c                              | 851 ++++++++++++++++++\n drivers/fsi/fsi-sbefifo.c                          | 956 +++++++++++++++++++++\n include/linux/fsi-occ.h                            |  41 +\n include/linux/fsi-sbefifo.h                        |  30 +\n 8 files changed, 1932 insertions(+)\n create mode 100644 Documentation/devicetree/bindings/fsi/ibm,p9-occ.txt\n create mode 100644 Documentation/devicetree/bindings/fsi/ibm,p9-sbefifo.txt\n create mode 100644 drivers/fsi/fsi-occ.c\n create mode 100644 drivers/fsi/fsi-sbefifo.c\n create mode 100644 include/linux/fsi-occ.h\n create mode 100644 include/linux/fsi-sbefifo.h"}