From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga11.intel.com (mga11.intel.com []) by mx.groups.io with SMTP id smtpd.web09.27638.1612143460154346141 for ; Sun, 31 Jan 2021 17:37:45 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: intel.com, ip: , mailfrom: heng.luo@intel.com) IronPort-SDR: 2SyywCWO7A/exS1ZWkmszohUNHygNf3FAkRhiVA1AJR9Jy643Rd1rRX+ZJ/taHIzfQwhEWRTWC emRAYYt7Mj0Q== X-IronPort-AV: E=McAfee;i="6000,8403,9881"; a="177114048" X-IronPort-AV: E=Sophos;i="5.79,391,1602572400"; d="scan'208";a="177114048" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jan 2021 17:37:43 -0800 IronPort-SDR: DsV0iRQ5mohbF3zHJ82I2lyKbmVoZLbJb0socDFpWrvQ9ZIelMXyCfyHNZrfXAGhkbotFmPO2+ PbUgLwu6RO3g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,391,1602572400"; d="scan'208";a="368718759" Received: from hengluo-dev.ccr.corp.intel.com ([10.239.153.154]) by fmsmga008.fm.intel.com with ESMTP; 31 Jan 2021 17:37:41 -0800 From: "Heng Luo" To: devel@edk2.groups.io Cc: Sai Chaganty , Nate DeSimone Subject: [PATCH 28/40] TigerlakeSiliconPkg/IpBlock: Add Smbus component Date: Mon, 1 Feb 2021 09:36:45 +0800 Message-Id: <20210201013657.1833-28-heng.luo@intel.com> X-Mailer: git-send-email 2.24.0.windows.2 In-Reply-To: <20210201013657.1833-1-heng.luo@intel.com> References: <20210201013657.1833-1-heng.luo@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3171 Adds the following files: * IpBlock/Smbus/IncludePrivate Cc: Sai Chaganty Cc: Nate DeSimone Signed-off-by: Heng Luo --- Silicon/Intel/TigerlakeSiliconPkg/IpBlock/Smbus/IncludePrivate/Register/Sm= busRegs.h | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/Silicon/Intel/TigerlakeSiliconPkg/IpBlock/Smbus/IncludePrivate= /Register/SmbusRegs.h b/Silicon/Intel/TigerlakeSiliconPkg/IpBlock/Smbus/Inc= ludePrivate/Register/SmbusRegs.h new file mode 100644 index 0000000000..c863615583 --- /dev/null +++ b/Silicon/Intel/TigerlakeSiliconPkg/IpBlock/Smbus/IncludePrivate/Regist= er/SmbusRegs.h @@ -0,0 +1,50 @@ +/** @file=0D + Register names for PCH Smbus Device.=0D +=0D + Conventions:=0D +=0D + - Register definition format:=0D + Prefix_[GenerationName]_[ComponentName]_SubsystemName_RegisterSpace_Re= gisterName=0D + - Prefix:=0D + Definitions beginning with "R_" are registers=0D + Definitions beginning with "B_" are bits within registers=0D + Definitions beginning with "V_" are meaningful values within the bits= =0D + Definitions beginning with "S_" are register size=0D + Definitions beginning with "N_" are the bit position=0D + - [GenerationName]:=0D + Three letter acronym of the generation is used (e.g. SKL,KBL,CNL etc.)= .=0D + Register name without GenerationName applies to all generations.=0D + - [ComponentName]:=0D + This field indicates the component name that the register belongs to (= e.g. PCH, SA etc.)=0D + Register name without ComponentName applies to all components.=0D + Register that is specific to -LP denoted by "_PCH_LP_" in component na= me.=0D + - SubsystemName:=0D + This field indicates the subsystem name of the component that the regi= ster belongs to=0D + (e.g. PCIE, USB, SATA, GPIO, PMC etc.).=0D + - RegisterSpace:=0D + MEM - MMIO space register of subsystem.=0D + IO - IO space register of subsystem.=0D + PCR - Private configuration register of subsystem.=0D + CFG - PCI configuration space register of subsystem.=0D + - RegisterName:=0D + Full register name.=0D +=0D + Copyright (c) 2021, Intel Corporation. All rights reserved.
=0D + SPDX-License-Identifier: BSD-2-Clause-Patent=0D +**/=0D +#ifndef _PCH_REGS_SMBUS_H_=0D +#define _PCH_REGS_SMBUS_H_=0D +=0D +//=0D +// SMBus Controller Registers=0D +//=0D +#define R_SMBUS_CFG_BASE 0x20=0D +#define B_SMBUS_CFG_BASE_BAR 0x0000FFE0=0D +=0D +//=0D +// SMBus I/O Registers=0D +//=0D +#define R_SMBUS_IO_HSTS 0x00 ///< Host Status Register R= /W=0D +#define B_SMBUS_IO_SMBALERT_STS 0x20=0D +=0D +#endif=0D --=20 2.24.0.windows.2