summaryrefslogtreecommitdiff
path: root/drivers/thermal
diff options
context:
space:
mode:
authorLeonard Crestez <leonard.crestez@nxp.com>2017-07-14 17:11:06 +0300
committerZhang Rui <rui.zhang@intel.com>2017-09-20 04:36:18 +0300
commit4633f7a156bf41003b1527f88ddf843ce0bb7d68 (patch)
tree855ae25d07a31e962116e9113841212f0105e7d1 /drivers/thermal
parent2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e (diff)
downloadlinux-4633f7a156bf41003b1527f88ddf843ce0bb7d68.tar.xz
thermal: imx: Add nvmem-cells alternate binding for OCOTP access
On newer imx SOCs accessing OCOTP directly is wrong because the ocotp clock needs to be enabled first. Add a binding for accessing the same values through the imx-ocotp nvmem driver using nvmem-cells. This is similar to other thermal drivers. The old binding is preserved for compatibility and because it still works fine on imx6qdl series chips. In theory this problem could be solved by adding a reference to the OCOTP clock instead but it is better to hide such details in a specific nvmem driver. Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal')
0 files changed, 0 insertions, 0 deletions