From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Subject: Re: [PATCH 2/3] spidev: Add DT binding example. Date: Sun, 3 May 2015 12:02:13 +0200 Message-ID: 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: geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Mark Brown , Michal Suchanek , "Eric D." , linux-sunxi , Jonathan Corbet , Hans de Goede , Linux Kernel Mailing List , Maxime Ripard , linux-spi To: Martin Sperl Return-path: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org In-Reply-To: List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , List-Id: linux-spi.vger.kernel.org On Sun, May 3, 2015 at 11:01 AM, Martin Sperl wro= te: >> On 30.04.2015, at 21:58, Mark Brown wrote: >> A big reason for that is that it's not in my inbox for me to review, >> these messages I flagged as unhelpful aren't going to help with that if >> only because I don't want to create the impression that such behaviour >> achieves results. > > 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. IIRC, PCI drivers support adding more compatible entries through /sysfs. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k= .org In personal conversations with technical people, I call myself a hacker. Bu= t when I'm talking to journalists I just say "programmer" or something like t= hat. -- Linus Torvalds --=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.