From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 3B080D80FAD for ; Wed, 7 Aug 2024 06:50:33 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=UL7VR1n2X7fklAtkUTt1R0JX9USDs5mjzrFSvl/+Syw=; c=relaxed/simple; d=groups.io; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding:Content-Type; s=20240206; t=1723013433; v=1; b=Iy++LMKRmhCEop1v1V7RAqRlsF1vJefPgewSSZffoAJSawnvHuLwfhAOPLuKim71xly8/iiY hDYWnZVdo3iLH1WGmdT3HbmRbtRMlbZ7d9Khuui551OE+pnvNbnEVyVpFAiWH9e7kkwAjjXDwum IdlUGfoFm185p8Btk8p+58Iw03bRPOlVt/6vCwuTWfdTCJBFRdWp1O/fHV1uNi/j9JrAYygzPzf QCoUjKpbpkjOPY0VIq2O4x66E8dP7PdV0HUDC5pmPHbLmem7D9O9dj+LVWOmQHBEyG+6YxZcy2k V6/RmWTUvUPLeIYZqZHfrpdidnFVRbR7mcHqXhGhn90EQ== X-Received: by 127.0.0.2 with SMTP id F0QNYY7687511xGxEP9lqYkj; Tue, 06 Aug 2024 23:50:31 -0700 X-Received: from NAM04-DM6-obe.outbound.protection.outlook.com (NAM04-DM6-obe.outbound.protection.outlook.com [40.107.102.121]) by mx.groups.io with SMTP id smtpd.web11.27784.1723013425043021384 for ; Tue, 06 Aug 2024 23:50:25 -0700 X-Received: from PH0PR01MB7287.prod.exchangelabs.com (2603:10b6:510:10a::21) by DS7PR01MB7664.prod.exchangelabs.com (2603:10b6:8:7b::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7849.13; Wed, 7 Aug 2024 06:50:23 +0000 X-Received: from PH0PR01MB7287.prod.exchangelabs.com ([fe80::fc79:e629:93aa:8b8f]) by PH0PR01MB7287.prod.exchangelabs.com ([fe80::fc79:e629:93aa:8b8f%3]) with mapi id 15.20.7807.026; Wed, 7 Aug 2024 06:50:23 +0000 From: "Nhi Pham via groups.io" To: devel@edk2.groups.io CC: quic_llindhol@quicinc.com, chuong@os.amperecomputing.com, rebecca@os.amperecomputing.com, nhi@os.amperecomputing.com Subject: [edk2-devel] [edk2-platforms][PATCH v2 2/5] AmpereSiliconPkg: Define PCDs for SMBUS and BMC Date: Wed, 7 Aug 2024 13:47:28 +0700 Message-ID: <20240807064731.4049764-3-nhi@os.amperecomputing.com> In-Reply-To: <20240807064731.4049764-1-nhi@os.amperecomputing.com> References: <20240807064731.4049764-1-nhi@os.amperecomputing.com> X-ClientProxiedBy: SG3P274CA0010.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:be::22) To PH0PR01MB7287.prod.exchangelabs.com (2603:10b6:510:10a::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR01MB7287:EE_|DS7PR01MB7664:EE_ X-MS-Office365-Filtering-Correlation-Id: 65659b8e-579a-439a-35ff-08dcb6ad35ba X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?+ZQr6CztaJyZL1F0xAvXziggDokoHa3Ydiwo7EbOI+3uWoeMkfcSnbBrZqBz?= =?us-ascii?Q?yCKbFsyMuaDRCOiyABCN/PS3BY2Rnz2nPcG3FJdVm0/50Xzn3/ibxlRsmX3C?= =?us-ascii?Q?te27jxoXOsncubHEUP2cYKk2T+xBVvsR2lkdTrCzSYBxi1yGALW2j3rUNR43?= =?us-ascii?Q?KHOf9BNyTnM0eCL3KaWFp217Z4VBasWEgd+C/+1Kd/A71kF7nOwhDFCe/PZy?= =?us-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xB0YnA6qpNU4WhDKieufYvYoD+peajHTnuS1M7osu?= =?us-ascii?Q?QRFAISjPb6s2s8ZjEB86CaDEl1uMhROHa4UJJX+nBFJA1hXeeIqWPPJIuzuv?= =?us-ascii?Q?yvf0XJqVlA9pEOhNGaooVaN0lV5y+9dThAsARXqkV/RhAaomgVUoATiIeLJS?= =?us-ascii?Q?YLyLgFS+WiM1FoZbu+u821mNyw6539/tbmKc25EkCa3X5VqPXizRvhymzCfC?= =?us-ascii?Q?02Zr/xC4HXXdjYIEx7bhVtCenMPxGJZsqK2ybbzpLhwxI/14hATEHmuT7hA6?= =?us-ascii?Q?JgJV+OjqIW0jXDEIjx3EgyZAzcFdW3EciZDdGlkW/4zqwY8Shw=3D=3D?= X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?jpHgZ1OyZiRlcfypWkcvUzBiPp5HqG8BUG7mc3w2hOuPz4VIB1CN1UcvbsG6?= =?us-ascii?Q?BOirrHVXSkXx8oaJ20PmdOKzAUiJNj5fugLk5hdJhsoLb++y412PiuZpVWIu?= =?us-ascii?Q?54rQ2Qjur47RsBr74ihUGNq8r7RomM5+qDnIUVACqQOcIxd8PTAnGXW4o1dr?= =?us-ascii?Q?YgLa2mWqiL2oDDgNt4HKhIlVssCNK5V6+2RsqJ0wd4jUSZ7XuXJyxcNzyw0o?= =?us-ascii?Q?It4bpOWGFFL96caXMnW736Doa+Mx/xnZ+rqyqOWeFt0qYMgeyzmJioJCtXaS?= =?us-ascii?Q?Fb1aS0JMtewIiOG+sk+fma3slKWIPDhEMiz7l/R9lPYUKuz/OQmzuhLK9tZC?= =?us-ascii?Q?75EwBUfB1ussOw+XSokm8kBvrZjQ4iM5HL+u7VkgmPFG3fd8r3Xd35QqRiVX?= =?us-ascii?Q?w4430ueNDyphhuoIJNbWdYy7F7BoiG25bIiTKK/49bhsMWGisLiT/JsIXmcI?= =?us-ascii?Q?NFeL8mjpP181PbVk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Q?DTh6qEo4YBgFf4fN+bWAkoqQn8HulXVlOJ/kHE/46iaJHcqA/sdRoPMcI1lS?= =?us-ascii?Q?IdPo8/Uo3r966hp/+7dUsf7td/ncgHAoh6kHCZwByEjNmkcuiNHcN0jCJgfN?= =?us-ascii?Q?7FgczMgm56gFRQ5it789mqVuKk1HghmSqrbDVtTe4XDpc4YysuuMLwM5x2nz?= =?us-ascii?Q?A1mLhPv0ITXtHus7zfPop3JfM/Av8GYdVO2Tx6eoPbyBrj/K0FmtYHI7a2/E?= =?us-ascii?Q?B6jG1FAoWqlXM7iwtk6+FYs=3D?= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 65659b8e-579a-439a-35ff-08dcb6ad35ba X-MS-Exchange-CrossTenant-AuthSource: PH0PR01MB7287.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Aug 2024 06:50:22.9627 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: XGXKQ4AxEFlTBZm9hd0fR8+sNJsxdEPMvtkr4UWbcimFVVGXlQIvuZU6GjEvCZWxwzdaNyId25jAUNsNdFke9py0Fs1Lzc5BuAiTyjr9kvY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR01MB7664 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Tue, 06 Aug 2024 23:50:25 -0700 Resent-From: nhi@os.amperecomputing.com Reply-To: devel@edk2.groups.io,nhi@os.amperecomputing.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: lH64AtFojg7wzKcY328jtWvix7686176AA= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=Iy++LMKR; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=pass (policy=none) header.from=groups.io This introduces fixed PCDs for SMBUS and BMC as specified to Ampere. Signed-off-by: Nhi Pham --- Silicon/Ampere/AmpereSiliconPkg/AmpereSiliconPkg.dec | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/Silicon/Ampere/AmpereSiliconPkg/AmpereSiliconPkg.dec b/Silicon= /Ampere/AmpereSiliconPkg/AmpereSiliconPkg.dec index 56e8b2fd2f11..c8e3b5784bdb 100644 --- a/Silicon/Ampere/AmpereSiliconPkg/AmpereSiliconPkg.dec +++ b/Silicon/Ampere/AmpereSiliconPkg/AmpereSiliconPkg.dec @@ -66,8 +66,19 @@ [PcdsFixedAtBuild] # # SMBIOS Type 0 Pcd # - gAmpereTokenSpaceGuid.PcdSmbiosTables0MajorVersion|0xFF|UINT8|0x00000005 - gAmpereTokenSpaceGuid.PcdSmbiosTables0MinorVersion|0xFF|UINT8|0x00000006 + gAmpereTokenSpaceGuid.PcdSmbiosTables0MajorVersion|0xFF|UINT8|0x00000005 + gAmpereTokenSpaceGuid.PcdSmbiosTables0MinorVersion|0xFF|UINT8|0x00000006 + + # + # I2C PCDs for SMBUS + # + gAmpereTokenSpaceGuid.PcdSmbusI2cBusNumber|0x00|UINT8|0x00000007 + gAmpereTokenSpaceGuid.PcdSmbusI2cBusSpeed|100000|UINT32|0x00000008 # Hz + + # + # GPIO pin to support BMC ready check + # + gAmpereTokenSpaceGuid.PcdBmcReadyGpio|0x18|UINT8|0x00000009 =20 [PcdsFixedAtBuild, PcdsDynamic, PcdsDynamicEx] # --=20 2.25.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#120263): https://edk2.groups.io/g/devel/message/120263 Mute This Topic: https://groups.io/mt/107765354/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-