Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756584AbaGWMsO (ORCPT ); Wed, 23 Jul 2014 08:48:14 -0400 Received: from ns.mm-sol.com ([37.157.136.199]:39603 "EHLO extserv.mm-sol.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755204AbaGWMsL (ORCPT ); Wed, 23 Jul 2014 08:48:11 -0400 Message-ID: <1406119669.28520.10.camel@iivanov-dev> Subject: Re: [PATCH RESEND v2 1/4] pinctrl: Update Qualcomm pm8xxx GPIO parameters definitions From: "Ivan T. Ivanov" To: Bjorn Andersson Cc: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Linus Walleij , Mark Brown , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-msm@vger.kernel.org" Date: Wed, 23 Jul 2014 15:47:49 +0300 In-Reply-To: <20140722214643.GH19700@sonymobile.com> References: <1405610748-7583-5-git-send-email-iivanov@mm-sol.com> <1405626085-14069-1-git-send-email-iivanov@mm-sol.com> <20140722214643.GH19700@sonymobile.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.1-2ubuntu2~saucy1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2014-07-22 at 14:46 -0700, Bjorn Andersson wrote: > On Thu, Jul 17, 2014 at 12:41 PM, Ivan T. Ivanov wrote: > > From: "Ivan T. Ivanov" > > > > Hi Ivan, > > Sorry for the slow response, I wanted to respin my pm8xxx-gpio driver to figure > out some resonable answers to you. > > > > PM8018, PM8038, PM8058, PM8917, PM8921 pin controller hardware > > support only one function 'gpio'. Currently GPIO's will > > support only 'normal' mode. Rest of the modes will be added > > later, if needed. > > > > This is not true. > > As I said before, there is no such thing as "pin controller hardware"; both on > pm8xxx and qpnp-pin there are two different HW blocks, one for GPIO and one for > MPP. And if you look in your pinconf_set function you will see that they are > very different. > > I'm still trying to figure out the correct pinmux mapping for the various > pmics, but the current indication is a list that looks like this: > "gpio" > "paired" > "ext_reg_en" > "ext_smps_en" > "fclk" > "kypd_drv" > "kypd_sns" > "lpa" > "lpg" > "mp3_clk" > "sleep_clk" > "uart" > "uim" > "upl" > > I haven't looked through the dts files for 8974 and 8084, but it's not possible > to describe the previous Qualcomm reference formfactor devices (MTP) with only > "gpio". -- 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/