Allwiner H3 and A83T SoCs have a thermal sensor, which is a large refactoredversion of the old Allwinner "GPADC" (although it have already onlythermal part left in A33).

This patch tried to add support for the sensor in H3 and A83T based onthe A33 thermal sensor driver by Quentin Schulz, which is already merged.

This Patchseries is based on Icenowy Zhengs v4 patchseries [1]. The first 5 patches are reworked patches from the v4 patchseries. The rest of the patches add step by step a feature to support multiblesensors, nvmem calibration and interupts. This patchseries should make iteasy also to add other sunxi SoCs, like the H5, A64 and A80.

Patches that adds support for H5, A64 and A80 SoCs are allready prepared,and will be upstreamed if this patchseries is applied and the testing is done.

I tried to pick up all the feedback from [1]. I hope I didn't miss anything.

Regards,Philipp

@Jonathan Could you please check Patch 8 again. I moved some code from Patch 8 to 9. Please chek it again, if your still ok with it. But I think it sould be ok.