[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdbjQYCcv9LBVoDb1MkSuqLYfrgb9Hr5w7TKYVoJCLwWGA@mail.gmail.com>
Date: Wed, 14 Dec 2011 18:13:27 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Stephen Warren <swarren@...dia.com>
Cc: Linus Walleij <linus.walleij@...ricsson.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Grant Likely <grant.likely@...retlab.ca>,
Barry Song <21cnbao@...il.com>,
Shawn Guo <shawn.guo@...escale.com>,
Thomas Abraham <thomas.abraham@...aro.org>,
Dong Aisheng <dong.aisheng@...aro.org>,
Rajendra Nayak <rajendra.nayak@...aro.org>,
Haojian Zhuang <haojian.zhuang@...vell.com>
Subject: Re: [PATCH] pinctrl: add a group-specific hog macro
On Wed, Dec 14, 2011 at 4:46 PM, Stephen Warren <swarren@...dia.com> wrote:
> Linus Walleij wrote at Wednesday, December 14, 2011 1:32 AM:
>> To create elegant tables for pinmux hogs on the PXA MMP platform,
>> we need this hog macro that can specify both function and group in
>> one go.
>>
>> Signed-off-by: Linus Walleij <linus.walleij@...aro.org>
>
> Acked-by: Stephen Warren <swarren@...dia.com>
>
> That said, when using this, I'd wrap it in a macro that set .name and
> .group to the same thing; for system hogs, I'm not sure what other name
> would be useful. Should the macro do that?
Nah I want to keep these namespaces separate. I can see why you'd
want to do that but it could be confusing too, some may want to
say, prefix the map entry name with the board name (or a board
wildcard like "mop500*" or nifty things like that so they see "OK these
entries are for all boards, these are for this specific variant..." etc.
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists