Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933458AbbELOwp (ORCPT ); Tue, 12 May 2015 10:52:45 -0400 Received: from mail-wg0-f51.google.com ([74.125.82.51]:33270 "EHLO mail-wg0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932889AbbELOwm (ORCPT ); Tue, 12 May 2015 10:52:42 -0400 MIME-Version: 1.0 In-Reply-To: <20150512142759.GK10961@lukather> References: <20150426103257.GJ22845@sirena.org.uk> <20150426110144.GK22845@sirena.org.uk> <553CCABA.3090504@redhat.com> <12F80B18-7418-430E-94F7-5A20C133BA9A@martin.sperl.org> <20150426125113.GF5627@lukather> <20150427101601.GN22845@sirena.org.uk> <20150427173036.GA10950@lukather> <20150427180728.GW22845@sirena.org.uk> <20150512142759.GK10961@lukather> From: Michal Suchanek Date: Tue, 12 May 2015 16:52:00 +0200 Message-ID: Subject: Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example. To: Maxime Ripard Cc: Mark Brown , Martin Sperl , Hans de Goede , linux-sunxi , Jonathan Corbet , linux-spi , linux-doc , Linux Kernel Mailing List Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2063 Lines: 57 Hello, On 12 May 2015 at 16:27, Maxime Ripard wrote: > On Mon, Apr 27, 2015 at 07:07:28PM +0100, Mark Brown wrote: >> On Mon, Apr 27, 2015 at 07:30:36PM +0200, Maxime Ripard wrote: >> > On Mon, Apr 27, 2015 at 11:16:01AM +0100, Mark Brown wrote: >> >> > > lkml.org is being terrible as usual so I can't see half the thread (or >> > > at least got fed up trying to get it to load) >> >> > A part of it is also here: >> > http://lkml.iu.edu/hypermail/linux/kernel/1405.0/00484.html >> >> OK, thanks. >> >> > > but I think the discussion there petered out more than anything >> > > else. >> >> > Maybe it did :) >> >> I think so looking at the archives. >> >> > > Or was it the suggestion to make this something that the driver core >> > > supported so that we didn't have to open code it for every bus? >> >> > Probably. That's something I really haven't took the time to look at, >> > and don't really plan on doing so. >> >> > I guess a good way forward would be to revive this patch, and wait for >> > that generic way to happen. >> >> > What do you think of this? >> >> Probably best, the Pi bootloader does make it a bit more important. >> Might also be worth speaking to Greg though. > > So, do you want me to resend that patch and discuss this directly > there (with Greg in Cc) ? My general idea is to get overlay loading to work and then make spidev bind to all CS which are not taken by anything and unbind when an overlay tries to take over the CS. Since there are some overlay loading patches available that part can be considered solved but I did not get to looking at the dynamic spidev binding. For now I use your patch with additional patch that marks the spidev devices with a flag so they are not checked when it is determined if the CS is in use. Thanks Michal -- 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/