Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp685809ima; Wed, 24 Oct 2018 07:42:36 -0700 (PDT) X-Google-Smtp-Source: AJdET5cs7G3jAdNqxXw8ChncuKamndAAi4BXI41qknbkgfMXpv+8ZkBTKWF8IAVShQtuQyMhU1qr X-Received: by 2002:a62:75c7:: with SMTP id q190-v6mr2950109pfc.137.1540392156064; Wed, 24 Oct 2018 07:42:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540392156; cv=none; d=google.com; s=arc-20160816; b=SG7Zzo/sP1qA90Rqrp5RMn3CmnQhzFhteZ2aMTJo2Uak7IBOk4uKeJz/g2vXeGI2dH MASJ+yCm3Qt+S8U18fdnfHSbapwUOFhbXgXkn+wJeUAo0h/OiR+VWJ7DGZEHdySGEJW9 oEGfk9dXok8DtrT4pCee0ZHziLzyGyj0OuLKJbI6O7p9jhLbFdwK47a3kK2mnN6EthoG NYE8orjs34pO8pAzTpWrxITayu9QREmo8BmZUOoC+xMaqQWar+vGLnbd70kQXltwTIPm XGqiGTFpp6f3FdKk6ZQtXmBhzFp1Azpu1Pp5/W9jGRsxoF1vf87LUiD47zzluHL7LYJF Q6GQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=foSBXJQjno/kavphurk5XO0QYuh7MPXDNVO/BliBPYo=; b=zBQYHAHyGRKB9rXioB+WJjYf/k4+bwfd3A1fDPnmMNrIowzAYyEhs46SG+zQMVBvx1 mtZL1zqbmDA0I3fr3PhgHTNiVumCDL3/Pt3v0IQpbGLvRbshfEgkaBYCwMJyjc+VPI55 uClSc5tcwt5XHhJgmD0BxYishkLiN7RTdeHGoCgnTuXqUbnMHGhxTywUNhupnson4pKc k9+kbGZyqvnuVJVPHNYzUlyEgNzZlou9Tf90k9H5rM863dfkokE5gCmoYRo26Z5HF0VN Wd6wl02x39kXDdn2JVKVGGXu93SocFD0t/7Qy3n+WY4rC3keV7KTeLgU2c1Ks5VO8pPg pa9Q== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u5-v6si5011569pgm.268.2018.10.24.07.42.20; Wed, 24 Oct 2018 07:42:36 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727152AbeJXXIl (ORCPT + 99 others); Wed, 24 Oct 2018 19:08:41 -0400 Received: from mail.arcx.com ([184.94.50.18]:27680 "EHLO WEBMAIL.arcx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726457AbeJXXIe (ORCPT ); Wed, 24 Oct 2018 19:08:34 -0400 X-Greylist: delayed 906 seconds by postgrey-1.27 at vger.kernel.org; Wed, 24 Oct 2018 19:08:27 EDT Received: from svens-asus.arcx.com (192.168.2.132) by WEBMAIL.arcx.com (192.168.2.64) with Microsoft SMTP Server (TLS) id 15.0.847.32; Wed, 24 Oct 2018 10:26:18 -0400 From: Sven Van Asbroeck To: , , , , , , , , , , , , , , , , , , , , , , , , CC: , Subject: [PATCH anybus v1 0/4] Support HMS Profinet Card over Anybus Date: Wed, 24 Oct 2018 10:24:52 -0400 Message-ID: <20181024142456.10084-1-svendev@arcx.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [192.168.2.132] X-ClientProxiedBy: webmail.arcx.com (192.168.2.64) To WEBMAIL.arcx.com (192.168.2.64) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch set adds support for the HMS Industrial Networks AB Profinet card. Profinet is an industry technical standard for data communication over Industrial Ethernet, designed for collecting data from, and controlling, equipment in industrial systems, with a particular strength in delivering data under tight time constraints (on the order of 1ms or less). The profinet card itself is connected to the system via an industrial bus called 'anybus'. I have followed the bus driver/client driver pattern, and created an anybus bus driver, plus a client driver for the profinet card. In case this patch set gets (eventually) accepted, drivers for other anybus client cards may follow: flnet, cc-link, ... The anybus slot on the host is located on an 'anybus bridge', which is custom h/w designed by Arcx. Its driver is modeled as an mfd, which instantiates two anybus slots. v1: first shot Sven Van Asbroeck (4): mfd: support the Arcx anybus bridge. dt-bindings: anybus-bridge: document devicetree binding. bus: support HMS Anybus-S bus. misc: support HMS Profinet IRT industrial controller. .../bindings/mfd/arcx,anybus-bridge.txt | 37 + .../devicetree/bindings/vendor-prefixes.txt | 1 + drivers/bus/Kconfig | 11 + drivers/bus/Makefile | 1 + drivers/bus/anybuss-host.c | 1301 +++++++++++++++++ drivers/mfd/Kconfig | 11 + drivers/mfd/Makefile | 1 + drivers/mfd/anybus-bridge.c | 441 ++++++ drivers/misc/Kconfig | 11 + drivers/misc/Makefile | 1 + drivers/misc/hms-profinet.c | 747 ++++++++++ include/linux/anybuss-client.h | 100 ++ include/linux/anybuss-host.h | 28 + include/uapi/linux/hms-common.h | 14 + include/uapi/linux/hms-profinet.h | 101 ++ 15 files changed, 2806 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/arcx,anybus-bridge.txt create mode 100644 drivers/bus/anybuss-host.c create mode 100644 drivers/mfd/anybus-bridge.c create mode 100644 drivers/misc/hms-profinet.c create mode 100644 include/linux/anybuss-client.h create mode 100644 include/linux/anybuss-host.h create mode 100644 include/uapi/linux/hms-common.h create mode 100644 include/uapi/linux/hms-profinet.h -- 2.17.1