Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760055AbaGYIgu (ORCPT ); Fri, 25 Jul 2014 04:36:50 -0400 Received: from top.free-electrons.com ([176.31.233.9]:53869 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1759876AbaGYIgs convert rfc822-to-8bit (ORCPT ); Fri, 25 Jul 2014 04:36:48 -0400 Date: Fri, 25 Jul 2014 10:36:45 +0200 From: Boris BREZILLON To: Alexandre Belloni Cc: =?UTF-8?B?SmnFmcOt?= Prchal , devicetree@vger.kernel.org, nicolas.ferre@atmel.com, linux-arm-kernel@lists.infradead.org, Bo Shen , linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: at91: at91sam9x5: sets NPCS0 (PA14) back to GPIO Message-ID: <20140725103645.7fbf5b63@bbrezillon> In-Reply-To: <20140725083053.GD9532@piout.net> References: <1405074175-22444-1-git-send-email-voice.shen@atmel.com> <53D10C50.50305@aksignal.cz> <20140724162645.4e19c26c@bbrezillon> <53D12103.3020103@aksignal.cz> <20140724175848.44f5da10@bbrezillon> <53D1F5D0.1080006@aksignal.cz> <20140725083053.GD9532@piout.net> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.20; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Alexandre, On Fri, 25 Jul 2014 10:30:54 +0200 Alexandre Belloni wrote: > Hi, > > On 25/07/2014 at 08:14:40 +0200, Jiří Prchal wrote : > > I'm using custom board. My spi node: > > spi0: spi@f0000000 { > > You should override the pinctrl here as you are using gpios for the cs. > pinctrl-0 = <&pinctrl_spi0_custom>; I guess you meant: pinctrl-0 <&pinctrl_spi0 &pinctrl_spi0_custom>; I suggested the same thing, however I'm pretty sure this is not the source of the problem. As I said, gpio_request already mux the associated pin to GPIO function. Best Regards, Boris -- Boris Brezillon, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -- 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/