Hello,
I'm working on an RPi-CM4-based solution for a Linux platform.
Among other things, the product is going to be utilizing the OTP memory on the RPi-CM4 board.
My product is based on a Yocto build of the system, where we are running with the mainline Linux kernel.
To implement the communication with the OTP (which is not available in the mainline Linux kernel), I've ported the nvmem-otp driver available in the RPi kernel (in this commit: 1210adfe7b9d9f251c7c0e2c25ef96ebbf329830, according to this pull request: https://github.com/raspberrypi/linux/pull/6014).
I've tested this commit with the mainline Linux kernel (based of tag v6.6.30), and the driver is working as is.
It does require a different change to the DTS, and require an updated version of raspberrypi/firmware compared to the one available through meta-raspberry for Yocto, but no code changes are required to the driver itself.
I wanted to ask if there are plans regarding the porting of this driver to the mainline linux kernel?
Alternatively, would it be possible for me to do the porting work, to make this driver available in the mainline kernel (with relevant credit to the original writers which integrated it in the raspberry-pi kernel, of course)?
Thanks!
I'm working on an RPi-CM4-based solution for a Linux platform.
Among other things, the product is going to be utilizing the OTP memory on the RPi-CM4 board.
My product is based on a Yocto build of the system, where we are running with the mainline Linux kernel.
To implement the communication with the OTP (which is not available in the mainline Linux kernel), I've ported the nvmem-otp driver available in the RPi kernel (in this commit: 1210adfe7b9d9f251c7c0e2c25ef96ebbf329830, according to this pull request: https://github.com/raspberrypi/linux/pull/6014).
I've tested this commit with the mainline Linux kernel (based of tag v6.6.30), and the driver is working as is.
It does require a different change to the DTS, and require an updated version of raspberrypi/firmware compared to the one available through meta-raspberry for Yocto, but no code changes are required to the driver itself.
I wanted to ask if there are plans regarding the porting of this driver to the mainline linux kernel?
Alternatively, would it be possible for me to do the porting work, to make this driver available in the mainline kernel (with relevant credit to the original writers which integrated it in the raspberry-pi kernel, of course)?
Thanks!
Statistics: Posted by OmriSarigPrevas — Thu Dec 12, 2024 10:18 am — Replies 1 — Views 22