[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [Qemu-devel] [PATCH 3/3] arm/vexpress: Add proper display
From: |
Linus Walleij |
Subject: |
Re: [Qemu-arm] [Qemu-devel] [PATCH 3/3] arm/vexpress: Add proper display connector emulation |
Date: |
Mon, 19 Feb 2018 15:10:18 +0100 |
On Sat, Feb 17, 2018 at 7:28 PM, Philippe Mathieu-Daudé <address@hidden> wrote:
> On 02/17/2018 11:00 AM, Linus Walleij wrote:
>> The assignment of the SiI9022 at address 0x39 and the EDID
>> DDC I2C at address 0x50 is not strictly correct: the DDC I2C
>> is there all the time but in the actual component it only
>> appears once activated inside the SiI9022, so ideally it should
>> be added and removed to the bus by the SiI9022. However for this
>> purpose it works fine to just have it around.
>
> This seems easier to just do it now rather than postpone :)
>
> In your patch #2:
>
> static void sii9022_realize(DeviceState *dev, Error **errp)
> {
> I2CBus *bus;
>
> bus = I2C_BUS(qdev_get_parent_bus(dev));
> i2c_create_slave(bus, TYPE_I2CDDC, 0x50);
> }
I tried an approach like this but the I2C_BUS() macro was not
publicly visible in any header file and trying to pry it out just
brought along a lot of refactoring in the i2c core.c file that
scared me away...
Has someone else fixed it already?
Yours,
Linus Walleij
- [Qemu-arm] [PATCH 2/3] hw/sii9022: Add support for Silicon Image SII9022, (continued)
- [Qemu-arm] [PATCH 2/3] hw/sii9022: Add support for Silicon Image SII9022, Linus Walleij, 2018/02/17
- Re: [Qemu-arm] [PATCH 2/3] hw/sii9022: Add support for Silicon Image SII9022, Philippe Mathieu-Daudé, 2018/02/17
- Re: [Qemu-arm] [PATCH 2/3] hw/sii9022: Add support for Silicon Image SII9022, Linus Walleij, 2018/02/27
- Re: [Qemu-arm] [PATCH 2/3] hw/sii9022: Add support for Silicon Image SII9022, Peter Maydell, 2018/02/27
- Re: [Qemu-arm] [PATCH 2/3] hw/sii9022: Add support for Silicon Image SII9022, Linus Walleij, 2018/02/27
- Re: [Qemu-arm] [PATCH 2/3] hw/sii9022: Add support for Silicon Image SII9022, Peter Maydell, 2018/02/27
- Re: [Qemu-arm] [PATCH 2/3] hw/sii9022: Add support for Silicon Image SII9022, Peter Maydell, 2018/02/27
Re: [Qemu-arm] [PATCH 2/3] hw/sii9022: Add support for Silicon Image SII9022, Peter Maydell, 2018/02/22
[Qemu-arm] [PATCH 3/3] arm/vexpress: Add proper display connector emulation, Linus Walleij, 2018/02/17
- Re: [Qemu-arm] [Qemu-devel] [PATCH 3/3] arm/vexpress: Add proper display connector emulation, Philippe Mathieu-Daudé, 2018/02/17
- Re: [Qemu-arm] [Qemu-devel] [PATCH 3/3] arm/vexpress: Add proper display connector emulation,
Linus Walleij <=
- Re: [Qemu-arm] [Qemu-devel] [PATCH 3/3] arm/vexpress: Add proper display connector emulation, Corey Minyard, 2018/02/19
- [Qemu-arm] [PATCH 0/2] Move the bus class to i2c.h, minyard, 2018/02/19
- [Qemu-arm] [PATCH 2/2] i2c: Move the bus class to i2c.h, minyard, 2018/02/19
- Re: [Qemu-arm] [Qemu-devel] [PATCH 2/2] i2c: Move the bus class to i2c.h, Peter Maydell, 2018/02/19
- Re: [Qemu-arm] [Qemu-devel] [PATCH 2/2] i2c: Move the bus class to i2c.h, Corey Minyard, 2018/02/20
- Re: [Qemu-arm] [Qemu-devel] [PATCH 2/2] i2c: Move the bus class to i2c.h, Linus Walleij, 2018/02/22
- Re: [Qemu-arm] [Qemu-devel] [PATCH 2/2] i2c: Move the bus class to i2c.h, Peter Maydell, 2018/02/22
- Re: [Qemu-arm] [Qemu-devel] [PATCH 2/2] i2c: Move the bus class to i2c.h, Linus Walleij, 2018/02/22
Re: [Qemu-arm] [PATCH 2/2] i2c: Move the bus class to i2c.h, Linus Walleij, 2018/02/22
[Qemu-arm] [PATCH 1/2] i2c: Fix some brace style issues, minyard, 2018/02/19