mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 10:07:52 +00:00
Make the SIRQ polarity for Aspeed AST24xx/25xx VUART configurable via sysfs. This setting need to be changed on specific host platforms depending on the selected host interface (LPC / eSPI). The setting is configurable via sysfs rather than device-tree to stay in line with other related configurable settings. On AST2500 the VUART SIRQ polarity can be auto-configured by reading a bit from a configuration register, e.g. the LPC/eSPI interface configuration bit. Tested: Verified on TYAN S7106 mainboard. Signed-off-by: Oskar Senft <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
25 lines
955 B
Plaintext
25 lines
955 B
Plaintext
What: /sys/bus/platform/drivers/aspeed-vuart/*/lpc_address
|
|
Date: April 2017
|
|
Contact: Jeremy Kerr <[email protected]>
|
|
Description: Configures which IO port the host side of the UART
|
|
will appear on the host <-> BMC LPC bus.
|
|
Users: OpenBMC. Proposed changes should be mailed to
|
|
[email protected]
|
|
|
|
What: /sys/bus/platform/drivers/aspeed-vuart/*/sirq
|
|
Date: April 2017
|
|
Contact: Jeremy Kerr <[email protected]>
|
|
Description: Configures which interrupt number the host side of
|
|
the UART will appear on the host <-> BMC LPC bus.
|
|
Users: OpenBMC. Proposed changes should be mailed to
|
|
[email protected]
|
|
|
|
What: /sys/bus/platform/drivers/aspeed-vuart/*/sirq_polarity
|
|
Date: July 2019
|
|
Contact: Oskar Senft <[email protected]>
|
|
Description: Configures the polarity of the serial interrupt to the
|
|
host via the BMC LPC bus.
|
|
Set to 0 for active-low or 1 for active-high.
|
|
Users: OpenBMC. Proposed changes should be mailed to
|
|
[email protected]
|