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

Tom Rini trini at konsulko.com
Tue Nov 21 12:44:19 UTC 2017


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!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171121/1e4812b2/attachment.sig>


More information about the U-Boot mailing list