Hi
I am trying to integrate mma8452 acclerometer to jetson nano through gpio header.
I have added the driver to kernel image(not as module).
I have added the dts entries as below:
i2c@7000c400 {
e2614_mma8452: mma8452@1d {
compatible = “fsl,mma8452”;
reg = <0x1d>;
status = “disabled”;
};
};
fragment-e2614-common@0 {
overrides@13 {
target = <&e2614_mma8452>;
overlay {
status = “okay”;
};
};
};
I am able to flash image and dtb properly, verified the same in /proc/device-tree/.
But the driver probe is not getting called.
Is there anything i am missing?
I added the device tree entry based on other driver entry, i am unsure if it is correct to put entries in e2614.
Please suggest me how i can debug further.
Additionally i am able to detect the i2c device slave address using below i2cdetect command
i2cdetect -r -y 1
so hardware connection is proper.
By the way i am using Jetpack 32.3.1. it’s bit old but right now i don’t have choice
Thanks
rps