Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Exposes the 68INT6 board devices on the LPSS I2C0 and GSPI0 controllers to Linux, the same way NAI's stock BIOS declares them, so NAI's Linux drivers (
naigspi, plusat24for the EEPROMs) bind under wolfBoot.What it adds
src/x86/acpi_dsdt.asl,include/x86/acpi_dsdt.h-I2C0(00:15.0) andSPI0(00:1e.2) under the PCI root, with:15AC0001)15AC0002, 0x56) and serial-number EEPROM (15AC0003, 0x5E)15AC0004, 0x68)include/x86/gpio_config.h- GSPI0 (GPP_B15-B18) and I2C0 (GPP_C16/C17) pads in native mode, with the stock pad valuessrc/x86/tgl_fsp.c-SerialIoI2cMode[0]set to PCI mode onnai_68int6(it was disabled)docs/Targets.md- notes the board devices in the DSDTThe serial-number EEPROM's
read-onlyproperty is written as a name/value pair, as ACPI device properties require.Testing
Builds for
nai_68int6andkontron_vx3060_s2.