lkml.org 
[lkml]   [2014]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/2] ARM: dts: MSM8974: Add pinctrl node
From
Date

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 <iivanov@mm-sol.com> 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



\
 
 \ /
  Last update: 2014-04-08 15:01    [W:0.146 / U:23.828 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site