[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 12/12] i.MX: Add sabrelite i.MX6 emulation.
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH v3 12/12] i.MX: Add sabrelite i.MX6 emulation. |
Date: |
Wed, 16 Mar 2016 11:28:22 +0000 |
On 16 March 2016 at 06:32, Peter Maydell <address@hidden> wrote:
> On 15 March 2016 at 21:40, Jean-Christophe DUBOIS <address@hidden> wrote:
>> So do you mean I should define the 20 external lines (properties) and wire
>> all of them up with sysbus_connect_irq() in the i.MX6 SOC implementation
>> (fsl-imx6.c)?
>
> If you use qdev_init_gpio_out_named() in the SPI controller (which
> is probably a good idea anyway, chip selects aren't IRQs so using the
> gpio functions is clearer naming) then you ought to be able to create
> the appropriate aliases, since gpios are link properties. However I
> can't quite figure out how this is supposed to work -- Peter C ?
On the other hand if there isn't an obvious way to do this I'd be OK
with taking this series with this part of the code the way you have it
now, and we can clean it up later. We're already well into softfreeze
so I'd rather we didn't delay too long...
thanks
-- PMM
[Qemu-devel] [PATCH v3 11/12] i.MX: Add i.MX6 SOC implementation., Jean-Christophe Dubois, 2016/03/01
Re: [Qemu-devel] [PATCH v3 00/12] Add i.MX6 (Single/Dual/Quad) support, Peter Maydell, 2016/03/16