Hello,
I have a custom board. There are several custom components on i2c buses. All my changes on dts are obsersed under /sys/bus/i2c/devices. But, I don't see any entry in my dmesg output. I also didn't see it under /sys/class/hwmon. I think the changes in arch/arm64/configs/tisdk_am64xx-evm_defconfig file doesn't have any effect.
I use following command to compile and build the changes. I just make all modifications under kernel-sources directory. And I dont create patch files for the moment.
MACHINE=am64xx-evm bitbake -f tisdk-default-image -C compile virtual/kernel
For example, my temperature sensor is PCT2075GVX. Its id is 0x48. It can be observed in the output of i2cdetect.
root@am64xx-evm:~# i2cdetect -y -r 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: 40 -- -- -- -- -- -- -- 48 -- -- -- -- -- -- --
50: UU UU -- -- -- -- 56 -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- 6b -- -- -- 6f
70: -- -- -- -- -- -- -- --
Below you can see my dts settings for temperature sensor;
tempsensor@48 {
compatible = "nxp,pct2075";
reg = <0x48>;
};
Can you please comment on the problem?
Best regards