[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdazRxXZCwqfy-fSNCiDBt5pU+9G1f_J_s+16Mg16e+LGg@mail.gmail.com>
Date: Wed, 25 Mar 2015 16:39:50 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Lee Jones <lee.jones@...aro.org>
Cc: "linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
kernel@...inux.com
Subject: Re: [PATCH v2 6/6] pinctrl: st: Display pin's function when printing
pinctrl debug information
On Wed, Mar 18, 2015 at 6:21 PM, Lee Jones <lee.jones@...aro.org> wrote:
> Great for easily determining which mode a pin is operating in.
> This patch was particularly helpful when debugging a recent GPIO/
> Pinctrl disparity issue.
>
> Before:
> $ cat /sys/kernel/debug/pinctrl/<pin-controller>/pinconf-pins
> pin 33 (PIO4[1]):[OE:0,PU:0,OD:0]
> [retime:0,invclk:0,clknotdat:0,de:0,rt-clk:0,rt-delay:0]
>
> After [GPIO]:
> $ cat /sys/kernel/debug/pinctrl/<pin-controller>/pinconf-pins
> pin 33 (PIO4[1]):[OE:0,PU:0,OD:0] GPIO
> [retime:0,invclk:0,clknotdat:0,de:0,rt-clk:0,rt-delay:0]
>
> After [Alt]:
> $ cat /sys/kernel/debug/pinctrl/<pin-controller>/pinconf-pins
> pin 33 (PIO4[1]):[OE:0,PU:0,OD:0] Alt Fn 2
> [retime:0,invclk:0,clknotdat:0,de:0,rt-clk:0,rt-delay:0]
>
> Acked-by: Maxime Coquelin <maxime.coquelin@...com>
> Signed-off-by: Lee Jones <lee.jones@...aro.org>
Patch applied.
Yours,
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