;/*++
;
;Copyright (c) 2010-2016 Intel Corporation
;
;Module Name:
;
;    imx135.inf
;
;Abstract:
;    INF file for installing IMX135 camera sensor (ACPI\INT3471) driver
;
;Installation Notes:
;    Using Devcon: Type "devcon update imx135.inf ACPI\INT3471" to install
;--*/

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

[DestinationDirs]
DefaultDestDir = 12
CopyCPFFiles=11

;*****************************************
; Sensor Device  Install Section
;*****************************************

[Manufacturer]
%IMX135%=Standard,NTamd64

; For XP and later
[Standard.NTamd64]
%IMX135.DeviceDesc%=IMX135_Device, ACPI\INT3471

[IMX135_Device.NTamd64]
CopyFiles=IMX135_Device.NT.Copy
CopyFiles=CopyCPFFiles
Reboot

[IMX135_Device.NTx86]
CopyFiles=IMX135_Device.NT.Copy
CopyFiles=CopyCPFFiles
Reboot

[IMX135_Device.NT.Copy]
imx135.sys
IMX135_13P2BAD33_SKY_pipeCfg.bin

[CopyCPFFiles]
IMX135_13P2BAD33_SKY.cpf
IMX135_13P2BAD33_SKY.aiqb

;-------------- Service installation

[IMX135_Device.NTx86.Services]
AddService = IMX135, %SPSVCINST_ASSOCSERVICE%, IMX135_Service_Inst

[IMX135_Device.NTamd64.Services]
AddService = IMX135, %SPSVCINST_ASSOCSERVICE%, IMX135_Service_Inst

[IMX135_Service_Inst]
DisplayName    = %IMX135.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\imx135.sys
AddReg         = IMX135_Device.AddReg

[IMX135_Device.AddReg]
;Use same security checks on relative opens
HKR,,DeviceCharacteristics,0x10001,0x0100
;Grant access just to built-in administrators, local system, and usermode drivers
HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)(A;;GA;;;S-1-5-84-0-0-0-0-0)(D;;GA;;;WD)"

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

[SourceDisksFiles]
imx135.sys = 1
IMX135_13P2BAD33_SKY.cpf = 1
IMX135_13P2BAD33_SKY.aiqb = 1
IMX135_13P2BAD33_SKY_pipeCfg.bin = 1 


[Strings]
SPSVCINST_ASSOCSERVICE = 0x00000002
INTEL = "Intel Corporation"
IMX135 = "IMX135 Camera Sensor"
DiskId1 = "IMX135 Camera Installation Disk #1"
IMX135.DeviceDesc = "Camera Sensor IMX135"
IMX135.SVCDESC = "Camera Sensor IMX135"
