forked from torvalds/linux
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
thermal: drivers: mediatek: Relocate driver to mediatek folder
Add MediaTek proprietary folder to upstream more thermal zone and cooler drivers, relocate the original thermal controller driver to it, and rename it as "auxadc_thermal.c" to show its purpose more clearly. Signed-off-by: Balsam CHIHI <bchihi@baylibre.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
- Loading branch information
1 parent
a2c81dc
commit 0eb8999
Showing
5 changed files
with
28 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
config MTK_THERMAL | ||
tristate "MediaTek thermal drivers" | ||
depends on THERMAL_OF | ||
help | ||
This is the option for MediaTek thermal software solutions. | ||
Please enable corresponding options to get temperature | ||
information from thermal sensors or turn on throttle | ||
mechaisms for thermal mitigation. | ||
|
||
if MTK_THERMAL | ||
|
||
config MTK_SOC_THERMAL | ||
tristate "AUXADC temperature sensor driver for MediaTek SoCs" | ||
depends on HAS_IOMEM | ||
help | ||
Enable this option if you want to get SoC temperature | ||
information for MediaTek platforms. | ||
This driver configures thermal controllers to collect | ||
temperature via AUXADC interface. | ||
|
||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
obj-$(CONFIG_MTK_SOC_THERMAL) += auxadc_thermal.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters