Skip to content

[Intel][6.6] SPI and SMBus driver support on DMR - #152

Open
juntian wants to merge 2 commits into
6.6-velinuxfrom
intel-smbus-spi-dmr-6.6
Open

juntian wants to merge 2 commits into
6.6-velinuxfrom
intel-smbus-spi-dmr-6.6

Conversation

@juntian

@juntian juntian commented Sep 19, 2026

Copy link
Copy Markdown
Contributor

Description

Add SMBus and SPI NOR Flash drivers for DMR.

Test (Manual)

1. Build sanity

make ARCH=x86_64 defconfig   # or your DMR platform config in velinux-kernel-intel/config.x86_64
#ensure CONFIG_I2C_I801=y/m and CONFIG_SPI_INTEL / CONFIG_SPI_INTEL_PCI=y/m
make drivers/i2c/busses/i2c-i801.o drivers/spi/spi-intel-pci.o

Confirm no compile warnings/errors from the new device-ID lines.

2. Confirm the PCI devices exist on the DMR box

lspci -nn | grep -Ei '8086:5827|8086:5825'

You should see the SMBus controller (5827) and PCH/PCU SPI controller (5825) listed with Serial bus controller [0c05] / Unclassified or Non-VGA class for SPI depending on platform.

3. Verify i2c-i801 binds and SMBus works

dmesg | grep -i i801                 # should show "SMBus I801 adapter ... at <bar>"
i2cdetect -l                         # new "SMBus I801 adapter" should appear
i2cdetect -y <bus_number>            # scan for any SMBus/I2C devices behind it (SPD EEPROMs, sensors, etc.)

4. Verify spi-intel binds and flash is detected

dmesg | grep -i "spi.intel\|Serial Flash"
ls /sys/bus/spi/devices/
cat /proc/mtd                        # look for the new mtd entry (BIOS/descriptor region)
mtdinfo /dev/mtd0                    # size, erase size, should match expected flash chip

Heikki Krogerus and others added 2 commits September 19, 2026 15:18
commit e7dbfe6f15b4df34bb169d180bd10f1a3c043814 upstream.

Add Oak Stream PCI ID to the driver list of supported devices.

This patch was originally written by Zeng Guang.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Link: https://patch.msgid.link/20251029065020.2920213-1-mika.westerberg@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Jun Tian <jun.j.tian@intel.com>
commit 90f690a4f5f962d90483e7f689261d9179e6fbbe upstream.

Add SMBus PCI ID on Intel Diamond Rapids.

Signed-off-by: Zeng Guang <guang.zeng@intel.com>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20251021073522.3458383-1-heikki.krogerus@linux.intel.com
Signed-off-by: Jun Tian <jun.j.tian@intel.com>
@guixiongwei

Copy link
Copy Markdown
Collaborator

could you evaluate the SPI/SMBus support on LKVS?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants