From: Fabio Giovagnini <fabio.giovagnini@aurion-tech.com>
To: linux-sh@vger.kernel.org
Subject: Re: PFC of SCIF 1
Date: Thu, 01 Apr 2010 10:16:13 +0000 [thread overview]
Message-ID: <201004011216.13813.fabio.giovagnini@aurion-tech.com> (raw)
In-Reply-To: <201004011136.26340.fabio.giovagnini@aurion-tech.com>
Ok, now I'll get a look.
Thanks a lot
In data giovedì 01 aprile 2010 12:11:51, Magnus Damm ha scritto:
: > Hi Fabio,
>
> On Thu, Apr 1, 2010 at 7:06 PM, Fabio Giovagnini
>
> <fabio.giovagnini@aurion-tech.com> wrote:
> > Sorry Magnus, I do not understand.
> > I have ttySC0 as default console and the system works; now I'm writing my
> > application for managing teh ttySC1 port for my specif problem.
>
> If the boot loader usually sets up the pinmux and if the kernel does
> not touch it then it will work. On SH the proper way to do this is to
> let the kernel use the GPIO framework to configure the pinmux using
> request_irq().
>
> > Where can I find the PFC initialization for ttySC0 Port into the kernel
> > tree?
>
> Have a look at this:
>
> damm@t400s ~/git/linux-2.6 $ find arch/sh | xargs grep gpio_request | grep
> SCIF
> arch/sh/boards/mach-se/7724/setup.c: gpio_request(GPIO_FN_SCIF3_I_SCK,
> NULL);
> arch/sh/boards/mach-se/7724/setup.c: gpio_request(GPIO_FN_SCIF3_I_RXD,
> NULL);
> arch/sh/boards/mach-se/7724/setup.c: gpio_request(GPIO_FN_SCIF3_I_TXD,
> NULL);
> arch/sh/boards/mach-se/7724/setup.c: gpio_request(GPIO_FN_SCIF3_I_CTS,
> NULL);
> arch/sh/boards/mach-se/7724/setup.c: gpio_request(GPIO_FN_SCIF3_I_RTS,
> NULL);
> arch/sh/boards/mach-ecovec24/setup.c: gpio_request(GPIO_FN_SCIF0_TXD,
> NULL);
> arch/sh/boards/mach-ecovec24/setup.c: gpio_request(GPIO_FN_SCIF0_RXD,
> NULL);
> arch/sh/boards/mach-kfr2r09/setup.c: gpio_request(GPIO_FN_SCIF1_RXD,
> NULL);
> arch/sh/boards/mach-kfr2r09/setup.c: gpio_request(GPIO_FN_SCIF1_TXD,
> NULL);
> arch/sh/boards/mach-highlander/pinmux-r7785rp.c: gpio_request(GPIO_FN_SCIF
> 0_CTS, NULL);
> arch/sh/boards/mach-highlander/pinmux-r7785rp.c: gpio_request(GPIO_FN_SCIF0
> _RTS, NULL);
> arch/sh/boards/mach-highlander/pinmux-r7785rp.c: gpio_request(GPIO_FN_SCIF0
> _SCK, NULL);
> arch/sh/boards/mach-highlander/pinmux-r7785rp.c: gpio_request(GPIO_FN_SCIF0
> _RXD, NULL);
> arch/sh/boards/mach-highlander/pinmux-r7785rp.c: gpio_request(GPIO_FN_SCIF0
> _TXD, NULL);
> damm@t400s ~/git/linux-2.6 $
>
> Cheers,
>
> / magnus
>
--
Fabio Giovagnini
Aurion s.r.l.
P.I e C.F.
00885711200
Tel. +39.051.594.78.24
Cell. +39.335.83.50.919
next prev parent reply other threads:[~2010-04-01 10:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-01 9:36 PFC of SCIF 1 Fabio Giovagnini
2010-04-01 10:03 ` Magnus Damm
2010-04-01 10:06 ` Fabio Giovagnini
2010-04-01 10:11 ` Magnus Damm
2010-04-01 10:12 ` Magnus Damm
2010-04-01 10:16 ` Fabio Giovagnini [this message]
2010-04-01 13:52 ` Fabio Giovagnini
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=201004011216.13813.fabio.giovagnini@aurion-tech.com \
--to=fabio.giovagnini@aurion-tech.com \
--cc=linux-sh@vger.kernel.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