• Stefan Agner's avatar
    drm/fsl-dcu: use mode flags for hsync/vsync polarity · 4bc390c6
    Stefan Agner authored
    The current default configuration is as follows:
    - Invert VSYNC signal (active LOW)
    - Invert HSYNC signal (active LOW)
    
    The mode flags allow to specify the required polarity per
    mode. Furthermore, none of the current driver settings is
    actually a standard polarity.
    
    This patch applies the current driver default polarities as
    explicit flags to the display which has been introduced with
    the driver (NEC WQVGA "nec,nl4827hc19-05b"). The driver now
    also parses the flags field and applies the configuration
    accordingly, by using the following values as standard
    polarities: (e.g. when no flags are specified):
    - VSYNC signal not inverted (active HIGH)
    - HSYNC signal not inverted (active HIGH)
    Acked-by: default avatarThierry Reding <treding@nvidia.com>
    Signed-off-by: default avatarStefan Agner <stefan@agner.ch>
    4bc390c6
panel-simple.c 34.7 KB