mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 14:21:47 +00:00
b9c7aff481
SPEAr platforms now support DT and so must convert all drivers to support DT. This patch adds DT probing support for SPEAr thermal sensor driver and updates its documentation too. Also, as SPEAr is the only user of this driver and is only available with DT, make this an only DT driver. So, platform_data is completely removed and passed via DT now. Signed-off-by: Viresh Kumar <viresh.kumar@st.com> Cc: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Vincenzo Frascino <vincenzo.frascino@st.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Len Brown <len.brown@intel.com>
15 lines
313 B
Plaintext
15 lines
313 B
Plaintext
* SPEAr Thermal
|
|
|
|
Required properties:
|
|
- compatible : "st,thermal-spear1340"
|
|
- reg : Address range of the thermal registers
|
|
- st,thermal-flags: flags used to enable thermal sensor
|
|
|
|
Example:
|
|
|
|
thermal@fc000000 {
|
|
compatible = "st,thermal-spear1340";
|
|
reg = <0xfc000000 0x1000>;
|
|
st,thermal-flags = <0x7000>;
|
|
};
|