lkml.org 
[lkml]   [2012]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: An extremely simplified pinctrl bindings proposal
From
On Mon, Feb 6, 2012 at 10:04 PM, Tony Lindgren <tony@atomide.com> wrote:

>> I actually had something like unnamed pins in the early patches
>> to register a bunch of anonymous pins ranges, so why not bring
>> it back in.
>
> Yeah it seems that the mux registers should be listed, it might
> require a little bit of thinking for cases where one register
> controls multiple pins. So maybe we need just a new entry for
> mux registers?

I'm not sure if I'm following completely, if this is inside the devicetree-based
driver file, would it work to just add a struct dentry * to the
pinctrl_desc where you put a per-driver file?

Or maybe add extern void pinctrl_add_debugfs(struct dentry *) that adds
a new file to the existing per-driver directory through the core and then
have this add that file?

Or did you mean that the core.c should be register-aware?

Yours,
Linus Walleij


\
 
 \ /
  Last update: 2012-02-07 00:17    [W:0.048 / U:1.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site