Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933947AbbEMSQf (ORCPT ); Wed, 13 May 2015 14:16:35 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:52897 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932196AbbEMSQd (ORCPT ); Wed, 13 May 2015 14:16:33 -0400 Date: Wed, 13 May 2015 11:16:31 -0700 From: Greg Kroah-Hartman To: Mark Brown Cc: Maxime Ripard , linux-kernel@vger.kernel.org, Hans de Goede , linux-spi@vger.kernel.org, Martin Sperl , Michal Suchanek Subject: Re: [PATCH] spi: Force the registration of the spidev devices Message-ID: <20150513181631.GB16811@kroah.com> References: <1431462804-30467-1-git-send-email-maxime.ripard@free-electrons.com> <20150513112604.GI3066@sirena.org.uk> <20150513153740.GC11677@kroah.com> <20150513171300.GD2761@sirena.org.uk> <20150513172028.GA18303@kroah.com> <20150513173922.GF2761@sirena.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150513173922.GF2761@sirena.org.uk> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1422 Lines: 29 On Wed, May 13, 2015 at 06:39:22PM +0100, Mark Brown wrote: > On Wed, May 13, 2015 at 10:20:28AM -0700, Greg Kroah-Hartman wrote: > > On Wed, May 13, 2015 at 06:13:00PM +0100, Mark Brown wrote: > > > > So, that was my original suggestion too but people were complaining that > > > this wasn't a generally supported feature and requires specific support > > > of some kind in the bus (which nobody posted a patch for). > > > I don't understand the complaint, it's a very "generally supported > > feature" and has been there for a very long time for any bus that wants > > to use it. > > So it's not something that just works for all buses and someone would > need to write a patch (hint, hint - that's one of the big blockers > here)? It is a bit surprising to me that this would be something that > the buses would need to cope with individually since for most things the > matching mechanics are taken care of in the driver core and we're > explicitly overriding them here. It should "just work" for all busses, but if you want to add a "new_id" sysfs file, you need to add the logic for that to your bus. It's the bind/unbind files in the driver directories. greg k-h -- 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/