Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c96805e6 authored by Siddartha Mohanadoss's avatar Siddartha Mohanadoss
Browse files

thermal: tsens: Add TSENS controller support



Add compatible property to support TSENS 2.4 version
of the controller.

Change-Id: I8b061c0733056846813be76b4bf107adee3fd00c
Signed-off-by: default avatarSiddartha Mohanadoss <smohanad@codeaurora.org>
parent 4d9a308b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ Required properties:
	       should be "qcom,sdm660-tsens" for 660 TSENS driver.
	       should be "qcom,sdm630-tsens" for 630 TSENS driver.
	       should be "qcom,sdm845-tsens" for SDM845 TSENS driver.
	       should be "qcom,tsens24xx" for 2.4 TSENS controller.
	       The compatible property is used to identify the respective controller to use
	       for the corresponding SoC.
- reg : offset and length of the TSENS registers with associated property in reg-names
+3 −0
Original line number Diff line number Diff line
@@ -79,6 +79,9 @@ static const struct of_device_id tsens_table[] = {
	{	.compatible = "qcom,sdm845-tsens",
		.data = &data_tsens24xx,
	},
	{	.compatible = "qcom,tsens24xx",
		.data = &data_tsens24xx,
	},
	{}
};
MODULE_DEVICE_TABLE(of, tsens_table);