Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751865AbbDZKzV (ORCPT ); Sun, 26 Apr 2015 06:55:21 -0400 Received: from mail-wg0-f54.google.com ([74.125.82.54]:34277 "EHLO mail-wg0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751540AbbDZKzS (ORCPT ); Sun, 26 Apr 2015 06:55:18 -0400 MIME-Version: 1.0 In-Reply-To: <20150426103257.GJ22845@sirena.org.uk> References: <20150426103257.GJ22845@sirena.org.uk> From: Michal Suchanek Date: Sun, 26 Apr 2015 12:54:36 +0200 Message-ID: Subject: Re: [PATCH 2/3] spidev: Add DT binding example. To: Mark Brown Cc: linux-sunxi , Jonathan Corbet , linux-spi@vger.kernel.org, linux-doc@vger.kernel.org, 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: 712 Lines: 21 On 26 April 2015 at 12:32, Mark Brown wrote: > On Tue, Mar 24, 2015 at 11:50:53AM +0100, Michal Suchanek wrote: > >> +A spidev example for devicetree binding in a board dts file >> +&spi2 { > > 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. 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/