summaryrefslogtreecommitdiff
path: root/drivers/misc/aspeed-uart-routing.c
AgeCommit message (Collapse)AuthorFilesLines
2021-04-30misc: aspeed: add a raw value setting interface for uart routingJae Hyun Yoo1-19/+40
This commit adds a raw value setting interface for uart routing to provide an atomic way of switching the route. Signed-off-by: Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com> Change-Id: Id8b80f44f9a503d9f25a692211fc5ec78500ce68
2021-03-11misc: aspeed: Add Aspeed UART routing control driver.Oskar Senft1-0/+383
This driver adds sysfs files that allow the BMC userspace to configure how UARTs and physical serial I/O ports are routed. Tested: Checked correct behavior (both read & write) on TYAN S7106 board by manually changing routing settings and confirming that bits flow as expected. Tested for UART1 and UART3 as this board doesn't have the other UARTs wired up in a testable way. Signed-off-by: Oskar Senft <osk@google.com> Signed-off-by: Yong Li <yong.b.li@linux.intel.com> Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com> Signed-off-by: Kuiying Wang <kuiying.wang@intel.com>