lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <57053DCC.60708@nvidia.com>
Date:	Wed, 6 Apr 2016 22:18:12 +0530
From:	Laxman Dewangan <ldewangan@...dia.com>
To:	Eduardo Valentin <edubezval@...il.com>
CC:	<rui.zhang@...el.com>, <robh+dt@...nel.org>,
	<mark.rutland@....com>, <pawel.moll@....com>,
	<ijc+devicetree@...lion.org.uk>, <linux-pm@...r.kernel.org>,
	<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] thermal: generic-adc: Add DT binding for ADC based
 thermal sensor driver

Hi Eduardo,
Thanks for review.

On Wednesday 06 April 2016 09:31 PM, Eduardo Valentin wrote:
> On Wed, Apr 06, 2016 at 03:33:05PM +0530, Laxman Dewangan wrote:
>> +- step-temperature:	     The temperature steps for the reading ADC
>> +			     value in millicelsius.
> How about when you have a sensor that does not have a nice linear
> stepping correlation ?

Here just temp is stepping but ADC reading is not in linear. So temp vs 
adc value is not linear.
Just making the table that temp vs adc value where temp is in equally 
stepped.

if something is not possible for few steps than that can be intrapolate 
here to get this.

Other way as you said: two dimensional. You mean <temp ADC-value> pair 
for the table?

This is also possible and on this case, we will not need lower/upper and 
step temperature.
Table will provide all the information.

Also, I assume that sensor is negative coefficients. Temp increases->ADC 
read value decreases.

Should we also support positive coefficient relation?

> +			writable;
> Not sure about writable property, where is it described?
It is from my testing, not standard.  I will remove it.
>> +		};
>> +	};
>> +
>> +	cooling-maps {
>> +		map0 {
>> +			trip = <&therm_est_trip>;
>> +			cooling-device = <&dummy_cool_dev THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
>> +			contribution = <100>;
>> +			cdev-type = "therm_est_activ";
>
> Not sure about cdev-type property, where is it described?
 From my testing only. Will remove it.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ