All of lore.kernel.org
 help / color / mirror / Atom feed
From: Magnus Damm <magnus.damm@gmail.com>
To: linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] [RFC] ARM: shmobile: Add early debugging support using SCIF(A)
Date: Mon, 06 Oct 2014 06:14:05 +0000	[thread overview]
Message-ID: <CANqRtoRPus-fQTP7Ewiqhi8WeVK_=yEqa5oDkQ5r-s9y0cNMMA@mail.gmail.com> (raw)
In-Reply-To: <20141006060347.GB1266@katana>

Hi Wolfram,

On Mon, Oct 6, 2014 at 3:03 PM, Wolfram Sang <wsa@the-dreams.de> wrote:
>
>> >   - While the serial console on r8a7790 was switched from SCIF0 to
>> >     SCIFA0 recently, I believe r8a7990 still needs to use SCIF0 instead
>> >     of SCIFA0, as that's what the bootloader has configured.
>>
>> Good point. Wolfram, any opinion about this ?
>
> IMO we should only use SCIFA if it uses the same wires as SCIF. This
> is the case for Lager (7790). Dunno about other boards.

From my side I think we should let our users decide for themselves. So
to me it would make sense to be able to assign various devices like
UART, SPI and I2C to whatever pins that the user wants during run
time, and use DT to point out what the hardware possibilities look
like. Right now we describe one setting in DT, and it smells like a
software policy to me. =)

Cheers,

/ magnus

WARNING: multiple messages have this Message-ID (diff)
From: magnus.damm@gmail.com (Magnus Damm)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] [RFC] ARM: shmobile: Add early debugging support using SCIF(A)
Date: Mon, 6 Oct 2014 15:14:05 +0900	[thread overview]
Message-ID: <CANqRtoRPus-fQTP7Ewiqhi8WeVK_=yEqa5oDkQ5r-s9y0cNMMA@mail.gmail.com> (raw)
In-Reply-To: <20141006060347.GB1266@katana>

Hi Wolfram,

On Mon, Oct 6, 2014 at 3:03 PM, Wolfram Sang <wsa@the-dreams.de> wrote:
>
>> >   - While the serial console on r8a7790 was switched from SCIF0 to
>> >     SCIFA0 recently, I believe r8a7990 still needs to use SCIF0 instead
>> >     of SCIFA0, as that's what the bootloader has configured.
>>
>> Good point. Wolfram, any opinion about this ?
>
> IMO we should only use SCIFA if it uses the same wires as SCIF. This
> is the case for Lager (7790). Dunno about other boards.

>From my side I think we should let our users decide for themselves. So
to me it would make sense to be able to assign various devices like
UART, SPI and I2C to whatever pins that the user wants during run
time, and use DT to point out what the hardware possibilities look
like. Right now we describe one setting in DT, and it smells like a
software policy to me. =)

Cheers,

/ magnus

  reply	other threads:[~2014-10-06  6:14 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-02 19:02 [PATCH] [RFC] ARM: shmobile: Add early debugging support using SCIF(A) Geert Uytterhoeven
2014-10-02 19:02 ` Geert Uytterhoeven
2014-10-03  0:04 ` Khiem Nguyen
2014-10-03  0:04   ` Khiem Nguyen
2014-10-03  7:21   ` Geert Uytterhoeven
2014-10-03  7:21     ` Geert Uytterhoeven
2014-10-03 10:19     ` Khiem Nguyen
2014-10-03 10:19       ` Khiem Nguyen
2014-10-03 11:28       ` Geert Uytterhoeven
2014-10-03 11:28         ` Geert Uytterhoeven
2014-10-05 22:18 ` Laurent Pinchart
2014-10-05 22:18   ` Laurent Pinchart
2014-10-06  6:03   ` Wolfram Sang
2014-10-06  6:03     ` Wolfram Sang
2014-10-06  6:14     ` Magnus Damm [this message]
2014-10-06  6:14       ` Magnus Damm
2014-10-06  8:56     ` Geert Uytterhoeven
2014-10-06  8:56       ` Geert Uytterhoeven
2014-10-06  9:01       ` Wolfram Sang
2014-10-06  9:01         ` Wolfram Sang
2014-10-06  9:08   ` Geert Uytterhoeven
2014-10-06  9:08     ` Geert Uytterhoeven
2014-10-07 10:37   ` Ian Molton
2014-10-07 10:37     ` Ian Molton
2014-10-07 11:07     ` Geert Uytterhoeven
2014-10-07 11:07       ` Geert Uytterhoeven
2014-10-07 12:39       ` Geert Uytterhoeven
2014-10-07 12:39         ` Geert Uytterhoeven
2014-10-05 23:36 ` Magnus Damm
2014-10-05 23:36   ` Magnus Damm
2014-10-06  9:18   ` Geert Uytterhoeven
2014-10-06  9:18     ` Geert Uytterhoeven
2014-10-07 10:49 ` Arnd Bergmann
2014-10-07 10:49   ` Arnd Bergmann
2014-10-07 11:46   ` Geert Uytterhoeven
2014-10-07 11:46     ` Geert Uytterhoeven

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='CANqRtoRPus-fQTP7Ewiqhi8WeVK_=yEqa5oDkQ5r-s9y0cNMMA@mail.gmail.com' \
    --to=magnus.damm@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.