Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1379149

Re: [PATCH V3 1/2] thermal: generic-adc: Add DT binding for ADC based thermal sensor

From Rob Herring <robh@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH V3 1/2] thermal: generic-adc: Add DT binding for ADC based thermal sensor
Date 2016-04-14 19:40 +0200
Message-ID <rnTpg-5FL-19@gated-at.bofh.it> (permalink)
References <rnQUq-3jQ-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Apr 14, 2016 at 08:11:17PM +0530, Laxman Dewangan wrote:
> Sometimes, thermal sensors like NCT thermistors are connected to
> the ADC channel. The temperature is read by reading the voltage
> across the sensor resistance via ADC and referring the lookup
> table for ADC value to temperature.
> 
> Add DT binding doc for the ADC based thermal sensor driver to
> detail the DT property and provide the example for how to use it.
> 
> Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
> 
> ---
> Changes from V1:
> - Make the lookup table to two dimensional instead of single array of linear
>   step of temperature.
> - Remove detailing of IIO frameowrk and drivers.
> - Added proper braces, indenting and labels.
> 
> Changes from V2:
> - Handle comment from Rob for detailing the first and second value of the array
>   and remove @ in the node name.
> 
>  .../bindings/thermal/thermal-generic-adc.txt       | 89 ++++++++++++++++++++++
>  1 file changed, 89 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/thermal/thermal-generic-adc.txt

Acked-by: Rob Herring <rob@kernel.org>

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH V3 1/2] thermal: generic-adc: Add DT binding for ADC based thermal sensor Laxman Dewangan <ldewangan@nvidia.com> - 2016-04-14 17:00 +0200
  Re: [PATCH V3 1/2] thermal: generic-adc: Add DT binding for ADC  based thermal sensor Rob Herring <robh@kernel.org> - 2016-04-14 19:40 +0200

csiph-web