* [RFC PATCH 1/3] dt-bindings: nvmem: uniphier-efuse: Add ti,am62p-efuse compatible
2026-08-12 15:44 [RFC PATCH 0/3] Support AM62P silicon revision detection via uniphier-efuse Judith Mendez
@ 2026-08-12 15:44 ` Judith Mendez
2026-08-12 15:44 ` [RFC PATCH 2/3] nvmem: uniphier-efuse: Enable for K3 SoCs Judith Mendez
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Judith Mendez @ 2026-08-12 15:44 UTC (permalink / raw)
To: Judith Mendez, Srinivas Kandagatla, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Kunihiko Hayashi,
Masami Hiramatsu
Cc: devicetree, linux-arm-kernel, linux-kernel
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>
---
.../devicetree/bindings/nvmem/socionext,uniphier-efuse.yaml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/nvmem/socionext,uniphier-efuse.yaml b/Documentation/devicetree/bindings/nvmem/socionext,uniphier-efuse.yaml
index e27cbae2d63a0..5e1b90fc1ae45 100644
--- a/Documentation/devicetree/bindings/nvmem/socionext,uniphier-efuse.yaml
+++ b/Documentation/devicetree/bindings/nvmem/socionext,uniphier-efuse.yaml
@@ -16,7 +16,9 @@ allOf:
properties:
compatible:
- const: socionext,uniphier-efuse
+ enum:
+ - socionext,uniphier-efuse
+ - ti,am62p-efuse
reg:
maxItems: 1
--
2.54.0
^ permalink raw reply [flat|nested] 6+ messages in thread* [RFC PATCH 2/3] nvmem: uniphier-efuse: Enable for K3 SoCs
2026-08-12 15:44 [RFC PATCH 0/3] Support AM62P silicon revision detection via uniphier-efuse Judith Mendez
2026-08-12 15:44 ` [RFC PATCH 1/3] dt-bindings: nvmem: uniphier-efuse: Add ti,am62p-efuse compatible Judith Mendez
@ 2026-08-12 15:44 ` Judith Mendez
2026-08-12 15:44 ` [RFC PATCH 3/3] nvmem: uniphier-efuse: Add ti,am62p-efuse compatible Judith Mendez
2026-09-01 4:08 ` [RFC PATCH 0/3] Support AM62P silicon revision detection via uniphier-efuse Kunihiko Hayashi
3 siblings, 0 replies; 6+ messages in thread
From: Judith Mendez @ 2026-08-12 15:44 UTC (permalink / raw)
To: Judith Mendez, Srinivas Kandagatla, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Kunihiko Hayashi,
Masami Hiramatsu
Cc: devicetree, linux-arm-kernel, linux-kernel
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>
---
drivers/nvmem/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig
index c36c2a4c2a0b7..df65e7ecfa212 100644
--- a/drivers/nvmem/Kconfig
+++ b/drivers/nvmem/Kconfig
@@ -541,8 +541,9 @@ config NVMEM_U_BOOT_ENV
config NVMEM_UNIPHIER_EFUSE
tristate "UniPhier SoCs eFuse support"
- depends on ARCH_UNIPHIER || COMPILE_TEST
+ depends on ARCH_UNIPHIER || ARCH_K3 || COMPILE_TEST
depends on HAS_IOMEM
+ default y if ARCH_K3
help
This is a simple driver to dump specified values of UniPhier SoC
from eFuse.
--
2.54.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* [RFC PATCH 3/3] nvmem: uniphier-efuse: Add ti,am62p-efuse compatible
2026-08-12 15:44 [RFC PATCH 0/3] Support AM62P silicon revision detection via uniphier-efuse Judith Mendez
2026-08-12 15:44 ` [RFC PATCH 1/3] dt-bindings: nvmem: uniphier-efuse: Add ti,am62p-efuse compatible Judith Mendez
2026-08-12 15:44 ` [RFC PATCH 2/3] nvmem: uniphier-efuse: Enable for K3 SoCs Judith Mendez
@ 2026-08-12 15:44 ` Judith Mendez
2026-09-01 4:08 ` [RFC PATCH 0/3] Support AM62P silicon revision detection via uniphier-efuse Kunihiko Hayashi
3 siblings, 0 replies; 6+ messages in thread
From: Judith Mendez @ 2026-08-12 15:44 UTC (permalink / raw)
To: Judith Mendez, Srinivas Kandagatla, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Kunihiko Hayashi,
Masami Hiramatsu
Cc: devicetree, linux-arm-kernel, linux-kernel
Add ti,am62p-efuse compatible to uniphier-efuse. Leverage the
nvmem provider to supply silicon revision information from GP_SW
efuse registers on AM62p device.
Signed-off-by: Judith Mendez <jm@ti.com>
---
drivers/nvmem/uniphier-efuse.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/nvmem/uniphier-efuse.c b/drivers/nvmem/uniphier-efuse.c
index 85f9372fb97ca..d0953b99d7e18 100644
--- a/drivers/nvmem/uniphier-efuse.c
+++ b/drivers/nvmem/uniphier-efuse.c
@@ -59,6 +59,7 @@ static int uniphier_efuse_probe(struct platform_device *pdev)
static const struct of_device_id uniphier_efuse_of_match[] = {
{ .compatible = "socionext,uniphier-efuse",},
+ { .compatible = "ti,am62p-efuse",},
{/* sentinel */},
};
MODULE_DEVICE_TABLE(of, uniphier_efuse_of_match);
--
2.54.0
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [RFC PATCH 0/3] Support AM62P silicon revision detection via uniphier-efuse
2026-08-12 15:44 [RFC PATCH 0/3] Support AM62P silicon revision detection via uniphier-efuse Judith Mendez
` (2 preceding siblings ...)
2026-08-12 15:44 ` [RFC PATCH 3/3] nvmem: uniphier-efuse: Add ti,am62p-efuse compatible Judith Mendez
@ 2026-09-01 4:08 ` Kunihiko Hayashi
2026-09-02 20:17 ` Judith Mendez
3 siblings, 1 reply; 6+ messages in thread
From: Kunihiko Hayashi @ 2026-09-01 4:08 UTC (permalink / raw)
To: Judith Mendez, Srinivas Kandagatla, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Masami Hiramatsu
Cc: devicetree, linux-arm-kernel, linux-kernel
Hi Judith,
Sorry for late.
On 2026/08/13 0:44, Judith Mendez wrote:
> 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.
Reusing the uniphier-efuse driver seems reasonable to me.
The driver is already fairly generic, and contains no arch-specific elements
that would justify introducing a dedicated driver at this point.
> Feedback is welcome on whether reusing the uniphier-efuse driver is the
> preferred solution or if a dedicated AM62P efuse driver would be more
> appropriate.
>
> Patches have been tested on AM62p SK hardware using SR1.0, SR1.1 and SR1.2
> silicon.
Provided the functionality has been validated on the target hardware,
I would prefer to reuse the driver rather than write another similar driver.
Thank you,
---
Best Regards
Kunihiko Hayashi
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [RFC PATCH 0/3] Support AM62P silicon revision detection via uniphier-efuse
2026-09-01 4:08 ` [RFC PATCH 0/3] Support AM62P silicon revision detection via uniphier-efuse Kunihiko Hayashi
@ 2026-09-02 20:17 ` Judith Mendez
0 siblings, 0 replies; 6+ messages in thread
From: Judith Mendez @ 2026-09-02 20:17 UTC (permalink / raw)
To: Kunihiko Hayashi, Srinivas Kandagatla, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Masami Hiramatsu
Cc: devicetree, linux-arm-kernel, linux-kernel
Hi Kunihiko,
On 8/31/26 23:08, Kunihiko Hayashi wrote:
> Hi Judith,
>
> Sorry for late.
No worries!
>
> On 2026/08/13 0:44, Judith Mendez wrote:
>> 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.
>
> Reusing the uniphier-efuse driver seems reasonable to me.
>
> The driver is already fairly generic, and contains no arch-specific
> elements
> that would justify introducing a dedicated driver at this point.
>
>> Feedback is welcome on whether reusing the uniphier-efuse driver is the
>> preferred solution or if a dedicated AM62P efuse driver would be more
>> appropriate.
>>
>> Patches have been tested on AM62p SK hardware using SR1.0, SR1.1 and
>> SR1.2
>> silicon.
>
> Provided the functionality has been validated on the target hardware,
> I would prefer to reuse the driver rather than write another similar
> driver.
Awesome, we send out the official v2 then. thanks!!!
~ Judith
^ permalink raw reply [flat|nested] 6+ messages in thread