[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 12/14] omap-gpio: remove PROP_PTR
From: |
Peter Maydell |
Subject: |
Re: [PATCH 12/14] omap-gpio: remove PROP_PTR |
Date: |
Fri, 18 Oct 2019 17:58:04 +0100 |
On Fri, 18 Oct 2019 at 16:43, Marc-André Lureau
<address@hidden> wrote:
>
> Since clock are not QOM objects, replace PROP_PTR of clocks with
> setters methods.
>
> Signed-off-by: Marc-André Lureau <address@hidden>
> -/* Using qdev pointer properties for the clocks is not ideal.
> - * qdev should support a generic means of defining a 'port' with
> - * an arbitrary interface for connecting two devices. Then we
> - * could reframe the omap clock API in terms of clock ports,
> - * and get some type safety. For now the best qdev provides is
> - * passing an arbitrary pointer.
> - * (It's not possible to pass in the string which is the clock
> - * name, because this device does not have the necessary information
> - * (ie the struct omap_mpu_state_s*) to do the clockname to pointer
> - * translation.)
> - */
Ah, here's what's effectively a todo comment that you could
repurpose/adapt/move.
Reviewed-by: Peter Maydell <address@hidden>
thanks
-- PMM
- [PATCH 09/14] smbus-eeprom: remove PROP_PTR, (continued)
- [PATCH 09/14] smbus-eeprom: remove PROP_PTR, Marc-André Lureau, 2019/10/18
- [PATCH 10/14] omap-intc: remove PROP_PTR, Marc-André Lureau, 2019/10/18
- [PATCH 11/14] omap-i2c: remove PROP_PTR, Marc-André Lureau, 2019/10/18
- [PATCH 12/14] omap-gpio: remove PROP_PTR, Marc-André Lureau, 2019/10/18
- Re: [PATCH 12/14] omap-gpio: remove PROP_PTR,
Peter Maydell <=
- [PATCH 13/14] qdev: remove PROP_MEMORY_REGION, Marc-André Lureau, 2019/10/18
- [PATCH 14/14] Remove QDEV_PROP_PTR, Marc-André Lureau, 2019/10/18