On 2013-12-20 18:04, Tony Lindgren wrote: >> This looks odd... Presuming the panel device was probed successfully, it >> should always get the gpios or return an error. Only if gpio_is_valid() >> returns false for the gpio, it skips it and continues. But in this case, >> the gpio number comes from the platform data, so it should always be valid. >> >> And if it wasn't probed successfully, then there shouldn't be a fb0. > > I bet that's it though. If the display is probed before twl4030 GPIO > is initialized, the GPIO numbers will be 0. I'm using omap2plus_defconfig > which has DSS built as modules. Ah, right, I see. The gpio numbers for the panel pdata are initialized to -1 (not 0) in the board file. The twl init code will set those to their appropriate numbers, but if the panel is probed before twl, the panel driver just presumes gpios are not needed as they are -1. Tomi
Attachment:
signature.asc
Description: OpenPGP digital signature