CVSROOT:        /cvs
Module name:    src
Changes by:     patr...@cvs.openbsd.org 2020/03/06 01:39:34

Modified files:
        sys/arch/amd64/conf: GENERIC 
        sys/dev/pci    : files.pci 
Added files:
        sys/dev/pci    : com_pci.c 

Log message:
Add a PCI attachment driver for com(4).  Intel has been removing legacy
I/O-Ports on recent machines.  Instead the UARTs are memory mapped PCI-
devices, as part of a so-called Low Power Subsystem (LPSS).

Such an LPSS is also used for I2C and SPI, though they use different PCI
device ids.  Each LPSS contains the actual device, and some registers to
control clocks, resets, etc.  These private registers need to be saved
and restored upon suspend/resume.  Also we should read the current clock
settings to calculate the frequency supplied to the device.

The UART controller itself is based on Synopsys DesignWare IP, like
we're used to from various ARM-based machines

ok kettenis@

Reply via email to