From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH] spi/spi-altera: Allow to explicitely override bus number via dts Date: Wed, 1 Feb 2012 14:08:38 +0000 Message-ID: <20120201140838.GE13723@sirena.org.uk> References: <1328025246-23450-1-git-send-email-tklauser@distanz.ch> <20120201135524.GD13723@sirena.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: Frederic LAMBERT Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, Rob Herring , spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, Tobias Klauser List-Id: devicetree@vger.kernel.org On Wed, Feb 01, 2012 at 03:01:53PM +0100, Frederic LAMBERT wrote: Don't top post! > Because this bus number is used to create the device name on > /sys/bus/spi/..., name that the user app must know to work with. Why must the user application know this? What is missing to allow the application to discover an appropriate device to work with automatically?