[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAN1soZw=51caZjEoxBx8ch0KiE-kgHQFA1amRcTOyDDKe5Ymzw@mail.gmail.com>
Date: Tue, 13 Dec 2011 15:21:40 +0800
From: Haojian Zhuang <haojian.zhuang@...il.com>
To: Linus Walleij <linus.walleij@...aro.org>
Cc: Linus Walleij <linus.walleij@...ricsson.com>,
linux-kernel@...r.kernel.org, Stephen Warren <swarren@...dia.com>,
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 v6] pinctrl: add a pin config interface
On Tue, Dec 13, 2011 at 8:22 AM, Linus Walleij <linus.walleij@...aro.org> wrote:
> On Mon, Dec 12, 2011 at 7:19 AM, Haojian Zhuang
> <haojian.zhuang@...il.com> wrote:
>
>> You mentioned that pin_config_set() is used in below.
>> ret = pin_config_set(dev, "FOO_GPIO_PIN", PLATFORM_X_PULL_UP);
>>
>> struct pinctrl_dev is created while pinmux is registered. I think this
>> structure is always internal structure. It can't be observed by
>> platform driver or device driver.
>
> True. Was fixed today by a patch from Stephen Warren that
> simply cuts out the middleman and use the original platform
> device directly. Kudos to Stephen for fixing this!
>
> Linus Walleij
Excuse me that I didn't find that patch. Did you merge it into your
git tree? The latest patch on pinconf.c is updating pdev->dev to
&pdev->dev.
By the way, will you merge generic-pinconf into your for-next branch?
Best Regards
Haojian
--
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