Clarification on LTC2499 | ADC | verdin AM62

Hi Team,

To integrate LTC2499 on verdin AM62, Can we use the same driver code of LTC2497? The driver code for LTC2497 is readily available in torizon OS.
Also, can you explain how we can add a new driver source code to torizon OS?

Thanks & Regards,
Meenakshy

Hi, I’m the Toradex AI Assistant.

I might make mistakes or occasionally get you wrong. Our support team will step in if needed.


I’d be glad to help with your LTC2499 integration question! To provide the most accurate guidance for your specific setup, could you let me know which version of Torizon OS you are running on your Verdin AM62? You can get this information using the tdx-info command as described here.

Hardware Platform Information

The Verdin AM62 is a System on Module based on the TI AM62x SoC and is part of the Verdin Family(1). It supports Torizon OS, which is a free and open-source Industrial Embedded Linux OS focusing on simplifying development and maintenance of products requiring high reliability and security(2).

Next Steps

Once you provide your Torizon OS version, I can give you specific guidance on:

  1. Driver compatibility between LTC2497 and LTC2499
  2. Methods for adding custom driver source code to Torizon OS
  3. Best practices for device tree configuration on your Verdin AM62

This information will help ensure the integration guidance is tailored to your exact platform configuration.

Best regards, Toradex AI Assistant.


Did you like my answer? :+1: :-1:

If I answered your question, please tick the “Solution” checkbox.

For follow-up questions to me, please use @ToradexAI in your post.

torizon@verdin-am62-15415886:~$ uname -r
6.6.94-7.3.0-g7642ad324113
torizon@verdin-am62-15415886:~$

torizon@verdin-am62-15415886:~$ cat /proc/version
Linux version 6.6.94-7.3.0-g7642ad324113 (oe-user@oe-host) (aarch64-tdx-linux-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.0.20240723) #1-Torizon SMP PREEMPT Thu Jul 3 08:47:26 UTC 2025
torizon@verdin-am62-15415886:~$

Driver Compatibility and Integration for LTC2499

Thank you for providing the system information! You’re running Torizon OS 7.3.0 with kernel 6.6.94 on your Verdin AM62.

LTC2497 vs LTC2499 Driver Compatibility

While the sources don’t provide specific details about LTC2497/LTC2499 driver compatibility, these are both Linear Technology ADC chips that are often part of the same driver family in the Linux kernel. You’ll need to check if the existing LTC2497 driver in your kernel supports the LTC2499 variant or if modifications are needed.

Adding Custom Driver Source Code to Torizon OS

Based on the available documentation, there are several approaches to add custom drivers to Torizon OS:

1. Using TorizonCore Builder for Kernel Modules

Torizon OS supports customization through TorizonCore Builder, which enables users to easily make common changes to their underlying operating system image without needing to use the more complex Yocto-based workflows(1).

Typical examples of these changes include:

  • Adding an out-of-tree kernel device driver(1)
  • Modifying a device-tree overlay(1)
  • Adding custom configuration files(1)

2. Yocto-based Development for Complex Customizations

For more complex driver integration, Torizon OS is open-source and built with Yocto(1). You may want to build Torizon OS with Yocto for some reasons:

  • You need to perform customizations beyond Torizon tooling support(1)
  • You require deep kernel modifications

The community discussion shows that for kernel modules, you can create recipes following Yocto best practices(2). When working with kernel module recipes, it’s important to understand that the module.bbclass splits kernel modules into packages named kernel-module-<modulename>(2).

3. Development Workflow Options

Torizon OS supports different development workflows(1):

  1. Torizon OS with Torizon customization tools: This is the traditional workflow for Torizon users. The Torizon OS image is provided as a pre-built binary, and tools such as TorizonCore Builder are used to customize the operating system for your needs(1).

  2. Torizon OS Reference Minimal Image with Yocto: This setup uses standard Yocto workflows for both OS and Application development, and does not include the Docker container runtime(1).

Recommended Next Steps

  1. Check existing driver support: First, verify if the LTC2499 is already supported by the LTC2497 driver in kernel 6.6.94
  2. Device Tree Configuration: Create appropriate device tree overlays for your LTC2499 integration
  3. Choose customization method: Based on your requirements, select either TorizonCore Builder for simpler customizations or full Yocto builds for complex driver modifications

The specific implementation will depend on whether you need to modify the existing LTC2497 driver or create a new one for LTC2499 support.

**


Did you like my answer? :+1: :-1:

If I answered your question, please tick the “Solution” checkbox.

For follow-up questions to me, please use @ToradexAI in your post.

Hey @Meenakshy!

Yes, you can use the same driver for both LTC2497 and LTC2499.

This is confirmed by the lltc,ltc2497.yaml file, which is the driver documentation in the Linux kernel. Here you’ll find it in our Git repository, and, on line 23, you can see that the LTC2499 is also listed as compatible with the LTC2497 driver.

Best regards.

Hi Lucas,

Thanks for the confirmation!

Regards,
Meenakshy

1 Like