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 2C308941554 for ; Thu, 1 Aug 2024 09:39:43 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=2hsN2ahtGOKK1WME0mpPw1iZ0LJ5eEvTJxHo5nWbIY4=; 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=1722505183; v=1; b=t0bhKisX5tiG0dbrOzoNXKKlxQZ8DgiAW1yqG0gO2+hdz0kjzFeSvEVzpixvXeZP1Teaiob9 bw2RKrZajc7uMjljh3Wd1gvwrHgBcI66vVkvdSFxdaPtvsp+YfSfj053sfLhWnUIPLdorT3fJa1 vgFjYqYEIAkNBzbbn09iCsSpjuv7zWr+1/f8MsGCmXqO1PLVXYDn1cgP6Fw4hZ+4wQsWR8eihOP dTo6l/oRaz0LsQm2qmFBkCiri0gO3MITlD4bHKFCxyrFoopkl+RZ9uuUNxvOpMJCjK52kTx4DxW ElUPLuhxCac0RrKLKa7Q4GKY0gX4kPI/uC//Pw+i9G/xQ== X-Received: by 127.0.0.2 with SMTP id ecHLYY7687511x9Rgf3PorUy; Thu, 01 Aug 2024 02:39:42 -0700 X-Received: from BL2PR02CU003.outbound.protection.outlook.com (BL2PR02CU003.outbound.protection.outlook.com [52.101.51.141]) by mx.groups.io with SMTP id smtpd.web11.64319.1722505159479075774 for ; Thu, 01 Aug 2024 02:39:42 -0700 X-Received: from PH0PR01MB7287.prod.exchangelabs.com (2603:10b6:510:10a::21) by PH7PR01MB7959.prod.exchangelabs.com (2603:10b6:510:277::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.22; Thu, 1 Aug 2024 09:39:04 +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; Thu, 1 Aug 2024 09:39:04 +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 2/5] AmpereSiliconPkg: Define PCDs for SMBUS and BMC Date: Thu, 1 Aug 2024 16:36:15 +0700 Message-ID: <20240801093618.191274-3-nhi@os.amperecomputing.com> In-Reply-To: <20240801093618.191274-1-nhi@os.amperecomputing.com> References: <20240801093618.191274-1-nhi@os.amperecomputing.com> X-ClientProxiedBy: SI2PR01CA0051.apcprd01.prod.exchangelabs.com (2603:1096:4:193::6) To PH0PR01MB7287.prod.exchangelabs.com (2603:10b6:510:10a::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR01MB7287:EE_|PH7PR01MB7959:EE_ X-MS-Office365-Filtering-Correlation-Id: 9e000731-7d05-408e-a546-08dcb20dc83d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?zpxf54Sb8YCYV9SU9yNlMY0IMyRXhUsXPSoFF8oM7ZCMLnIhJBG7Mc5PngJ3?= =?us-ascii?Q?hxz75f8dHLD16yQur1LVbRGUnlawEgy1nnZR3ajZkMomXyZLLCKzRwD22SKm?= =?us-ascii?Q?RBFeGCM2XeMf14nC9Q2uMTQmJa4oxbxsBZihAnkzPZfYQIbPNdeIcjtkQgUY?= =?us-ascii?Q?nQLNTbnxfGH4zh6dYT8u3SZdfEvG5+Cw9cuvXg2JwWdapvnUp8X2FAHMGVYb?= =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WKPvUl7tjSiDthlRW8iL8rEM?= =?us-ascii?Q?8Jm/0xPf17xJoOVblB9RVBTcIww1cQMeBnkFSphR0ix2JNCY/t5A7KAbRYc0?= =?us-ascii?Q?oIQ0Quzu+jCK769duhmt8OD55LnUJpXmTsqG/Qy6F1Wtk5Pjmbd30dBB7H3E?= =?us-ascii?Q?CzZYRk1KmF15FMHPOB1x32T61u600qDtyx57eUY06WkQiM1Fxo7s34zaSEcY?= =?us-ascii?Q?1rgo4bl2agwfyfgWfaNphcDdektSwTHyToQGiVNrrYNlSMhfg9GVjRX1OHXI?= =?us-ascii?Q?6wUGLH8QToQvUbvhuvA8Q+crUzV69HQsdiorSwjOYD6gFWSZeA=3D=3D?= X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?SRWSj+LbgYA26gcX7p7dKVxm+HtdfuWYw5mIrgU5IPMOZE2p+nbICPYNBi1X?= =?us-ascii?Q?Jmi04L1RLM8FshNgd2H0eu8rAJZgEj11RrC9sKjBx/5EnSb4BBmewttG1O5v?= =?us-ascii?Q?nXV8v7u+Zmj0D0OX0HcJF0DYKMrYM+u34UGjstfYBTe9XsfBaqh0awgdW1iW?= =?us-ascii?Q?pPfFlEtjNkT5GxutI9JjRZQrG6TiEqYCTVy9IezQTGBZE6P2gDse7xplH3GN?= =?us-ascii?Q?WEMwqSrc4snNZUnTWGFEGnSZ/rtEygSx9t9gV8Js+BiRAhFBeX8iZH4NDAnv?= =?us-ascii?Q?YfZM9lAIacuZ6H7xM+jsq6trDrQO8MQcKQcEpNzrG3P2bYi2m7IGspISWdrZ?= =?us-ascii?Q?xwQpFTjl4ukdwdCBneIkTwTnG03RhmkFk1VK3F4Zc65i5QK0jOEmOYHRpbQv?= =?us-ascii?Q?ITAA/uYMT0ihg5ZGSISTuvCHIOfNbhOjZ1690LXFwbJaUa9UElO7ChYHLqag?= =?us-ascii?Q?20pJKnc6PDGAzdefI5MAI4EKHx2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W2rHzgo73XlFxYcxoxbwiS9H7aYLLQXiXXK8voaiMMn1WnPHnGmls?= =?us-ascii?Q?iBBKoIv97PV6w4pUTly5ThI54ZeJC/h/Q8u9zBSmoqMppXUMZIoL+Wy5LfR2?= =?us-ascii?Q?z7p+LrVnJi1+eyoiAhgiIanDULtBFOwL+TJT8aNCy0xRy1bF4wyBaNSS02Kn?= =?us-ascii?Q?qBrNlGHuyPJp6VokUqqyBJw4I1Dem3lOE/R8aUaLwTFzkIXij3eMEMhSZ+d8?= =?us-ascii?Q?ESMuU8m9MUg1gv/jlS9TFc8=3D?= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9e000731-7d05-408e-a546-08dcb20dc83d X-MS-Exchange-CrossTenant-AuthSource: PH0PR01MB7287.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Aug 2024 09:39:04.7192 (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: emMxmSWjUMo1D5rXDqOgdHMlN7jYhRW2oUZoI7hmmG9Jykpxavg8SQBvsPxiU0rz5qFgeeaCLcTtCvH+7qkADVxc2gFelHPff07aEFUJQQE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR01MB7959 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: Thu, 01 Aug 2024 02:39:42 -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: Z3cLqDovTBupxdNGMQHgbphox7686176AA= 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=t0bhKisX; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io This introduces fixed PCDs for SMBUS and BMC as specified to Ampere. Signed-off-by: Nhi Pham --- Silicon/Ampere/AmpereSiliconPkg/AmpereSiliconPkg.dec | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Silicon/Ampere/AmpereSiliconPkg/AmpereSiliconPkg.dec b/Silicon= /Ampere/AmpereSiliconPkg/AmpereSiliconPkg.dec index 56e8b2fd2f11..5c5015c1bf21 100644 --- a/Silicon/Ampere/AmpereSiliconPkg/AmpereSiliconPkg.dec +++ b/Silicon/Ampere/AmpereSiliconPkg/AmpereSiliconPkg.dec @@ -69,6 +69,18 @@ [PcdsFixedAtBuild] gAmpereTokenSpaceGuid.PcdSmbiosTables0MajorVersion|0xFF|UINT8|0x00000005 gAmpereTokenSpaceGuid.PcdSmbiosTables0MinorVersion|0xFF|UINT8|0x00000006 =20 + # + # SMBUS + # + gAmpereTokenSpaceGuid.PcdSmbusI2cBusNumber|0x00|UINT8|0x00000007 + gAmpereTokenSpaceGuid.PcdSmbusI2cBusSpeed|100000|UINT32|0x00000008 # Hz + + # + # BMC + # + gAmpereTokenSpaceGuid.PcdBmcSlaveAddr|0x10|UINT8|0x00000009 + gAmpereTokenSpaceGuid.PcdBmcReadyGpio|0x18|UINT8|0x0000000A + [PcdsFixedAtBuild, PcdsDynamic, PcdsDynamicEx] # # Firmware Volume Pcds --=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 (#120164): https://edk2.groups.io/g/devel/message/120164 Mute This Topic: https://groups.io/mt/107662236/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-