RobertCNelson / linux-dev

MIT License
151 stars 96 forks source link

No bandgap sensor for am335x-3.12 #17

Closed dword1511 closed 10 years ago

dword1511 commented 10 years ago

As of 3.12.6-bone11 release, the on chip temperature sensor is not working, unlike am335x-3.8 brach. I did not find anything like those mentioned in patches like https://github.com/beagleboard/meta-beagleboard/blob/master/common-bsp/recipes-kernel/linux/linux-mainline-3.8/resources/0021-hwmon-add-driver-for-the-AM335x-bandgap-temperature-.patch Is there a problem implementing at the moment?

RobertCNelson commented 10 years ago

http://permalink.gmane.org/gmane.linux.linaro.devel/16501

The TI Bandgap IP driver is located under drivers/thermal/ti-soc-thermal/. There we have support for the Bandgap IPs present on OMAP4430/OMAP4460/OMAP4470/OMAP543[0|2] and DRA7 devices.

On the other hand, TI HW engineers discourage the usage of AM335x bandgap IP, due to variability of sensor accuracy, they are copied here. This is the main reason why I didn't upstream any code.

dword1511 commented 10 years ago

Thanks for the information.