summary refs log tree commit diff stats
path: root/hw/i2c/microbit_i2c.c
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2022-06-08 09:53:15 -0400
committerMichael S. Tsirkin <mst@redhat.com>2022-06-09 19:32:48 -0400
commitac70b4a3f158152f8a60aa882eb8d98b2f041729 (patch)
treee4498d89aeb749bdef9ada88622debfa07908829 /hw/i2c/microbit_i2c.c
parentdc35bfb6e0be460b05193af87c89a7a3cd0dae54 (diff)
downloadfocaccia-qemu-ac70b4a3f158152f8a60aa882eb8d98b2f041729.tar.gz
focaccia-qemu-ac70b4a3f158152f8a60aa882eb8d98b2f041729.zip
tests: acpi: q35: add test for smbus-ipmi device
expected new device node:

    Device (MI1)
    {
        Name (_HID, EisaId ("IPI0001"))  // _HID: Hardware ID
        Name (_STR, "ipmi_smbus")  // _STR: Description String
        Name (_UID, One)  // _UID: Unique ID
        Name (_CRS, ResourceTemplate ()  // _CRS: Current Resource Settings
        {
            I2cSerialBusV2 (0x0000, ControllerInitiated, 0x000186A0,
                AddressingMode7Bit, "\\_SB.PCI0.SMB0",
                0x00, ResourceProducer, , Exclusive,
                )
        })
        Name (_IFT, 0x04)  // _IFT: IPMI Interface Type
        Name (_SRV, 0x0200)  // _SRV: IPMI Spec Revision
    }

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Message-Id: <20220608135340.3304695-11-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/i2c/microbit_i2c.c')
0 files changed, 0 insertions, 0 deletions