Re: [PATCH 2/3] nvmem: Add the Raspberry Pi OTP driver
From: Stefan Wahren
Date: Wed Apr 08 2026 - 16:08:01 EST
Am 08.04.26 um 21:47 schrieb Gregor Herburger:
Hi Stefan,This binding doesn't represent some kind of hardware, it's just some firmware interface. A proper DT binding would describe the MMIO address range for OTP access.
thanks for the review.
Is there any reason, why we cannot register this driver inThe private OTP registers are not available on all Raspberries. Afaik
rpi_firmware_probe() like hwmon and clk driver?
I like to avoid the complete dt-binding from patch 1.
only on 4 and 5. So I think these registers must be described through
the device tree. Therefore the bindings are needed.
If you need some distinction between the Raspberry Pi generations there are firmware tags to do this.
Regards