Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751739AbaKCItE (ORCPT ); Mon, 3 Nov 2014 03:49:04 -0500 Received: from mail-wg0-f43.google.com ([74.125.82.43]:59651 "EHLO mail-wg0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751187AbaKCIs6 (ORCPT ); Mon, 3 Nov 2014 03:48:58 -0500 Message-ID: <54574177.5030906@linaro.org> Date: Mon, 03 Nov 2014 08:48:55 +0000 From: Srinivas Kandagatla User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: Bjorn Andersson , Bjorn Andersson CC: "Ivan T. Ivanov" , Linus Walleij , Grant Likely , Rob Herring , "linux-arm-msm@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v3 2/6] pinctrl: Introduce pinctrl driver for Qualcomm SSBI PMIC's References: <1407771634-14946-1-git-send-email-iivanov@mm-sol.com> <1407771634-14946-3-git-send-email-iivanov@mm-sol.com> <53F456F3.3000309@linaro.org> <20140820212843.GB16274@sonymobile.com> In-Reply-To: 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 Hi Bjorn, On 20/08/14 23:13, Bjorn Andersson wrote: > On Wed, Aug 20, 2014 at 2:28 PM, Bjorn Andersson > wrote: >> On Wed 20 Aug 01:06 PDT 2014, Srinivas Kandagatla wrote: >>> 2> Looking back at v3.4 kernel, for gpio modes, BIT(0) of bank 0 is set >>> to enable gpio mode. without this bit driver does not work for output pins. >>> >> >> Thanks, I missed that. >> >> Unfortunately, setting that bit results in input not working - the interrupt >> bits are never set for gpios that have that bit set. I'm trying to figure out >> why this is the case before sending out the new version... > > With help from Andy Gross this is now corrected as well, turned out > that BIT(0) in bank0 controls if the "direction" is considered. As I > was tricked by the multiple levels of indirection in the codeaurora > version I got these wrong. > > Will send out an updated version shortly. Did you get a chance to spin a new version of this patcheset? --srini > > Regards, > Bjorn > -- 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/