[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251031-gs101-otp-v1-0-2a54f6c4e7b6@linaro.org>
Date: Fri, 31 Oct 2025 12:45:08 +0000
From: Tudor Ambarus <tudor.ambarus@...aro.org>
To: Srinivas Kandagatla <srini@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Krzysztof Kozlowski <krzk@...nel.org>,
Alim Akhtar <alim.akhtar@...sung.com>,
Peter Griffin <peter.griffin@...aro.org>,
André Draszik <andre.draszik@...aro.org>
Cc: semen.protsenko@...aro.org, willmcvicker@...gle.com,
kernel-team@...roid.com, linux-kernel@...r.kernel.org,
linux-samsung-soc@...r.kernel.org, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
Tudor Ambarus <tudor.ambarus@...aro.org>
Subject: [PATCH 0/5] nvmem: add Samsung Exynos OTP support
The patch set has the typical dependency of the DT patch depending on
the bindings patch. I propose thus to have the bindings patch taken
via the Samsung SoC tree, if not all.
Add support for the Samsung Exynos OTP controller. On the Google GS101
SoC, this controller provides 32 Kbit of OTP memory space that can be
read/program/lock using a specific sequence of register accesses.
The OTP controller register space is of interest as well because it
contains dedicated registers for the Product ID and the Chip ID (apart
from other things like TMU or ASV info). Register the OTP controller
register space as a nvmem device so that other drivers can access its
contents using nvmem cells.
Support for the OTP memory space can follow and be modeled as a
dedicated nvmem device.
Signed-off-by: Tudor Ambarus <tudor.ambarus@...aro.org>
---
Tudor Ambarus (5):
dt-bindings: nvmem: add google,gs101-otp
nvmem: add Samsung Exynos OTP support
arm64: dts: exynos: gs101: add OTP node
arm64: defconfig: enable Samsung Exynos OTP controller
MAINTAINERS: add entry for the Samsung Exynos OTP controller driver
.../bindings/nvmem/google,gs101-otp.yaml | 68 +++++++++++++++
MAINTAINERS | 8 ++
arch/arm64/boot/dts/exynos/google/gs101.dtsi | 17 ++++
arch/arm64/configs/defconfig | 1 +
drivers/nvmem/Kconfig | 10 +++
drivers/nvmem/Makefile | 2 +
drivers/nvmem/exynos-otp.c | 98 ++++++++++++++++++++++
7 files changed, 204 insertions(+)
---
base-commit: 73f7017e663620a616171cc80d62504a624dc4de
change-id: 20251031-gs101-otp-2f38e8b4b793
Best regards,
--
Tudor Ambarus <tudor.ambarus@...aro.org>
Powered by blists - more mailing lists