Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756740AbaDHMPs (ORCPT ); Tue, 8 Apr 2014 08:15:48 -0400 Received: from ns.mm-sol.com ([37.157.136.199]:36087 "EHLO extserv.mm-sol.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756288AbaDHMPq (ORCPT ); Tue, 8 Apr 2014 08:15:46 -0400 Message-ID: <1396959284.28420.45.camel@iivanov-dev> Subject: Re: [PATCH 2/2] ARM: dts: MSM8974: Add pinctrl node From: "Ivan T. Ivanov" To: Timur Tabi Cc: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , devicetree@vger.kernel.org, lkml , linux-arm-msm@vger.kernel.org Date: Tue, 08 Apr 2014 15:14:44 +0300 In-Reply-To: References: <1391700529-11816-1-git-send-email-iivanov@mm-sol.com> <1391700529-11816-2-git-send-email-iivanov@mm-sol.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 Hi, On Mon, 2014-04-07 at 18:53 -0500, Timur Tabi wrote: > On Thu, Feb 6, 2014 at 9:28 AM, Ivan T. Ivanov wrote: > > + spi8_default: spi8_default { > > + mosi { > > + pins = "gpio45"; > > + function = "blsp_spi8"; > > + }; > > + miso { > > + pins = "gpio46"; > > + function = "blsp_spi8"; > > + }; > > + cs { > > + pins = "gpio47"; > > + function = "blsp_spi8"; > > + }; > > + clk { > > + pins = "gpio48"; > > + function = "blsp_spi8"; > > + }; > > I'm confused by this. Isn't this information already defined in the > pinctrl-msm8x74.c driver? > > static const char * const blsp_spi8_groups[] = { > "gpio45", "gpio46", "gpio47", "gpio48" > }; I am not sure that I understand the question. This is one of possible ways to describe relationship between pins and functions. As they are described is visible what is their real purpose. Regards, Ivan -- 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/