soc: samsung: chipid: Convert exynos-chipid driver to use the regmap API
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Tue, 13 Aug 2019 15:08:20 +0000 (17:08 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Thu, 15 Aug 2019 18:25:25 +0000 (20:25 +0200)
commit40d8aff614f71ab3cab20785b4f213e3802d4e87
tree59075eca9ad344bf9245d7542295d491f15d920e
parent3253b7b7cd44c4dd029a4ce280ef9f409a256e5f
soc: samsung: chipid: Convert exynos-chipid driver to use the regmap API

Convert the driver to use regmap API in order to allow other
drivers, like ASV, to access the CHIPID registers.

Add definition of selected CHIPID register offsets and register bit
fields for Exynos5422 SoC.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
drivers/soc/samsung/exynos-chipid.c
include/linux/soc/samsung/exynos-chipid.h [new file with mode: 0644]