mbox series

[v3,0/3] Add TSENS support for MSM8956/76

Message ID 20191005104133.30297-1-kholk11@gmail.com (mailing list archive)
Headers show
Series Add TSENS support for MSM8956/76 | expand

Message

AngeloGioacchino Del Regno Oct. 5, 2019, 10:41 a.m. UTC
From: AngeloGioacchino Del Regno <kholk11@gmail.com>

Add the TSENS support for MSM8956/76 using TSENS IP v1.

This code has been tested on two Sony phones featuring the Qualcomm
MSM8956 SoC.

Changes in v2:
- Switched documentation to YAML (Amit)
- Changed code style as per request (Amit)

Changes in v3:
- Added suggested kfree in calibrate_8976 (Amit)
- Also fixed the calibrate_v1 for missing kfree(s).

AngeloGioacchino Del Regno (3):
  thermal: qcom: tsens-v1: Add support for MSM8956 and MSM8976
  dt: thermal: tsens: Document compatible for MSM8976/56
  thermal: qcom: tsens-v1: Free memory in calibrate_v1 where required

 .../bindings/thermal/qcom-tsens.yaml          |   2 +
 drivers/thermal/qcom/tsens-v1.c               | 176 +++++++++++++++++-
 drivers/thermal/qcom/tsens.c                  |   3 +
 drivers/thermal/qcom/tsens.h                  |   2 +-
 4 files changed, 180 insertions(+), 3 deletions(-)