From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f66.google.com (mail-pj1-f66.google.com [209.85.216.66]) by mx.groups.io with SMTP id smtpd.web09.58275.1622555448523433240 for ; Tue, 01 Jun 2021 06:50:48 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@puresoftware.com header.s=google header.b=fXYKMeZX; spf=pass (domain: puresoftware.com, ip: 209.85.216.66, mailfrom: vikas.singh@puresoftware.com) Received: by mail-pj1-f66.google.com with SMTP id 22-20020a17090a0c16b0290164a5354ad0so1452341pjs.2 for ; Tue, 01 Jun 2021 06:50:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puresoftware.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=j6rHJb15LcgcAMenn4KLYmnXPQyQXmr9m/iuj6V5l7o=; b=fXYKMeZXlwPX5sYpjdzkvrsOrYfwD95UlIxoUL48vHixbr1shokbM26zLPavtuzMyw 3J30Ds/nSWl8dGXqTR1ElJBkxEpNzJbJPZzMwC0a5XGqudEOKGSTii7GN7JkdGKWfEf2 gsZRkzt7ha633f4DqEPZn1n3Of9P2frvQAmQA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=j6rHJb15LcgcAMenn4KLYmnXPQyQXmr9m/iuj6V5l7o=; b=aU2AH4Jr3HnoYAVxwr7BkpQRWCn6omLZhufYrmAiMvoEzyXQoCu4HbTyyyPA7rJ+2j nlF1Ozv6AE3qNgDn6LO7mmtRTc/ivTY+8TBEYPq6g/2LNHq9il4N/zdyfO/AM8ym/NLw 3nCF5Tu5kmRGMP5t/ZRfcDsyDIEj7RIwBNjluJvkgQ/KXfHQ1QMJjmRIUscz3V3KH7hW QS2v75WHYmp31b9Y0baZ2jcwPxbPZypWQ+z42Km1lKCxmJZK/LIuF7K/wq6SBXIkmvz6 DTyJF1IjUXa+jIgZjcY0/EjggzNYm1FHB8ZV4KUufxzXSfBGQe9f1cUDNHWVJEUrsC2i znyA== X-Gm-Message-State: AOAM530yc0KcsdoZP1S3IlgSzC5GkD0Zey3uqLsFO8+7nw3W+S9dgA8b bVcPC3z5sKXXd4TwujoKp3gOG1k7ArKr1WOVJX4= X-Google-Smtp-Source: ABdhPJyF872LSP+pL7igT1OLzl3ymNSOQfaf6xHtxLpGCLfFSS0DuPaGXqxSGhHuXL2C8YD0or35EA== X-Received: by 2002:a17:902:820b:b029:ef:4c29:2950 with SMTP id x11-20020a170902820bb02900ef4c292950mr26175836pln.78.1622555447839; Tue, 01 Jun 2021 06:50:47 -0700 (PDT) Return-Path: Received: from embedded-PC.puresoft.int ([125.63.92.170]) by smtp.gmail.com with ESMTPSA id d22sm14504798pgb.15.2021.06.01.06.50.44 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Jun 2021 06:50:47 -0700 (PDT) From: "Vikas Singh" To: devel@edk2.groups.io Cc: sami.mujawar@arm.com, leif@nuviainc.com, meenakshi.aggarwal@nxp.com, samer.el-haj-mahmoud@arm.com, v.sethi@nxp.com, arokia.samy@puresoftware.com, kuldip.dwivedi@puresoftware.com, ard.biesheuvel@arm.com, vikas.singh@nxp.com, Sunny.Wang@arm.com Subject: [PATCH V0 0/4] Enable Dynamic ACPI for LS1046AFRWY Date: Tue, 1 Jun 2021 19:20:30 +0530 Message-Id: <20210601135034.22386-1-vikas.singh@puresoftware.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This patch series basically aims to extend the Dynamic ACPI framework towards NXP's LS1046AFRWY platform. Refer- https://edk2.groups.io/g/devel/message/71709 The change set in the series is in below order - (1)Introducing a new platform specific macro "PLAT_SOC_NAME" This macro will be consumed by Configuration Manager(CM). Platforms who extends CM services for themselves must notify their SoC details to CM. Additionally also update the lx2160ardb platform header with PLAT_SOC_NAME, this will be consumed by CM. (2)Introduced a function to get SoC's System Version Register(SVR) This function will fetch SVR for LS1046A SoC based platforms. In current patch series, this function will be used by LS1046aFrwy. (3)Extending Configuration Manager (CM) and its services to leverage the Dynamic ACPI support for NXP's LS1046aFrwy platform. (4)Introduced an OEM specific firmware acpi table generator Also add Dsdt.asl as a place holder having only platform's clock related dsdt properties for now and can accommodate other IP specific dsdt tables(acpi properties) for LS1046AFRWY in future patch series. Vikas Singh (4): Platform/NXP: Add generic log in CM to print SoC version Silicon/NXP: Add support of SVR handling for LS1046FRWY Platform/NXP/LS1046aFrwyPkg: Extend Dynamic ACPI support Platform/NXP/LS1046aFrwyPkg: Add OEM specific DSDT generator .../ConfigurationManager.c | 10 +- .../AcpiTablesInclude/Dsdt/Clk.asl | 60 +++++++ .../AcpiTablesInclude/Dsdt/Dsdt.asl | 15 ++ .../AcpiTablesInclude/PlatformAcpiDsdtLib.inf | 39 +++++ .../PlatformAcpiDsdtLib/RawDsdtGenerator.c | 138 +++++++++++++++ .../AcpiTablesInclude/PlatformAcpiLib.h | 23 +++ .../NXP/LS1046aFrwyPkg/Include/Platform.h | 159 ++++++++++++++++++ .../NXP/LS1046aFrwyPkg/LS1046aFrwyPkg.dsc | 29 ++++ .../NXP/LS1046aFrwyPkg/LS1046aFrwyPkg.fdf | 13 ++ Platform/NXP/LX2160aRdbPkg/Include/Platform.h | 5 +- Silicon/NXP/LS1046A/LS1046A.dsc.inc | 10 ++ Silicon/NXP/LS1046A/Library/SocLib/SocLib.c | 16 ++ 12 files changed, 507 insertions(+), 10 deletions(-) create mode 100644 Platform/NXP/LS1046aFrwyPkg/AcpiTablesInclude/Dsdt/Clk.asl create mode 100644 Platform/NXP/LS1046aFrwyPkg/AcpiTablesInclude/Dsdt/Dsdt.asl create mode 100644 Platform/NXP/LS1046aFrwyPkg/AcpiTablesInclude/PlatformAcpiDsdtLib.inf create mode 100644 Platform/NXP/LS1046aFrwyPkg/AcpiTablesInclude/PlatformAcpiDsdtLib/RawDsdtGenerator.c create mode 100644 Platform/NXP/LS1046aFrwyPkg/AcpiTablesInclude/PlatformAcpiLib.h create mode 100644 Platform/NXP/LS1046aFrwyPkg/Include/Platform.h -- 2.25.1