Files
android_kernel_xiaomi_sm8450/arch/mips/include/asm
Paul Burton c11e3b48db MIPS: SEAD3: Probe UARTs using DT
Probe the UARTs on SEAD3 boards using device tree rather than platform
code, in order to reduce the amount of the latter. This requires that
CONFIG_SERIAL_OF_PLATFORM be enabled, so enable it in sead3_defconfig.
The SEAD3 DT shim code is extended to read bootloader environment
variables to determine the appropriate UART & mode for kernel console
output & set the stdout-path property of the chosen node accordingly.

In contrast to the old platform code, which appears to have only ever
set "console=ttyS0,38400n8r" with the code in console_config never
having an effect, this will honor the "yamontty" environment variable to
select between the 2 UARTs on the board and then check the "modetty0" or
"modetty1" variable as appropriate to determine the UART configuration.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: linux-mips@linux-mips.org
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/14048/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2016-10-05 01:31:20 +02:00
..
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2016-05-28 12:35:06 +02:00
2015-06-21 21:52:44 +02:00
2016-05-28 12:35:07 +02:00
2014-08-26 02:18:58 +02:00
2016-05-28 12:35:07 +02:00
2016-04-03 12:32:09 +02:00
2016-05-28 12:35:08 +02:00
2016-04-03 12:32:09 +02:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2015-11-11 08:36:36 +01:00
2014-01-22 20:19:02 +01:00
2015-05-13 10:55:42 +02:00
2013-02-01 10:00:22 +01:00
2015-11-12 11:35:47 +01:00
2016-10-04 16:13:57 +02:00
2013-02-01 10:00:22 +01:00
2013-01-24 13:20:09 +01:00
2015-05-28 15:31:53 +02:00
2014-08-26 02:18:56 +02:00
2012-03-28 18:30:02 +01:00
2014-05-24 00:07:01 +02:00
2013-02-01 10:00:22 +01:00
2016-02-01 23:36:38 +01:00
2013-02-01 10:00:22 +01:00
2016-05-28 12:35:06 +02:00
2011-07-26 16:49:47 -07:00
2015-06-21 21:54:29 +02:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2016-05-13 14:01:58 +02:00
2015-09-03 12:08:05 +02:00
2012-12-13 16:46:47 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2016-05-28 12:35:07 +02:00
2016-09-29 18:59:49 +02:00
2013-02-01 10:00:22 +01:00
2016-10-04 16:13:57 +02:00
2015-09-03 12:08:05 +02:00
2014-08-02 00:06:38 +02:00
2013-02-01 10:00:22 +01:00
2014-01-22 20:19:02 +01:00
2016-04-03 12:32:09 +02:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2016-05-09 12:00:02 +02:00
2015-09-03 12:08:05 +02:00
2011-12-07 22:01:45 +00:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2016-07-05 16:08:35 +02:00
2013-09-18 17:13:58 +02:00
2013-02-01 10:00:22 +01:00
2016-05-09 12:00:02 +02:00