From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mx.groups.io with SMTP id smtpd.web10.5275.1612428695944359569 for ; Thu, 04 Feb 2021 00:51:36 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.136, mailfrom: heng.luo@intel.com) IronPort-SDR: MlPqa67Gc9yDBmVgiUv40cKCDO6q947GT/za8OsmZR0yO+aLXWatM+05fT2jCjKnQGYlPIhSkI H5HrAaOnOEhQ== X-IronPort-AV: E=McAfee;i="6000,8403,9884"; a="160364730" X-IronPort-AV: E=Sophos;i="5.79,400,1602572400"; d="scan'208";a="160364730" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Feb 2021 00:51:35 -0800 IronPort-SDR: u47cq/7ocQynF7LMclIUUn9QZbA1Lpz0lCaTACpzifA4Xar7AlTXAZbKSUVdAq8W/WYMQ+2JO4 GhZk3Uau8sHQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,400,1602572400"; d="scan'208";a="393062349" Received: from hengluo-dev.ccr.corp.intel.com ([10.239.153.154]) by orsmga008.jf.intel.com with ESMTP; 04 Feb 2021 00:51:33 -0800 From: "Heng Luo" To: devel@edk2.groups.io Cc: Sai Chaganty , Nate DeSimone Subject: [Patch V2 28/40] TigerlakeSiliconPkg/IpBlock: Add Smbus component Date: Thu, 4 Feb 2021 16:49:07 +0800 Message-Id: <20210204084919.3603-28-heng.luo@intel.com> X-Mailer: git-send-email 2.24.0.windows.2 In-Reply-To: <20210204084919.3603-1-heng.luo@intel.com> References: <20210204084919.3603-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