From patchwork Mon May 9 17:59:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denys Dmytriyenko X-Patchwork-Id: 7785 X-Patchwork-Delegate: reatmon@ti.com 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5DD8CC433FE for ; Mon, 9 May 2022 17:59:53 +0000 (UTC) Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.64]) by mx.groups.io with SMTP id smtpd.web10.591.1652119192619246847 for ; Mon, 09 May 2022 10:59:52 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: denix.org, ip: 64.68.198.64, mailfrom: denis@denix.org) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id 8BDD040C8C for ; Mon, 9 May 2022 17:59:50 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo14-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sZWIOYggupvk for ; Mon, 9 May 2022 17:59:50 +0000 (UTC) Received: from mail.denix.org (pool-100-15-86-127.washdc.fios.verizon.net [100.15.86.127]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id 740D140C85 for ; Mon, 9 May 2022 17:59:50 +0000 (UTC) Received: from thorin.denix (thorin.denix [192.168.30.9]) by mail.denix.org (Postfix) with ESMTP id 0CADD174926 for ; Mon, 9 May 2022 13:59:48 -0400 (EDT) From: Denys Dmytriyenko To: meta-ti@lists.yoctoproject.org Subject: [master][PATCH 05/10] conf/machine: am62xx: Update build flag for low power mode Date: Mon, 9 May 2022 17:59:42 +0000 Message-Id: <20220509175947.1994132-6-denis@denix.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220509175947.1994132-1-denis@denix.org> References: <20220509175947.1994132-1-denis@denix.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 09 May 2022 17:59:53 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-ti/message/14727 From: Nishanth Menon Update build flag for arm-trusted-firmware to include low power mode support K3_PM_SYSTEM_SUSPEND is added in arm-trusted-firmware now which enables low power mode support for am62xx. Signed-off-by: Nishanth Menon Signed-off-by: Praneeth Bajjuri Signed-off-by: Ryan Eatmon Signed-off-by: Denys Dmytriyenko --- meta-ti-bsp/conf/machine/include/am62xx.inc | 2 ++ .../trusted-firmware-a/trusted-firmware-a_%.bbappend | 1 + 2 files changed, 3 insertions(+) diff --git a/meta-ti-bsp/conf/machine/include/am62xx.inc b/meta-ti-bsp/conf/machine/include/am62xx.inc index bcf435f5..fff1312f 100644 --- a/meta-ti-bsp/conf/machine/include/am62xx.inc +++ b/meta-ti-bsp/conf/machine/include/am62xx.inc @@ -19,5 +19,7 @@ do_image_wic[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy" do_image_tar[mcdepends] = "mc::k3r5:ti-sci-fw:do_deploy" TFA_BOARD = "lite" +TFA_K3_SYSTEM_SUSPEND = "1" + OPTEEMACHINE = "k3-am65x" OPTEEOUTPUTMACHINE = "k3" diff --git a/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend b/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend index 32f913ca..45d56451 100644 --- a/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend +++ b/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend @@ -9,6 +9,7 @@ TFA_INSTALL_TARGET:k3 = "bl31" TFA_SPD:k3 = "opteed" EXTRA_OEMAKE:append:k3 = "${@ ' K3_USART=' + d.getVar('TFA_K3_USART') if d.getVar('TFA_K3_USART') else ''}" +EXTRA_OEMAKE:append:k3 = "${@ ' K3_PM_SYSTEM_SUSPEND=' + d.getVar('TFA_K3_SYSTEM_SUSPEND') if d.getVar('TFA_K3_SYSTEM_SUSPEND') else ''}" do_compile:append:am65xx-hs-evm() { export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}