Add Kernel drivers in Torizon image

Hello,

We need to add some kernel drivers in Torizon image, that will be required by our new product.
The following configuration parameters should be include:

  • CONFIG_BATTERY_DS2782
  • CONFIG_POWER_RESET_LTC2952
  • CONFIG_COMMON_CLK_SI5351
  • CONFIG_CHARGER_MAX77976

Do you think they could be enabled on a nightly release?
Thanks in advance.

Best regards,
Alejandro

Verdin iMX8MM V1.1A
Verdin Development Board V1.1A
TorizonCore with PREEMPT_RT 5.7.0+build.17 (dunfell)

Greetings @apanelli,

Just to confirm do you want these configurations on TorizonCore 5.7.0?

Also I checked all these configurations and they should be available in the kernel used by TorizonCore 5.7.0. Except for CONFIG_CHARGER_MAX77976. According to the database it seems this configuration/driver was only added to the Linux Kernel in version 5.17: Linux Kernel Driver DataBase: CONFIG_CHARGER_MAX77976: Maxim MAX77976 battery charger driver

TorizonCore 5.7.0 uses a kernel based on version 5.4. So it doesn’t exist in this version.

Best Regards,
Jeremias

Hi @jeremias.tx,

TorizonCore 5.7.0 is the last version I’ve tried, but I don’t need to use that version specifically.
So these configurations could or should be added in the last version (I think it is 6.1, right?).
Then I will try this last version with those drivers included.

What I don’t know is if CONFIG_CHARGER_MAX77976 will be available in TorizonCore 6.x, neither which Linux Kernel version it is TorizonCore 6.x based on.

Best regards,
Alejandro

What I don’t know is if CONFIG_CHARGER_MAX77976 will be available in TorizonCore 6.x, neither which Linux Kernel version it is TorizonCore 6.x based on.

Currently for the Verdin i.MX8MM on TorizonCore 6.X the kernel version is based on version 5.15. I checked and CONFIG_CHARGER_MAX77976 is still not available in this version. As said earlier it seems it was only introduced starting with version 5.17.

Best Regards,
Jeremias

Ok, we will wait to the next kernel update to add CONFIG_CHARGER_MAX77976, meanwhile we will manage as a custom module/driver.

Do you think that the other 3 configurations could be added now?
Thank you very much.

Best regards,
Alejandro

Ok then, so just to confirm the request. You want to add just these 3 kernel configurations:

  • CONFIG_BATTERY_DS2782
  • CONFIG_POWER_RESET_LTC2952
  • CONFIG_COMMON_CLK_SI5351

To TorizonCore 6.X, correct?

Best Regards,
Jeremias

Yes, that’s right.
Thanks.

Best regards,
Alejandro

I’ve went ahead and made the request to our team. Once there’s any updates on this I’ll notify you here.

Best Regards,
Jeremias

Hi @apanelli,

Your requested configs have been added to the default kernel configuration of TorizonCore:

Keep in mind these are only available in our latest nightly builds. But they will be apart of our future releases going forward. Also these were only added to our 6.X.Y version images.

Best Regards,
Jeremias