From: s.peter@mpl.ch (Stefan Peter)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/1] ARM: kirkwood: Convert the mplcec4 board to pinctrl
Date: Mon, 19 Nov 2012 13:07:52 +0100 [thread overview]
Message-ID: <50AA2118.7050700@mpl.ch> (raw)
In-Reply-To: <20121119111838.GH10259@lunn.ch>
Hello Andrew
Am 19.11.2012 12:18, schrieb Andrew Lunn:
> On Mon, Nov 19, 2012 at 11:26:44AM +0100, Stefan Peter wrote:
>> Hello Andrew
>>
>> This is my try to convert the mplcec4 board to your pinctrl patches. The
>> only problem I see is that I get an uart1 using mpp13 and mpp14 which
>> are used by the mvsdio driver
>
> Hi Stefan
>
> Interesting.
>
> If you convert the dtb back to a dtc:
>
> dtc -o mplcec4.dts -O dts arch/arm/boot/kirkwood-mplcec4.dtb
>
> you see:
>
> pinctrl at 10000 {
> };
> };
>
> pmx-uart1 has no linux.phandle, and its not listed in
>
> pinctrl-0 = <0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x9 0xa 0xb 0xc 0xd>;
>
> so it should not be used as a pin hog.
Exactly.
>
> So, during boot do you see:
>
> f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
>
No
>
> What do you see in /debug/pinctrl/f1010000.pinctrl/pinmux-pins contain?
>
> Since i have a second UART on my board i have:
>
> pin 13 (PIN13): f1010000.pinctrl (GPIO UNCLAIMED) (HOG) function uart1 group mpp13
> pin 14 (PIN14): f1010000.pinctrl (GPIO UNCLAIMED) (HOG) function uart1 group mpp14
>
> but i would expect to see function sdio.
No, I see
pin 12 (PIN12): (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 13 (PIN13): (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 14 (PIN14): (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 15 (PIN15): (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 16 (PIN16): (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 17 (PIN17): (MUX UNCLAIMED) (GPIO UNCLAIMED)
However, there is a phandle in pinctrl at 10000/pmx-sdio/
>
> Thanks
> Andrew
>
Regards
Stefan Peter
--
MPL AG, Switzerland http://www.mpl.ch
Tel. +41 (0)56 483 34 34 Fax: +41(0)56 493 30 20
next prev parent reply other threads:[~2012-11-19 12:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-19 10:26 [PATCH 0/1] ARM: kirkwood: Convert the mplcec4 board to pinctrl Stefan Peter
2012-11-19 10:26 ` [PATCH 1/1] ARM: kirkwood: Convert " Stefan Peter
2012-11-19 10:44 ` Andrew Lunn
2012-11-19 11:18 ` [PATCH 0/1] ARM: kirkwood: Convert the " Andrew Lunn
2012-11-19 12:07 ` Stefan Peter [this message]
2012-11-19 12:18 ` Andrew Lunn
2012-11-19 13:01 ` Stefan Peter
2012-11-19 14:23 ` Thomas Petazzoni
2012-11-19 14:26 ` Andrew Lunn
2012-11-19 14:58 ` Stefan Peter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50AA2118.7050700@mpl.ch \
--to=s.peter@mpl.ch \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).