On Fri, Feb 15, 2019 at 9:56 PM Maxime Ripard <maxime.ripard@xxxxxxxxxxx> wrote: > > Hi > > On Fri, Feb 15, 2019 at 12:56:03AM +0800, Frank Lee wrote: > > How about to implement a thermal driver that is not integrated with > > gpadc ? > > > > GPADC on soc is rarely used now. > > You mean GPADC in general, or the gpadc driver in particular? > Otherwise, yes, having a driver for the thermal sensor in the H6 > sounds like a good plan for thermal throttling, but I don't see it as > a dependency for that whole series. At present, sunxi's thermal driver is integrated with the gpadc driver. I have a idea to implement the thermal driver alone. I haven't started yet, and it may take a while to do it. How about the plan to implement a thermal drive alone and put i under drivers/thermal? In addition to the cpu dvfs of H6, patch v2 has been sent. Thanks, Yangtao > > Maxime > > -- > Maxime Ripard, Bootlin > Embedded Linux and Kernel engineering > https://bootlin.com