Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752082AbbECJBU (ORCPT ); Sun, 3 May 2015 05:01:20 -0400 Received: from 212-186-180-163.dynamic.surfer.at ([212.186.180.163]:48379 "EHLO cgate.sperl.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751598AbbECJBJ convert rfc822-to-8bit (ORCPT ); Sun, 3 May 2015 05:01:09 -0400 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example. From: Martin Sperl In-Reply-To: <20150430195829.GG22845@sirena.org.uk> Date: Sun, 3 May 2015 11:01:05 +0200 Cc: Michal Suchanek , "Eric D." , linux-sunxi , Jonathan Corbet , Hans de Goede , Linux Kernel Mailing List , Maxime Ripard , linux-spi Content-Transfer-Encoding: 8BIT 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> To: Mark Brown X-Mailer: Apple Mail (2.2098) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1084 Lines: 31 > 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 “spi32761.4” > /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 “real” device-drivers), but I guess it has to do with compatibility checks. Martin -- 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/