Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp10032484imu; Wed, 5 Dec 2018 14:51:58 -0800 (PST) X-Google-Smtp-Source: AFSGD/WRcw3vB3rDEe5aCpnP+GT/Bw1qAUMTYBnjr1kxVYa2L5sNzzsMZPj2/qv1Sy7siP3+t5Nm X-Received: by 2002:a17:902:9691:: with SMTP id n17mr26640786plp.9.1544050318110; Wed, 05 Dec 2018 14:51:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544050318; cv=none; d=google.com; s=arc-20160816; b=aKZGkU56++PyDN1gvrVQmzY0DgBUahygdUdthGVtKxkV/678cSJwzTN4MYxwXDH/ma I09w9Y0qo+93DyxuDak8kydrP0I7TI/97zJJVY6m5s+CDQp4NV5H7ivQwY0Ne38+8L3Y 5h/awoSVaoZ0LEcSxm0Ahy2/Z1JP+0k1bY0mzDP40O78u8psVb7CdW6S0l/reoZMIL5v 212Ghei8W5tE33JmZrkO8qHn5MjLTq9uiDFtpBI89+9ejzq2p2qzKkWOTjfP7y0kNTe1 +Ezzu9wt6+rzPVQrHs4Jfxrzr9jN8+4vqznYjUuwry3044UCDtQzNKDNFDIt/oLEsl6Q p5SQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=fc2wlGsV/6cnLR4lBPEfdEY3h9NpXDGasmQxPGH9Ikc=; b=Ii+3VZueoIJMr9vQ6edWvoR1M9mE7T5gN5DL7n49kCUYYQZjkETrpt7ofI13eudoIs BoXWxDwkXPjMM2Nk09g9Nrci9sMshSOtfrFXpM781KubTuaeuCRG8lXv+g4b9f2WGO1Q p7DrOm9Hd3ZbBjyfZjm0AhFYE66oNa4YJbzPdFZKtXjwdpOig2NND0xKwH8ImHc5opGG OqtDfMh0YcWJgDuaHrZ+XevTK+5ysA8dfH4h64MZ6PjHtS28xGkR++MG6YUzseBC8Q77 s1xN5IvOYchrdy0NF5Ndjb7IhM9WEbqEEWds1RQ4b0ZaO+ewGNGrfPOaj0Mjd9UD5mbC PtsQ== 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 72si21747336plb.224.2018.12.05.14.51.42; Wed, 05 Dec 2018 14:51:58 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727794AbeLEWvG (ORCPT + 99 others); Wed, 5 Dec 2018 17:51:06 -0500 Received: from mail-qt1-f195.google.com ([209.85.160.195]:40511 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727592AbeLEWvG (ORCPT ); Wed, 5 Dec 2018 17:51:06 -0500 Received: by mail-qt1-f195.google.com with SMTP id k12so24261788qtf.7; Wed, 05 Dec 2018 14:51:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fc2wlGsV/6cnLR4lBPEfdEY3h9NpXDGasmQxPGH9Ikc=; b=bd13kP3Eq7jUapeJkgiGo+vHTE17dPcmdfddAFawRUXH9dzUNmX0ijXNtTa0dpxH2+ 8NOQRIHF8ZYHVP2vAz1e30t0XKiSALddXYJl3KjGNFMvSBIsEmBNvm4VWrLURyZmtjl/ hhMh/vjvQTZEEmRpNZn9GBGkyEtzZlsmXHa3J/82ecsjLkzNe7rEU/YPliBctdMtXiiU 1ICYvyRD+QcIWU7PU5VF1l+reuGLilPAm6jwz8DeHOQNvJv2ImjGWTcQxHhiF5XU7q7o n7671kSX0TX86c/CLhRvWHhUH8PWVWcv7rxm1D7gkX0lMzTVI7o618URThZ2F0x0pWWA xSgQ== X-Gm-Message-State: AA+aEWYjPjXcYJSVFJjlVFKHYvzQGDe6IrWAR/QIUOGpwo6FWIZ1SwWp WUQNS7kLstStHWPYGO7TdHeoM6idbxIx3PnHgyI= X-Received: by 2002:ac8:1d12:: with SMTP id d18mr6893786qtl.343.1544050265023; Wed, 05 Dec 2018 14:51:05 -0800 (PST) MIME-Version: 1.0 References: <20181204220224.27324-1-TheSven73@googlemail.com> <20181204220224.27324-2-TheSven73@googlemail.com> <20181205101659.GA27058@kroah.com> <20181205191724.GA434@kroah.com> In-Reply-To: From: Arnd Bergmann Date: Wed, 5 Dec 2018 23:50:48 +0100 Message-ID: Subject: Re: [PATCH v5 1/6] fieldbus_dev: add Fieldbus Device subsystem. To: Sven Van Asbroeck Cc: gregkh , svendev@arcx.com, Rob Herring , Linus Walleij , Lee Jones , Mark Rutland , =?UTF-8?Q?Andreas_F=C3=A4rber?= , Thierry Reding , David Lechner , noralf@tronnes.org, Johan Hovold , Michal Simek , michal.vokac@ysoft.com, John Garry , Geert Uytterhoeven , Robin Murphy , Paul Gortmaker , Sebastien Bourdelin , Icenowy Zheng , Stuart Yoder , Maxime Ripard , Linux Kernel Mailing List , DTML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 5, 2018 at 11:32 PM Sven Van Asbroeck wrote: > On Wed, Dec 5, 2018 at 2:17 PM Greg KH wrote: > > > > Great, then call it a 'fieldbus' class, not "fieldbus_dev' class. > > Small nit: > > Hardware connected to a fieldbus comes in two distinct flavours: > - clients (e.g. thermometer, robotic arm) called "fieldbus devices" > - servers (e.g. a PLC) called "fieldbus controllers" > > Their userspace APIs will probably differ quite a lot. > > The userspace API created by the patch is only for clients a.k.a. > "fieldbus devices". That's why I'm writing 'fieldbus_dev' all over the place. > > For simplicity, we could change that to just 'fieldbus'. But would this get > us in trouble when, at some point, we want to add a userspace API for > servers a.k.a. "fieldbus controllers" ? In the long run, would you expect to support more devices or more controllers that need a distinct driver? Whichever we have more of should probably get the shorter name. Arnd