Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp10182924imu; Wed, 5 Dec 2018 18:06:42 -0800 (PST) X-Google-Smtp-Source: AFSGD/XqoPwPJkZN0IqqiYK4gB0mXUXJMSRYgUeseGDGU9pzpPoPogcQBcXtrmBF+KNBrRcjXUzb X-Received: by 2002:a65:624c:: with SMTP id q12mr21394265pgv.379.1544062002904; Wed, 05 Dec 2018 18:06:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544062002; cv=none; d=google.com; s=arc-20160816; b=uNU5MsPOVNI6juacNl2riwyX/yZBGK51toydwXePBziidvuYhqT7fUPy5PmA+AQMR1 ac92Vo3LYDQCilOnlVpmYjMdrIc+D2QpYwPp8VCrMfD55W2onb8AwpUTR6j/RO5BuLvg 8vLJ1i6RLdeM5zfA9vJ8eGro43UyWLpUjLWKwlFeDu6KsiKyb41k6f5FdYl6Oln4Xgfp HLjWafcb8ut9WENiPXX67LLqzHGV0RjYH52LEkmYIGd5ZqRMdkWM/az+CGE70wCC0Ijw +3OMNNacTsAar/abSrqCodNowF1af3gcPe8EOz2gVMnBVh89yPMzTng7CVq6kd9uXUpk Wmqg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=BOdMFKZ72p4czGdSY/bO1kNcd/5iu5zf0jWWy7i5MA0=; b=xd2OmVzAaQ9TuplWJxsng+oPL/fED60zxsekAOpPJbpQl9jVoruFHzFdtC8L418iAY dYh42fTFqRiKEaREl8WMtLCqsfZhlNb5HCS0igWH+PE0zPECrIQn9d7COKjEs1+QdnA9 Pl8Oq/EGpeYX+8p4SnjQEMl/gLUe582CfLe7D1AlPUXgCJcEvKDzgRUNYQshR0OR9I0f ACS1H94650U6B4hD/nxFtPHVBBmB8+aL2wwbUxnqLPnOPgqkN2ACWBGOdOkL5KHat0w/ +y0sSXLbjHdWo0ZA6VXAeLh9C4PEnNtmOBU3V9KIjB44WtGc7sVhgsskCWnq9Fs1nL+q n03A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=xKkKzYaI; 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 r10si19212513pgg.143.2018.12.05.18.06.25; Wed, 05 Dec 2018 18:06:42 -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; dkim=fail header.i=@lechnology.com header.s=default header.b=xKkKzYaI; 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 S1728763AbeLFCFr (ORCPT + 99 others); Wed, 5 Dec 2018 21:05:47 -0500 Received: from vern.gendns.com ([98.142.107.122]:50740 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728219AbeLFCFr (ORCPT ); Wed, 5 Dec 2018 21:05:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lechnology.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=BOdMFKZ72p4czGdSY/bO1kNcd/5iu5zf0jWWy7i5MA0=; b=xKkKzYaIuHXfDJFhN7myhlbKv2 KzZa9yYWZlLwHm9f35wZHQg3f53Sc9Sfg/BRO1suKB5r+6+M/b4wwSZKhWUPk4w0X/9hX/Fhm5KAS UY41GZI1g/DLjyRRkmKs0w7ucEvNZfYLIuwJGTBsYJl3wH0gt0lUjAwTNpbTlVupiA3XrQMNlgwpX 8HyZ1AHuZ/fH3KXnCkRK01En2siu7ihSfTf2ugQI97+/RdQkIlH6ylvxtjGMP0SzF4GS2ojxJvUWg DFRgzqxskI8+np3fkTU4xvNhdOGlQVJMc7+88CUck2TjGwqGYFjNieMoxfcXkLcmUNbTep1tEE4UQ y63cQYig==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:39624 helo=[192.168.0.134]) by vern.gendns.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1gUj1b-00058p-QB; Wed, 05 Dec 2018 21:04:23 -0500 Subject: Re: [PATCH v5 0/6] Add Fieldbus subsystem + support HMS Profinet card To: Sven Van Asbroeck , svendev@arcx.com, robh+dt@kernel.org, linus.walleij@linaro.org Cc: lee.jones@linaro.org, mark.rutland@arm.com, afaerber@suse.de, treding@nvidia.com, noralf@tronnes.org, johan@kernel.org, monstr@monstr.eu, michal.vokac@ysoft.com, arnd@arndb.de, gregkh@linuxfoundation.org, john.garry@huawei.com, geert+renesas@glider.be, robin.murphy@arm.com, paul.gortmaker@windriver.com, sebastien.bourdelin@savoirfairelinux.com, icenowy@aosc.io, stuyoder@gmail.com, maxime.ripard@bootlin.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <20181204220224.27324-1-TheSven73@googlemail.com> From: David Lechner Message-ID: <3b0b4c5c-23a6-428c-6060-3e5c314bd9e7@lechnology.com> Date: Wed, 5 Dec 2018 20:05:33 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20181204220224.27324-1-TheSven73@googlemail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/4/18 4:02 PM, Sven Van Asbroeck wrote: > This patch: > 1. adds a Fieldbus subsystem > 2. adds support for the HMS Industrial Networks AB Profinet card. Does this actually need a new fieldbus subsystem or could it just be implemented as a new network protocol? > > 1. Fieldbus subsystem > --------------------- > > Fieldbus device (client) adapters allow data exchange with a PLC aka. > "Fieldbus Controller" over a fieldbus (Profinet, FLNet, etc.) > They are typically used when a Linux device wants to expose itself > as an actuator, motor, console light, switch, etc. over the fieldbus. > The framework is designed to provide a generic interface to Fieldbus > Devices from both the Linux Kernel and the userspace. Then this generic interface to a fieldbus device could just be a socket. > > 2. Add support for HMS 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 controller', which is > custom h/w designed by arcx. It exposes a dual anybus host implementation, > plus a power readout unrelated to the anybus. >