Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8165672imu; Thu, 15 Nov 2018 07:33:03 -0800 (PST) X-Google-Smtp-Source: AJdET5e+0WmaD6bGRxvOdhbrAxAXV8bJvi5ePM/PsjE1Y3rM8Ij5K3jEn4EBwE9XOWQ0odMxaVmw X-Received: by 2002:a62:5ac3:: with SMTP id o186-v6mr7119078pfb.40.1542295983769; Thu, 15 Nov 2018 07:33:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542295983; cv=none; d=google.com; s=arc-20160816; b=C0z2qvoswgpz5jEHVQGYm5zPO+imw7Wb9hY7tEzqsITN9ZpQHepsZut8RqnT2LefUP 5nS3VV+PmOjjMVcS1Go7rU0GSoIWK+418vdSeQorOUxkaLMxbn3yfj1ICRDepF/o+g89 +cC+Mg1a/PK8R8n1jNcDdzWzIDs59XnJITTIyVHR9r3ttYn1wo7B+JwoaCWejP5n0gKr M4OHdmIjE7VmotYxODOnp6HzU+Ogjao1EgdtA3BZNYlXRNFoOl2Ngp7TFgrqZn23nPcx WMTzZMqDoRvXmanbQygfBcrMEByBFUWCl/rDMqouJE1+K9yPXt2nMPGiAr/ec5hdOgKV sn2w== 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 :references:in-reply-to:message-id:subject:cc:to:from:date; bh=kbdNtQjCaGLUOFRxIb1/0VQ8aJRXSEvWEhcgW6Bo3kI=; b=VssloAmjSy/ryL2FthvlZqjvI4Nk2l4Jes4MmpJDljk9pw6KTbYe9hpBHBJbhcWXP4 imiIPPMebuklwuxTKf4kgK8Luh/bGUOMaWxc1yU/JUPV35k+0t9JPiQ5s7JxXgeoQnS9 AWTEXyZf9OIwM58ZABhWndZ3r5W18rKLfp5lUHnWFNSWbq4U0QmgTICN2oounBGGl8RV c2OndTfnmbu8Cy7SD8SHeQ8Ek+FR64rWg0MuzzyMjFJqbU5bFV2FppKYtr+l702q06nu ZvtCW8ZeZXnE29OvRPEpHCPQdNzU3eZjtXhZEoKdvyDViwaZQepCW8nr8pe9n98VxPaD mXyA== 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 w22-v6si27359248plp.110.2018.11.15.07.32.24; Thu, 15 Nov 2018 07:33:03 -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 S2388416AbeKPBg5 (ORCPT + 99 others); Thu, 15 Nov 2018 20:36:57 -0500 Received: from mail.bootlin.com ([62.4.15.54]:46484 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388019AbeKPBg5 (ORCPT ); Thu, 15 Nov 2018 20:36:57 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id F0D2C20893; Thu, 15 Nov 2018 16:28:37 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.2 Received: from bbrezillon (aaubervilliers-681-1-13-146.w90-88.abo.wanadoo.fr [90.88.134.146]) by mail.bootlin.com (Postfix) with ESMTPSA id 446A220379; Thu, 15 Nov 2018 16:28:27 +0100 (CET) Date: Thu, 15 Nov 2018 16:28:26 +0100 From: Boris Brezillon To: Wolfram Sang Cc: vitor , linux-i2c@vger.kernel.org, Jonathan Corbet , linux-doc@vger.kernel.org, Greg Kroah-Hartman , Arnd Bergmann , Przemyslaw Sroka , Arkadiusz Golec , Alan Douglas , Bartosz Folta , Damian Kos , Alicja Jurasik-Urbaniak , Cyprian Wronka , Suresh Punnoose , Rafal Ciepiela , Thomas Petazzoni , Nishanth Menon , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven , Linus Walleij , Xiang Lin , linux-gpio@vger.kernel.org, Sekhar Nori , Przemyslaw Gaj , Peter Rosin , Mike Shettel , Stephen Boyd , Mark Brown Subject: Re: [PATCH v10 0/9] Add the I3C subsystem Message-ID: <20181115162826.42b54776@bbrezillon> In-Reply-To: <20181115150137.GB4169@kunai> References: <20181026144333.12276-1-boris.brezillon@bootlin.com> <76b1d15d-232c-d8ba-5eba-8394e71be725@synopsys.com> <20181115135731.25f60990@bbrezillon> <20181115150137.GB4169@kunai> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 15 Nov 2018 16:01:37 +0100 Wolfram Sang wrote: > Hi Boris, > > > What we could do though, is expose I3C devices that do not have a > > driver in kernel space, like spidev does. > > ... > > > Mark, Wolfram, Arnd, Greg, any opinion? > > Is there a benefit for having drivers in userspace? My gut feeling is to > encourage people to write kernel drivers. If this is, for some reason, > not possible for some driver, then we have a use case at hand to test > the then-to-be-developed userspace interface against. Until then, I > personally wouldn't waste effort on designing it without a user in > sight. I kind of agree with that. Vitor, do you have a use case in mind for such userspace drivers? I don't think it's worth designing an API for something we don't need (yet).