Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752504AbbECJ7v (ORCPT ); Sun, 3 May 2015 05:59:51 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:48012 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751743AbbECJ7n (ORCPT ); Sun, 3 May 2015 05:59:43 -0400 Date: Sun, 3 May 2015 10:59:17 +0100 From: Mark Brown To: Martin Sperl Cc: Michal Suchanek , "Eric D." , linux-sunxi , Jonathan Corbet , Hans de Goede , Linux Kernel Mailing List , Maxime Ripard , linux-spi Message-ID: <20150503095917.GQ22845@sirena.org.uk> References: <20150428141630.GR22845@sirena.org.uk> <20150428171738.GY22845@sirena.org.uk> <20150429174059.GQ22845@sirena.org.uk> <20150429180659.GT22845@sirena.org.uk> <20150430195829.GG22845@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="KT7uikKvGtQSCm8w" Content-Disposition: inline In-Reply-To: X-Cookie: Your present plans will be successful. User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: 94.175.94.161 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example. X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1705 Lines: 48 --KT7uikKvGtQSCm8w Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 03, 2015 at 11:01:05AM +0200, Martin Sperl wrote: > What about implementing it like this: > echo -n =E2=80=9Cspi32761.4=E2=80=9D > /sys/bus/spi/drivers/spidev/bind > Would this be an acceptable solution? > This is actually mentioned in Documentation/spi/spidev as a > possible option for the future - quote: > > (Sysfs also supports userspace driven binding/unbinding of drivers to > > devices. That mechanism might be supported here in the future.) > Not sure why it does not work right now (but it works for =E2=80=9Creal= =E2=80=9D > device-drivers), but I guess it has to do with compatibility checks. Hrm, yes - that should work. I'd ask Greg, that's not something the bus implements. --KT7uikKvGtQSCm8w Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVRfF0AAoJECTWi3JdVIfQZLAH/RXeuHBtVLz7dFeqK2MiqlKY yNikjgUXkQu/kHNhNpWQE5NyUg92sqY4HwnENrBd+5KxW1rwWd5Kr0Ur1i7V0HIh uTKyT6O/zIpaWqN1WtAVdtMuJiRfK8XsYp9hnOZIS2ZVSNDTkce8lj6VCCwqIVl2 Gtegr3rjtG+eMr3tezk+isjq90nPS1gdFGmZERUWFxCirtP7/IPUD/avFUaTCdSo obCkVMDi5GQc/UtZXeRda0zqRLu5A+jFan7Zzw69IDiadU4baSk4Xa7ApuRBSsWv x281iCzU+KcjsuZbStvYpRCzAWrQ1gJNnIjITC5+GAz6RGDEqmyFaVJcu+OM5Uc= =RD8D -----END PGP SIGNATURE----- --KT7uikKvGtQSCm8w-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/