[U-Boot] [PATCH 0/4] tegra: Move tegra20 towards the 'new' display bindings
Simon Glass
sjg at chromium.org
Tue Jan 19 02:58:49 CET 2016
Hi Stephen,
On 18 January 2016 at 12:57, Stephen Warren <swarren at wwwdotorg.org> wrote:
> On 01/14/2016 01:26 PM, Simon Glass wrote:
>>
>> The original tegra20 display driver was written before Linux had device
>> tree
>> bindings for display. Since then Linux has developed a robust set of
>> bindings
>> covering various aspects of enabling a display.
>>
>> This series moves closer to those bindings by using the panel and
>> backlight
>> as separate drivers. The device tree files for seaboard, ventana and
>> harmony
>> thereby become almost the same as Linux.
>>
>> Unfortunately this breaks the other boards, which will need a similar
>> sync.
>> So I'm not sure how easy it will be to accept this series. Still, it seems
>> worth sending it out in the hope that board maintainers can help. I have
>> kept this series separate so that it can progress separately.
>
>
> Can't that be handled by placing the new code under an ifdef, so the source
> code can support either the old or the new scheme, then each board can be
> converted over and the ifdef flipped in its per-board config file, then the
> ifdef removed once all boards are converted?
To some extent, although there is the common tegra20.dtsi and lots of
common code. It was more pain than I was willing to bear.
Another option is to eventually disable LCD for boards where the
maintainers don't respond.
Regards,
Simon
More information about the U-Boot
mailing list