From: Mark Brown Subject: Re: [PATCH 2/3] spidev: Add DT binding example. Date: Sun, 3 May 2015 10:59:17 +0100 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> Reply-To: broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="KT7uikKvGtQSCm8w" Cc: Michal Suchanek , "Eric D." , linux-sunxi , Jonathan Corbet , Hans de Goede , Linux Kernel Mailing List , Maxime Ripard , linux-spi To: Martin Sperl Return-path: Content-Disposition: inline In-Reply-To: List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , List-Id: linux-spi.vger.kernel.org --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. --=20 You received this message because you are subscribed to the Google Groups "= linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/d/optout. --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--