Re: [PATCH] drm/sun4i: fix HSYNC and VSYNC polarity

From: Giulio Benetti
Date: Thu Dec 13 2018 - 06:42:36 EST


Hi Jonathan,

Il 13/12/2018 03:55, Jonathan Liu ha scritto:
Can you precisely point me the sources of:
- u-boot
- kernel
- dts

you're using?

Thanks

U-Boot - git tag v2017.03
Linux - git tag v4.19.6
DTS - see device tree changes in
https://github.com/net147/linux/tree/sun7i-drm-wip but change the
compatible to "innolux,at070tn92"

With Linux v4.19.6 "innolux,at070tn92" doesn't even work and I suspect it is because of clock frequency tolerance check for pll setting, so it gets discarded from drm resulting in not having a crtc.

Anyway I've just re-checked the signals using another display:
"innolux,at043tn24" that has a more rounded clock frequency, so it's accepted by drm and **signals are correct**.
Unfortunately I don't have your same display here to test, so I can't help you about that precise panel.

Sorry.
Best regards
--
Giulio Benetti
CTO

MICRONOVA SRL
Sede: Via A. Niedda 3 - 35010 Vigonza (PD)
Tel. 049/8931563 - Fax 049/8931346
Cod.Fiscale - P.IVA 02663420285
Capitale Sociale â 26.000 i.v.
Iscritta al Reg. Imprese di Padova N. 02663420285
Numero R.E.A. 258642