All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/3] rockchip: rk3399: spl: Make baudrate and UART configurable
@ 2017-03-17 19:34 Philipp Tomsich
  2017-03-17 19:34 ` [U-Boot] [PATCH 1/3] Kconfig: make CONFIG_BAUDRATE a first-class citizen Philipp Tomsich
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Philipp Tomsich @ 2017-03-17 19:34 UTC (permalink / raw)
  To: u-boot


The default configuration for debug output from the RK3399 SPL is
UART2 at 1.5MBaud. While this works reasonably well for the EVB,
custom boards may want to change these settings.

To simplify the enablement (i.e. to use the RS232 connector on our
baseboard and to improve the compatibility with commonly available
RS232-to-UART dongles) for the RK3399-Q7 SoM, we need to make both
the UART and the baudrate configurable.

This patch-series makes CONFIG_BAUDRATE a first-class citizen within
the Kconfig framework (so we can set it via defconfig) and adds the
required iomux support for UART0 in the RK3399 SPL.  Finally, we use
the new infrastructure across the RK3399 config files and defconfigs.


Philipp Tomsich (3):
  Kconfig: make CONFIG_BAUDRATE a first-class citizen
  rockchip: rk3399: spl: add UART0 support for SPL
  rockchip: config: rk3399: update defconfigs and rk3399_common

 arch/arm/include/asm/arch-rockchip/grf_rk3399.h |  8 +++++++
 arch/arm/mach-rockchip/rk3399-board-spl.c       | 29 ++++++++++++++++++-------
 configs/evb-rk3399_defconfig                    |  2 ++
 configs/puma_defconfig                          |  4 +++-
 drivers/serial/Kconfig                          |  9 ++++++++
 include/configs/rk3399_common.h                 |  1 -
 6 files changed, 43 insertions(+), 10 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-03-22 13:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-17 19:34 [U-Boot] [PATCH 0/3] rockchip: rk3399: spl: Make baudrate and UART configurable Philipp Tomsich
2017-03-17 19:34 ` [U-Boot] [PATCH 1/3] Kconfig: make CONFIG_BAUDRATE a first-class citizen Philipp Tomsich
2017-03-19 16:14   ` Tom Rini
2017-03-19 18:46   ` [U-Boot] [PATCHv2 1/3] Kconfig: Migrate CONFIG_BAUDRATE Tom Rini
2017-03-20  0:34     ` Tom Rini
2017-03-17 19:34 ` [U-Boot] [PATCH 2/3] rockchip: rk3399: spl: add UART0 support for SPL Philipp Tomsich
2017-03-22 13:05   ` Simon Glass
2017-03-17 19:34 ` [U-Boot] [PATCH 3/3] rockchip: config: rk3399: update defconfigs and rk3399_common Philipp Tomsich
2017-03-22 13:05   ` Simon Glass

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.