commit | 1fcacca40a1c9b45b5390c86c4eefd99ad0f2418 | [log] [tgz] |
---|---|---|
author | Ezequiel Garcia <ezequiel.garcia@free-electrons.com> | Tue May 06 13:59:47 2014 -0300 |
committer | Zhang Rui <rui.zhang@intel.com> | Thu May 15 17:12:46 2014 +0800 |
tree | 53c8b2b49a7bd2b5a636e59a85bdbbf60637ffb6 | |
parent | 9484bc62cadd919f072ed1232f25ccc156d8bacf [diff] |
thermal: armada: Add generic infrastructure to handle the sensor In order to support similar SoC where the sensor value and valid bit can have different shifts and/or mask, we add such fields to the per-variant structure, instead of having the values hardcoded. Acked-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>