Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 131C8C3ABB2 for ; Wed, 28 May 2025 08:05:32 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5E5738392E; Wed, 28 May 2025 10:05:30 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="vIyBOPAM"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AE69383910; Wed, 28 May 2025 10:05:28 +0200 (CEST) Received: from fllvem-ot04.ext.ti.com (fllvem-ot04.ext.ti.com [198.47.19.246]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id DB84183910 for ; Wed, 28 May 2025 10:05:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=m-shah@ti.com Received: from fllvem-sh04.itg.ti.com ([10.64.41.54]) by fllvem-ot04.ext.ti.com (8.15.2/8.15.2) with ESMTP id 54S85N1m2006297; Wed, 28 May 2025 03:05:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1748419523; bh=yKpuGdJaI+zELiTaA5gkv+T0bkO7G9Kp4Qyt/Pbc97k=; h=From:To:CC:Subject:Date; b=vIyBOPAMuJm/RHDZRK0vB55fLFuaW5vGApVSLEJPFbmNgaBJddcswrEAXaxOu+twG p/QOGbmOlp4Wj8ikR2Ar9MGMZhF1TmlL+3sgtUn5oRSXFEYvW0O0KpzO3zsQDhdjsQ 1eszWte4H5ljSIg6qdYKxWDpI1KyNQjum6H+Y6YU= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by fllvem-sh04.itg.ti.com (8.18.1/8.18.1) with ESMTPS id 54S85NlB3464767 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA256 bits=128 verify=FAIL); Wed, 28 May 2025 03:05:23 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 28 May 2025 03:05:22 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 28 May 2025 03:05:23 -0500 Received: from moteen-ubuntu-desk.dhcp.ti.com (moteen-ubuntu-desk.dhcp.ti.com [172.24.227.136] (may be forged)) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 54S85Jod023330; Wed, 28 May 2025 03:05:20 -0500 From: Moteen Shah To: CC: , , , , , , , Subject: [PATCH 0/6] Print version of the DM firmware Date: Wed, 28 May 2025 13:35:13 +0530 Message-ID: <20250528080519.677750-1-m-shah@ti.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean This patch series adds the functionality to print the DM firmware version being used. Before requesting TISCI for the DM version we first check if the DM split mode capability exists, if yes, we proceed onto making the call to TISCI for retrieving the version information. DM split mode capability[0] indicates that the DM is a separate binary altogether and has its own versioning information similar to TIFS. Boot Logs: https://gist.github.com/Jamm02/37864f605445944a0c0caf426e0aba50 [0]https://software-dl.ti.com/tisci/esd/latest/2_tisci_msgs/general/core.html#tisci-msg-query-fw-caps Moteen Shah (6): ti_sci_*: Add utility to access tisci firmware and SOC capability ti_sci_* : Add capability to access DM firmware's metadata firmware: ti_sci.c: Add a function to query DM firmware's capability firmware: ti_sci.c: Add a function to request DM metadata using ti_sci* calls arm: mach-k3: Add a function for printing DM version arm: mach-k3: Print version of DM firmware during boot process arch/arm/mach-k3/am62ax/am62a7_init.c | 4 ++ arch/arm/mach-k3/am62px/am62p5_init.c | 4 ++ arch/arm/mach-k3/am62x/am625_init.c | 4 ++ arch/arm/mach-k3/am64x/am642_init.c | 4 ++ arch/arm/mach-k3/am65x/am654_init.c | 4 ++ arch/arm/mach-k3/common.c | 29 ++++++++ arch/arm/mach-k3/common.h | 1 + arch/arm/mach-k3/j721e/j721e_init.c | 4 ++ arch/arm/mach-k3/j721s2/j721s2_init.c | 4 ++ arch/arm/mach-k3/j722s/j722s_init.c | 4 ++ arch/arm/mach-k3/j784s4/j784s4_init.c | 4 ++ drivers/firmware/ti_sci.c | 99 ++++++++++++++++++++++++++ drivers/firmware/ti_sci.h | 42 +++++++++++ include/linux/soc/ti/ti_sci_protocol.h | 38 ++++++++++ 14 files changed, 245 insertions(+) -- 2.34.1