As the topic says - this enables the sysfs access to the sar adc which has a temperature sensor connected as it seems. It can be accessed via:
/sys/class/saradc/temperature
and should return the temperature in degree celsius. Unfortunatly the conversion from ADC Value to celsius doesn't fit the used hardware/resistor network and needs to be fixed here:
As the topic says - this enables the sysfs access to the sar adc which has a temperature sensor connected as it seems. It can be accessed via:
/sys/class/saradc/temperature
and should return the temperature in degree celsius. Unfortunatly the conversion from ADC Value to celsius doesn't fit the used hardware/resistor network and needs to be fixed here:
https://github.com/codesnake/linux-amlogic/blob/master/drivers/amlogic/input/saradc/saradc.c#L356
by someone who has access to the schematics...