[U-Boot] [PATCH v2 1/2] thermal: ti-bandgap: Add support for temperature sensor

Simon Glass sjg at chromium.org
Sun Oct 22 14:33:12 UTC 2017


On 9 October 2017 at 14:17, Faiz Abbas <faiz_abbas at ti.com> 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>
> ---
> 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 +
>  configs/dra7xx_evm_defconfig                       |   3 +
>  .../thermal/ti_soc_thermal.txt                     |  35 ++++
>  drivers/Makefile                                   |   2 +-
>  drivers/thermal/Kconfig                            |   6 +
>  drivers/thermal/Makefile                           |   1 +
>  drivers/thermal/ti-bandgap.c                       | 197 +++++++++++++++++++++
>  7 files changed, 251 insertions(+), 1 deletion(-)
>  create mode 100644 doc/device-tree-bindings/thermal/ti_soc_thermal.txt
>  create mode 100644 drivers/thermal/ti-bandgap.c
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list