ahci: imx: Add imx53 SATA temperature sensor support
authorCsaba Kertesz <csaba.kertesz@vincit.fi>
Tue, 25 Oct 2016 20:08:07 +0000 (22:08 +0200)
committerTejun Heo <tj@kernel.org>
Fri, 6 Jan 2017 20:35:17 +0000 (15:35 -0500)
commit54643a83b41a2bff90a0615799686b37a1109404
treeb6baf81bd6d8abe9270672c90b6906da6c026382
parentde2518201e526f4491e5856b9818f5c18684a6a7
ahci: imx: Add imx53 SATA temperature sensor support

Add a hwmon entry to get the temperature from the die of imx53
SATA.

The original patch was made by Richard Zhu for kernel 2.6.x:
ENGR00134041-MX53-Add-the-SATA-AHCI-temperature-monitor.patch

Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.co.uk>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/ahci_imx.c