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

[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%INTEL%
DriverVer = 03/15/2022,30.100.2212.4
CatalogFile=iaLPSS2_I2C_ADL.cat
PnpLockdown=1

[DestinationDirs]
DefaultDestDir = 13

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

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

[SourceDisksFiles]
iaLPSS2_I2C_ADL.sys  = 1,,

;*****************************************
; iaLPSS2_I2C_ADL  Install Section
;*****************************************

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

[Intel.NTamd64.10.0]
%iaLPSS2_I2C_ADL.DeviceDesc_0%=iaLPSS2_I2C_ADL_Device, PCI\VEN_8086&DEV_7ACC
%iaLPSS2_I2C_ADL.DeviceDesc_1%=iaLPSS2_I2C_ADL_Device, PCI\VEN_8086&DEV_7ACD
%iaLPSS2_I2C_ADL.DeviceDesc_2%=iaLPSS2_I2C_ADL_Device, PCI\VEN_8086&DEV_7ACE
%iaLPSS2_I2C_ADL.DeviceDesc_3%=iaLPSS2_I2C_ADL_Device, PCI\VEN_8086&DEV_7ACF
%iaLPSS2_I2C_ADL.DeviceDesc_4%=iaLPSS2_I2C_ADL_Device, PCI\VEN_8086&DEV_7AFC
%iaLPSS2_I2C_ADL.DeviceDesc_5%=iaLPSS2_I2C_ADL_Device, PCI\VEN_8086&DEV_7AFD
%iaLPSS2_I2C_ADL.DeviceDesc_10%=iaLPSS2_I2C_ADL_Device, PCI\VEN_8086&DEV_51E8
%iaLPSS2_I2C_ADL.DeviceDesc_11%=iaLPSS2_I2C_ADL_Device, PCI\VEN_8086&DEV_51E9
%iaLPSS2_I2C_ADL.DeviceDesc_12%=iaLPSS2_I2C_ADL_Device, PCI\VEN_8086&DEV_51EA
%iaLPSS2_I2C_ADL.DeviceDesc_13%=iaLPSS2_I2C_ADL_Device, PCI\VEN_8086&DEV_51EB
%iaLPSS2_I2C_ADL.DeviceDesc_14%=iaLPSS2_I2C_ADL_Device, PCI\VEN_8086&DEV_51C5
%iaLPSS2_I2C_ADL.DeviceDesc_15%=iaLPSS2_I2C_ADL_Device, PCI\VEN_8086&DEV_51C6
%iaLPSS2_I2C_ADL.DeviceDesc_16%=iaLPSS2_I2C_ADL_Device, PCI\VEN_8086&DEV_51D8
%iaLPSS2_I2C_ADL.DeviceDesc_17%=iaLPSS2_I2C_ADL_Device, PCI\VEN_8086&DEV_51D9
[iaLPSS2_I2C_ADL_Device.NT]
CopyFiles=Drivers_Dir
AddProperty=WDTFSOCDeviceCategory

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

[Drivers_Dir]
iaLPSS2_I2C_ADL.sys

[iaLPSS2_I2C_ADL_Device.NT.HW]
AddReg=iaLPSS2_I2C_ADL_Device.NT.HW.AddReg

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

; -------------- ETW Provider
[iaLPSS2_I2C_ADL_Device.NT.Events]
AddEventProvider={C2F86198-03CA-4771-8D4C-CE6E15CBCA56}, iaLPSS2_I2C_ADL_ETW_Inst

[iaLPSS2_I2C_ADL_ETW_Inst]
ProviderName  = Intel-iaLPSS2-I2C
ResourceFile  = %13%\iaLPSS2_I2C_ADL.sys
MessageFile   = %13%\iaLPSS2_I2C_ADL.sys
AddChannel    = Intel-iaLPSS2-I2C/Debug,0x2,Debug_Channel_Inst
AddChannel    = Intel-iaLPSS2-I2C/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_I2C_ADL_Device.NT.Services]
AddService = iaLPSS2_I2C_ADL,%SPSVCINST_ASSOCSERVICE%, iaLPSS2_I2C_ADL_Service_Inst, iaLPSS2_I2C_ADL_EventLog_Inst, System, Intel-iaLPSS2-I2C

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

[iaLPSS2_I2C_ADL_EventLog_Inst.AddReg]
HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\system32\drivers\iaLPSS2_I2C_ADL.sys"
HKR,, TypesSupported,   0x00010001, 7
HKR,, ProviderGuid,     0x00000000, "{C2F86198-03CA-4771-8D4C-CE6E15CBCA56}"

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

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
INTEL = "Intel Corporation"
DiskId1 = "Intel(R) Serial IO Installation Disk"
iaLPSS2_I2C_ADL.DeviceDesc_0 = "Intel(R) Serial IO I2C Host Controller - 7ACC"
iaLPSS2_I2C_ADL.DeviceDesc_1 = "Intel(R) Serial IO I2C Host Controller - 7ACD"
iaLPSS2_I2C_ADL.DeviceDesc_2 = "Intel(R) Serial IO I2C Host Controller - 7ACE"
iaLPSS2_I2C_ADL.DeviceDesc_3 = "Intel(R) Serial IO I2C Host Controller - 7ACF"
iaLPSS2_I2C_ADL.DeviceDesc_4 = "Intel(R) Serial IO I2C Host Controller - 7AFC"
iaLPSS2_I2C_ADL.DeviceDesc_5 = "Intel(R) Serial IO I2C Host Controller - 7AFD"
iaLPSS2_I2C_ADL.DeviceDesc_10 = "Intel(R) Serial IO I2C Host Controller - 51E8"
iaLPSS2_I2C_ADL.DeviceDesc_11 = "Intel(R) Serial IO I2C Host Controller - 51E9"
iaLPSS2_I2C_ADL.DeviceDesc_12 = "Intel(R) Serial IO I2C Host Controller - 51EA"
iaLPSS2_I2C_ADL.DeviceDesc_13 = "Intel(R) Serial IO I2C Host Controller - 51EB"
iaLPSS2_I2C_ADL.DeviceDesc_14 = "Intel(R) Serial IO I2C Host Controller - 51C5"
iaLPSS2_I2C_ADL.DeviceDesc_15 = "Intel(R) Serial IO I2C Host Controller - 51C6"
iaLPSS2_I2C_ADL.DeviceDesc_16 = "Intel(R) Serial IO I2C Host Controller - 51D8"
iaLPSS2_I2C_ADL.DeviceDesc_17 = "Intel(R) Serial IO I2C Host Controller - 51D9"

iaLPSS2_I2C_ADL.SVCDESC = "Intel(R) Serial IO I2C Driver v2"

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

[PackageInfo]
Name=iaLPSS2_I2C_ADL.x64.100
