Re: [RFC 4/6] drm/bridge/sii8620: fix extcon dependency

2020-04-14 Thread Jani Nikula
On Tue, 14 Apr 2020, Daniel Vetter wrote: > On Tue, Apr 14, 2020 at 5:05 PM Arnd Bergmann wrote: >> >> On Fri, Apr 10, 2020 at 8:56 AM Andrzej Hajda wrote: >> > >> > >> > On 08.04.2020 22:27, Arnd Bergmann wrote: >> > > Using 'imply' does not work here, it still cause the same build >> > > failu

Re: [PULL] topic/phy-compliance

2020-04-14 Thread Jani Nikula
On Wed, 08 Apr 2020, Maarten Lankhorst wrote: > Hey, > > Here's a pull request to pull in the DP PHY Compliance series. > It's based on top of drm/drm-next, and contains all patches for core, amd and > i915. :) Ping, I don't see this merged in any tree yet. BR, Jani. > > Cheers, > Maarten >

Re: [PATCH] staging: android: ion: Skip sync if not mapped

2020-04-14 Thread John Stultz
On Tue, Apr 14, 2020 at 9:11 AM Ørjan Eide wrote: > > On Tue, Apr 14, 2020 at 04:28:10PM +0200, Greg Kroah-Hartman wrote: > > On Tue, Apr 14, 2020 at 04:18:47PM +0200, �rjan Eide wrote: > > > Only sync the sg-list of an Ion dma-buf attachment when the attachment > > > is actually mapped on the dev

Re: [PATCH] staging: android: ion: Skip sync if not mapped

2020-04-14 Thread John Stultz
On Tue, Apr 14, 2020 at 7:28 AM Greg Kroah-Hartman wrote: > > On Tue, Apr 14, 2020 at 04:18:47PM +0200, Ørjan Eide wrote: > > Only sync the sg-list of an Ion dma-buf attachment when the attachment > > is actually mapped on the device. > > > > dma-bufs may be synced at any time. It can be reached f

Re: [PATCH v11 1/2] dt-bindings: display/bridge: Add binding for NWL mipi dsi host controller

2020-04-14 Thread Laurent Pinchart
Hi Guido, On Sun, Apr 12, 2020 at 06:38:35PM +0200, Guido Günther wrote: > On Fri, Apr 10, 2020 at 03:57:32PM +0300, Laurent Pinchart wrote: > > On Fri, Apr 10, 2020 at 02:45:16PM +0200, Guido Günther wrote: > >> On Fri, Apr 10, 2020 at 02:23:42PM +0300, Laurent Pinchart wrote: > >>> On Thu, Apr 0

linux-next: manual merge of the drm-misc tree with the drm-intel tree

2020-04-14 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-misc tree got a conflict in: drivers/gpu/drm/i915/display/intel_dp_mst.c between commit: 743acd115070 ("drm/i915: Get rid of silly void* from MST code") from the drm-intel tree and commit: 20c22ad32957 ("drm/dp_mst: Remove drm_dp_mst_has_audio

linux-next: manual merge of the drm-misc tree with Linus' tree

2020-04-14 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-misc tree got a conflict in: MAINTAINERS between commitis: 4400b7d68f6e ("MAINTAINERS: sort entries by entry name") 3b50142d8528 ("MAINTAINERS: sort field names for all entries") from Linus' tree and commits: 8edb69970739 ("MAINTAINERS: Bett

[PATCH v15 0/3] mt8183 dpi support pin mode swap

2020-04-14 Thread Jitao Shi
Changes since v14: - add "Acked-by" and "Reviewed-by" - change port@0 to port in yaml Changes since v13: - move dpi dual edge patches to another series because it will have long time to implement the dual edge change base boris patches. https://patchwork.kernel.org/cover/11354279/ Change

[PATCH v15 2/3] dt-bindings: display: mediatek: convert the document format from txt to yaml

2020-04-14 Thread Jitao Shi
Signed-off-by: Jitao Shi --- .../bindings/display/mediatek/mediatek,dpi.txt | 42 -- .../bindings/display/mediatek/mediatek,dpi.yaml| 97 ++ 2 files changed, 97 insertions(+), 42 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/mediat

[PATCH v15 1/3] dt-bindings: display: mediatek: control dpi pins mode to avoid leakage

2020-04-14 Thread Jitao Shi
Add property "pinctrl-names" to swap pin mode between gpio and dpi mode. Set the dpi pins to gpio mode and output-low to avoid leakage current when dpi disabled. Acked-by: Rob Herring Reviewed-by: Chun-Kuang Hu Signed-off-by: Jitao Shi --- Documentation/devicetree/bindings/display/mediatek/med

[PATCH v15 3/3] drm/mediatek: set dpi pin mode to gpio low to avoid leakage current

2020-04-14 Thread Jitao Shi
Config dpi pins mode to output and pull low when dpi is disabled. Aovid leakage current from some dpi pins (Hsync Vsync DE ... ). Reviewed-by: Chun-Kuang Hu Signed-off-by: Jitao Shi --- drivers/gpu/drm/mediatek/mtk_dpi.c | 31 +++ 1 file changed, 31 insertions(+) di

Re: [PATCH/RFC 4/6] dt-bindings: display: rockchip: dw-hdmi: Convert binding to YAML

2020-04-14 Thread Laurent Pinchart
Hi Rob, On Tue, Apr 14, 2020 at 06:10:05PM -0500, Rob Herring wrote: > On Wed, Apr 08, 2020 at 02:45:52PM +0300, Laurent Pinchart wrote: > > On Tue, Apr 07, 2020 at 09:12:51AM +0200, Maxime Ripard wrote: > >> On Mon, Apr 06, 2020 at 08:50:28PM +0300, Laurent Pinchart wrote: > >>> On Mon, Apr 06, 2

[PATCH v1.1 2/4] dt-bindings: display: bridge: Convert simple-bridge bindings to YAML

2020-04-14 Thread Laurent Pinchart
The simple-bridge driver supports multiple simple or dumb bridges, covered by different compatible strings but otherwise identical DT bindings. Some of those bridges have undocumented bindings, while others are documented in text form in separate files. Group them all in a single binding and conver

Re: [PATCH 2/8] fs: extract simple_pin/release_fs to separate files

2020-04-14 Thread kbuild test robot
Hi Emanuele, Thank you for the patch! Yet something to improve: [auto build test ERROR on char-misc/char-misc-testing] [also build test ERROR on driver-core/driver-core-testing linus/master v5.7-rc1 next-20200414] [cannot apply to security/next-testing] [if your patch is applied to the wrong

Re: [PATCH 2/4] dt-bindings: display: bridge: Convert simple-bridge bindings to YAML

2020-04-14 Thread Laurent Pinchart
Hi Rob, On Tue, Apr 14, 2020 at 05:00:00PM -0500, Rob Herring wrote: > On Mon, Apr 06, 2020 at 02:23:16AM +0300, Laurent Pinchart wrote: > > The simple-bridge driver supports multiple simple or dumb bridges, > > covered by different compatible strings but otherwise identical DT > > bindings. Some

Re: [PATCH] component: Silence bind error on -EPROBE_DEFER

2020-04-14 Thread James Hilliard
On Tue, Apr 14, 2020 at 5:07 AM Jani Nikula wrote: > > On Fri, 10 Apr 2020, James Hilliard wrote: > > If a component fails to bind due to -EPROBE_DEFER we should not log an > > error as this is not a real failure. > > > > Fixes: > > vc4-drm soc:gpu: failed to bind 3f902000.hdmi (ops vc4_hdmi_ops)

[PATCH v3 1/2] DRM: ARC: add HDMI 2.0 TX encoder support

2020-04-14 Thread Eugeniy Paltsev
The Synopsys ARC SoCs (like HSDK4xD) include on-chip DesignWare HDMI encoders. Support them with a platform driver to provide platform glue data to the dw-hdmi driver. Acked-by: Sam Ravnborg Signed-off-by: Eugeniy Paltsev --- MAINTAINERS | 6 ++ drivers/gpu/drm/Makefile

[PATCH v3 2/2] dt-bindings: Document the Synopsys ARC HDMI TX bindings

2020-04-14 Thread Eugeniy Paltsev
This patch adds documentation of device tree bindings for the Synopsys HDMI 2.0 TX encoder driver for ARC SoCs. Acked-by: Sam Ravnborg Signed-off-by: Eugeniy Paltsev --- .../display/bridge/snps,arc-dw-hdmi.yaml | 136 ++ 1 file changed, 136 insertions(+) create mode 100644

[PATCH v3 0/2] DRM: ARC: add HDMI 2.0 TX encoder support

2020-04-14 Thread Eugeniy Paltsev
Changes v1->v2: * use DT Schema format please (.yaml files) for DT bindings Changes v2->v3: * Add missing 'interrupts' property in DT bindings * Drop dummy 'dw_hdmi_bridge_mode_valid' * Change bracing format of 'of_device_id' structure * Change compatible string to "snps,arc-dw-hdmi-hsdk"

Re: [PATCH] drm/amd/display: Fix pageflip event race condition for DCN. (v2)

2020-04-14 Thread Matt Coffin
Hey everyone, This patch broke variable refresh rate in games (all that I've tried so far... Project CARS 2, DiRT Rally 2.0, Assetto Corsa Competizione) as well as a simple freesync tester application. FreeSync tester I've been using: https://github.com/Nixola/VRRTest I'm not at all familiar wit

Re: [PATCH/RFC 6/6] dt-bindings: display: bridge: Remove deprecated dw_hdmi.txt

2020-04-14 Thread Rob Herring
On Mon, 6 Apr 2020 02:39:35 +0300, Laurent Pinchart wrote: > dw_hdmi.txt has been replaced with synopsys,dw-hdmi.yaml, and all > references to the old file have been converted. Remove it. > > Signed-off-by: Laurent Pinchart > --- > .../bindings/display/bridge/dw_hdmi.txt | 33

Re: [PATCH/RFC 5/6] dt-bindings: display: sun8i-a83t-dw-hdmi: Reference dw-hdmi YAML schema

2020-04-14 Thread Rob Herring
On Mon, 6 Apr 2020 02:39:34 +0300, Laurent Pinchart wrote: > Replace the reference to the DWC HDMI text DT binding with a reference > to the YAML equivalent. > > Signed-off-by: Laurent Pinchart > --- > .../bindings/display/allwinner,sun8i-a83t-dw-hdmi.yaml| 4 ++-- > 1 file changed, 2 i

Re: [PATCH/RFC 4/6] dt-bindings: display: rockchip: dw-hdmi: Convert binding to YAML

2020-04-14 Thread Rob Herring
On Wed, Apr 08, 2020 at 02:45:52PM +0300, Laurent Pinchart wrote: > Hi Maxime, > > On Tue, Apr 07, 2020 at 09:12:51AM +0200, Maxime Ripard wrote: > > On Mon, Apr 06, 2020 at 08:50:28PM +0300, Laurent Pinchart wrote: > > > On Mon, Apr 06, 2020 at 07:09:15PM +0200, Maxime Ripard wrote: > > > > On Mo

Re: [PATCH 3/4] dt-bindings: display: bridge: thc63lvd1024: Convert binding to YAML

2020-04-14 Thread Rob Herring
On Mon, 6 Apr 2020 02:23:17 +0300, Laurent Pinchart wrote: > Convert the Thine THC63LVD1024 text binding to YAML. > > Signed-off-by: Laurent Pinchart > --- > .../display/bridge/thine,thc63lvd1024.txt | 66 -- > .../display/bridge/thine,thc63lvd1024.yaml| 121 ++

Re: [PATCH 2/4] dt-bindings: display: bridge: Convert simple-bridge bindings to YAML

2020-04-14 Thread Rob Herring
On Mon, Apr 06, 2020 at 02:23:16AM +0300, Laurent Pinchart wrote: > The simple-bridge driver supports multiple simple or dumb bridges, > covered by different compatible strings but otherwise identical DT > bindings. Some of those bridges have undocumented bindings, while others > are documented in

Re: [PATCH 1/4] dt-bindings: display: bridge: Reject additional properties in ports node

2020-04-14 Thread Rob Herring
On Mon, 6 Apr 2020 02:23:15 +0300, Laurent Pinchart wrote: > Document the #address-cells and #size-cells properties of the ports node > in the schemas of the bridge DT bindings, and set additionalProperties > to false to reject additional properties. > > Signed-off-by: Laurent Pinchart > --- >

Re: [PATCH v2 2/2] dt-bindings: Document the Synopsys ARC HDMI TX bindings

2020-04-14 Thread Rob Herring
On Tue, 14 Apr 2020 17:44:02 +0300, Eugeniy Paltsev wrote: > This patch adds documentation of device tree bindings for the Synopsys > HDMI 2.0 TX encoder driver for ARC SoCs. > > Signed-off-by: Eugeniy Paltsev > --- > .../display/bridge/snps,arc-dw-hdmi.yaml | 131 ++ > 1 fi

Re: [PATCH 5/5] drm/i915: Replace "Broadcast RGB" with "RGB quantization range" property

2020-04-14 Thread Yussuf Khalil
On Tue, 2020-04-14 at 14:34 +0200, Daniel Vetter wrote: > On Tue, Apr 14, 2020 at 02:21:06PM +0300, Jani Nikula wrote: > > On Tue, 14 Apr 2020, Jani Nikula > > wrote: > > > On Mon, 13 Apr 2020, Simon Ser wrote: > > > > On Monday, April 13, 2020 11:40 PM, Yussuf Khalil < > > > > d...@pp3345.net> w

Re: [RFC 5/6] drm/rcar-du: fix selection of CMM driver

2020-04-14 Thread Arnd Bergmann
On Tue, Apr 14, 2020 at 10:52 PM Laurent Pinchart wrote: > > Hi Arnd, > > On Tue, Apr 14, 2020 at 10:38:27PM +0200, Arnd Bergmann wrote: > > On Tue, Apr 14, 2020 at 10:17 PM Laurent Pinchart wrote: > > > On Wed, Apr 08, 2020 at 10:27:10PM +0200, Arnd Bergmann wrote: > > > > The 'imply' statement d

Re: [RFC 5/6] drm/rcar-du: fix selection of CMM driver

2020-04-14 Thread Laurent Pinchart
Hi Arnd, On Tue, Apr 14, 2020 at 10:38:27PM +0200, Arnd Bergmann wrote: > On Tue, Apr 14, 2020 at 10:17 PM Laurent Pinchart wrote: > > On Wed, Apr 08, 2020 at 10:27:10PM +0200, Arnd Bergmann wrote: > > > The 'imply' statement does not seem to have an effect, as it's > > > still possible to turn th

Re: [PATCH v6 5/8] dt-bindings: display: add i.MX6 MIPI DSI host controller doc

2020-04-14 Thread Laurent Pinchart
Hi Adrian, Thank you for the patch. On Tue, Apr 14, 2020 at 06:19:52PM +0300, Adrian Ratiu wrote: > This provides an example DT binding for the MIPI DSI host controller > present on the i.MX6 SoC based on Synopsis DesignWare v1.01 IP. > > Cc: Rob Herring > Cc: Neil Armstrong > Cc: Fabio Esteva

Re: [RFC 5/6] drm/rcar-du: fix selection of CMM driver

2020-04-14 Thread Arnd Bergmann
On Tue, Apr 14, 2020 at 10:17 PM Laurent Pinchart wrote: > > Hi Arnd, > > Thank you for the patch. > > On Wed, Apr 08, 2020 at 10:27:10PM +0200, Arnd Bergmann wrote: > > The 'imply' statement does not seem to have an effect, as it's > > still possible to turn the CMM code into a loadable module >

Re: [RFC 5/6] drm/rcar-du: fix selection of CMM driver

2020-04-14 Thread Laurent Pinchart
Hi Arnd, Thank you for the patch. On Wed, Apr 08, 2020 at 10:27:10PM +0200, Arnd Bergmann wrote: > The 'imply' statement does not seem to have an effect, as it's > still possible to turn the CMM code into a loadable module > in a randconfig build, leading to a link error: > > arm-linux-gnueabi-l

Re: [PATCH v1 3/4] dt-bindings: media: add wiring property to video-interfaces

2020-04-14 Thread Rob Herring
On Sun, Apr 12, 2020 at 08:20:11PM +0200, Sam Ravnborg wrote: > The wiring property is used to describe the wiring between > the connector and the panel. The property can be used when the > wiring is used to change the mode from for example > BGR to RGB. The first users are the at91sam9 family wher

Re: [PATCH v1 4/4] dt-bindings: display: add port support to atmel lcdc

2020-04-14 Thread Rob Herring
On Sun, Apr 12, 2020 at 08:20:12PM +0200, Sam Ravnborg wrote: > Update the Atmel LCDC binding to include: > - pwm. Used for backlight > - endpoints using port node > Used for handle to panel > - Added wiring property that is used to describe > the wiring between the LCDC and the panel > > Exis

Re: [PATCH v2 03/36] dt-bindings: display: add te-gpios to panel-common

2020-04-14 Thread Rob Herring
On Wed, 8 Apr 2020 21:50:36 +0200, Sam Ravnborg wrote: > Several bindings specifies a "te-gpios" for tearing effect signal. > Add this to panel-common so we have a shared definition. > > Signed-off-by: Sam Ravnborg > Cc: Thierry Reding > Cc: Sam Ravnborg > --- > .../devicetree/bindings/displa

[PATCH v2] drm: Fix HDCP failures when SRM fw is missing

2020-04-14 Thread Sean Paul
From: Sean Paul The SRM cleanup in 79643fddd6eb2 ("drm/hdcp: optimizing the srm handling") inadvertently altered the behavior of HDCP auth when the SRM firmware is missing. Before that patch, missing SRM was interpreted as the device having no revoked keys. With that patch, if the SRM fw file is

Re: [PATCH v2 36/36] dt-bindings: display: move DSI panels to panel-simple-dsi

2020-04-14 Thread Rob Herring
On Wed, 8 Apr 2020 21:51:09 +0200, Sam Ravnborg wrote: > Tomi noticed that several DSI panels was wrongly > described in panel-simple.yaml. > Move them to panel-simple-dsi.yaml where they belong. > > Signed-off-by: Sam Ravnborg > Cc: Tomi Valkeinen > --- > .../bindings/display/panel/panel-simp

Re: [PATCH v2 35/36] dt-bindings: display: convert olimex,lcd-olinuxino to DT Schema

2020-04-14 Thread Rob Herring
On Wed, 8 Apr 2020 21:51:08 +0200, Sam Ravnborg wrote: > v2: > - use "ic2" node name in example (Rob) > > Signed-off-by: Sam Ravnborg > Cc: Rob Herring > Cc: Stefan Mavrodiev > Cc: Thierry Reding > Cc: Sam Ravnborg > --- > .../display/panel/olimex,lcd-olinuxino.txt| 42 --- >

Re: [PATCH v2 34/36] dt-bindings: display: convert lgphilips,lb035q02 to DT Schema

2020-04-14 Thread Rob Herring
On Wed, 8 Apr 2020 21:51:07 +0200, Sam Ravnborg wrote: > v2: > - drop use of spi-slave.yaml (Maxime) > - added unevaluatedProperties (maxime) > > Signed-off-by: Sam Ravnborg > Cc: Maxime Ripard > Cc: Tomi Valkeinen > Cc: Thierry Reding > Cc: Sam Ravnborg > --- > .../display/panel/lgphil

Re: [PATCH v2 33/36] dt-bindings: display: convert seiko,43wvf1g to DT Schema

2020-04-14 Thread Rob Herring
On Wed, 8 Apr 2020 21:51:06 +0200, Sam Ravnborg wrote: > Signed-off-by: Sam Ravnborg > Reviewed-by: Marco Franchi > Cc: Marco Franchi > Cc: Thierry Reding > Cc: Sam Ravnborg > --- > .../bindings/display/panel/seiko,43wvf1g.txt | 23 - > .../bindings/display/panel/seiko,43wvf1g.yaml

Re: [PATCH v2 32/36] dt-bindings: display: convert sharp, lq150x1lg11 to DT Schema

2020-04-14 Thread Rob Herring
On Wed, 8 Apr 2020 21:51:05 +0200, Sam Ravnborg wrote: > Signed-off-by: Sam Ravnborg > Cc: Peter Rosin > Cc: Thierry Reding > Cc: Sam Ravnborg > --- > .../display/panel/sharp,lq150x1lg11.txt | 36 > .../display/panel/sharp,lq150x1lg11.yaml | 58 +++ > 2

Re: [PATCH v2 31/36] dt-bindings: display: convert sharp, ls037v7dw01 to DT Schema

2020-04-14 Thread Rob Herring
On Wed, 8 Apr 2020 21:51:04 +0200, Sam Ravnborg wrote: > v2: > - Add min/maxItems to mode-gpios (Rob) > - Fix bug in description, mode is up to three gpios (Rob) > > Signed-off-by: Sam Ravnborg > Cc: Rob Herring > Cc: Tony Lindgren > Cc: Thierry Reding > Cc: Sam Ravnborg > --- > .../dis

Re: [PATCH v2 30/36] dt-bindings: display: convert sharp, lq101r1sx01 to DT Schema

2020-04-14 Thread Rob Herring
On Wed, Apr 08, 2020 at 09:51:03PM +0200, Sam Ravnborg wrote: > This binding describes a panel with a secondary channel. > > v2: > - add check for required properties if link2 is present (Rob) > > Signed-off-by: Sam Ravnborg > Cc: Rob Herring > Cc: Thierry Reding > Cc: Sam Ravnborg > --- >

Re: [PATCH 2/2] drm/panfrost: add devfreq regulator support

2020-04-14 Thread Mark Brown
On Tue, Apr 14, 2020 at 08:20:23PM +0200, Clément Péron wrote: > Hi Liam and Mark, You might want to flag stuff like this in the subject line, I very nearly deleted this without opening it since most of the email I get about panfrost appears to be coming from me having sent patches rather than bei

Re: [PATCH v2 29/36] dt-bindings: display: convert sharp, ls043t1le01 to DT Schema

2020-04-14 Thread Rob Herring
On Wed, 8 Apr 2020 21:51:02 +0200, Sam Ravnborg wrote: > The txt binding specified the property "power-supply". > But the example and the actual implementation in the linux-kernel > uses "avdd-supply". > So the binding is adjusted to use avdd-supply as this seems > to be the correct choice. > Ther

Re: [PATCH v2 28/36] dt-bindings: display: drop unused simple-panel.txt

2020-04-14 Thread Rob Herring
On Wed, 8 Apr 2020 21:51:01 +0200, Sam Ravnborg wrote: > There are no more references to simple-panel.txt. > Delete it. > > Signed-off-by: Sam Ravnborg > Cc: Thierry Reding > Cc: Sam Ravnborg > --- > Documentation/devicetree/bindings/display/panel/simple-panel.txt | 1 - > 1 file changed, 1 d

Re: [PATCH v2 27/36] dt-bindings: display: convert sitronix,st7789v to DT Schema

2020-04-14 Thread Rob Herring
On Wed, 8 Apr 2020 21:51:00 +0200, Sam Ravnborg wrote: > v2: > - dropped use of spi-slave.yaml (Maxime) > - added unevaluatedProperties (Maxime) > > Signed-off-by: Sam Ravnborg > Cc: Maxime Ripard > Cc: Thierry Reding > Cc: Sam Ravnborg > --- > .../display/panel/sitronix,st7789v.txt

Re: [PATCH v2 26/36] dt-bindings: display: convert sony, acx565akm to DT Schema

2020-04-14 Thread Rob Herring
On Wed, 8 Apr 2020 21:50:59 +0200, Sam Ravnborg wrote: > v2: > - drop use of spi-slave.yaml (Maxime) > - add unevaluatedProperties (Maxime) > - rename node in example to panel (Rob) > > Signed-off-by: Sam Ravnborg > Reviewed-by: Tomi Valkeinen > Cc: Tomi Valkeinen > Cc: Rob Herring > Cc

Re: [PATCH v2 25/36] dt-bindings: display: convert startek,startek-kd050c to DT Schema

2020-04-14 Thread Rob Herring
On Wed, 8 Apr 2020 21:50:58 +0200, Sam Ravnborg wrote: > Signed-off-by: Sam Ravnborg > Cc: Marek Belisko > Cc: Thierry Reding > Cc: Sam Ravnborg > --- > .../display/panel/startek,startek-kd050c.txt | 4 --- > .../display/panel/startek,startek-kd050c.yaml | 33 +++ > 2 files

Re: [PATCH v2 24/36] dt-bindings: display: convert toppoly panels to DT Schema

2020-04-14 Thread Rob Herring
On Wed, 8 Apr 2020 21:50:57 +0200, Sam Ravnborg wrote: > v2: > - dropped use of spi-slave.yaml (Maxime) > - added unevaluatedProperties (Maxime) > > Signed-off-by: Sam Ravnborg > Cc: Maxime Ripard > Cc: Marek Belisko > Cc: H. Nikolaus Schaller > Cc: Thierry Reding > Cc: Sam Ravnborg > -

Re: [PATCH v2 24/36] dt-bindings: display: convert toppoly panels to DT Schema

2020-04-14 Thread Rob Herring
On Thu, Apr 09, 2020 at 08:21:16AM +0200, H. Nikolaus Schaller wrote: > Hi Sam, > > > Am 08.04.2020 um 21:50 schrieb Sam Ravnborg : > > > > v2: > > - dropped use of spi-slave.yaml (Maxime) > > - added unevaluatedProperties (Maxime) > > > > Signed-off-by: Sam Ravnborg > > Cc: Maxime Ripard >

[PATCH] drm: Fix HDCP failures when SRM fw is missing

2020-04-14 Thread Sean Paul
From: Sean Paul The SRM cleanup in 79643fddd6eb2 ("drm/hdcp: optimizing the srm handling") inadvertently altered the behavior of HDCP auth when the SRM firmware is missing. Before that patch, missing SRM was interpreted as the device having no revoked keys. With that patch, if the SRM fw file is

Re: [RFC 0/6] Regressions for "imply" behavior change

2020-04-14 Thread Arnd Bergmann
On Tue, Apr 14, 2020 at 7:49 PM Saeed Mahameed wrote: > On Tue, 2020-04-14 at 17:25 +0200, Arnd Bergmann wrote: > > On Tue, Apr 14, 2020 at 5:23 PM Jason Gunthorpe wrote: > > Correct. > > > > Great ! > > Then bottom line we will change mlx5/Kconfig: to > > depends on VXLAN || !VXLAN Ok > This w

Re: [PATCH v2 23/36] dt-bindings: display: convert samsung,s6e8aa0 to DT Schema

2020-04-14 Thread Rob Herring
On Wed, Apr 08, 2020 at 09:50:56PM +0200, Sam Ravnborg wrote: > Signed-off-by: Sam Ravnborg > Cc: Andrzej Hajda > Cc: Thierry Reding > Cc: Sam Ravnborg > --- > .../display/panel/samsung,s6e8aa0.txt | 56 --- > .../display/panel/samsung,s6e8aa0.yaml| 96 +

Re: [PATCH v2 22/36] dt-bindings: display: convert samsung, ld9040 to DT Schema

2020-04-14 Thread Rob Herring
On Wed, 8 Apr 2020 21:50:55 +0200, Sam Ravnborg wrote: > v2: > - drop use of spi-slave.yaml (Maxime) > - added unevaluatedProperties (Maxime) > - added type to width/height properties (Rob) > > Signed-off-by: Sam Ravnborg > Cc: Maxime Ripard > Cc: Rob Herring > Cc: Andrzej Hajda > Cc: T

Re: [PATCH v2 21/36] dt-bindings: display: convert samsung,s6d16d0 to DT Schema

2020-04-14 Thread Rob Herring
On Wed, 8 Apr 2020 21:50:54 +0200, Sam Ravnborg wrote: > Signed-off-by: Sam Ravnborg > Reviewed-by: Linus Walleij > Cc: Linus Walleij > Cc: Thierry Reding > Cc: Sam Ravnborg > --- > .../display/panel/samsung,s6d16d0.txt | 30 -- > .../display/panel/samsung,s6d16d0.yaml

Re: [PATCH v2 20/36] dt-bindings: display: convert samsung AMOLED to DT Schema

2020-04-14 Thread Rob Herring
On Wed, 8 Apr 2020 21:50:53 +0200, Sam Ravnborg wrote: > For samsung there was two AMOLED panels with the same > description. > Collect them in one binding file. > > Signed-off-by: Sam Ravnborg > Cc: Hoegeun Kwon > Cc: Thierry Reding > Cc: Sam Ravnborg > --- > .../panel/samsung,amoled-mipi-d

Re: [PATCH v2 19/36] dt-bindings: display: convert rocktech,jh057n00900 to DT Schema

2020-04-14 Thread Rob Herring
On Wed, 8 Apr 2020 21:50:52 +0200, Sam Ravnborg wrote: > v2: > - Fix entry in MAINTAINERS > > Signed-off-by: Sam Ravnborg > Reviewed-by: Guido Günther > Cc: "Guido Günther" > Cc: Purism Kernel Team > Cc: Thierry Reding > Cc: Sam Ravnborg > --- > .../display/panel/rocktech,jh057n00900.txt

Re: [PATCH v2 18/36] dt-bindings: display: convert raydium,rm67191 to DT Schema

2020-04-14 Thread Rob Herring
On Wed, 8 Apr 2020 21:50:51 +0200, Sam Ravnborg wrote: > v2: > - Fix entry in MAINTAINERS > - Add reg number to node name (Rob) > > Signed-off-by: Sam Ravnborg > Cc: Rob Herring > Cc: Robert Chiras > Cc: Thierry Reding > Cc: Sam Ravnborg > --- > .../display/panel/raydium,rm67191.txt

Re: [PATCH v2 17/36] dt-bindings: display: convert osddisplays,osd101t2587-53ts to DT Schema

2020-04-14 Thread Rob Herring
On Wed, 8 Apr 2020 21:50:50 +0200, Sam Ravnborg wrote: > osddisplays,osd101t2587-53ts is compatible with panel-simple-dsi binding, > so list the compatible in the panel-simple-dsi binding file. > > v2: > - It is a DSI panel, move to -dsi binding (Tomi) > > Signed-off-by: Sam Ravnborg > Review

Re: [PATCH v2 16/36] dt-bindings: display: convert lg,lg4573 to DT Schema

2020-04-14 Thread Rob Herring
On Wed, 8 Apr 2020 21:50:49 +0200, Sam Ravnborg wrote: > v2: > - Dropped spi-slave (Maxime) > - Added unevaluatedProperties (Maxime) > - Deleted needless compatible from example (Rob) > > Signed-off-by: Sam Ravnborg > Reviewed-by: Heiko Schocher > Cc: Maxime Ripard > Cc: Rob Herring > C

Re: [PATCH v2 15/36] dt-bindings: display: convert simple lg panels to DT Schema

2020-04-14 Thread Rob Herring
On Wed, 8 Apr 2020 21:50:48 +0200, Sam Ravnborg wrote: > Add the lg panels that matches the panel-simple binding to > panel-simple.yaml > > Signed-off-by: Sam Ravnborg > Reviewed-by: Brian Masney > Cc: Brian Masney > Cc: Alexandre Courbot > Cc: Thierry Reding > Cc: Sam Ravnborg > --- > ...

Re: [PATCH v2 14/36] dt-bindings: display: convert kingdisplay,kd097d04 to DT Schema

2020-04-14 Thread Rob Herring
On Wed, 8 Apr 2020 21:50:47 +0200, Sam Ravnborg wrote: > kingdisplay,kd097d04 matches the panel-simple-dsi binding. > The only difference is that enable-gpios is now an optional > property. > > Signed-off-by: Sam Ravnborg > Cc: Nickey Yang > Cc: Thierry Reding > Cc: Sam Ravnborg > --- > .../

Re: [PATCH v2 13/36] dt-bindings: display: convert kingdisplay,kd035g6-54nt to DT Schema

2020-04-14 Thread Rob Herring
On Wed, 8 Apr 2020 21:50:46 +0200, Sam Ravnborg wrote: > v2: > - Drop use of spi-slave.yaml (Maxime) > - Introduce unevaluatedProperties (Maxime) > > Signed-off-by: Sam Ravnborg > Reviewed-by: Paul Cercueil > Cc: Maxime Ripard > Cc: Paul Cercueil > Cc: Thierry Reding > Cc: Sam Ravnborg

Re: [PATCH v2 12/36] dt-bindings: display: convert jdi,lt070me05000 to DT Schema

2020-04-14 Thread Rob Herring
On Wed, 8 Apr 2020 21:50:45 +0200, Sam Ravnborg wrote: > v2: > - drop address in dsi node in example (Rob) > > Signed-off-by: Sam Ravnborg > Reviewed-by: Vinay Simha BN > Cc: Rob Herring > Cc: Vinay Simha BN > Cc: Thierry Reding > Cc: Sam Ravnborg > --- > .../display/panel/jdi,lt070me050

Re: [PATCH v2 10/36] dt-bindings: display: convert innolux,p097pfg to DT Schema

2020-04-14 Thread Rob Herring
On Wed, 8 Apr 2020 21:50:43 +0200, Sam Ravnborg wrote: > Signed-off-by: Sam Ravnborg > Cc: Lin Huang > Cc: Thierry Reding > Cc: Sam Ravnborg > --- > .../display/panel/innolux,p097pfg.txt | 24 > .../display/panel/innolux,p097pfg.yaml| 56 +++ > 2 files

Re: [PATCH v2 11/36] dt-bindings: display: convert innolux,p120zdg-bf1 to DT Schema

2020-04-14 Thread Rob Herring
On Wed, 8 Apr 2020 21:50:44 +0200, Sam Ravnborg wrote: > Signed-off-by: Sam Ravnborg > Reviewed-by: Douglas Anderson > Cc: Douglas Anderson > Cc: Sandeep Panda > Cc: Thierry Reding > Cc: Sam Ravnborg > --- > .../display/panel/innolux,p120zdg-bf1.txt | 22 -- > .../display/panel/

Re: [PATCH v2 09/36] dt-bindings: display: convert innolux,p079zca to DT Schema

2020-04-14 Thread Rob Herring
On Wed, Apr 08, 2020 at 09:50:42PM +0200, Sam Ravnborg wrote: > As the binding matches panel-simple, added the compatible to the > panel-simple list. > With this change enable-gpios is now optional. But is a DSI panel, so it should be in panel-simple-dsi.yaml. > > Signed-off-by: Sam Ravnborg >

Re: [PATCH v2 08/36] dt-bindings: display: convert ilitek,ili9881c to DT Schema

2020-04-14 Thread Rob Herring
On Wed, 8 Apr 2020 21:50:41 +0200, Sam Ravnborg wrote: > Updating this binding identified an issue in the example in > the allwinner,sun6i-a31-mipi-dsi binding. > Fix the example so no new warnings are introduced. > > v2: > - fix example in allwinner,sun6i-a31-mipi-dsi (Rob) > > Signed-off-by:

Re: [PATCH v2 07/36] dt-bindings: display: convert ilitek, ili9322 to DT Schema

2020-04-14 Thread Rob Herring
On Wed, 8 Apr 2020 21:50:40 +0200, Sam Ravnborg wrote: > The .txt binding explains: > > " > The following optional properties only apply to > RGB and YUV input modes and > can be omitted for BT.656 input modes: > " > > This constraint is not implmented in the DT Schema. > > The orig

Re: [PATCH v2 06/36] dt-bindings: display: convert boe, himax8279d to DT Schema

2020-04-14 Thread Rob Herring
On Wed, Apr 08, 2020 at 09:50:39PM +0200, Sam Ravnborg wrote: > v2: > - Fix entry in MAINTAINERS > > Signed-off-by: Sam Ravnborg > Cc: Jerry Han > Cc: Thierry Reding > Cc: Sam Ravnborg > --- > .../bindings/display/panel/boe,himax8279d.txt | 24 > .../display/panel/boe,himax8279d.ya

Re: [PATCH v2 05/36] dt-bindings: display: convert arm,versatile-tft-panel to DT Schema

2020-04-14 Thread Rob Herring
On Wed, 8 Apr 2020 21:50:38 +0200, Sam Ravnborg wrote: > v2: > - Fix entry in MAINTAINERS > > Signed-off-by: Sam Ravnborg > Cc: Linus Walleij > Cc: Thierry Reding > Cc: Sam Ravnborg > --- > .../display/panel/arm,versatile-tft-panel.txt | 31 --- > .../panel/arm,versatile-tft-panel.

Re: [PATCH v2 04/36] dt-bindings: display: convert samsung,s6e63m0 to DT Schema

2020-04-14 Thread Rob Herring
On Wed, 8 Apr 2020 21:50:37 +0200, Sam Ravnborg wrote: > The binding for this panel is a SPI slave. > > v2: > - Drop use of spi-slave (Maxime) > - Introude unevaluatedProperties (Maxime) > - Drop reg entry in example (Rob) > > Signed-off-by: Sam Ravnborg > Cc: Maxime Ripard > Cc: Rob Her

Re: [PATCH v2 02/36] dt-bindings: display: look for dsi* nodes in dsi-controller

2020-04-14 Thread Rob Herring
On Wed, 8 Apr 2020 21:50:35 +0200, Sam Ravnborg wrote: > Rob wrote: > > Uhhh, it's looking for dsi-controller(@.*)? which is not the common > case found in dts files. We should fix that to dsi(@.*)?. > > See: https://lore.kernel.org/dri-devel/2020031903.GK29911@bogus/ > > Fix it. >

Re: [PATCH v2 2/2] dt-bindings: Document the Synopsys ARC HDMI TX bindings

2020-04-14 Thread Sam Ravnborg
Hi Eugeniy. On Tue, Apr 14, 2020 at 05:44:02PM +0300, Eugeniy Paltsev wrote: > This patch adds documentation of device tree bindings for the Synopsys > HDMI 2.0 TX encoder driver for ARC SoCs. > > Signed-off-by: Eugeniy Paltsev Acked-by: Sam Ravnborg with a few nits addressed. As already ment

Re: [PATCH 1/9] drm/vblank: Add vblank works

2020-04-14 Thread Tejun Heo
Hello, On Tue, Apr 14, 2020 at 12:52:51PM -0400, Lyude Paul wrote: > Hi, thanks for the response! And yes-I think this would actually be perfect > for what we need, I guess one question I might as well ask since I've got you > here: would patches to expose an unlocked version of kthread_queue_work

Re: [PATCH] Optimized division operation to shift operation

2020-04-14 Thread Alex Deucher
On Tue, Apr 14, 2020 at 9:05 AM Bernard Zhao wrote: > > On some processors, the / operate will call the compiler`s div lib, > which is low efficient, We can replace the / operation with shift, > so that we can replace the call of the division library with one > shift assembly instruction. > > Sign

Re: [PATCH v2 1/2] DRM: ARC: add HDMI 2.0 TX encoder support

2020-04-14 Thread Sam Ravnborg
Hi Eugeniy. On Tue, Apr 14, 2020 at 05:44:01PM +0300, Eugeniy Paltsev wrote: > The Synopsys ARC SoCs (like HSDK4xD) include on-chip DesignWare HDMI > encoders. Support them with a platform driver to provide platform glue > data to the dw-hdmi driver. Drivers looks lean and clean. Acked-by: Sam R

Re: [PATCH v2] dt-bindings: display: convert rockchip rk3066 hdmi bindings to yaml

2020-04-14 Thread Rob Herring
On Fri, 3 Apr 2020 15:36:30 +0200, Johan Jonker wrote: > Current dts files with 'hdmi' nodes for rk3066 are manually verified. > In order to automate this process rockchip,rk3066-hdmi.txt > has to be converted to yaml. > > Signed-off-by: Johan Jonker > --- > Changes v2: > Fix irq.h already inc

Re: [PATCH v14 2/3] dt-bindings: display: mediatek: convert the document format from txt to yaml

2020-04-14 Thread Rob Herring
On Fri, Apr 03, 2020 at 04:03:49PM +0800, Jitao Shi wrote: > Signed-off-by: Jitao Shi > --- > .../display/mediatek/mediatek,dpi.txt | 42 > .../display/mediatek/mediatek,dpi.yaml| 97 +++ > 2 files changed, 97 insertions(+), 42 deletions(-) > delete mode

Re: [PATCH v14 1/3] dt-bindings: display: mediatek: control dpi pins mode to avoid leakage

2020-04-14 Thread Rob Herring
On Fri, 3 Apr 2020 16:03:48 +0800, Jitao Shi wrote: > Add property "pinctrl-names" to swap pin mode between gpio and dpi mode. Set > the dpi pins to gpio mode and output-low to avoid leakage current when dpi > disabled. > > Signed-off-by: Jitao Shi > --- > .../devicetree/bindings/display/mediate

Re: [PATCH 1/9] drm/vblank: Add vblank works

2020-04-14 Thread Lyude Paul
On Mon, 2020-04-13 at 16:42 -0400, Tejun Heo wrote: > Hello, > > On Mon, Apr 13, 2020 at 04:18:57PM -0400, Lyude Paul wrote: > > Hi Tejun! Sorry to bother you, but have you had a chance to look at any of > > this yet? Would like to continue moving this forward > > Sorry, wasn't following this thr

[PATCH v2 11/33] docs: filesystems: fix renamed references

2020-04-14 Thread Mauro Carvalho Chehab
Some filesystem references got broken by a previous patch series I submitted. Address those. Signed-off-by: Mauro Carvalho Chehab Acked-by: David Sterba # fs/affs/Kconfig --- Documentation/ABI/stable/sysfs-devices-node | 2 +- Documentation/ABI/testing/procfs-smaps_rollup

[PATCH v2 00/33] Documentation fixes for Kernel 5.8

2020-04-14 Thread Mauro Carvalho Chehab
Patches 1 to 5 contain changes to the documentation toolset: - The first 3 patches help to reduce a lot the number of reported kernel-doc issues, by making the tool more smart. - Patches 4 and 5 are meant to partially address the PDF build, with now requires Sphinx version 2.4 or upper. The

[PATCH v2 09/33] docs: fix broken references to text files

2020-04-14 Thread Mauro Carvalho Chehab
Several references got broken due to txt to ReST conversion. Several of them can be automatically fixed with: scripts/documentation-file-ref-check --fix Reviewed-by: Mathieu Poirier # hwtracing/coresight/Kconfig Reviewed-by: Paul E. McKenney # memory-barrier.txt Acked-by: Alex Shi #

Re: [PATCH 03/44] drm/device: Deprecate dev_private harder

2020-04-14 Thread Daniel Vetter
On Wed, Apr 08, 2020 at 09:02:07AM +0200, Sam Ravnborg wrote: > On Fri, Apr 03, 2020 at 03:57:47PM +0200, Daniel Vetter wrote: > > We've had lots of conversions to embeddeding, but didn't stop using > > ->dev_private. Which defeats the point of this. > > > > Signed-off-by: Daniel Vetter > Reviewe

Re: [PATCH 09/44] drm/vboxvidoe: use managed pci functions

2020-04-14 Thread Daniel Vetter
On Wed, Apr 08, 2020 at 09:21:46AM +0200, Sam Ravnborg wrote: > On Fri, Apr 03, 2020 at 03:57:53PM +0200, Daniel Vetter wrote: > > Allows us to drop the cleanup code on the floor. > > > > Signed-off-by: Daniel Vetter > > Cc: Hans de Goede > > With this change we avoid calling pci_disable_device

Re: [PATCH v2 1/1] dt-bindings: display: allow port and ports in panel-lvds

2020-04-14 Thread Sam Ravnborg
Hi Rob. > > Cc: Thierry Reding > > Cc: dri-devel@lists.freedesktop.org > > --- > > .../devicetree/bindings/display/panel/lvds.yaml| 10 +- > > 1 file changed, 9 insertions(+), 1 deletion(-) > > Reviewed-by: Rob Herring > > One nit below... > > > > > diff --git a/Documentatio

Re: [RFC 4/6] drm/bridge/sii8620: fix extcon dependency

2020-04-14 Thread Daniel Vetter
On Tue, Apr 14, 2020 at 5:05 PM Arnd Bergmann wrote: > > On Fri, Apr 10, 2020 at 8:56 AM Andrzej Hajda wrote: > > > > > > On 08.04.2020 22:27, Arnd Bergmann wrote: > > > Using 'imply' does not work here, it still cause the same build > > > failure: > > > > > > arm-linux-gnueabi-ld: drivers/gpu/dr

Re: [RFC 0/6] Regressions for "imply" behavior change

2020-04-14 Thread Arnd Bergmann
On Tue, Apr 14, 2020 at 5:23 PM Jason Gunthorpe wrote: > > On Tue, Apr 14, 2020 at 04:27:41PM +0200, Arnd Bergmann wrote: > > On Tue, Apr 14, 2020 at 3:29 PM Jason Gunthorpe wrote: > > > On Fri, Apr 10, 2020 at 07:04:27PM +, Saeed Mahameed wrote: > > which in turn leads to mlx5_core.ko *not*

[PATCH v6 3/8] drm: bridge: synopsis: add dsi v1.01 support

2020-04-14 Thread Adrian Ratiu
The Synopsis MIPI DSI v1.01 host controller is quite widely used on platforms like i.mx6 and is not very different from the other versions like the 1.31/1.30 used on rockchip/stm. The protocols appear to be the same, only the register layout is different and the newer versions have new features sym

[PATCH v6 6/8] drm: stm: dw-mipi-dsi: let the bridge handle the HW version check

2020-04-14 Thread Adrian Ratiu
The stm mipi-dsi platform driver added a version test in commit fa6251a747b7 ("drm/stm: dsi: check hardware version") so that HW revisions other than v1.3x get rejected. The rockchip driver had no such check and just assumed register layouts are v1.3x compatible. Having such tests was a good idea

[PATCH v6 4/8] drm: imx: Add i.MX 6 MIPI DSI host platform driver

2020-04-14 Thread Adrian Ratiu
This adds support for the Synopsis DesignWare MIPI DSI v1.01 host controller which is embedded in i.MX 6 SoCs. Based on following patches, but updated/extended to work with existing support found in the kernel: - drm: imx: Support Synopsys DesignWare MIPI DSI host controller Signed-off-by: Liu

[PATCH v6 7/8] drm: bridge: dw-mipi-dsi: split low power cfg register into fields

2020-04-14 Thread Adrian Ratiu
According to the Host Registers documentation for IMX, STM and RK the LP cfg register should not be written entirely in one go because some bits are reserved and should be kept to reset values, for eg. BIT(15) which is reserved in all versions. This also cleans up the code by removing the the ugly

[PATCH v6 0/8] Genericize DW MIPI DSI bridge and add i.MX 6 driver

2020-04-14 Thread Adrian Ratiu
have been addressed and this series should apply cleanly on latest next-20200414 tree. Tested on imx6dl, stm32mp1 and stm32f7. Best wishes, Adrian Adrian Ratiu (8): drm: bridge: dw_mipi_dsi: add initial regmap infrastructure drm: bridge: dw_mipi_dsi: abstract register access using reg_fields

[PATCH v6 8/8] drm: bridge: dw-mipi-dsi: fix bad register field offsets

2020-04-14 Thread Adrian Ratiu
According to the DSI Host Registers sections available in the IMX, STM and RK ref manuals for 1.01, 1.30 and 1.31, the register fields are smaller or bigger than what's coded in the driver, leading to r/w in reserved spaces which might cause undefined behaviours. Tested-by: Adrian Pop Tested-by:

[PATCH v6 1/8] drm: bridge: dw_mipi_dsi: add initial regmap infrastructure

2020-04-14 Thread Adrian Ratiu
In order to support multiple versions of the Synopsis MIPI DSI host controller, which have different register layouts but almost identical HW protocols, we add a regmap infrastructure which can abstract away register accesses for platform drivers using the bridge. The controller HW revision is det

[PATCH v6 5/8] dt-bindings: display: add i.MX6 MIPI DSI host controller doc

2020-04-14 Thread Adrian Ratiu
This provides an example DT binding for the MIPI DSI host controller present on the i.MX6 SoC based on Synopsis DesignWare v1.01 IP. Cc: Rob Herring Cc: Neil Armstrong Cc: Fabio Estevam Cc: devicet...@vger.kernel.org Tested-by: Adrian Pop Tested-by: Arnaud Ferraris Signed-off-by: Sjoerd Simon

[PATCH v6 2/8] drm: bridge: dw_mipi_dsi: abstract register access using reg_fields

2020-04-14 Thread Adrian Ratiu
Register existence, address/offsets, field layouts, reserved bits and so on differ between MIPI-DSI versions and between SoC vendor boards. Despite these differences the hw IP and protocols are mostly the same so the generic bridge can be made to compensate these differences. The current Rockchip

  1   2   3   >