[U-Boot] [U-Boot, v5, 1/3] thermal: ti-bandgap: Add support for temperature sensor

Lokesh Vutla lokeshvutla at ti.com
Tue Nov 21 12:40:59 UTC 2017



On Tuesday 21 November 2017 06:14 PM, Tom Rini wrote:
> On Tue, Nov 14, 2017 at 04:12:31PM +0530, Faiz Abbas wrote:
>> The dra7xx series of SOCs contain a temperature sensor and an
>> associated analog-to-digital converter (ADC) which produces
>> an output which is proportional to the SOC temperature.
>> Add support for this temperature sensor.
>>
>> Signed-off-by: Faiz Abbas <faiz_abbas at ti.com>
>> Reviewed-by: Simon Glass <sjg at chromium.org>
>> ---
>>
>> v5:
>> Added terminator brackets ({}) to ti_bandgap_match[]
>>
>> v3:
>> Added Reviewed-by comment
>>
>> v2:
>>  1. Removed extra elements from ti_bandgap
>>  2. Changed base address to ulong
>>  3. Changed to udev to dev to maintain consistency
>>  4. minor format changes
>>
>>  common/spl/Kconfig                                 |   8 +
>>  .../thermal/ti_soc_thermal.txt                     |  35 ++++
>>  drivers/Makefile                                   |   1 +
>>  drivers/thermal/Kconfig                            |   6 +
>>  drivers/thermal/Makefile                           |   1 +
>>  drivers/thermal/ti-bandgap.c                       | 198 +++++++++++++++++++++
>>  6 files changed, 249 insertions(+)
>>  create mode 100644 doc/device-tree-bindings/thermal/ti_soc_thermal.txt
>>  create mode 100644 drivers/thermal/ti-bandgap.c
>>
> 
> This fails to build on am57xx_evm_nodt.  Lokesh, does it still make
> sense to have that defconfig?  If so, we need to disable this feature on
> that config, or we need to delete that config then apply this series.
> Thanks!
> 

Right, no point keeping am57xx_evm_nodt. We should delete this config
and apply this series.

Thanks and regards,
Lokesh



More information about the U-Boot mailing list