cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP157 module loading issue

zengyixiang
Associate II

The 'of_device_id' in my module is as follows:

static const struct of_device_id gcnano_of_match[] = {
    { .compatible = "st,gcnano" },
    { .compatible = "vivante,gc" },
    { /* end node */ }
};

In the device tree:

compatible = "vivante,gc";

When using the 'modprobe' command to load the module, it was unable to match successfully and the 'probe' function of the module was not executed. The 'compatible' property of the module is the same as the 'compatible' property of the device tree, but I changed both the 'compatible' property of the module and the device tree to 'vivante_1, gc_1' to match successfully and execute the 'probe' function. I have tried many times to change it to anything, as long as I change it back to 'vivante, gc', it won't work. Has anyone encountered this problem?

0 REPLIES 0