Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp10019432imu; Wed, 5 Dec 2018 14:33:40 -0800 (PST) X-Google-Smtp-Source: AFSGD/UqG3dC06muZ0Ib2u5LtAaosF/++4TJoCf5ns9LMvPKsgs6YbLelIA0KxX7OVrXH37rsYYe X-Received: by 2002:a63:a51b:: with SMTP id n27mr22449593pgf.17.1544049220674; Wed, 05 Dec 2018 14:33:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544049220; cv=none; d=google.com; s=arc-20160816; b=ZJjmS3MOtkWqiNCG45Kk+2tv/Q1H8/UDrspk8WY1L3o0wQxhQsuhtVLekAlnwQOPVJ q42jGxhkx3/OMn1OIW4q8VRNtfZa2psySaW0Oha2wE64deO0DZ6QR+HNUIuTM9C7/nZ2 etKpC83aua+uY+nZER6kZ/2TspJedkirQhEbgYnBVqZAWrtGx6OVSQ09/xUPnlfcHyGe /9xtXsxUfRi1Pp7+YUhB7HYSi0cs00nZVmysCvEtMR1cV37wHe6BYRzMClU7POTd395W CVW8V6/dP4t5pwR2+AuUX2T1kQcGZ+BqMh0+EJE9FT8uR/SunsiF1Ptm750jUmaSKFxH Xoag== 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:dkim-signature; bh=gQgjYBbWU7NbhKGvBPrvYQ9pF87sANU/6VeFT4lR2Kc=; b=CJ0P81OpqxRAlvEcPlgf+CS+RsNbJfpkb4m4Tx9JwyD25d66eqaIqICWrbthg3uNYu 9GkreYiu2EFQxMLK34U5J41F+I+m9gmhMDUY3ZNpktCVC6ZZ85+DAT3edl+0VWGUdvti G13Gvy/rkLkhbtRFq2aWp/SKEJCBcjs2OUch6Hm75hiHQxT0HDza1j3lhuVESheMdomH JKdZubNQGYoAOtg5QLFfPL01kuESKk+/U+yXg/zA9ESD4vjZjLd8Wv9twB9mbX3crIsB x/2KV96GsiuHL5u1vMIwCx9Jwa6GX3GT5porKkMF/EC6V8RSiE7SHaAXPe4RU+vpkXBD XWJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ow8Yy9LV; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h13si17316407pgs.17.2018.12.05.14.33.24; Wed, 05 Dec 2018 14:33:40 -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=pass header.i=@gmail.com header.s=20161025 header.b=Ow8Yy9LV; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728637AbeLEWcb (ORCPT + 99 others); Wed, 5 Dec 2018 17:32:31 -0500 Received: from mail-ot1-f65.google.com ([209.85.210.65]:42010 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727339AbeLEWcb (ORCPT ); Wed, 5 Dec 2018 17:32:31 -0500 Received: by mail-ot1-f65.google.com with SMTP id v23so20206343otk.9; Wed, 05 Dec 2018 14:32:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=gQgjYBbWU7NbhKGvBPrvYQ9pF87sANU/6VeFT4lR2Kc=; b=Ow8Yy9LVbxQul5KeH8lou3ITFOMtY3/J75rZlXXg0VS1pRgpcKwSsncVysawpGDphQ gmEE1rmSVy8fTOcchpBeNGT2JABLObJK7HY/e8ONqXDp1xI+kVqR+79rP4Zes61n8QLt a+CdMULG+1GntvSoGY7BxKJUtkVpL33crrU+owui8VXOoFWE+W/3w35zU/S5oGa5yDkQ 7TjOEb4Hw1T37aRngP6CGLbP4LSAwKAIMhCsfEyaYo+I9nct5h3Py49gq/wUmjyM6vF6 E7Nvz3OjGjShuzDWA68Qx/DmS0PO6BdU9RlVu5Wa0ibNnbzfC1aURPpb/U/qZYFfSCEs Zvew== 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=gQgjYBbWU7NbhKGvBPrvYQ9pF87sANU/6VeFT4lR2Kc=; b=CNPmknqJVYM/xvvIkzVtC97TwBfdtfpFdOd8Rqn3x8qkSu7rcgPt5b+EjgLEtprBLz L6ok2q8LL0OHD+aT0iYFes7hG8YR50W/7hQYOCNXux4oKRCcdxuy6ArHZS+SB/h2af+7 WvY/TdRLbRL1vBtJr/E1MaAm//Iad6FGcN9WP4kS1qurca3DGpQ9kTtdUMhQQbyxduAz /rufCW8d4F6VmLJ/Y1CgDJNUxkkNRot6SJjIGSNvwtL8OW0LmUhhJrFhdYo0UIEN9r1s oEXzIy60KBqt4+bV8mrm72hXmUQjnzwpt5LSJk6JE+v72jfpRe4t+2UhHqlRA6PhP4kL CTDQ== X-Gm-Message-State: AA+aEWbEipaXKjvJxLBNo6gEBSYVyLIrRvqMNhdZvDI85hGJPAKy/lA/ IS6TTFPcZGM0TTQvTOP+gWoskzR4JF84H3XNQxg= X-Received: by 2002:a9d:b8e:: with SMTP id 14mr15607844oth.279.1544049150384; Wed, 05 Dec 2018 14:32:30 -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: <20181205191724.GA434@kroah.com> From: Sven Van Asbroeck Date: Wed, 5 Dec 2018 17:32:19 -0500 Message-ID: Subject: Re: [PATCH v5 1/6] fieldbus_dev: add Fieldbus Device subsystem. To: gregkh@linuxfoundation.org Cc: Sven Van Asbroeck , robh+dt@kernel.org, Linus Walleij , Lee Jones , mark.rutland@arm.com, =?UTF-8?Q?Andreas_F=C3=A4rber?= , treding@nvidia.com, David Lechner , noralf@tronnes.org, johan@kernel.org, Michal Simek , michal.vokac@ysoft.com, Arnd Bergmann , john.garry@huawei.com, geert+renesas@glider.be, robin.murphy@arm.com, paul.gortmaker@windriver.com, sebastien.bourdelin@savoirfairelinux.com, icenowy@aosc.io, Stuart Yoder , maxime.ripard@bootlin.com, Linux Kernel Mailing List , devicetree 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 Thanks :) 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" ?