[RFC PATCH 5/7] pwm: replace polarity enum with macros

2020-03-17 Thread Oleksandr Suvorov
To avoid duplication of pwm polarity definitions, remove "enum pwm_polarity" and use macros instead. Prepare to use both polarity flags in DTs. Signed-off-by: Oleksandr Suvorov --- drivers/pwm/core.c | 2 +- drivers/pwm/pwm-atmel-tcb.c | 8 drive

[RFC PATCH 0/7] Rework PWM_POLARITY_* flags

2020-03-17 Thread Oleksandr Suvorov
PWM_POLARITY_* flags were defined in include/linux/pwm.h as a enum and in include/dt-bindings/pwm/pwm.h as macros. This patchset fixes duplication and introduces using PWM_POLARITY_NORMAL flag instead of '0' constant in DT files. Oleksandr Suvorov (7): pwm: rename the PWM_POLARITY_INVERSED

Re: [RFC PATCH v3 5/5] drm/panel: simple: add panel-dpi support

2020-02-18 Thread Oleksandr Suvorov
ex.com/ It works for me, thanks! Reviewed-by: Oleksandr Suvorov > > The panel-dpi compatible is a fallback that > allows the DT to specify the timing. > > When matching panel-dpi expect the device tree to include the > timing information for the display-panel. > > Background for

Re: [PATCH v4 2/3] dt-bindings: panel-simple: add bindings for logic technologies displays

2020-01-24 Thread Oleksandr Suvorov
ouch-display-1280x800-datasheet.pdf > [4] https://www.endrich.com/isi50_isi30_tft-displays/lt170410-1whc_isi30 > > Signed-off-by: Marcel Ziswiler Reviewed-by: Oleksandr Suvorov > > --- > > Changes in v4: > - Re-ordered commits as suggested by Sam and re-worded commit messag

Re: [PATCH v4 3/3] drm/panel: simple: add display timings for logic technologies displays

2020-01-24 Thread Oleksandr Suvorov
vds-capacitive-touch-display-1280x800-datasheet.pdf > [4] https://www.endrich.com/isi50_isi30_tft-displays/lt170410-1whc_isi30 > > Signed-off-by: Marcel Ziswiler > Reviewed-by: Philippe Schenker Reviewed-by: Oleksandr Suvorov > > --- > > Changes in v4: > - Added recently made m

Re: [PATCH v1 1/3] dt-bindings: display: add panel-timing.yaml

2020-01-21 Thread Oleksandr Suvorov
cal panel resolution in pixels -^^^^^^ Vertical Anyway, those are minor issues, so Reviewed-by: Oleksandr Suvorov > ___ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo

Re: [PATCH 1/3] drm/panel: make LVDS panel driver DPI capable

2020-01-20 Thread Oleksandr Suvorov
iver name; - fork panel-lvds driver as panel-generic driver with dpi support. What solution do you prefer? > > .of_match_table = panel_lvds_of_table, > > }, > > }; > > Sam -- Best regards Oleksandr Suvorov Toradex AG Alts

[PATCH 0/3] Generic DPI panel on Colibri iMX7 / Col.Eval.board

2020-01-16 Thread Oleksandr Suvorov
Make LVDS panel driver DPI capable and use it to add generic RGB (DPI) panel support for Colibri iMX7 SoM on Colibri Evaluation Board. Oleksandr Suvorov (1): ARM: dts: imx7-colibri: add generic RGB (DPI) panel Stefan Agner (2): drm/panel: make LVDS panel driver DPI capable drm/panel

[PATCH 2/3] drm/panel: pass video modes bus_flags

2020-01-16 Thread Oleksandr Suvorov
From: Stefan Agner Make sure that the bus_flags parsed from the display timings are passed to the connector display info. Signed-off-by: Stefan Agner Signed-off-by: Oleksandr Suvorov --- drivers/gpu/drm/panel/panel-lvds.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH 1/3] drm/panel: make LVDS panel driver DPI capable

2020-01-16 Thread Oleksandr Suvorov
From: Stefan Agner The LVDS panel driver has almost everything which is required to describe a simple parallel RGB panel (also known as DPI, Display Pixel Interface). Signed-off-by: Stefan Agner Signed-off-by: Oleksandr Suvorov --- drivers/gpu/drm/panel/panel-lvds.c | 40

Re: [PATCH 0/1] This patch fixes connection detection for monitors w/o DDC.

2019-07-29 Thread Oleksandr Suvorov
On Thu, Jul 25, 2019 at 5:41 PM maxime.rip...@free-electrons.com wrote: > > On Thu, Jul 25, 2019 at 11:05:23AM +, Oleksandr Suvorov wrote: > > > > Even in source code of this driver there is an author's description: > > /* > > * Even if we ha

[PATCH 0/1] This patch fixes connection detection for monitors w/o DDC.

2019-07-25 Thread Oleksandr Suvorov
unknown === Oleksandr Suvorov (1): drm/bridge: vga-dac: Fix detect of monitor connection drivers/gpu/drm/bridge/dumb-vga-dac.c | 18 -- 1 file changed, 18 deletions(-) -- 2.20.1

[PATCH 1/1] drm/bridge: vga-dac: Fix detect of monitor connection

2019-07-25 Thread Oleksandr Suvorov
of dumb monitor detection like: ... DRM: head 'VGA-1' found, connector 32 is disconnected. ... Cc: sta...@vger.kernel.org Fixes: 56fe8b6f4991 ("drm/bridge: Add RGB to VGA bridge support") Signed-off-by: Oleksandr Suvorov --- drivers/gpu/drm/bridge/dumb-vga-dac.c | 18