wt., 1 mar 2022 o 00:43 Linus Walleij <linus.walleij@xxxxxxxxxx> napisał(a): > > On Tue, Feb 15, 2022 at 5:40 PM Pawel Dembicki <paweldembicki@xxxxxxxxx> wrote: > > > +&i2c0 { > > + status = "okay"; > > + > > + rtc@30 { > > + compatible = "s35390a"; > > + reg = <0x30>; > > + }; > > + > > + lm63@4c { > > + compatible = "national,lm63"; > > + reg = <0x4c>; > > + }; > > Think about adding chassis thermal zone for this sensor, > > I suppose you don't have any active control of cooling (fan)? > This often sits on GPIO... > Hi Linus, It has a fan controlled by the lm63: PWM controller. But the fan blows only on disks, board temperature won't change even when PWM = 100%. It should be controlled by hdd temperature. > In that case just add a critical temperature so it can't burn > down the house. > Patch it's merged now, I will add critical temperatures in a separate patch. > See: > arch/arm/boot/dts/gemini-dlink-dns-313.dts > node thermal-zones {} for an example of how to do this > quick and easy. You need CONFIG_THERMAL and > CONFIG_THERMAL_HWMON for this to work. > > Yours, > Linus Walleij Best Regards, Pawel Dembicki