[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180409183713.xk7qt4mukb24vr64@rob-hp-laptop>
Date: Mon, 9 Apr 2018 13:37:13 -0500
From: Rob Herring <robh@...nel.org>
To: Peter Rosin <peda@...ntia.se>
Cc: linux-kernel@...r.kernel.org, David Airlie <airlied@...ux.ie>,
Mark Rutland <mark.rutland@....com>,
Boris Brezillon <boris.brezillon@...e-electrons.com>,
Nicolas Ferre <nicolas.ferre@...rochip.com>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Archit Taneja <architt@...eaurora.org>,
Andrzej Hajda <a.hajda@...sung.com>,
Laurent Pinchart <Laurent.pinchart@...asonboard.com>,
Daniel Vetter <daniel.vetter@...el.com>,
Gustavo Padovan <gustavo@...ovan.org>,
Sean Paul <seanpaul@...omium.org>,
Jacopo Mondi <jacopo@...ndi.org>,
dri-devel@...ts.freedesktop.org, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v2 4/5] drm: bridge: lvds-encoder: allow specifying the
input bus format
On Mon, Mar 26, 2018 at 11:24:46PM +0200, Peter Rosin wrote:
> If the bridge changes the bus format, allow this to be described in
> the bridge, instead of providing false information about the bus
> format of the connector or panel.
I guess this is dead, but I'll comment here anyway because this issue
has come up several times and I think something is needed.
>
> Signed-off-by: Peter Rosin <peda@...ntia.se>
> ---
> .../bindings/display/bridge/lvds-transmitter.txt | 6 ++++++
> drivers/gpu/drm/bridge/lvds-encoder.c | 25 ++++++++++++++++++++++
> 2 files changed, 31 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/display/bridge/lvds-transmitter.txt b/Documentation/devicetree/bindings/display/bridge/lvds-transmitter.txt
> index 50220190c203..8d40a2069252 100644
> --- a/Documentation/devicetree/bindings/display/bridge/lvds-transmitter.txt
> +++ b/Documentation/devicetree/bindings/display/bridge/lvds-transmitter.txt
> @@ -30,6 +30,12 @@ Required properties:
> device-specific version corresponding to the device first
> followed by the generic version.
>
> +Optional properties:
> +
> +- interface-pix-fmt:
> + List of valid input bus formats of the encoder. Recognized bus formats
> + are listed in ../bus-format.txt
We already have bus interface properties defined in
media/video-interfaces.txt. It's the same problem though the bus/pixel
formats are somewhat different. "bus-width" is probably enough to handle
your particular case, but I'd imagine that could easily not be the case.
If so, we should extend the existing binding rather than diverge with
something new.
Rob
Powered by blists - more mailing lists