[PATCH v2 5/5] sunxi: add drivers and configs needed for LCD display

Martin Cerveny martin at c-home.cz
Sun Oct 25 10:56:32 CET 2020



On Mon, 19 Oct 2020, Maxime Ripard wrote:
> On Fri, Oct 16, 2020 at 07:17:05PM +0200, Martin Cerveny wrote:
>> Add PWM and dummy power regulator support.
>> Modify phase of data signal for LCD display.
>>
>> Signed-off-by: Martin Cerveny <m.cerveny at computer.org>
>> ---
>>  configs/LicheePi_Zero_defconfig | 4 ++++
>>  1 file changed, 4 insertions(+)
>>
>> diff --git a/configs/LicheePi_Zero_defconfig b/configs/LicheePi_Zero_defconfig
>> index 04d7b64504..ba1c085ec3 100644
>> --- a/configs/LicheePi_Zero_defconfig
>> +++ b/configs/LicheePi_Zero_defconfig
>> @@ -3,5 +3,9 @@ CONFIG_ARCH_SUNXI=y
>>  CONFIG_SPL=y
>>  CONFIG_MACH_SUN8I_V3S=y
>>  CONFIG_DRAM_CLK=360
>> +CONFIG_VIDEO_LCD_DCLK_PHASE=0
>
> I'm not sure you answered on that one either, but you'd need some
> display timings as well, right? If so, why do we need that change in the
> first place if we're expected to change it anyway?
>
> Maxime

I done in config all needed setup to enable LCD
(PHASE and PWM drivers).

Enabling LCD (with different display timimgs) depends now only on DTS/DTB.
The right extension of DTS is not part of patch series.
As I wrote in cover letter:
- To enable functionality see TESTING patch at
   https://github.com/mcerveny/u-boot/tree/simplefb_v3s_v2
(for display 800x480)

or use timmings from previous patch for display (480x472)
https://github.com/mcerveny/u-boot/commit/b9a743f421ae6f3786eca008e5ebdab431af3be0#diff-a3fa1a838ba12f9441bf716085db19e57eb941ac37a706110ff19f89535830acR77-R89



More information about the U-Boot mailing list