public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Bryan Brattlof <bb@ti.com>
To: Tom Rini <trini@konsulko.com>,
	Vignesh Raghavendra <vigneshr@ti.com>,
	Hari Nagalla <hnagalla@ti.com>, Lukasz Majewski <lukma@denx.de>,
	Sean Anderson <seanga2@gmail.com>,
	Jaehoon Chung <jh80.chung@samsung.com>
Cc: UBoot Mailing List <u-boot@lists.denx.de>,
	Andrew Davis <afd@ti.com>, Nishanth Menon <nm@ti.com>,
	Bryan Brattlof <bb@ti.com>
Subject: [PATCH 01/11] soc: add info to identify the am62p SoC family
Date: Thu, 12 Oct 2023 18:06:18 -0500	[thread overview]
Message-ID: <20231012230616.2101992-14-bb@ti.com> (raw)
In-Reply-To: <20231012230616.2101992-13-bb@ti.com>

Include the part number for TI's am62px family of SoCs so we can
properly identify it during boot

Signed-off-by: Bryan Brattlof <bb@ti.com>
---
 arch/arm/mach-k3/include/mach/hardware.h | 2 ++
 drivers/soc/soc_ti_k3.c                  | 3 +++
 2 files changed, 5 insertions(+)

diff --git a/arch/arm/mach-k3/include/mach/hardware.h b/arch/arm/mach-k3/include/mach/hardware.h
index 65742c4b7c8c7..85aa18918de9c 100644
--- a/arch/arm/mach-k3/include/mach/hardware.h
+++ b/arch/arm/mach-k3/include/mach/hardware.h
@@ -46,6 +46,7 @@
 #define JTAG_ID_PARTNO_J721S2	0xbb75
 #define JTAG_ID_PARTNO_AM62X	0xbb7e
 #define JTAG_ID_PARTNO_AM62AX   0xbb8d
+#define JTAG_ID_PARTNO_AM62PX	0xbb9d
 
 #define K3_SOC_ID(id, ID) \
 static inline bool soc_is_##id(void) \
@@ -61,6 +62,7 @@ K3_SOC_ID(am64x, AM64X)
 K3_SOC_ID(j721s2, J721S2)
 K3_SOC_ID(am62x, AM62X)
 K3_SOC_ID(am62ax, AM62AX)
+K3_SOC_ID(am62px, AM62PX)
 
 #define K3_SEC_MGR_SYS_STATUS		0x44234100
 #define SYS_STATUS_DEV_TYPE_SHIFT	0
diff --git a/drivers/soc/soc_ti_k3.c b/drivers/soc/soc_ti_k3.c
index b720131ae5df9..85130ba5f6be3 100644
--- a/drivers/soc/soc_ti_k3.c
+++ b/drivers/soc/soc_ti_k3.c
@@ -45,6 +45,9 @@ static const char *get_family_string(u32 idreg)
 	case JTAG_ID_PARTNO_AM62AX:
 		family = "AM62AX";
 		break;
+	case JTAG_ID_PARTNO_AM62PX:
+		family = "AM62PX";
+		break;
 	default:
 		family = "Unknown Silicon";
 	};
-- 
2.42.0


  reply	other threads:[~2023-10-12 23:16 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-12 23:06 [PATCH 00/11] Introduce basic support for TI's AM62Px SoC family Bryan Brattlof
2023-10-12 23:06 ` Bryan Brattlof [this message]
2023-10-12 23:06 ` [PATCH 02/11] arm: mach-k3: am62px: introduce clock and device files for wkup spl Bryan Brattlof
2023-10-12 23:06 ` [PATCH 03/11] ram: k3-ddrss: enable the am62ax's DDR controller for am62px Bryan Brattlof
2023-10-12 23:06 ` [PATCH 04/11] arm: mach-k3: invert logic for split DM firmware config Bryan Brattlof
2023-10-13  1:24   ` Bryan Brattlof
2023-10-12 23:06 ` [PATCH 05/11] arch: mach-k3: introduce basic files to support the am62px SoC family Bryan Brattlof
2023-10-13  1:28   ` Bryan Brattlof
2023-10-12 23:06 ` [PATCH 06/11] board: ti: introduce basic board files for the am62px family Bryan Brattlof
2023-10-13 12:50   ` Tom Rini
2023-10-13 16:49     ` Bryan Brattlof
2023-10-12 23:06 ` [PATCH 07/11] firmware: ti_sci_static_data: add static DMA channel data Bryan Brattlof
2023-10-12 23:06 ` [PATCH 08/11] arm: dts: add am62p5 dtbs from linux Bryan Brattlof
2023-10-12 23:06 ` [PATCH 09/11] arm: dts: introduce am62p5 uboot dts files Bryan Brattlof
2023-10-12 23:06 ` [PATCH 10/11] configs: introduce configs needed for the am62px Bryan Brattlof
2023-10-12 23:06 ` [PATCH 11/11] doc: board: ti: introduce am62px documentation Bryan Brattlof
2023-10-16 15:52 ` [PATCH 00/11] Introduce basic support for TI's AM62Px SoC family Nishanth Menon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231012230616.2101992-14-bb@ti.com \
    --to=bb@ti.com \
    --cc=afd@ti.com \
    --cc=hnagalla@ti.com \
    --cc=jh80.chung@samsung.com \
    --cc=lukma@denx.de \
    --cc=nm@ti.com \
    --cc=seanga2@gmail.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=vigneshr@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox