Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

thermal: exynos: Rename Samsung and Exynos to lowercase

Fix up inconsistent usage of upper and lowercase letters in "Samsung"
and "Exynos" names.

"SAMSUNG" and "EXYNOS" are not abbreviations but regular trademarked
names. Therefore they should be written with lowercase letters starting
with capital letter.

The lowercase "Exynos" name is promoted by its manufacturer Samsung
Electronics Co., Ltd., in advertisement materials and on website.

Although advertisement materials usually use uppercase "SAMSUNG", the
lowercase version is used in all legal aspects (e.g. on Wikipedia and in
privacy/legal statements on
https://www.samsung.com/semiconductor/privacy-global/).

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200104152107.11407-7-krzk@kernel.org

authored by

Krzysztof Kozlowski and committed by
Daniel Lezcano
ca07ee4e 07d243a6

+7 -7
+3 -3
Documentation/driver-api/thermal/exynos_thermal.rst
··· 4 4 5 5 Supported chips: 6 6 7 - * ARM SAMSUNG EXYNOS4, EXYNOS5 series of SoC 7 + * ARM Samsung Exynos4, Exynos5 series of SoC 8 8 9 9 Datasheet: Not publicly available 10 10 ··· 14 14 TMU controller Description: 15 15 --------------------------- 16 16 17 - This driver allows to read temperature inside SAMSUNG EXYNOS4/5 series of SoC. 17 + This driver allows to read temperature inside Samsung Exynos4/5 series of SoC. 18 18 19 19 The chip only exposes the measured 8-bit temperature code value 20 20 through a register. ··· 43 43 Trimming info for 85 degree Celsius (stored at TRIMINFO register) 44 44 Temperature code measured at 85 degree Celsius which is unchanged 45 45 46 - TMU(Thermal Management Unit) in EXYNOS4/5 generates interrupt 46 + TMU(Thermal Management Unit) in Exynos4/5 generates interrupt 47 47 when temperature exceeds pre-defined levels. 48 48 The maximum number of configurable threshold is five. 49 49 The threshold levels are defined as follows::
+1 -1
drivers/thermal/samsung/Kconfig
··· 5 5 depends on HAS_IOMEM 6 6 help 7 7 If you say yes here you get support for the TMU (Thermal Management 8 - Unit) driver for SAMSUNG EXYNOS series of SoCs. This driver initialises 8 + Unit) driver for Samsung Exynos series of SoCs. This driver initialises 9 9 the TMU, reports temperature and handles cooling action if defined. 10 10 This driver uses the Exynos core thermal APIs and TMU configuration 11 11 data from the supported SoCs.
+2 -2
drivers/thermal/samsung/exynos_tmu.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 2 /* 3 - * exynos_tmu.c - Samsung EXYNOS TMU (Thermal Management Unit) 3 + * exynos_tmu.c - Samsung Exynos TMU (Thermal Management Unit) 4 4 * 5 5 * Copyright (C) 2014 Samsung Electronics 6 6 * Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> ··· 1186 1186 1187 1187 module_platform_driver(exynos_tmu_driver); 1188 1188 1189 - MODULE_DESCRIPTION("EXYNOS TMU Driver"); 1189 + MODULE_DESCRIPTION("Exynos TMU Driver"); 1190 1190 MODULE_AUTHOR("Donggeun Kim <dg77.kim@samsung.com>"); 1191 1191 MODULE_LICENSE("GPL"); 1192 1192 MODULE_ALIAS("platform:exynos-tmu");
+1 -1
include/dt-bindings/thermal/thermal_exynos.h
··· 1 1 /* SPDX-License-Identifier: GPL-2.0+ */ 2 2 /* 3 - * thermal_exynos.h - Samsung EXYNOS TMU device tree definitions 3 + * thermal_exynos.h - Samsung Exynos TMU device tree definitions 4 4 * 5 5 * Copyright (C) 2014 Samsung Electronics 6 6 * Lukasz Majewski <l.majewski@samsung.com>