[PATCH] [RFC] ARM: shmobile: Add early debugging support using SCIF(A)

Magnus Damm magnus.damm at gmail.com
Sun Oct 5 23:14:05 PDT 2014


Hi Wolfram,

On Mon, Oct 6, 2014 at 3:03 PM, Wolfram Sang <wsa at 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



More information about the linux-arm-kernel mailing list