mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 16:33:17 +00:00
Exynos SoCs have Chipid, for identification of product IDs and SoC revisions. This patch intends to provide initialization code for all these functionalities, at the same time it provides some sysfs entries for accessing these information to user-space. This driver uses existing binding for exynos-chipid. Changes by Bartlomiej: - fixed return values on errors - removed bogus kfree_const() - added missing Exynos4210 EVT0 id - converted code to use EXYNOS_MASK define - fixed np use after of_node_put() - fixed too early use of dev_info() - made driver fail for unknown SoC-s - added SPDX tag - updated Copyrights Signed-off-by: Pankaj Dubey <[email protected]> [m.szyprowski: for suggestion and code snippet of product_id_to_soc_id] Signed-off-by: Marek Szyprowski <[email protected]> Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]> [s.nawrocki: updated copyright date, removed uneeded headers inclusion] Signed-off-by: Sylwester Nawrocki <[email protected]> Signed-off-by: Krzysztof Kozlowski <[email protected]>
9 lines
285 B
Makefile
9 lines
285 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
obj-$(CONFIG_EXYNOS_CHIPID) += exynos-chipid.o
|
|
obj-$(CONFIG_EXYNOS_PMU) += exynos-pmu.o
|
|
|
|
obj-$(CONFIG_EXYNOS_PMU_ARM_DRIVERS) += exynos3250-pmu.o exynos4-pmu.o \
|
|
exynos5250-pmu.o exynos5420-pmu.o
|
|
obj-$(CONFIG_EXYNOS_PM_DOMAINS) += pm_domains.o
|