[PATCH 0/2] Add exynosautov9 chipid support

STALE1785d

4 messages, 2 authors, 2021-10-26 · open the first message on its own page

[PATCH 0/2] Add exynosautov9 chipid support

From: Chanho Park <hidden>
Date: 2021-10-21 01:23:24

This patchset is built on top of Sam's patchset[1]. Exynos Auto v9 SoC's
chipid is compatible with exynos850. So, this uses 850's compatible.

Exynos: CPU[EXYNOSAUTOV9] PRO_ID[0xaaa80000] REV[0x10] Detected

[1]: https://lore.kernel.org/linux-samsung-soc/163428419206.64320.1460944164027641564.b4-ty@canonical.com/

Chanho Park (2):
  soc: samsung: exynos-chipid: add exynosautov9 SoC support
  arm64: dts: exynos: add chipid node for exynosautov9 SoC

 arch/arm64/boot/dts/exynos/exynosautov9.dtsi | 5 +++++
 drivers/soc/samsung/exynos-chipid.c          | 1 +
 2 files changed, 6 insertions(+)

-- 
2.33.0

[PATCH 2/2] arm64: dts: exynos: add chipid node for exynosautov9 SoC

From: Chanho Park <hidden>
Date: 2021-10-21 01:23:22

It can be compatible with exynos850's chipid. The SoC has eight chipid
registers that can be used for OTP.

Cc: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Chanho Park <redacted>
---
 arch/arm64/boot/dts/exynos/exynosautov9.dtsi | 5 +++++
 1 file changed, 5 insertions(+)
diff --git a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi
index 0005444f55df..a960c0bc2dba 100644
--- a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi
+++ b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi
@@ -184,6 +184,11 @@ soc: soc@0 {
 		#size-cells = <1>;
 		ranges = <0x0 0x0 0x0 0x20000000>;
 
+		chipid@10000000 {
+			compatible = "samsung,exynos850-chipid";
+			reg = <0x10000000 0x24>;
+		};
+
 		gic: interrupt-controller@10101000 {
 			compatible = "arm,gic-400";
 			#interrupt-cells = <3>;
-- 
2.33.0

[PATCH 1/2] soc: samsung: exynos-chipid: add exynosautov9 SoC support

From: Chanho Park <hidden>
Date: 2021-10-21 01:23:25

The product id of Exynos Auto v9 is "0xAAA8_0000". Add this id and its
name.

Cc: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Chanho Park <redacted>
---
 drivers/soc/samsung/exynos-chipid.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/soc/samsung/exynos-chipid.c b/drivers/soc/samsung/exynos-chipid.c
index 0aeb24bcc11a..a28053ec7e6a 100644
--- a/drivers/soc/samsung/exynos-chipid.c
+++ b/drivers/soc/samsung/exynos-chipid.c
@@ -56,6 +56,7 @@ static const struct exynos_soc_id {
 	{ "EXYNOS5800", 0xE5422000 },
 	{ "EXYNOS7420", 0xE7420000 },
 	{ "EXYNOS850", 0xE3830000 },
+	{ "EXYNOSAUTOV9", 0xAAA80000 },
 };
 
 static const char *product_id_to_soc_id(unsigned int product_id)
-- 
2.33.0

Re: [PATCH 0/2] Add exynosautov9 chipid support

From: Krzysztof Kozlowski <hidden>
Date: 2021-10-26 07:19:15

On Thu, 21 Oct 2021 10:20:15 +0900, Chanho Park wrote:
This patchset is built on top of Sam's patchset[1]. Exynos Auto v9 SoC's
chipid is compatible with exynos850. So, this uses 850's compatible.

Exynos: CPU[EXYNOSAUTOV9] PRO_ID[0xaaa80000] REV[0x10] Detected

[1]: https://lore.kernel.org/linux-samsung-soc/163428419206.64320.1460944164027641564.b4-ty@canonical.com/

[...]
Applied, thanks!

[1/2] soc: samsung: exynos-chipid: add exynosautov9 SoC support
      commit: b417d1e88f32645ed62a00d43c347b4386a0a021
[2/2] arm64: dts: exynos: add chipid node for exynosautov9 SoC
      commit: b2f217cc7fbd3e6a097021b8b663328a649ea232

Best regards,
-- 
Krzysztof Kozlowski [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help