This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

  • TI Thinks Resolved

LP5024: Latest kernel driver code

Prodigy 60 points

Replies: 3

Views: 74

Part Number: LP5024

Hi TI Team,

We are using LP5024 in our device with Linux OS. Please share or share the path from where I can download the kernel driver. (driver + dtsi )

  • Hi, Kaushal,

    You can get the kernel driver and sample code from the following link. After entering the link, please find the Q3 which will solve your problem.

    https://e2e.ti.com/support/power-management/f/196/t/837889?keyMatch=LP5024%20LINUX&tisearch=Search-EN-everything

    Beat Regards

    Monet Xu

  • In reply to Monet Xu:

    Hi Monet Xu,

    Thanks for the reply. Yes, this is the driver code. But there is no DTSI entry patch.

    static int lp50xx_probe_dt(struct lp50xx *priv) -- If you see this file, it checking for some DTSI entries. Please let me know where I can find those entries.
    fwnode_property_present(child, "ti,led-bank");
    fwnode_property_read_u32(child, "ti,led-module", &led_number);
    fwnode_property_read_string(child, "label", &name);
    etc

  • In reply to Kaushal Singh:

    Hi, Kaushal,

    I 'm sorry to tell you that the Shanghai team is mainly responsible for hardware development and is not good at software. We don't use Linux driver.

    Best Regards

    Monet Xu

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.