All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] soc: samsung: exynos-chipid: describe which SoCs go with compatibles
@ 2021-10-31 20:52 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2021-10-31 20:52 UTC (permalink / raw)
  To: Krzysztof Kozlowski, linux-arm-kernel, linux-samsung-soc, linux-kernel
  Cc: David Virag

The Exynos ChipID driver, like most of the Exynos drivers, uses one
compatible for entire family of compatible devices using one devicetree
"compatible".  The compatibility is here described by programming
interface (register layout), not by actual values, so the product ID
register on one family of devices has different values for different
SoCs.

Describe which SoC goes with which compatible for documentation
purposes, if the DTS is not available in mainline.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
---
 drivers/soc/samsung/exynos-chipid.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/soc/samsung/exynos-chipid.c b/drivers/soc/samsung/exynos-chipid.c
index a28053ec7e6a..baf3afc69d79 100644
--- a/drivers/soc/samsung/exynos-chipid.c
+++ b/drivers/soc/samsung/exynos-chipid.c
@@ -42,6 +42,7 @@ static const struct exynos_soc_id {
 	unsigned int id;
 } soc_ids[] = {
 	/* List ordered by SoC name */
+	/* Compatible with: samsung,exynos4210-chipid */
 	{ "EXYNOS3250", 0xE3472000 },
 	{ "EXYNOS4210", 0x43200000 },	/* EVT0 revision */
 	{ "EXYNOS4210", 0x43210000 },
@@ -55,6 +56,7 @@ static const struct exynos_soc_id {
 	{ "EXYNOS5440", 0xE5440000 },
 	{ "EXYNOS5800", 0xE5422000 },
 	{ "EXYNOS7420", 0xE7420000 },
+	/* Compatible with: samsung,exynos850-chipid */
 	{ "EXYNOS850", 0xE3830000 },
 	{ "EXYNOSAUTOV9", 0xAAA80000 },
 };
-- 
2.32.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] soc: samsung: exynos-chipid: describe which SoCs go with compatibles
@ 2021-10-31 20:52 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2021-10-31 20:52 UTC (permalink / raw)
  To: Krzysztof Kozlowski, linux-arm-kernel, linux-samsung-soc, linux-kernel
  Cc: David Virag

The Exynos ChipID driver, like most of the Exynos drivers, uses one
compatible for entire family of compatible devices using one devicetree
"compatible".  The compatibility is here described by programming
interface (register layout), not by actual values, so the product ID
register on one family of devices has different values for different
SoCs.

Describe which SoC goes with which compatible for documentation
purposes, if the DTS is not available in mainline.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
---
 drivers/soc/samsung/exynos-chipid.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/soc/samsung/exynos-chipid.c b/drivers/soc/samsung/exynos-chipid.c
index a28053ec7e6a..baf3afc69d79 100644
--- a/drivers/soc/samsung/exynos-chipid.c
+++ b/drivers/soc/samsung/exynos-chipid.c
@@ -42,6 +42,7 @@ static const struct exynos_soc_id {
 	unsigned int id;
 } soc_ids[] = {
 	/* List ordered by SoC name */
+	/* Compatible with: samsung,exynos4210-chipid */
 	{ "EXYNOS3250", 0xE3472000 },
 	{ "EXYNOS4210", 0x43200000 },	/* EVT0 revision */
 	{ "EXYNOS4210", 0x43210000 },
@@ -55,6 +56,7 @@ static const struct exynos_soc_id {
 	{ "EXYNOS5440", 0xE5440000 },
 	{ "EXYNOS5800", 0xE5422000 },
 	{ "EXYNOS7420", 0xE7420000 },
+	/* Compatible with: samsung,exynos850-chipid */
 	{ "EXYNOS850", 0xE3830000 },
 	{ "EXYNOSAUTOV9", 0xAAA80000 },
 };
-- 
2.32.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] soc: samsung: exynos-chipid: describe which SoCs go with compatibles
  2021-10-31 20:52 ` Krzysztof Kozlowski
@ 2021-11-15 13:41   ` Krzysztof Kozlowski
  -1 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2021-11-15 13:41 UTC (permalink / raw)
  To: linux-arm-kernel, Krzysztof Kozlowski, linux-samsung-soc, linux-kernel
  Cc: David Virag

On Sun, 31 Oct 2021 21:52:12 +0100, Krzysztof Kozlowski wrote:
> The Exynos ChipID driver, like most of the Exynos drivers, uses one
> compatible for entire family of compatible devices using one devicetree
> "compatible".  The compatibility is here described by programming
> interface (register layout), not by actual values, so the product ID
> register on one family of devices has different values for different
> SoCs.
> 
> [...]

Applied, thanks!

[1/1] soc: samsung: exynos-chipid: describe which SoCs go with compatibles
      commit: 569e45a1135497d8dddc647bc615e26c49b070a8

Best regards,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] soc: samsung: exynos-chipid: describe which SoCs go with compatibles
@ 2021-11-15 13:41   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2021-11-15 13:41 UTC (permalink / raw)
  To: linux-arm-kernel, Krzysztof Kozlowski, linux-samsung-soc, linux-kernel
  Cc: David Virag

On Sun, 31 Oct 2021 21:52:12 +0100, Krzysztof Kozlowski wrote:
> The Exynos ChipID driver, like most of the Exynos drivers, uses one
> compatible for entire family of compatible devices using one devicetree
> "compatible".  The compatibility is here described by programming
> interface (register layout), not by actual values, so the product ID
> register on one family of devices has different values for different
> SoCs.
> 
> [...]

Applied, thanks!

[1/1] soc: samsung: exynos-chipid: describe which SoCs go with compatibles
      commit: 569e45a1135497d8dddc647bc615e26c49b070a8

Best regards,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-11-15 13:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-31 20:52 [PATCH] soc: samsung: exynos-chipid: describe which SoCs go with compatibles Krzysztof Kozlowski
2021-10-31 20:52 ` Krzysztof Kozlowski
2021-11-15 13:41 ` Krzysztof Kozlowski
2021-11-15 13:41   ` Krzysztof Kozlowski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.