Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030222AbbD1Mxk (ORCPT ); Tue, 28 Apr 2015 08:53:40 -0400 Received: from mail-wg0-f41.google.com ([74.125.82.41]:33131 "EHLO mail-wg0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965667AbbD1Mxg (ORCPT ); Tue, 28 Apr 2015 08:53:36 -0400 MIME-Version: 1.0 In-Reply-To: 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> From: Michal Suchanek Date: Tue, 28 Apr 2015 14:52:54 +0200 Message-ID: Subject: Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example. To: "Eric D." Cc: linux-sunxi , Jonathan Corbet , Hans de Goede , Mark Brown , Linux Kernel Mailing List , Maxime Ripard , linux-spi , Martin Sperl 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: 949 Lines: 30 On 28 April 2015 at 14:15, Eric D. wrote: > Hi, > > I'am a mainline linux user of A20 (bananapi). I'am currently running a > debian jessie with latest mainline kernel (4.0.0+). > I have a project of home automation, based on nrfl04+ spi driven wireless > chip. > I was just seeking a way to make spidev device appear under mainline kernel > and found this thread. > Could someone explain the right way to do this ? There is no approved RightWay(tm). However, you can use this patch: https://lkml.org/lkml/2014/4/28/612 which is probably the least controversial way for now. The example at the start of the thread also works but is CertainlyNotApprovedWay(tm). HTH 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/