I3C HostController-Device requirements

This guidance applies to Windows 11, version 25H2 and later.

Windows provides an inbox MIPI I3C HCI-compliant I3C HostController-Device driver (i3chost.sys), that:

  • Manages I3C HCI-defined devices (i.e. HostController-Device and their HostController-Instances)
  • Addresses and enumerates I3C Targets
  • Manages device power-states
  • Supports I/O and In-Band-Interrupts (IBIs)
  • Supports Target reset and error recovery
  • Implements the Simple Peripheral Bus class extension (SpbCx) controller contract, so certain I2C devices can continue to operate. I2C Targets that require clock stretching are not supported on the I3C bus.
  • Understands bus static topology and timing constraints from platform-provided ACPI MIPI I3C DisCo (Discovery and Configuration) compliant firmware.

To pass HLK, all I3C HostController-Devices are required to use the inbox Windows i3chost.sys driver.

HostController-Devices typically require additional IP-specific configuration because the MIPI I3C HCI specification doesn't standardize the following features required by Windows:

  • Control over bus timing (frequency / high-time / low-time / hold-time).
  • Wake and power management.

Vendors of I3C HostController-Devices should reach out to Microsoft in order to bring-up new platforms and have support included in the inbox driver.

Required HCI features

In addition to the features required by the MIPI I3C and MIPI I3C HCI specifications, the following features shall be supported by HostController-Devices for operation on Windows:

  • Control over bus timing using extended-capability or vendor registers (see Timing registers)
  • Auto-command support following an IBI.
  • Detection of IBI from low power state, leading to HostController-Device Wake.
  • At least 3 DMA ring bundles.
  • DAT & DCT in device memory.
    • DAT size requirement per HostController-Instance is application-specific, Windows requires:
      • A DAT entry for each I3C or I2C Target.
      • An additional DAT entry if I3C Targets with a Static Address are present.
      • Two additional DAT entries which may be used for dynamic addressing.
    • e.g. 1: Pure-I3C-bus with three I3C Targets without static addresses requires five DAT entries.
    • e.g. 2: Pure-I3C-bus with two I3C Targets without static addresses, and one I3C Target with a static address requires six DAT entries.

Unsupported HCI features

  • Third-party filter drivers or third-party Target drivers.
  • Dynamic IBI priorities
  • Secondary HostController role
  • HostController-managed Target device activity states
  • Target-to-Target transfers/tunneling
  • Composite/virtual Targets
  • Debug facilities (for example, forcing interrupts and PRESENT_STATE_DEBUG registers)
  • Routing devices
  • Synchronous time control
  • Variable endianness/byte-ordering
  • Multi-lane transfers
  • HostController-Devices on add-in cards (AICs) without ACPI directives

Supported MIPI I3C HCI versions

Windows systems shall ship HostController-Devices that implement HCI version 1.0 or later. Pre-1.0 draft revisions are recognized only for development and are not supported for production. They will be rejected during certification.

The inbox I3C HostController-Device driver (i3chost.sys) targets the MIPI I3C Host Controller Interface (HCI) Specification, version 1.1, and reads the raw HCI Version register (HCI_VERSION, offset 0x00) to determine the HostController-Device's implemented version. The version register encodes the value as Major.Minor.Revision. e.g. the raw value 0x00000110 corresponds to HCI version 1.1 and 0x00000100 corresponds to HCI version 1.0.

Important

All HostController-Instances on a single HostController-Device shall report the same HCI version and the same operation mode (DMA or PIO); a mismatch is treated as a device configuration error and the HostController-Device shall fail to start.

The implemented HCI version is published on the HostController-Device's device node

  • Property key: DEVPKEY_I3C_HostControllerDevice_MIPI_I3C_HCI_Version
  • Type: DEVPROP_TYPE_UINT32
  • Value: the raw HCI_VERSION register value (e.g. 0x00000110).

Timing registers

The MIPI I3C HCI specification does not define a standard register layout for SCL/SDA bus timing. Bus timing (open-drain and push-pull SCL periods, SCL high times, and SDA hold time) is programmed through vendor-specific registers, typically located in the HostController-Device's Extended Capabilities region. The inbox I3C HostController-Device driver (i3chost.sys) programs these registers using vendor-specific timing logic that shall be present for silicon in use.

To support an I3C HostController-Device on Windows, hardware vendors shall ensure that the HostController-Device's timing is programmable through a timing section (either extended capability or other vendor register) the inbox I3C HostController-Device driver (i3chost.sys) can recognize, and that the HostController-Device reports the input reference clock frequency needed to convert requested times into register clock counts, or alternatively, allows specification of the following as nanosecond intervals.

The following timing properties shall be configurable through the aforementioned timing registers by the Windows inbox driver:

Property Description
SCL Open-drain low time Duration of the low time (SCL is low) of the Open Drain phase of the I3C transfer, in nanoseconds.
SCL Open-drain high time Duration of the high time (SCL is high) of the Open Drain phase of the I3C transfer, in nanoseconds.
SDR0 SCL Push-pull low time Duration of the low time (SCL is low) of the SDR0 (and HDR, where configurable) Push-Pull phase of the I3C transfer, in nanoseconds.
SDR0 SCL Push-pull high time Duration of the high time (SCL is high) of the SDR0 (and HDR, where configurable) Push-Pull phase of the I3C transfer, in nanoseconds.
SDR1 SCL Push-pull low time Duration of the low time (SCL is low) of the Push-Pull phase of the I3C transfer, in nanoseconds when operating in SDR1 mode.
SDR1 SCL Push-pull high time Duration of the high time (SCL is high) of the Push-Pull phase of the I3C transfer, in nanoseconds when operating in SDR1 mode.
SDR2 SCL Push-pull low time Duration of the low time (SCL is low) of the Push-Pull phase of the I3C transfer, in nanoseconds when operating in SDR2 mode.
SDR2 SCL Push-pull high time Duration of the high time (SCL is high) of the Push-Pull phase of the I3C transfer, in nanoseconds when operating in SDR2 mode.
SDR3 SCL Push-pull low time Duration of the low time (SCL is low) of the Push-Pull phase of the I3C transfer, in nanoseconds when operating in SDR3 mode.
SDR3 SCL Push-pull high time Duration of the high time (SCL is high) of the Push-Pull phase of the I3C transfer, in nanoseconds when operating in SDR3 mode.
SDR4 SCL Push-pull low time Duration of the low time (SCL is low) of the Push-Pull phase of the I3C transfer, in nanoseconds when operating in SDR4 mode.
SDR4 SCL Push-pull high time Duration of the high time (SCL is high) of the Push-Pull phase of the I3C transfer, in nanoseconds when operating in SDR4 mode.
SDA Tx hold time Duration that the Host holds the SDA line after the SCL line goes low, in nanoseconds.

Note

Some implementations use a single configurable high time for all push-pull modes. This is acceptable, but independent control of high and low times supports a wider range of Target and bus configurations.

Enumeration

The inbox I3C HostController-Device driver (i3chost.sys) installs against the I3C device setup class:

  • Class name: I3C
  • Class GUID: {13cfe1b1-6b17-424c-ac3f-16ace8733898}

Note

Only the Microsoft-provided inbox I3C HostController-Device driver (i3chost.sys) shall be used. Third-party drivers are not permitted.

Screenshot of Device Manager showing an I3C Host Controller with a child Sample WinI3C Target Device.

The driver binds to HostController-Devices enumerated by either PCIe or ACPI:

Bus CompatibleId Notes
PCIe PCI\CC_0C0A00 Matches the standard I3C PCI base-class/sub-class/programming-interface code (Serial Bus Controller, I3C).
ACPI ACPI\MIPI0100 The MIPI-assigned ACPI CompatibleId (_CID) for an I3C HostController-Device
Do NOT use this ID as an ACPI HardwareId (_HID).

Bus initialization

Upon first load of the driver (such as system startup following a reboot or shutdown), i3chost.sys undertakes the following sequence to initialize the state of the bus:

  1. Static-data is loaded from ACPI and validated.
  2. If ACPI _RST methods are present for Targets, they are executed in-order to put the Targets into a known state.
  3. If I3C Targets with static addresses are present on the bus, a zero-length write I2C transfer is sent to the I3C broadcast address. On some HostController-Devices, this may instead take the form of a Direct ENEC CCC (also sent in I2C mode).
  4. Broadcast RSTDAA is sent.
  5. Static Targets are addressed using SETDASA, and additional information is retrieved (see I3C Targets)
  6. ENTDAA is issued repeatedly, addressing one Target at a time, until the host receives a NACK indicating all Targets are addressed.

Following this sequence, the bus is initialized. For transitions from other power states such as S4, Targets may be individually probed (see I3C Targets), but the full initialization sequence will not take place.

CCC requirements

I3C defines a standard set of Common Command Codes (CCCs) to manage Targets. The inbox I3C HostController-Device driver (i3chost.sys) relies on CCCs for core bus management operations, including dynamic address assignment, Target status retrieval, and Target reset.

HostController-Instances and Targets are expected to support the CCCs required by the MIPI I3C specification for their role. In particular, the inbox I3C HostController-Device driver (i3chost.sys) depends on the following behaviors

Behaviour Description
Dynamic address assignment i3chost.sys assigns dynamic addresses to I3C Targets that support ENTDAA, and can perform static-address-based assignment (SETDASA / SETAASA) when a Target declares support through its DisCo static data.
See Provisioned ID requirements and the mipi-i3c-static-method key in ACPI requirements.
Target status (GETSTATUS) i3chost.sys issues GETSTATUS as part of Target enumeration and on demand.
Targets shall respond per the MIPI I3C specification.
Target reset i3chost.sys can reset a Target using the I3C Target Reset Pattern (CCC-based)
When the Target lacks CCC-based reset support, uses an ACPI _RST method if one is defined (see Is_ACPI_Reset_Supported).
If a Target supports neither, the driver (i3chost.sys) has no way to reset it and reset requests fail
Reset Dynamic Address Assignment (RSTDAA) The I3C Host-Controller-Device shall broadcast this CCC to reinitialize all Targets on the bus. Targets shall reset their state in response to this CCC back to an uninitialized state.

CCCs with a Defining Byte

Some CCCs carry an additional Defining Byte. Support for CCCs with Defining Bytes depends on both the Target and the HostController-Instance. Windows surfaces this capability per Target as DEVPKEY_I3C_Target_Is_CCC_Defining_Byte_Supported. TRUE indicates the Target + HostController-Instance pair can carry a Defining Byte; it does not imply that the Target implements any particular Defining-Byte CCC.

Power management

The inbox I3C HostController-Device driver (i3chost.sys) manages I3C HostController-Device power-state to achieve low-power residency whenever the bus is idle.

The HostController-Device transitions to the working-state (D0) only when it has work to do (e.g. functional I/O, receive In-Band-Interrupts (IBIs)) and returns to the low-power-state (Dx) when that work is complete or the system enters Sx (e.g. hibernate). When the HostController-Device returns to D0, its hardware context is restored, including the Device Address Table (DAT).

HostController-Device power state is decoupled from attached Target device power-state (unlike in most buses), allowing it to transition to Dx while its (child) Targets remain in D0. This allows Targets to maintain their context (e.g. to send IBIs), while the HostController-Device loses its own context. Targets shall avoid unnecessary bus activity (e.g. spurious IBIs) that keep the HostController-Device in D0 (preventing platform low-power residency). This is especially important in modern standby.

During enumeration, the enumerating-bus (e.g. ACPI, PCIe) shall indicate the HostController-Device is wake-capable, with all HostController-Device implementations (while in Dx) signaling a wake when an IBI is received. Until the HostController-Device resumes to D0, the IBI is held pending and all bus traffic is paused. Once the HostController-Device returns to D0 and restores its context (including the DAT), the pending IBI is serviced and normal bus traffic resumes. This capability is essential for scenarios such as waking the system from user input on a HID touchpad.

The HostController-Device shall return to D0 (from Dx) within 50 ms.

The inbox I3C HostController-Device driver (i3chost.sys) is integrated into sleep study. This can be used to troubleshoot or attribute power hygiene problems during modern standby.

ACPI requirements

Platform firmware describes I3C HostController-Devices/HostController-Instances and their Targets using ACPI objects that follow the MIPI I3C DisCo (Discovery and Configuration) specification. The inbox I3C HostController-Device driver (i3chost.sys) reads this configuration to learn the bus topology, supported modes and timing constraints.

Required HostController-Device ACPI objects

For each HostController-Device

  • _HID / _CID. An ACPI-enumerated HostController-Device shall present the I3C HardwareId MIPI0100 (as _HID or _CID). _CID is the required mechanism for new hardware.
  • _STA. Standard ACPI device status.
  • _DSD. Required. It shall contain:
    • The Device Properties UUID (daffd814-6eba-4d8c-8a91-bc9bbf4aa301) with a mipi-i3c-sw-interface-revision entry.
    • The Hierarchical Data Extension UUID (dbb8e3e6-5886-4ba6-8795-1319f52a966b) with one mipi-i3c-ctrlr-<N>-subproperties entry per HostController-Instance, each referencing a named package that describes that instance.
  • Wake capabilities (from D3/D3Cold) shall be reported via ACPI (if ACPI enumerated) or through PCIe capabilities (if PCIe enumerated).

Required HostController-Instance ACPI objects

For each HostController-Instance subproperties package (Device Properties UUID):

Property Required Meaning
mipi-i3c-sw-interface-revision Yes DisCo software interface revision (expected 0x10000).
mipi-i3c-i2c-devices-present No 0 = none
1 = mixed fast bus
2 = mixed slow bus (SDR)
3 = mixed slow bus (I2C).
Absent implies none.
mipi-i3c-modes-supported No Bitmask of supported I3C modes:
bit0 SDR0
bit1 SDR1
bit2 SDR2
bit3 SDR3
bit4 SDR4
bit5 HDR-TSx,
bit6 HDR-DDR.
Absent implies all HW-supported modes.
mipi-i3c-i2c-modes-supported No Bitmask of supported I2C modes:
bit0 Fm
bit1 Fm+
bit2 UDR1
bit3 UDR2
bit4 UDR3
Absent implies Fm and Fm+ supported.
Note: UDR1-3 support is ignored.
mipi-i3c-limit-data-xfer-rate No Physical bus data-rate limit, in Hz.
mipi-i3c-reserved-addresses No Only required if has static addresses

The following MIPI HostController-Instance subproperties are NOT supported and will be functionally ignored:

Property Meaning Reasoning
mipi-i3c-i2c-udr1-rate User-defined I2C rates in Hz. Only FM+ at 1 MHz and FM at 400 kHz supported.
mipi-i3c-i2c-udr2-rate User-defined I2C rates in Hz. Only FM+ at 1 MHz and FM at 400 kHz supported.
mipi-i3c-i2c-udr3-rate User-defined I2C rates in Hz. Only FM+ at 1 MHz and FM at 400 kHz supported.

Microsoft-specific timing overrides (optional; use default protocol timing if absent):

Property Meaning
msft-i3c-scl-od-max-rate-hz SCL open-drain maximum rate (Hz).
msft-i3c-scl-od-high-time-ns SCL open-drain high time (ns).
msft-i3c-scl-pp-high-time-ns SCL push-pull high time (ns).
msft-i3c-sda-tx-hold-time-ns SDA TX hold time (ns).
msft-i3c-bus-enabled Used to control whether individual HostController-Instances on a HostController-Device are in use / to be enabled.
0 = bus is not used in hardware configuration
1 = bus enabled
Absent this property, bus is taken to be enabled.

Required Target ACPI objects

For each statically-described Target (an ACPI child device):

  • _ADR. Required. Encodes the Target's address form, the HostController-Instance index it belongs to, and either its Provisioned ID or its static address.

    _ADR layout:

Bits Field
0-47 Provisioned ID (PID form) or static address in bits 0-7 (static-address form)
48-51 HostController-Instance index
52 Address form:
0 = Provisioned ID
1 = Static Address
53-63 Reserved (shall be 0)
  • _DSD. Optional. When present, uses the Device Properties UUID (daffd814-6eba-4d8c-8a91-bc9bbf4aa301) with keys:
Property Meaning
mipi-i3c-sw-interface-revision DisCo software interface revision (expected 0x10000).
mipi-i3c-ibi-prioritization IBI prioritization value.
mipi-i3c-static-address The Target's I2C static address. Shall match _ADR if the static-address form is used.
mipi-i3c-static-method Bitmask of supported static-address assignment methods:
bit0 = SETDASA
bit1 = SETAASA
bit2 = vendor-defined.
mipi-i3c-limit-data-xfer-rate Per-Target physical data-rate limit, in Hz.
  • _RST. Optional - but strongly recommended where physical configuration permits. If a Target defines an ACPI reset method, i3chost.sys reports DEVPKEY_I3C_Target_Is_ACPI_Reset_Supported = TRUE and can invoke _RST to reset the Target when a CCC-based reset mechanism is unavailable and/or as part of bus initialization flows.

Note

The DisCo _DSD package entries shall use the compliant, nested-package form (each key/value pair wrapped in its own Package () { "key", value }). The driver also tolerates a legacy flat form for compatibility, but new firmware shall use the nested-package form.

Example: single HostController-Device, single HostController-Instance, no static Targets

Scope (\_SB)
{
    Device (I3CT)
    {
        Name (_CID, "MIPI0100")

        Method (_STA, 0, NotSerialized)
        {
            Return (0xF)
        }

        Name (_DSD, Package ()
        {
            ToUUID ("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), // Device Properties
            Package ()
            {
                Package () { "mipi-i3c-sw-interface-revision", 0x10000 } // 1.0
            },

            ToUUID ("dbb8e3e6-5886-4ba6-8795-1319f52a966b"), // Hierarchical Data Extension
            Package ()
            {
                Package () { "mipi-i3c-ctrlr-0-subproperties", CTR0 }
            }
        })

        // HostController-Instance 0
        Name (CTR0, Package ()
        {
            ToUUID ("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), // Device Properties
            Package ()
            {
                Package () { "mipi-i3c-sw-interface-revision", 0x10000 }, // 1.0
                Package () { "mipi-i3c-i2c-devices-present", 0 }, // No I2C Targets
                Package () { "mipi-i3c-modes-supported", 0x7F }, // SDR0-4, HDR-TSx, HDR-DDR
                Package () { "mipi-i3c-limit-data-xfer-rate", 9000000 } // 9 MHz bus limit
            }
        })
    }
}

Example: HostController-Instance with statically-described Targets

The first Target is addressed by Provisioned ID; the second is addressed by static address and defines an ACPI _RST reset method. The _ADR values encode the HostController-Instance index (bits 48-51) and the static address form (bit 52).

Scope (\_SB)
{
    Device (I3CT)
    {
        Name (_CID, "MIPI0100")

        Method (_STA, 0, NotSerialized)
        {
            Return (0xF)
        }

        Name (_DSD, Package ()
        {
            ToUUID ("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), // Device Properties
            Package () { Package () { "mipi-i3c-sw-interface-revision", 0x10000 } },
            ToUUID ("dbb8e3e6-5886-4ba6-8795-1319f52a966b"), // Hierarchical Data Extension
            Package () { Package () { "mipi-i3c-ctrlr-0-subproperties", CTR0 } }
        })

        Name (CTR0, Package ()
        {
            ToUUID ("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), // Device Properties
            Package ()
            {
                Package () { "mipi-i3c-sw-interface-revision", 0x10000 },
                Package () { "mipi-i3c-i2c-devices-present", 0 },
                Package () { "mipi-i3c-modes-supported", 0x7F },
                Package () { "mipi-i3c-limit-data-xfer-rate", 9000000 }
            }
        })

        // Target 1 - addressed by Provisioned ID, on HostController-Instance 0.
        Device (I3T1)
        {
            Name (_ADR, 0x59600011789)
            Name (_DSD, Package ()
            {
                ToUUID ("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), // Device Properties
                Package ()
                {
                    Package () { "mipi-i3c-sw-interface-revision", 0x10000 },
                    Package () { "mipi-i3c-static-address", 0x9 },
                    Package () { "mipi-i3c-static-method", 0x1 } // SETDASA
                }
            })
        }

        // Target 2 - addressed by static address, with an ACPI reset method.
        Device (I3T2)
        {
            Name (_ADR, 0x1000000000000A)
            Name (_DSD, Package ()
            {
                ToUUID ("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), // Device Properties
                Package ()
                {
                    Package () { "mipi-i3c-sw-interface-revision", 0x10000 },
                    Package () { "mipi-i3c-static-address", 0xA },
                    Package () { "mipi-i3c-static-method", 0x1 } // SETDASA
                }
            })

            Method (_RST)
            {
                // ******** IMPLEMENTATION REQUIRED *******
                // TODO: Implement an effective Reset Method
                //
            }
        }
    }
}

Note

The _ADR values above are illustrative. Target 2 uses static address 0xA on HostController-Instance 0, with bit 52 set to select the static-address form. Supply a vendor-specific implementation of _RST.

WHCP requirements

Additional WHCP Requirements for I3C Systems and HostController-Instances are described starting in the version 25H2.

These serve as minimum requirements.

HostController-Device requirements (Device.BusController.I3C)

These requirements apply to all HostController-Devices.

Requirement Summary
UsingMicrosoftI3CDriver The Microsoft-provided HCI driver (i3chost.sys) shall be used.
Only the Microsoft Target drivers may load.
MIPIConformanceTests The HostController shall pass the MIPI I3C conformance test suite and be compliant with MIPI I3C HCI 1.0 and 1.1.
HLKTestability The HostController shall expose the ACPI description and physical pin-out needed for HLK to test it.
DirectMemoryAddressingIO The HostController shall support DMA I/O.
DynamicAddressing The HostController shall support dynamic address assignment (ENTDAA) for runtime discovery of Targets.
StaticAddressing The HostController shall support Targets described statically in ACPI.
Read The HostController shall perform I3C reads correctly across supported speeds and sizes.
Write The HostController shall perform I3C writes correctly across supported speeds and sizes.
Sequence The HostController shall perform arbitrary I/O sequences correctly, or reject unsupported ones cleanly.
CCC The HostController shall support Common Command Codes at supported speeds.
NACK The HostController shall detect and report address/Target NACK and short-read conditions correctly.
InBandInterrupts The HostController shall support In-Band-Interrupts (IBIs).
NoActiveControllerHandoff The HostController shall remain the primary and active HostController and shall not advertise active-HostController handoff.
TargetReset HCI 1.1+ HostControllers shall support resetting an individual target on the bus.
Stress The HostController shall remain functional under prolonged stress.
SleepTests The HostController shall power down when idle and resume from a low-power state.
IdlePowerManagement The HostController shall resume from Dx to D0 in less than 50 ms.
SystemPowerManagement The HostController shall support all system power states.
RemoteWake The HostController shall support remote wake of the HostController and system via IBIs.

System requirements (System.Fundamentals.SystemI3C)

These requirements apply to final OEM systems that have HostController-Devices and I3C Targets in active use.

Requirement Summary
TestedUsingMicrosoftI3CDrivers The system shall use the Microsoft-provided I3C driver stack.
ACPIDiscoverability The system shall expose a DisCo-compliant ACPI description of the HostController(s) and Targets.
SleepTests The HostController shall power down when idle and resume from a low-power state.
SystemPowerManagement The HostController shall support all system power states.
RemoteWake A target shall be able to remotely wake the HostController and system via IBIs.

HostController I2C-on-I3C requirements (Device.BusController.I3C.I2C) - If-Implemented

These requirements apply to HostController-Devices that support I2C Targets attached.

Requirement Summary
I2C.Read If I2C support is implemented, I2C reads shall work correctly (Fm and Fm+).
I2C.Write If I2C support is implemented, I2C writes shall work correctly (Fm and Fm+).
I2C.Sequence If I2C support is implemented, arbitrary I2C sequences shall work or be rejected cleanly.
I2C.NACK If I2C support is implemented, address/data NACK conditions shall be detected and reported.
I2C.Stress If I2C support is implemented, the bus shall recover from hangs and sustain stress.

Note

I2C Targets that require clock stretching are not supported on the I3C bus. This is a limitation of the MIPI I3C specification and of how the I3C bus operates electrically. I3C defines a push-pull, HostController-Instance-driven clock and does not permit a Target to hold (stretch) the SCL line to pace a transfer, as is allowed on a conventional I2C bus. Because the I3C bus actively drives the clock high, a Target attempting to stretch the clock would contend with the HostController-Instance electrically. As a result, legacy I2C Targets that depend on clock stretching cannot operate on an I3C bus, even in I2C-compatible (mixed-bus) mode.