HI Mark. I am trying to add H3 support to the sxitemp driver. The H3 SOC
only has the CPU thermal sensor, but it maps well to the CPU thermal sensor
on the H5. With the diff below I think I have been able to do all the
mechanical stuff to get the sensor to register. I also had to add a dtb
entry for the sensor, also shown below. The sensor shows up in sysctl and
the readout value corresponds to a value of 0 from the device temperature
To figure out why the sensor is not providing a readout I added some
printouts to the driver. It would seem that the registers are not being set
or that the address is not correct. But everything looks good.
Do you have any suggestions as to what to look at next?
op1bsdsnap# sysctl hw.sensors
hw.sensors.sxitemp0.temp0=187.74 degC (CPU)