On Sat, 2009-11-21 at 16:16 +0100, ext Grazvydas Ignotas wrote: > Hello, > > I've been updating Pandora's panel for upstream-going DSS2, which now > uses device/device_driver model for panels. The thing is that the > panel we use is SPI controlled, so it needs to be set up as > spi_driver. From SPI probe function I can do > omap_dss_register_driver(), but how do I pass SPI data to > omap_dss_device cleanly? Surely some globals would help, but this is > not a "clean" way I guess. There used to be panel-n800.c with similar > requirements, but it's not yet converted, right? Do you have any ideas > how this can be done? I don't have any good answer for this. For N900's panel there was a static global variable, if I remember right. Not very clean, as you said. Tomi -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html