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

Commit 5c941b69 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "thermal: tsens: Add msmferrum fuse map"

parents 8fa71257 d5c9e4a8
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -475,6 +475,7 @@ enum tsens_calib_fuse_map_type {
	TSENS_CALIB_FUSE_MAP_8916,
	TSENS_CALIB_FUSE_MAP_8939,
	TSENS_CALIB_FUSE_MAP_8994,
	TSENS_CALIB_FUSE_MAP_MSMFERRUM,
	TSENS_CALIB_FUSE_MAP_NUM,
};

@@ -2565,7 +2566,8 @@ static int tsens_calib_sensors(void)
		rc = tsens_calib_9900_sensors();
	else if (tmdev->calib_mode == TSENS_CALIB_FUSE_MAP_9630)
		rc = tsens_calib_9630_sensors();
	else if (tmdev->calib_mode == TSENS_CALIB_FUSE_MAP_8916)
	else if ((tmdev->calib_mode == TSENS_CALIB_FUSE_MAP_8916) ||
			(tmdev->calib_mode == TSENS_CALIB_FUSE_MAP_MSMFERRUM))
		rc = tsens_calib_8916_sensors();
	else if (tmdev->calib_mode == TSENS_CALIB_FUSE_MAP_8939)
		rc = tsens_calib_8939_sensors();
@@ -2604,6 +2606,9 @@ static struct of_device_id tsens_match[] = {
	{	.compatible = "qcom,msm8994-tsens",
		.data = (void *)TSENS_CALIB_FUSE_MAP_8994,
	},
	{	.compatible = "qcom,msmferrum-tsens",
		.data = (void *)TSENS_CALIB_FUSE_MAP_MSMFERRUM,
	},
	{}
};