get the patch form this site and save to "linux" directory: (top right corner "series" button) and use the following "git am ..." line to apply the patch: https://patchwork.kernel<email address hidden>/
* git am Support-Spi-in-i2c-multi-instantiate-driver.patch
4) load current kernel config and change configuration then run the following scripts/config commands:
*Ubuntu version:
1) install kernel build tools: /wiki.ubuntu. com/Kernel/ BuildYourOwnKer nel):
(https:/
* sudo apt install libncurses-dev gawk flex bison openssl libssl-dev dkms libelf-dev libudev-dev libpci-dev libiberty-dev autoconf git
2) clone the kernel from github and checkout to v5.17 branch (Rather large, multiple GB's):
* git clone https:/ /github. com/torvalds/ linux.git
* cd linux
* git checkout v5.17-rc4
3) get the patch and install it:
get the patch form this site and save to "linux" directory: (top right corner "series" button) and use the following "git am ..." line to apply the patch: /patchwork. kernel<email address hidden>/
https:/
* git am Support- Spi-in- i2c-multi- instantiate- driver. patch
4) load current kernel config and change configuration then run the following scripts/config commands:
* make olddefconfig SERIAL_ MULTI_INSTANTIA TE SND_HDA_ SCODEC_ CS35L41_ I2C SND_HDA_ SCODEC_ CS35L41_ SPI SYSTEM_ TRUSTED_ KEYS "" SYSTEM_ REVOCATION_ KEYS ""
* ./scripts/config --enable CONFIG_
* ./scripts/config --enable CONFIG_
* ./scripts/config --enable CONFIG_
* ./scripts/config --disable CONFIG_DEBUG_INFO
* ./scripts/config --set-str CONFIG_
* ./scripts/config --set-str CONFIG_
6) build the kernel
* make -j 16
7) install the kernel
* sudo make module_install
* sudo make install