linux_dsm_epyc7002/Documentation/devicetree/bindings/serial
Jeremy Kerr 7fbcf3afe6 drivers/serial: Add driver for Aspeed virtual UART
This change adds a driver for the 16550-based Aspeed virtual UART
device. We use a similar process to the of_serial driver for device
probe, but expose some VUART-specific functions through sysfs too.

The VUART is two UART 'front ends' connected by their FIFO (no actual
serial line in between). One is on the BMC side (management controller)
and one is on the host CPU side.

This driver is for the BMC side. The sysfs files allow the BMC
userspace, which owns the system configuration policy, to specify at
what IO port and interrupt number the host side will appear to the host
on the Host <-> BMC LPC bus. It could be different on a different system
(though most of them use 3f8/4).

OpenPOWER host firmware doesn't like it when the host-side of the
VUART's FIFO is not drained. This driver only disables host TX discard
mode when the port is in use. We set the VUART enabled bit when we bind
to the device, and clear it on unbind.

We don't want to do this on open/release, as the host may be using this
bit to configure serial output modes, which is independent of whether
the devices has been opened by BMC userspace.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-05-18 16:19:16 +02:00
..
8250.txt drivers/serial: Add driver for Aspeed virtual UART 2017-05-18 16:19:16 +02:00
altera_jtaguart.txt dts: Deprecate ALTR as a vendor prefix 2013-08-29 12:58:55 -07:00
altera_uart.txt dts: Deprecate ALTR as a vendor prefix 2013-08-29 12:58:55 -07:00
arc-uart.txt serial: unify serial bindings into a single dir 2013-08-28 16:02:48 -07:00
arm_sbsa_uart.txt drivers: PL011: add support for the ARM SBSA generic UART 2015-05-24 13:08:51 -07:00
arm,mps2-uart.txt dt-bindings: document the MPS2 UART bindings 2016-04-30 09:26:55 -07:00
atmel-usart.txt ARM: at91/dt: add a new DT property to support FIFOs on Atmel USARTs 2015-07-23 18:00:42 -07:00
axis,etraxfs-uart.txt serial: etraxfs-uart: use mctrl_gpio helpers for handling modem signals 2015-08-04 22:07:20 -07:00
brcm,bcm2835-aux-uart.txt dt/bindings: serial: bcm2835: add binding documentation for bcm2835-aux-uart 2016-02-06 23:13:30 -08:00
brcm,bcm6345-uart.txt dt-bindings: brcm: rationalize Broadcom documentation naming 2015-03-26 12:14:11 -05:00
cavium-uart.txt MIPS: Octeon: Add device tree source files. 2012-07-23 13:54:52 +01:00
cdns,uart.txt devicetree: bindings: uart: Add new compatible string for ZynqMP 2016-10-27 16:00:32 +02:00
cirrus,clps711x-uart.txt serial: clps711x: Changing the compatibility string to match with the smallest supported chip 2016-07-06 17:38:16 +02:00
digicolor-usart.txt serial: add device tree binding documentation for Conexant USART 2015-01-09 14:30:16 -08:00
efm32-uart.txt serial: efm32: correct namespacing of location property 2014-07-11 17:49:46 -07:00
fsl-imx-uart.txt serial: fsl-imx-uart.txt: Remove generic property 2017-01-11 09:48:52 -06:00
fsl-lpuart.txt dt-binding: fsl-lpuart: use exact SoC revision to document binding 2014-07-17 18:15:38 -07:00
fsl-mxs-auart.txt serial: mxs-auart: Use generic uart-has-rtscts DT property 2016-04-30 09:26:55 -07:00
ingenic,uart.txt devicetree: Add JZ4760/JZ4775 to Ingenic SoC UART binding 2015-10-04 17:47:49 +01:00
lantiq_asc.txt Document: devicetree: add OF documents for lantiq serial port 2013-02-17 01:25:28 +01:00
maxim,max310x.txt serial: max310x: Fix devicetree documentation for clock name 2014-02-15 12:16:21 -08:00
microchip,pic32-uart.txt dt/bindings: Correct clk binding example for PIC32 serial. 2016-05-28 12:35:04 +02:00
mrvl-serial.txt Document: devicetree: add OF documents for arch-mmp 2012-03-07 09:32:52 +08:00
mrvl,pxa-ssp.txt DT: ARM: pxa: Remove incorrect binding from documentation 2015-10-13 13:31:21 -05:00
mtk-uart.txt Document: DT: Add bindings for mediatek MT6755 SoC Platform 2016-07-03 07:57:16 +02:00
mvebu-uart.txt serial: Move Marvell UART DT bindings to correct location 2016-04-30 09:26:55 -07:00
nvidia,tegra20-hsuart.txt serial: tegra20-hsuart: Fix typo in dmas DT binding description 2016-11-07 13:58:35 +01:00
nxp-lpc32xx-hsuart.txt serial: unify serial bindings into a single dir 2013-08-28 16:02:48 -07:00
nxp,lpc1850-uart.txt doc: dt: add documentation for nxp,lpc1850-uart 2015-06-01 06:56:33 +09:00
nxp,sc16is7xx.txt sc16is7xx: spi interface documentation 2015-06-01 06:45:28 +09:00
omap_serial.txt serial: 8250_omap: workaround module disable errata on dra7x SoCs 2015-07-23 15:24:11 -07:00
pl011.txt serial: pl011: Spelling s/clocks-names/clock-names/ 2015-10-22 09:23:56 -05:00
qca,ar9330-uart.txt tty: ar933x_uart: move devicetree binding documentation 2013-09-26 12:33:49 -07:00
qcom,msm-uart.txt devicetree: serial: Document msm_serial bindings 2013-08-28 16:03:29 -07:00
qcom,msm-uartdm.txt Fix spelling errors in Documentation/devicetree 2016-07-22 14:54:05 -05:00
renesas,sci-serial.txt sh-sci: document R8A7743/5 support 2016-10-27 16:41:56 +02:00
rs485.txt Documentation/devicetree/bindings/serial/ fix a typo 2013-08-20 12:41:25 +02:00
samsung_uart.txt serial: samsung: get fifosize via device tree 2014-07-17 18:18:22 -07:00
serial.txt dt-bindings: serial: Update 'uart-has-rtscts' description 2017-02-06 09:47:52 +01:00
sirf-uart.txt serial: sirf: Use generic uart-has-rtscts DT property 2016-04-30 09:26:55 -07:00
slave-device.txt dt/bindings: Add a serial/UART attached device binding 2017-02-03 10:17:02 +01:00
snps-dw-apb-uart.txt serial: 8250_dw: proper support for UARTs without busy functionality 2015-10-04 18:38:45 +01:00
sprd-uart.txt dt-bindings: serial: add a new compatible string for SC9860 2017-04-08 18:42:46 +02:00
st-asc.txt serial: unify serial bindings into a single dir 2013-08-28 16:02:48 -07:00
st,stm32-usart.txt dt-bindings: Add DMA bindings for STM32 USART 2016-09-22 11:48:55 +02:00
uniphier-uart.txt serial: 8250_uniphier: add bindings document for UniPhier UART 2015-06-12 17:34:39 -07:00
vt8500-uart.txt tty: vt8500_serial: add support for UART in WM8880 chips 2014-09-08 16:29:08 -07:00