From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfram Sang Subject: Re: [PATCH v10 0/9] Add the I3C subsystem Date: Thu, 15 Nov 2018 16:01:37 +0100 Message-ID: <20181115150137.GB4169@kunai> References: <20181026144333.12276-1-boris.brezillon@bootlin.com> <76b1d15d-232c-d8ba-5eba-8394e71be725@synopsys.com> <20181115135731.25f60990@bbrezillon> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="i9LlY+UWpKt15+FH" Return-path: Content-Disposition: inline In-Reply-To: <20181115135731.25f60990@bbrezillon> Sender: linux-kernel-owner@vger.kernel.org To: Boris Brezillon 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 List-Id: devicetree@vger.kernel.org --i9LlY+UWpKt15+FH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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. Dunno if you have that, but a debug interface (exchanging data with clients) on the other hand would be super useful most probably. Maybe you can start having that in debugfs and already learn from it if you ever want to move some interface outside of debugfs? Kind regards, Wolfram --i9LlY+UWpKt15+FH Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAlvtilEACgkQFA3kzBSg KbZgrxAAnFddvV2JFwTmL+pCc42D4FXaCvrGViEzLVgkMVXziaNTd2fgsowj0Gdh UZWnUbWd5YklqE4MxirpuHmsQvbYlYQ46r2eS22Xbfd/8JqdgNdRHep3jLYc4M4f TC8MCNU4u/j0m8pGvdEvRJZpLVI5qlHUBl9rP8locXiCUrW5Tsb7AnvUdZ/Vsv39 MYC4yzGp7JZbO9LgPpHS1BRy+H3W2pQdquivQQEh1IIc/pqyehbN3c4MK23ZyBbZ 7EGHMzvM6JHcVtgV547oJLNzJ5oyzKUpyRfqO7rhHA8drdZqEsULLFVeAmL7ee+x 6GC8iYG0Fz+juySLh9Gk2c+k0gpnGBCiQZqu/kAssI/cXA+vGAMOb6WIrRrgfV6l m3RcxTqB4IbdLVJWOMXukNF4LoJXOSNIy991K167umJF4/l17WIlhCQahMcsBUm+ HoXcPaiI7qTKhT1KHXCd6hoKz0PaRO8LMGG7ZOtJyJEPb/i+/khyNOejo2tmNO/J aBc1kWhEwNeBMPUQynlr/hgtHQ4+fudBr5dQjJieOVNjVZLJiZQYPglIaj6sQqRv RAmIa9erFrftKn8Wye2I5uGLG9FnljVTbtb1vfH8X2oeGIKG2VldDtHGahYBpx01 4GIH4afxFT7b1VRbbhEqouiwS29o+GKEh45yR2uOKQ8Ham8pBSQ= =Ox07 -----END PGP SIGNATURE----- --i9LlY+UWpKt15+FH--