Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751921AbbDZLXo (ORCPT ); Sun, 26 Apr 2015 07:23:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58482 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751093AbbDZLXl (ORCPT ); Sun, 26 Apr 2015 07:23:41 -0400 Message-ID: <553CCABA.3090504@redhat.com> Date: Sun, 26 Apr 2015 13:23:38 +0200 From: Hans de Goede User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: broonie@kernel.org, Michal Suchanek CC: linux-sunxi , Jonathan Corbet , linux-spi@vger.kernel.org, linux-doc@vger.kernel.org, Linux Kernel Mailing List Subject: Re: [linux-sunxi] Re: [PATCH 2/3] spidev: Add DT binding example. References: <20150426103257.GJ22845@sirena.org.uk> <20150426110144.GK22845@sirena.org.uk> In-Reply-To: <20150426110144.GK22845@sirena.org.uk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 943 Lines: 29 Hi, On 26-04-15 13:01, Mark Brown wrote: > On Sun, Apr 26, 2015 at 12:54:36PM +0200, Michal Suchanek wrote: >> On 26 April 2015 at 12:32, Mark Brown wrote: > >>> No, this is broken - nothing should ever bind to spidev as spidev. The >>> fact that we have a binding document at all is a bug. > >> And how do you get spidev if nothing binds to it? > >> When you boot without the binding no device is created. > > Describe your actual hardware in the DT then add the relevant device ID > to spidev. I think there is actual a use for just binding spidev as spidev, think e.g. the spi pins on the raspberry pi. How do you deal we suggest with such a situation ? Regards, Hans -- 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/