[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5 0/9] Clock framework API.
From: |
Damien Hedde |
Subject: |
Re: [Qemu-devel] [PATCH v5 0/9] Clock framework API. |
Date: |
Thu, 11 Oct 2018 18:20:11 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 |
Hi Philippe,
On 10/4/18 6:13 PM, Philippe Mathieu-Daudé wrote:
> Hi Damien,
>
> On 02/10/2018 16:24, Damien Hedde wrote:
>> This series aims to add a way to model clocks in qemu between devices.
>> This allows to model the clock tree of a platform allowing us to inspect
>> clock
>> configuration and detect problems such as disabled clock or bad configured
>> pll.
>>
>> [...]
>>
>> Any comments and suggestion are welcomed.
>
> How would you instanciate devices and connect their clocks from the
> command line (with the -device option)?
I didn't not thought about that. I'm not sure to understand how this is
done for a gpio for example. Is this done by setting the link property
manually ?
If that's the case, I suppose we can somehow add a link property on the
input side to the output side to achieve that. The other way seem not
possible due to the fact the output side has a dynamically allocated
list of inputs.
>
> Should clocked devices have DeviceClass::user_creatable = false by default?
It would be a solution, but I don't think we want this ?
>
> Thanks,
>
> Phil.
>
Thanks,
Damien
Re: [Qemu-devel] [PATCH v5 0/9] Clock framework API., Damien Hedde, 2018/10/12