;/*++
;
;Copyright (c) 2013-2014 Intel Corporation
;
;Module Name:
;    iaLPSS2_SPI_TGL.inf
;
;Abstract:
;    INF file for installing the Intel(R) Serial IO SPI driver
;
;--*/

[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%INTEL%
DriverVer = 07/13/2021,30.100.2129.8
CatalogFile=iaLPSS2_SPI_TGL.cat
PnpLockdown=1

[DestinationDirs]
DefaultDestDir = 13

; ================= Class section =====================

[SourceDisksNames]
1 = %DiskId1%,,,""

[SourceDisksFiles]
iaLPSS2_SPI_TGL.sys  = 1,,

;*****************************************
; iaLPSS2_SPI_TGL  Install Section
;*****************************************

[Manufacturer]
%INTEL%=Intel,NTamd64.10.0

[Intel.NTamd64.10.0]
%iaLPSS2_SPI_TGL.DeviceDesc_0%=iaLPSS2_SPI_TGL_Device, PCI\VEN_8086&DEV_A0AA
%iaLPSS2_SPI_TGL.DeviceDesc_1%=iaLPSS2_SPI_TGL_Device, PCI\VEN_8086&DEV_A0AB
%iaLPSS2_SPI_TGL.DeviceDesc_2%=iaLPSS2_SPI_TGL_Device, PCI\VEN_8086&DEV_A0FB
%iaLPSS2_SPI_TGL.DeviceDesc_3%=iaLPSS2_SPI_TGL_Device, PCI\VEN_8086&DEV_A0FD
%iaLPSS2_SPI_TGL.DeviceDesc_4%=iaLPSS2_SPI_TGL_Device, PCI\VEN_8086&DEV_A0FE
%iaLPSS2_SPI_TGL.DeviceDesc_5%=iaLPSS2_SPI_TGL_Device, PCI\VEN_8086&DEV_A0DE
%iaLPSS2_SPI_TGL.DeviceDesc_6%=iaLPSS2_SPI_TGL_Device, PCI\VEN_8086&DEV_A0DF
%iaLPSS2_SPI_TGL.DeviceDesc_10%=iaLPSS2_SPI_TGL_Device, PCI\VEN_8086&DEV_43AA
%iaLPSS2_SPI_TGL.DeviceDesc_11%=iaLPSS2_SPI_TGL_Device, PCI\VEN_8086&DEV_43AB
%iaLPSS2_SPI_TGL.DeviceDesc_12%=iaLPSS2_SPI_TGL_Device, PCI\VEN_8086&DEV_43FB
%iaLPSS2_SPI_TGL.DeviceDesc_13%=iaLPSS2_SPI_TGL_Device, PCI\VEN_8086&DEV_43FD

[iaLPSS2_SPI_TGL_Device.NT]
CopyFiles=Drivers_Dir
AddProperty=WDTFSOCDeviceCategory

[WDTFSOCDeviceCategory]
{5D078032-6378-437B-8DA5-9B32B7CA3FDD},2,7,,0

[Drivers_Dir]
iaLPSS2_SPI_TGL.sys

[iaLPSS2_SPI_TGL_Device.NT.HW]
AddReg=iaLPSS2_SPI_TGL_Device.NT.HW.AddReg

[iaLPSS2_SPI_TGL_Device.NT.HW.AddReg]
HKR,"WDF","WdfDirectedPowerTransitionEnable",0x00010001,1

; -------------- ETW Provider
[iaLPSS2_SPI_TGL_Device.NT.Events]
AddEventProvider={6E112845-A8C4-4143-A631-256E8A3E7691}, iaLPSS2_SPI_TGL_ETW_Inst

[iaLPSS2_SPI_TGL_ETW_Inst]
ProviderName  = Intel-iaLPSS2-SPI
ResourceFile  = %13%\iaLPSS2_SPI_TGL.sys
MessageFile   = %13%\iaLPSS2_SPI_TGL.sys
AddChannel    = Intel-iaLPSS2-SPI/Debug,0x2,Debug_Channel_Inst
AddChannel    = Intel-iaLPSS2-SPI/Performance,0x2,Performance_Channel_Inst

[Debug_Channel_Inst]
Isolation         = 1
Access            = "O:BAG:SYD:(A;;0xf0007;;;SY)(A;;0x7;;;BA)(A;;0x3;;;BO)(A;;0x5;;;SO)(A;;0x1;;;IU)(A;;0x3;;;SU)(A;;0x1;;;S-1-5-3)(A;;0x2;;;S-1-5-33)(A;;0x1;;;S-1-5-32-573)"
Enabled           = 0

[Performance_Channel_Inst]
Isolation         = 1
Access            = "O:BAG:SYD:(A;;0xf0007;;;SY)(A;;0x7;;;BA)(A;;0x3;;;BO)(A;;0x5;;;SO)(A;;0x1;;;IU)(A;;0x3;;;SU)(A;;0x1;;;S-1-5-3)(A;;0x2;;;S-1-5-33)(A;;0x1;;;S-1-5-32-573)"
Enabled           = 0

;-------------- Service installation
[iaLPSS2_SPI_TGL_Device.NT.Services]
AddService = iaLPSS2_SPI_TGL,%SPSVCINST_ASSOCSERVICE%, iaLPSS2_SPI_TGL_Service_Inst, iaLPSS2_SPI_TGL_EventLog_Inst, System, Intel-iaLPSS2-SPI

;-------------- Registry installation
[iaLPSS2_SPI_TGL_EventLog_Inst]
AddReg=iaLPSS2_SPI_TGL_EventLog_Inst.AddReg

[iaLPSS2_SPI_TGL_EventLog_Inst.AddReg]
HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\system32\drivers\iaLPSS2_SPI_TGL.sys"
HKR,, TypesSupported,   0x00010001, 7
HKR,, ProviderGuid,     0x00000000, "{6E112845-A8C4-4143-A631-256E8A3E7691}"

; -------------- iaLPSS2_SPI_TGL driver install sections
[iaLPSS2_SPI_TGL_Service_Inst]
DisplayName    = %iaLPSS2_SPI_TGL.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %13%\iaLPSS2_SPI_TGL.sys
LoadOrderGroup = Base
Dependencies   = SpbCx

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
INTEL = "Intel Corporation"
DiskId1 = "Intel(R) Serial IO Installation Disk"
iaLPSS2_SPI_TGL.DeviceDesc_0 = "Intel(R) Serial IO SPI Host Controller - A0AA"
iaLPSS2_SPI_TGL.DeviceDesc_1 = "Intel(R) Serial IO SPI Host Controller - A0AB"
iaLPSS2_SPI_TGL.DeviceDesc_2 = "Intel(R) Serial IO SPI Host Controller - A0FB"
iaLPSS2_SPI_TGL.DeviceDesc_3 = "Intel(R) Serial IO SPI Host Controller - A0FD"
iaLPSS2_SPI_TGL.DeviceDesc_4 = "Intel(R) Serial IO SPI Host Controller - A0FE"
iaLPSS2_SPI_TGL.DeviceDesc_5 = "Intel(R) Serial IO SPI Host Controller - A0DE"
iaLPSS2_SPI_TGL.DeviceDesc_6 = "Intel(R) Serial IO SPI Host Controller - A0DF"
iaLPSS2_SPI_TGL.DeviceDesc_10 = "Intel(R) Serial IO SPI Host Controller - 43AA"
iaLPSS2_SPI_TGL.DeviceDesc_11 = "Intel(R) Serial IO SPI Host Controller - 43AB"
iaLPSS2_SPI_TGL.DeviceDesc_12 = "Intel(R) Serial IO SPI Host Controller - 43FB"
iaLPSS2_SPI_TGL.DeviceDesc_13 = "Intel(R) Serial IO SPI Host Controller - 43FD"
iaLPSS2_SPI_TGL.SVCDESC = "Intel(R) Serial IO SPI Driver v2"

;--------------------------------

[PackageInfo]
Name=iaLPSS2_SPI_TGL.x64.100
