{"id":2230943,"url":"http://patchwork.ozlabs.org/api/1.2/patches/2230943/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20260430084414.1354490-17-richard.genoud@bootlin.com/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.2/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20260430084414.1354490-17-richard.genoud@bootlin.com>","list_archive_url":null,"date":"2026-04-30T08:44:09","name":"[16/20] arm: mach-k3: Update pm-boardcfg for all k3 platforms","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"df066e42c9b934eeac2dcbd21f62035ddb6e86ea","submitter":{"id":88519,"url":"http://patchwork.ozlabs.org/api/1.2/people/88519/?format=json","name":"Richard Genoud (TI)","email":"richard.genoud@bootlin.com"},"delegate":{"id":3651,"url":"http://patchwork.ozlabs.org/api/1.2/users/3651/?format=json","username":"trini","first_name":"Tom","last_name":"Rini","email":"trini@ti.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20260430084414.1354490-17-richard.genoud@bootlin.com/mbox/","series":[{"id":502237,"url":"http://patchwork.ozlabs.org/api/1.2/series/502237/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=502237","date":"2026-04-30T08:43:53","name":"Introduce resume for J7xx SoCs","version":1,"mbox":"http://patchwork.ozlabs.org/series/502237/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2230943/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2230943/checks/","tags":{},"related":[],"headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256\n header.s=dkim header.b=WsfPvCEI;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)","phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=bootlin.com","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=bootlin.com header.i=@bootlin.com header.b=\"WsfPvCEI\";\n\tdkim-atps=neutral","phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=bootlin.com","phobos.denx.de;\n spf=pass smtp.mailfrom=richard.genoud@bootlin.com"],"Received":["from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g5npm52PPz1yHZ\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 18:46:56 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 141ED846BD;\n\tThu, 30 Apr 2026 10:45:15 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id 192D6846CF; Thu, 30 Apr 2026 10:45:13 +0200 (CEST)","from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 2CD3F846C6\n for <u-boot@lists.denx.de>; Thu, 30 Apr 2026 10:45:10 +0200 (CEST)","from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233])\n by smtpout-04.galae.net (Postfix) with ESMTPS id 65540C5CD62;\n Thu, 30 Apr 2026 08:45:54 +0000 (UTC)","from mail.galae.net (mail.galae.net [212.83.136.155])\n by smtpout-01.galae.net (Postfix) with ESMTPS id E0E1560495;\n Thu, 30 Apr 2026 08:45:09 +0000 (UTC)","from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon)\n with ESMTPSA id EA50C1072B7AC;\n Thu, 30 Apr 2026 10:45:05 +0200 (CEST)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim;\n t=1777538707; h=from:subject:date:message-id:to:cc:mime-version:\n content-transfer-encoding:in-reply-to:references;\n bh=g9zntaZSMsqjwhhwGwJQrLG7Af1xxbXY6jj7eHXi1ak=;\n b=WsfPvCEIUwSZNIY7ZBaT5hfBPPEY2DyLuPbnCkHssLONfTm+RnKJgBaPkDKwNViHC07uG+\n 4B20zl/zSvkiBSYS7GpXGxpJnjSx9iWBlvx421a5UwfOv9GhQWAZSIiX7gCdaWuYt08tT4\n gGqkwgfvDgVefaoMwv6VsyOOiPUOZNW5YZeizh5dFeoyl1vzoG6PfNEpNWtQjQ0juBuL6n\n RWB1DTxjw1gafEZfYAtZ/4iCAtlEoHKKNgXuu9E8uxmMv+KE7CqqeTaxCwYVKloY0b0Ufn\n PLtTSRfnn+9W6FJrHQiT1vzj+BZKaQP7kMvg6DbcjQM4Ablr31Atp0tVFkBzkg==","From":"\"Richard Genoud (TI)\" <richard.genoud@bootlin.com>","To":"Tom Rini <trini@konsulko.com>, Manorit Chawdhry <m-chawdhry@ti.com>,\n Apurva Nandan <a-nandan@ti.com>, \"Andrew F . Davis\" <afd@ti.com>,\n Vignesh Raghavendra <vigneshr@ti.com>, Bryan Brattlof <bb@ti.com>,\n Vaishnav Achath <vaishnav.a@ti.com>, Jayesh Choudhary <j-choudhary@ti.com>,\n Simon Glass <sjg@chromium.org>, Alper Nebi Yasak <alpernebiyasak@gmail.com>","Cc":"Markus Schneider-Pargmann <msp@baylibre.com>,\n Udit Kumar <u-kumar1@ti.com>,\n Abhash Kumar <a-kumar2@ti.com>,\n Thomas Richard <thomas.richard@bootlin.com>,\n Gregory CLEMENT <gregory.clement@bootlin.com>,\n Thomas Petazzoni <thomas.petazzoni@bootlin.com>,\n Richard Genoud <richard.genoud@bootlin.com>, u-boot@lists.denx.de","Subject":"[PATCH 16/20] arm: mach-k3: Update pm-boardcfg for all k3 platforms","Date":"Thu, 30 Apr 2026 10:44:09 +0200","Message-ID":"<20260430084414.1354490-17-richard.genoud@bootlin.com>","X-Mailer":"git-send-email 2.47.3","In-Reply-To":"<20260430084414.1354490-1-richard.genoud@bootlin.com>","References":"<20260430084414.1354490-1-richard.genoud@bootlin.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","X-Last-TLS-Session-Version":"TLSv1.3","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.39","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<https://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>","X-Virus-Scanned":"clamav-milter 0.103.8 at phobos.denx.de","X-Virus-Status":"Clean"},"content":"From: Abhash Kumar Jha <a-kumar2@ti.com>\n\nUpdate the pm-cfg and schema to a new version. The new pm-boardcfg has the\nfollowing substructures\n\n- lpm_cfg : Low Power Mode configuration\n- pll_cfg : PLL configuration\n- dev_cfg : Device Power configuration\n- rsvd_pmic_cfg : Reserved PMIC configuration\n- rsvd_cfg : Reserved cofiguration containing the size for the flexible\n    array appended at the end of pm-boardcfg\n\nThe ABI revision for pm-cfg is also changed from 0:1 to 1:1\n\nModify the pm-cfg for am62ax, am62dx, am62px, am62x, am64x, am65x,\nj721s2, j722s to change the hierarchy from \"pm-cfg -> rev\" to\n\"pm-cfg -> pm-boardcfg -> rev\".\n\nThis change only adds a new 'pm-boardcfg' property as a parent of the\n'rev' property, this does not affect the generated pm-cfg binary.\n\nAdd u64 type in schema and update the boardcfg script to deal with u64\ntypes.\n\nSigned-off-by: Abhash Kumar Jha <a-kumar2@ti.com>\n---\n arch/arm/mach-k3/schema.yaml            | 195 +++++++++++++++++++-----\n board/phytec/phycore_am62ax/pm-cfg.yaml |   7 +-\n board/ti/am62ax/pm-cfg.yaml             |   7 +-\n board/ti/am62px/pm-cfg.yaml             |   7 +-\n board/ti/am62x/pm-cfg.yaml              |   7 +-\n board/ti/am64x/pm-cfg.yaml              |   5 +-\n board/ti/am65x/pm-cfg.yaml              |   7 +-\n board/ti/j7200/pm-cfg.yaml              |  92 ++++++++++-\n board/ti/j721e/pm-cfg.yaml              |  92 ++++++++++-\n board/ti/j721s2/pm-cfg.yaml             |  94 +++++++++++-\n board/ti/j722s/pm-cfg.yaml              |   7 +-\n board/ti/j784s4/pm-cfg.yaml             |  94 +++++++++++-\n tools/binman/etype/ti_board_config.py   |   4 +-\n 13 files changed, 552 insertions(+), 66 deletions(-)","diff":"diff --git a/arch/arm/mach-k3/schema.yaml b/arch/arm/mach-k3/schema.yaml\nindex 8c4691f24ed6..dbd11b6c864d 100644\n--- a/arch/arm/mach-k3/schema.yaml\n+++ b/arch/arm/mach-k3/schema.yaml\n@@ -19,21 +19,15 @@ definitions:\n         type: integer\n         minimum: 0\n         maximum: 0xffffffff\n+    u64:\n+        type: integer\n+        minimum: 0\n+        maximum: 0xffffffffffffffff\n \n \n \n type: object\n properties:\n-    pm-cfg:\n-        type: object\n-        properties:\n-            rev:\n-                type: object\n-                properties:\n-                    boardcfg_abi_maj:\n-                        $ref: \"#/definitions/u8\"\n-                    boardcfg_abi_min:\n-                        $ref: \"#/definitions/u8\"\n     board-cfg:\n         type: object\n         properties:\n@@ -283,6 +277,138 @@ properties:\n                         items:\n                             $ref: \"#/definitions/u8\"\n \n+    pm-cfg:\n+        type: object\n+        properties:\n+            pm_boardcfg:\n+                type: object\n+                properties:\n+                    rev:\n+                        type: object\n+                        properties:\n+                            boardcfg_abi_maj:\n+                                $ref: \"#/definitions/u8\"\n+                            boardcfg_abi_min:\n+                                $ref: \"#/definitions/u8\"\n+\n+                    lpm_cfg:\n+                        type: object\n+                        properties:\n+                            subhdr:\n+                                type: object\n+                                properties:\n+                                    magic:\n+                                        $ref: \"#/definitions/u16\"\n+                                    size:\n+                                        $ref: \"#/definitions/u16\"\n+                            suspend_initiator:\n+                                $ref: \"#/definitions/u8\"\n+                            lpm_mode:\n+                                $ref: \"#/definitions/u8\"\n+                            lpm_rsvd1:\n+                                $ref: \"#/definitions/u16\"\n+                            lpm_rsvd2:\n+                                $ref: \"#/definitions/u32\"\n+\n+                    pll_cfg:\n+                        type: object\n+                        properties:\n+                            subhdr:\n+                                type: object\n+                                properties:\n+                                    magic:\n+                                        $ref: \"#/definitions/u16\"\n+                                    size:\n+                                        $ref: \"#/definitions/u16\"\n+                            pll_cfg_entries:\n+                                        type: array\n+                                        minItems: 0\n+                                        maxItems: 5\n+                                        items:\n+                                            type: object\n+                                            properties:\n+                                                dev_id:\n+                                                    $ref: \"#/definitions/u32\"\n+                                                clk_id:\n+                                                    $ref: \"#/definitions/u32\"\n+                                                pll_freq:\n+                                                    $ref: \"#/definitions/u64\"\n+                    dev_cfg:\n+                        type: object\n+                        properties:\n+                            subhdr:\n+                                type: object\n+                                properties:\n+                                    magic:\n+                                        $ref: \"#/definitions/u16\"\n+                                    size:\n+                                        $ref: \"#/definitions/u16\"\n+                            dev_cfg_entries:\n+                                        type: array\n+                                        minItems: 0\n+                                        maxItems: 5\n+                                        items:\n+                                            type: object\n+                                            properties:\n+                                                dev_id:\n+                                                    $ref: \"#/definitions/u32\"\n+                                                state:\n+                                                    $ref: \"#/definitions/u32\"\n+                                                flag:\n+                                                    $ref: \"#/definitions/u32\"\n+                    rsvd_pmic_cfg:\n+                        type: object\n+                        properties:\n+                            subhdr:\n+                                type: object\n+                                properties:\n+                                    magic:\n+                                        $ref: \"#/definitions/u16\"\n+                                    size:\n+                                        $ref: \"#/definitions/u16\"\n+                            pmic_rsvd1:\n+                                $ref: \"#/definitions/u32\"\n+                            pmic_rsvd2:\n+                                $ref: \"#/definitions/u32\"\n+                            pmic_rsvd3:\n+                                $ref: \"#/definitions/u32\"\n+                    rsvd_cfg:\n+                        type: object\n+                        properties:\n+                            subhdr:\n+                                type: object\n+                                properties:\n+                                    magic:\n+                                        $ref: \"#/definitions/u16\"\n+                                    size:\n+                                        $ref: \"#/definitions/u16\"\n+                            rsvd1:\n+                                $ref: \"#/definitions/u32\"\n+                            rsvd2:\n+                                $ref: \"#/definitions/u32\"\n+                            rsvd3:\n+                                $ref: \"#/definitions/u32\"\n+                            reserved_entry_size:\n+                                $ref: \"#/definitions/u16\"\n+\n+            reserved_entries:\n+                type: array\n+                minItems: 0\n+                maxItems: 2\n+                items:\n+                    type: object\n+                    properties:\n+                        reserved1:\n+                            $ref: \"#/definitions/u16\"\n+                        reserved2:\n+                            $ref: \"#/definitions/u16\"\n+                        reserved3:\n+                            $ref: \"#/definitions/u16\"\n+                        reserved4:\n+                            $ref: \"#/definitions/u8\"\n+                        reserved5:\n+                            $ref: \"#/definitions/u8\"\n+\n     rm-cfg:\n         type: object\n         properties:\n@@ -296,36 +422,35 @@ properties:\n                                 $ref: \"#/definitions/u8\"\n                             boardcfg_abi_min:\n                                 $ref: \"#/definitions/u8\"\n-\n                     host_cfg:\n-                        type: object\n-                        properties:\n-                            subhdr:\n-                                type: object\n-                                properties:\n-                                    magic:\n-                                        $ref: \"#/definitions/u16\"\n-                                    size:\n-                                        $ref: \"#/definitions/u16\"\n-                            host_cfg_entries:\n-                                type: array\n-                                minItems: 0\n-                                maxItems: 32\n-                                items:\n+                            type: object\n+                            properties:\n+                                subhdr:\n                                     type: object\n                                     properties:\n-                                        host_id:\n-                                            $ref: \"#/definitions/u8\"\n-                                        allowed_atype:\n-                                            $ref: \"#/definitions/u8\"\n-                                        allowed_qos:\n+                                        magic:\n                                             $ref: \"#/definitions/u16\"\n-                                        allowed_orderid:\n-                                            $ref: \"#/definitions/u32\"\n-                                        allowed_priority:\n+                                        size:\n                                             $ref: \"#/definitions/u16\"\n-                                        allowed_sched_priority:\n-                                            $ref: \"#/definitions/u8\"\n+                                host_cfg_entries:\n+                                    type: array\n+                                    minItems: 0\n+                                    maxItems: 32\n+                                    items:\n+                                        type: object\n+                                        properties:\n+                                            host_id:\n+                                                $ref: \"#/definitions/u8\"\n+                                            allowed_atype:\n+                                                $ref: \"#/definitions/u8\"\n+                                            allowed_qos:\n+                                                $ref: \"#/definitions/u16\"\n+                                            allowed_orderid:\n+                                                $ref: \"#/definitions/u32\"\n+                                            allowed_priority:\n+                                                $ref: \"#/definitions/u16\"\n+                                            allowed_sched_priority:\n+                                                $ref: \"#/definitions/u8\"\n                     resasg:\n                         type: object\n                         properties:\ndiff --git a/board/phytec/phycore_am62ax/pm-cfg.yaml b/board/phytec/phycore_am62ax/pm-cfg.yaml\nindex 4031af2f4d3a..2eebba0d986f 100644\n--- a/board/phytec/phycore_am62ax/pm-cfg.yaml\n+++ b/board/phytec/phycore_am62ax/pm-cfg.yaml\n@@ -7,6 +7,7 @@\n ---\n \n pm-cfg:\n-    rev:\n-        boardcfg_abi_maj: 0x0\n-        boardcfg_abi_min: 0x1\n+    pm_boardcfg:\n+        rev:\n+            boardcfg_abi_maj: 0x0\n+            boardcfg_abi_min: 0x1\ndiff --git a/board/ti/am62ax/pm-cfg.yaml b/board/ti/am62ax/pm-cfg.yaml\nindex 4031af2f4d3a..2eebba0d986f 100644\n--- a/board/ti/am62ax/pm-cfg.yaml\n+++ b/board/ti/am62ax/pm-cfg.yaml\n@@ -7,6 +7,7 @@\n ---\n \n pm-cfg:\n-    rev:\n-        boardcfg_abi_maj: 0x0\n-        boardcfg_abi_min: 0x1\n+    pm_boardcfg:\n+        rev:\n+            boardcfg_abi_maj: 0x0\n+            boardcfg_abi_min: 0x1\ndiff --git a/board/ti/am62px/pm-cfg.yaml b/board/ti/am62px/pm-cfg.yaml\nindex 3ff27ce702c2..15a0cc6e8588 100644\n--- a/board/ti/am62px/pm-cfg.yaml\n+++ b/board/ti/am62px/pm-cfg.yaml\n@@ -7,6 +7,7 @@\n #\n ---\n pm-cfg:\n-    rev:\n-        boardcfg_abi_maj: 0x0\n-        boardcfg_abi_min: 0x1\n+    pm_boardcfg:\n+        rev:\n+            boardcfg_abi_maj: 0x0\n+            boardcfg_abi_min: 0x1\ndiff --git a/board/ti/am62x/pm-cfg.yaml b/board/ti/am62x/pm-cfg.yaml\nindex 9853a25eb85c..75cdeb8098fc 100644\n--- a/board/ti/am62x/pm-cfg.yaml\n+++ b/board/ti/am62x/pm-cfg.yaml\n@@ -7,6 +7,7 @@\n ---\n \n pm-cfg:\n-    rev:\n-        boardcfg_abi_maj: 0x0\n-        boardcfg_abi_min: 0x1\n+    pm_boardcfg:\n+        rev:\n+            boardcfg_abi_maj: 0x0\n+            boardcfg_abi_min: 0x1\ndiff --git a/board/ti/am64x/pm-cfg.yaml b/board/ti/am64x/pm-cfg.yaml\nindex 7afb29621088..e9866d0ea24d 100644\n--- a/board/ti/am64x/pm-cfg.yaml\n+++ b/board/ti/am64x/pm-cfg.yaml\n@@ -7,6 +7,7 @@\n ---\n \n pm-cfg:\n+    pm_boardcfg:\n         rev:\n-                boardcfg_abi_maj: 0x0\n-                boardcfg_abi_min: 0x1\n+            boardcfg_abi_maj: 0x0\n+            boardcfg_abi_min: 0x1\ndiff --git a/board/ti/am65x/pm-cfg.yaml b/board/ti/am65x/pm-cfg.yaml\nindex ee0d1c67a718..50df1310a38d 100644\n--- a/board/ti/am65x/pm-cfg.yaml\n+++ b/board/ti/am65x/pm-cfg.yaml\n@@ -7,6 +7,7 @@\n ---\n \n pm-cfg:\n-    rev:\n-        boardcfg_abi_maj: 0x0\n-        boardcfg_abi_min: 0x1\n+    pm_boardcfg:\n+        rev:\n+            boardcfg_abi_maj: 0x0\n+            boardcfg_abi_min: 0x1\ndiff --git a/board/ti/j7200/pm-cfg.yaml b/board/ti/j7200/pm-cfg.yaml\nindex 85cd2c9dbcaf..b38958bea888 100644\n--- a/board/ti/j7200/pm-cfg.yaml\n+++ b/board/ti/j7200/pm-cfg.yaml\n@@ -7,6 +7,94 @@\n ---\n \n pm-cfg:\n+    pm_boardcfg:\n         rev:\n-                boardcfg_abi_maj: 0x0\n-                boardcfg_abi_min: 0x1\n+            boardcfg_abi_maj: 0x1\n+            boardcfg_abi_min: 0x1\n+        lpm_cfg:\n+            subhdr:\n+                magic: 0x4C41\n+                size: 0x0C\n+            suspend_initiator: 0xA\n+            lpm_mode: 0x5\n+            lpm_rsvd1: 0x0\n+            lpm_rsvd2: 0x0\n+        pll_cfg:\n+            subhdr:\n+                magic: 0xC31E\n+                size: 0x54\n+            pll_cfg_entries:\n+                -  # 1\n+                    dev_id: 0xA\n+                    clk_id: 0xA\n+                    pll_freq: 0xA\n+                -  # 2\n+                    dev_id: 0xA\n+                    clk_id: 0xA\n+                    pll_freq: 0xA\n+                -  # 3\n+                    dev_id: 0xA\n+                    clk_id: 0xA\n+                    pll_freq: 0xA\n+                -  # 4\n+                    dev_id: 0xA\n+                    clk_id: 0xA\n+                    pll_freq: 0xA\n+                -  # 5\n+                    dev_id: 0x6\n+                    clk_id: 0x7\n+                    pll_freq: 0x8\n+        dev_cfg:\n+            subhdr:\n+                magic: 0x74B1\n+                size: 0x40\n+            dev_cfg_entries:\n+                -  # 1\n+                    dev_id: 0xB\n+                    state: 0xD\n+                    flag: 0xE\n+                -  # 2\n+                    dev_id: 0xCC\n+                    state: 0xA\n+                    flag: 0xA\n+                -  # 3\n+                    dev_id: 0xA\n+                    state: 0xA\n+                    flag: 0xA\n+                -  # 4\n+                    dev_id: 0xCC\n+                    state: 0xA\n+                    flag: 0xA\n+                -  # 5\n+                    dev_id: 0xA\n+                    state: 0xA\n+                    flag: 0xCC\n+        rsvd_pmic_cfg:\n+            subhdr:\n+                magic: 0x8A1D\n+                size: 0x10\n+            pmic_rsvd1: 0xA\n+            pmic_rsvd2: 0xA\n+            pmic_rsvd3: 0xDD\n+        rsvd_cfg:\n+            subhdr:\n+                magic: 0x3CFA\n+                size: 0x12\n+            rsvd1: 0x0\n+            rsvd2: 0x0\n+            rsvd3: 0x0\n+            reserved_entry_size: 0x10\n+\n+    reserved_entries:\n+        -\n+            reserved1: 4\n+            reserved2: 93\n+            reserved3: 77\n+            reserved4: 26\n+            reserved5: 0\n+        -\n+            reserved1: 4\n+            reserved2: 93\n+            reserved3: 77\n+            reserved4: 26\n+            reserved5: 0\ndiff --git a/board/ti/j721e/pm-cfg.yaml b/board/ti/j721e/pm-cfg.yaml\nindex 7ae52b3358e2..0d6b14de817a 100644\n--- a/board/ti/j721e/pm-cfg.yaml\n+++ b/board/ti/j721e/pm-cfg.yaml\n@@ -7,6 +7,94 @@\n ---\n \n pm-cfg:\n+    pm_boardcfg:\n         rev:\n-                boardcfg_abi_maj: 0x0\n-                boardcfg_abi_min: 0x1\n+            boardcfg_abi_maj: 0x1\n+            boardcfg_abi_min: 0x1\n+        lpm_cfg:\n+            subhdr:\n+                magic: 0x4C41\n+                size: 0x0C\n+            suspend_initiator: 0xA\n+            lpm_mode: 0x5\n+            lpm_rsvd1: 0x0\n+            lpm_rsvd2: 0x0\n+        pll_cfg:\n+            subhdr:\n+                magic: 0xC31E\n+                size: 0x54\n+            pll_cfg_entries:\n+                -  # 1\n+                    dev_id: 0xA\n+                    clk_id: 0xA\n+                    pll_freq: 0xA\n+                -  # 2\n+                    dev_id: 0xA\n+                    clk_id: 0xA\n+                    pll_freq: 0xA\n+                -  # 3\n+                    dev_id: 0xA\n+                    clk_id: 0xA\n+                    pll_freq: 0xA\n+                -  # 4\n+                    dev_id: 0xA\n+                    clk_id: 0xA\n+                    pll_freq: 0xA\n+                -  # 5\n+                    dev_id: 0xA\n+                    clk_id: 0xA\n+                    pll_freq: 0xA\n+        dev_cfg:\n+            subhdr:\n+                magic: 0x74B1\n+                size: 0x40\n+            dev_cfg_entries:\n+                -  # 1\n+                    dev_id: 0xA\n+                    state: 0xA\n+                    flag: 0xA\n+                -  # 2\n+                    dev_id: 0xA\n+                    state: 0xA\n+                    flag: 0xA\n+                -  # 3\n+                    dev_id: 0xA\n+                    state: 0xA\n+                    flag: 0xA\n+                -  # 4\n+                    dev_id: 0xA\n+                    state: 0xA\n+                    flag: 0xA\n+                -  # 5\n+                    dev_id: 0xA\n+                    state: 0xA\n+                    flag: 0xA\n+        rsvd_pmic_cfg:\n+            subhdr:\n+                magic: 0x8A1D\n+                size: 0x10\n+            pmic_rsvd1: 0xA\n+            pmic_rsvd2: 0xA\n+            pmic_rsvd3: 0xA\n+        rsvd_cfg:\n+            subhdr:\n+                magic: 0x3CFA\n+                size: 0x12\n+            rsvd1: 0x0\n+            rsvd2: 0x0\n+            rsvd3: 0x0\n+            reserved_entry_size: 0x10\n+\n+    reserved_entries:\n+        -\n+            reserved1: 4\n+            reserved2: 93\n+            reserved3: 7744\n+            reserved4: 26\n+            reserved5: 0\n+        -\n+            reserved1: 4\n+            reserved2: 93\n+            reserved3: 7744\n+            reserved4: 26\n+            reserved5: 0\ndiff --git a/board/ti/j721s2/pm-cfg.yaml b/board/ti/j721s2/pm-cfg.yaml\nindex e6496512b6b7..ce0435165c9e 100644\n--- a/board/ti/j721s2/pm-cfg.yaml\n+++ b/board/ti/j721s2/pm-cfg.yaml\n@@ -7,6 +7,94 @@\n ---\n \n pm-cfg:\n-    rev:\n-        boardcfg_abi_maj: 0x0\n-        boardcfg_abi_min: 0x1\n+    pm_boardcfg:\n+        rev:\n+            boardcfg_abi_maj: 0x1\n+            boardcfg_abi_min: 0x1\n+        lpm_cfg:\n+            subhdr:\n+                magic: 0x4C41\n+                size: 0x0C\n+            suspend_initiator: 0xA\n+            lpm_mode: 0x5\n+            lpm_rsvd1: 0x0\n+            lpm_rsvd2: 0x0\n+        pll_cfg:\n+            subhdr:\n+                magic: 0xC31E\n+                size: 0x54\n+            pll_cfg_entries:\n+                -  # 1\n+                    dev_id: 0xA\n+                    clk_id: 0xA\n+                    pll_freq: 0xA\n+                -  # 2\n+                    dev_id: 0xA\n+                    clk_id: 0xA\n+                    pll_freq: 0xA\n+                -  # 3\n+                    dev_id: 0xA\n+                    clk_id: 0xA\n+                    pll_freq: 0xA\n+                -  # 4\n+                    dev_id: 0xA\n+                    clk_id: 0xA\n+                    pll_freq: 0xA\n+                -  # 5\n+                    dev_id: 0x6\n+                    clk_id: 0x7\n+                    pll_freq: 0x8\n+        dev_cfg:\n+            subhdr:\n+                magic: 0x74B1\n+                size: 0x40\n+            dev_cfg_entries:\n+                -  # 1\n+                    dev_id: 0xB\n+                    state: 0xD\n+                    flag: 0xE\n+                -  # 2\n+                    dev_id: 0xCC\n+                    state: 0xA\n+                    flag: 0xA\n+                -  # 3\n+                    dev_id: 0xA\n+                    state: 0xA\n+                    flag: 0xA\n+                -  # 4\n+                    dev_id: 0xCC\n+                    state: 0xA\n+                    flag: 0xA\n+                -  # 5\n+                    dev_id: 0xA\n+                    state: 0xA\n+                    flag: 0xCC\n+        rsvd_pmic_cfg:\n+            subhdr:\n+                magic: 0x8A1D\n+                size: 0x10\n+            pmic_rsvd1: 0xA\n+            pmic_rsvd2: 0xA\n+            pmic_rsvd3: 0xDD\n+        rsvd_cfg:\n+            subhdr:\n+                magic: 0x3CFA\n+                size: 0x12\n+            rsvd1: 0x0\n+            rsvd2: 0x0\n+            rsvd3: 0x0\n+            reserved_entry_size: 0x10\n+\n+    reserved_entries:\n+        -\n+            reserved1: 4\n+            reserved2: 93\n+            reserved3: 77\n+            reserved4: 26\n+            reserved5: 0\n+        -\n+            reserved1: 4\n+            reserved2: 93\n+            reserved3: 77\n+            reserved4: 26\n+            reserved5: 0\ndiff --git a/board/ti/j722s/pm-cfg.yaml b/board/ti/j722s/pm-cfg.yaml\nindex 46b3ad201091..ab1c8e06f10e 100644\n--- a/board/ti/j722s/pm-cfg.yaml\n+++ b/board/ti/j722s/pm-cfg.yaml\n@@ -7,6 +7,7 @@\n ---\n \n pm-cfg:\n-    rev:\n-        boardcfg_abi_maj: 0x0\n-        boardcfg_abi_min: 0x1\n+    pm_boardcfg:\n+        rev:\n+            boardcfg_abi_maj: 0x0\n+            boardcfg_abi_min: 0x1\ndiff --git a/board/ti/j784s4/pm-cfg.yaml b/board/ti/j784s4/pm-cfg.yaml\nindex a36b86098998..cbe166808df9 100644\n--- a/board/ti/j784s4/pm-cfg.yaml\n+++ b/board/ti/j784s4/pm-cfg.yaml\n@@ -8,6 +8,94 @@\n ---\n \n pm-cfg:\n-    rev:\n-        boardcfg_abi_maj: 0x0\n-        boardcfg_abi_min: 0x1\n+    pm_boardcfg:\n+        rev:\n+            boardcfg_abi_maj: 0x1\n+            boardcfg_abi_min: 0x1\n+        lpm_cfg:\n+            subhdr:\n+                magic: 0x4C41\n+                size: 0x0C\n+            suspend_initiator: 0xA\n+            lpm_mode: 0x5\n+            lpm_rsvd1: 0x0\n+            lpm_rsvd2: 0x0\n+        pll_cfg:\n+            subhdr:\n+                magic: 0xC31E\n+                size: 0x54\n+            pll_cfg_entries:\n+                -  # 1\n+                    dev_id: 0xA\n+                    clk_id: 0xA\n+                    pll_freq: 0xA\n+                -  # 2\n+                    dev_id: 0xA\n+                    clk_id: 0xA\n+                    pll_freq: 0xA\n+                -  # 3\n+                    dev_id: 0xA\n+                    clk_id: 0xA\n+                    pll_freq: 0xA\n+                -  # 4\n+                    dev_id: 0xA\n+                    clk_id: 0xA\n+                    pll_freq: 0xA\n+                -  # 5\n+                    dev_id: 0x6\n+                    clk_id: 0x7\n+                    pll_freq: 0x8\n+        dev_cfg:\n+            subhdr:\n+                magic: 0x74B1\n+                size: 0x40\n+            dev_cfg_entries:\n+                -  # 1\n+                    dev_id: 0xB\n+                    state: 0xD\n+                    flag: 0xE\n+                -  # 2\n+                    dev_id: 0xCC\n+                    state: 0xA\n+                    flag: 0xA\n+                -  # 3\n+                    dev_id: 0xA\n+                    state: 0xA\n+                    flag: 0xA\n+                -  # 4\n+                    dev_id: 0xCC\n+                    state: 0xA\n+                    flag: 0xA\n+                -  # 5\n+                    dev_id: 0xA\n+                    state: 0xA\n+                    flag: 0xCC\n+        rsvd_pmic_cfg:\n+            subhdr:\n+                magic: 0x8A1D\n+                size: 0x10\n+            pmic_rsvd1: 0xA\n+            pmic_rsvd2: 0xA\n+            pmic_rsvd3: 0xDD\n+        rsvd_cfg:\n+            subhdr:\n+                magic: 0x3CFA\n+                size: 0x12\n+            rsvd1: 0x0\n+            rsvd2: 0x0\n+            rsvd3: 0x0\n+            reserved_entry_size: 0x10\n+\n+    reserved_entries:\n+        -\n+            reserved1: 4\n+            reserved2: 93\n+            reserved3: 77\n+            reserved4: 26\n+            reserved5: 0\n+        -\n+            reserved1: 4\n+            reserved2: 93\n+            reserved3: 77\n+            reserved4: 26\n+            reserved5: 0\ndiff --git a/tools/binman/etype/ti_board_config.py b/tools/binman/etype/ti_board_config.py\nindex 7c6773ac7bcd..b0cd055bf53e 100644\n--- a/tools/binman/etype/ti_board_config.py\n+++ b/tools/binman/etype/ti_board_config.py\n@@ -124,8 +124,10 @@ class Entry_ti_board_config(Entry_section):\n             size = 1\n         elif (data_type == '#/definitions/u16'):\n             size = 2\n-        else:\n+        elif (data_type == '#/definitions/u32'):\n             size = 4\n+        else:\n+            size = 8\n         br = None\n         if type(val) == int:\n             br = val.to_bytes(size, byteorder='little')\n","prefixes":["16/20"]}