Skip to content

thermal: imx: Add nvmem-cells binding on imx6sx

Leonard Crestez linux-devicetree linux-pm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 18 repliesIn review
  2. v14 patches 6 repliesSuperseded

Changes in v2 from the cover letter

* Move nvmem_cell_read_u32 to nvmem core (Shawn Guo, Srinivas Kandagatla)
* Adjust binding description (Rob Herring)
* Adjust formatting of thermal info cells (Shawn Guo)
* Link: https://lkml.org/lkml/2017/7/6/426

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5thermal: imx: Add nvmem-cells alternate binding for OCOTP accessDocumentation/devicetree/bindings/thermal/imx-thermal.txt+7 -01 reply
2/5nvmem: core: Add nvmem_cell_read_u32drivers/nvmem/core.c include/linux/nvmem-consumer.h+45 -03 replies
3/5thermal: imx: Add support for reading OCOTP through nvmemdrivers/thermal/imx_thermal.c+73 -308 replies
4/5ARM: dts: imx6sx: Use nvmem-cells for tempmonarch/arm/boot/dts/imx6sx.dtsi+12 -12 replies
5/5ARM: dts: imx6ul: Add imx6ul-tempmonarch/arm/boot/dts/imx6ul.dtsi+19 -00 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLothar WaßmannRob HerringShawn GuoSrinivas Kandagatla
SeriesT-b A-b
1/5A-b
2/5R-b A-b
3/5A-b
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/5] thermal: imx: Add nvmem-cells binding on imx6sx

On imx6sx accessing OCOTP directly is wrong because the ocotp clock needs to be enabled first. Fix this by adding a nvmem-cells binding and using it on imx6sx, imx6ul and imx6ull.

The existing binding is kept around because it works fine on imx6qdl.

This was initially reported by Lothar Waßmann <[email protected]> in reply to a patch adding imx6ul/ull support:

---
Changes since v1:
* Move nvmem_cell_read_u32 to nvmem core (Shawn Guo, Srinivas Kandagatla)
* Adjust binding description (Rob Herring)
* Adjust formatting of thermal info cells (Shawn Guo)
* Link: https://lkml.org/lkml/2017/7/6/426

Leonard Crestez (5):
thermal: imx: Add nvmem-cells alternate binding for OCOTP access
nvmem: core: Add nvmem_cell_read_u32
thermal: imx: Add support for reading OCOTP through nvmem
ARM: dts: imx6sx: Use nvmem-cells for tempmon
ARM: dts: imx6ul: Add imx6ul-tempmon

 .../devicetree/bindings/thermal/imx-thermal.txt    |   7 ++
 arch/arm/boot/dts/imx6sx.dtsi                      |  13 ++-
 arch/arm/boot/dts/imx6ul.dtsi                      |  19 ++++
 drivers/nvmem/core.c                               |  37 ++++++++
 drivers/thermal/imx_thermal.c                      | 103 +++++++++++++++------
 include/linux/nvmem-consumer.h                     |   8 ++
 6 files changed, 156 insertions(+), 31 deletions(-)
Signature · 6 lines
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html