This series adds support for reading AM62P silicon revision from the
efuse GP_SW register. The solution reuses the existing uniphier-efuse
driver by adding ti,am62p-efuse as a compatible string. The three patches
update the devicetree binding to document the new compatible, configure
the driver as mandatory builtin for K3 architectures, and extend the driver
to support AM62P devices. The uniphier-efuse driver is simple enough to be
reused for efuse register reads on the AM62P SoC.
Patches have been tested on AM62p SK hardware using SR1.0, SR1.1 and SR1.2
silicon.
Changes since v2:
- Add Kunihiko's review tag
- Update binding to include fallback compatible as per Conor's review [0]
Link to v2:
https://lore.kernel.org/all/20260902222759.736124-1-jm@ti.com/
Link to rfc:
https://lore.kernel.org/all/20260812154442.3379851-1-jm@ti.com/
[0] https://lore.kernel.org/all/aqEuyLac2OGkSYX7@squawk/
Judith Mendez (3):
dt-bindings: nvmem: uniphier-efuse: Add ti,am62p-efuse compatible
nvmem: uniphier-efuse: Enable for K3 SoCs
nvmem: uniphier-efuse: Add ti,am62p-efuse compatible
.../devicetree/bindings/nvmem/socionext,uniphier-efuse.yaml | 6 +++++-
drivers/nvmem/Kconfig | 3 ++-
drivers/nvmem/uniphier-efuse.c | 1 +
3 files changed, 8 insertions(+), 2 deletions(-)
--
2.34.1
Add ARCH_K3 dependency and set to always build for K3 architecture.
The uniphier-efuse driver must be builtin to support early probe of
k3-socinfo during boot. The k3-socinfo driver requires the efuse
provider for reading silicon revision information on AM62p device.
Signed-off-by: Judith Mendez <jm@ti.com>
Reviewed-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
---
Changes since v2:
- Add Kunihiko's review tag
---
drivers/nvmem/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Add ti,am62p-efuse as a compatible string to the uniphier-efuse binding.
The uniphier-efuse driver can be used to read AM62P efuse registers as
well for GP_SW silicon revision detection.
Signed-off-by: Judith Mendez <jm@ti.com>
Reviewed-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
---
Changes since v2:
- Add fallback compatible for ti,am62p-efuse
- Add Kunihiko's review tag
---
.../devicetree/bindings/nvmem/socionext,uniphier-efuse.yaml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
From: Krzysztof Kozlowski <krzk@kernel.org> Date: 2026-09-13 08:57:57
On Thu, Sep 10, 2026 at 10:55:07AM -0500, Judith Mendez wrote:
Add ti,am62p-efuse as a compatible string to the uniphier-efuse binding.
The uniphier-efuse driver can be used to read AM62P efuse registers as
well for GP_SW silicon revision detection.
Signed-off-by: Judith Mendez <jm@ti.com>
Reviewed-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Acked-by: Krzysztof Kozlowski <redacted>
Best regards,
Krzysztof