From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f194.google.com (mail-pf1-f194.google.com [209.85.210.194]) by mx.groups.io with SMTP id smtpd.web12.10224.1623426739659339586 for ; Fri, 11 Jun 2021 08:52:19 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@puresoftware.com header.s=google header.b=YzNx6FS1; spf=pass (domain: puresoftware.com, ip: 209.85.210.194, mailfrom: vikas.singh@puresoftware.com) Received: by mail-pf1-f194.google.com with SMTP id g6so4786534pfq.1 for ; Fri, 11 Jun 2021 08:52:19 -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=8sTjiHWxNpfi9AvHAY7SYQuyUDEiEG/yR6fVSQk5UMA=; b=YzNx6FS1NGdiidVXEqnt2+udJ/2QVGBjkeGOhFeAHexxCZXKBC6ItF5xtZHQUqKL1w b7zSdiPO7v0JmkqOlRW1b0I3EGlrpgcL323wyNVSfBXq6YQCMkLOw3jXsiQik76XycLu UQN1JLBZOMQrZMLpdLzBK9Q5yc6qYkyVDft2c= 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=8sTjiHWxNpfi9AvHAY7SYQuyUDEiEG/yR6fVSQk5UMA=; b=bRCGL2r1ePpHZGy+NE2dIiYEGsvrIV3UBQtVC5ifBIgqdbbvQ7F7nfYECEWuffAhEn jXkclyHmh8Js09oaFZAOUfsFItlks8lvzgqh7/zoDcQArK/tbuwKbTJZ3DqobevaL1gZ BMHuPjN8bR51d4iC+Yu/2aUQoIk73e7vGsKJx9UrVqMhP8IjMLaaMwaXcjVLmGlLfR/5 LEKIvXKj2/ErCTbF51xAlPwZVf23NxX+drnkY1Zj8CoZKBvBcBzjl5y1Pk+1skKIjxqh Mh+gjMklnx2gjgyrxKZMXDtU+34VLQs0lQJsy5Sftva6vtKcBAUsvX6QMoYSYwGHCZtA L1Aw== X-Gm-Message-State: AOAM531IasQjf2maFDyZTfAvStXrIO+miJgpaa/IzYdZLQxiTanQn2pS vYgUwzZU4Pf/1DBDhmoTa7r1xzg/u/o7dvPbs98= X-Google-Smtp-Source: ABdhPJyYgBxrvEeD5sf6F/mzdbp1hMJgxrSmC5GudnSK76YM0fhHE3mocQslJTduqsVF+ixWisFHOA== X-Received: by 2002:a63:ef44:: with SMTP id c4mr4201254pgk.162.1623426738889; Fri, 11 Jun 2021 08:52:18 -0700 (PDT) Return-Path: Received: from embedded-PC.puresoft.int ([125.63.92.170]) by smtp.gmail.com with ESMTPSA id h8sm5458689pjf.7.2021.06.11.08.52.15 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Jun 2021 08:52:18 -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 V1 0/4] Enable Dynamic ACPI for LS1046AFRWY Date: Fri, 11 Jun 2021 21:21:56 +0530 Message-Id: <20210611155200.15535-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 using this macro only. 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 details for LS1046A SoC based platforms. In current patch series, this function will be used by LS1046aFrwyPkg. (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 will 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 Platform/NXP/ConfigurationManagerPkg/ConfigurationManagerDxe/ConfigurationManager.c | 10 +- Platform/NXP/LS1046aFrwyPkg/AcpiTablesInclude/Dsdt/Clk.asl | 60 ++++++++ Platform/NXP/LS1046aFrwyPkg/AcpiTablesInclude/Dsdt/Dsdt.asl | 15 ++ Platform/NXP/LS1046aFrwyPkg/AcpiTablesInclude/PlatformAcpiDsdtLib.inf | 39 +++++ Platform/NXP/LS1046aFrwyPkg/AcpiTablesInclude/PlatformAcpiDsdtLib/RawDsdtGenerator.c | 138 +++++++++++++++++ Platform/NXP/LS1046aFrwyPkg/AcpiTablesInclude/PlatformAcpiLib.h | 23 +++ Platform/NXP/LS1046aFrwyPkg/Include/Platform.h | 159 ++++++++++++++++++++ Platform/NXP/LS1046aFrwyPkg/LS1046aFrwyPkg.dsc | 29 ++++ Platform/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