From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web10.5201.1612510915343505036 for ; Thu, 04 Feb 2021 23:41:57 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: intel.com, ip: , mailfrom: heng.luo@intel.com) IronPort-SDR: C4oPlV7PooZTlzLpcNLKN1YvIxempm0p3iTym5hHXTtnBRT4IgL/XBSdsdGIrRmDONZgrYXFol SrGAFjojI5IA== X-IronPort-AV: E=McAfee;i="6000,8403,9885"; a="200397294" X-IronPort-AV: E=Sophos;i="5.81,154,1610438400"; d="scan'208";a="200397294" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Feb 2021 23:41:56 -0800 IronPort-SDR: Qyo0bjGt6Q9Z9Kx5LJSRbJe+B7rEKjbC41dybPhTvNfcwEN74gs8zO5Zqb4McecRVbgxUlYwKd S3cI+lKRch3Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,154,1610438400"; d="scan'208";a="373260602" Received: from hengluo-dev.ccr.corp.intel.com ([10.239.153.154]) by fmsmga008.fm.intel.com with ESMTP; 04 Feb 2021 23:41:55 -0800 From: "Heng Luo" To: devel@edk2.groups.io Cc: Sai Chaganty , Nate DeSimone Subject: [Patch V3 28/40] TigerlakeSiliconPkg/IpBlock: Add Smbus component Date: Fri, 5 Feb 2021 15:40:33 +0800 Message-Id: <20210205074045.3916-28-heng.luo@intel.com> X-Mailer: git-send-email 2.24.0.windows.2 In-Reply-To: <20210205074045.3916-1-heng.luo@intel.com> References: <20210205074045.3916-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