Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1340825

Re: [PATCH] [media] tvp5150: remove signal generator as input from the DT binding

From Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Newsgroups linux.kernel
Subject Re: [PATCH] [media] tvp5150: remove signal generator as input from the DT binding
Date 2016-02-23 17:20 +0100
Message-ID <r5nQS-7QI-15@gated-at.bofh.it> (permalink)
References <r5nQS-7QI-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Javier,

On Tuesday 23 February 2016 13:09:58 Javier Martinez Canillas wrote:
> The chip internal signal generator was modelled as an input connector
> and represented as a media entity but isn't really a connector so the
> driver was changed to use the V4L2_CID_TEST_PATTERN control instead.
> 
> Remove the signal generator input from the list of connectors in the
> tvp5150 DT binding document as well since isn't a connector anymore.
> 
> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
> 
> ---
> Hello,
> 
> I think is OK to change this DT binding because is only in the media tree
> for now and not in mainline yet and also is expected to change more since
> there are still discussions about how input connectors will be supported
> by the Media Controller framework in the media subsystem.

I think that's fine, yes

Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

I haven't noticed the patch that introduced this early enough I'm afraid, and 
I think we still have issues with those bindings.

The tvp5150 node should *not* contain connector subnodes, the connectors nodes 
should use the bindings defined in 
Documentation/devicetree/bindings/display/connector/ and be linked to the 
tvp5150 node using the OF graph bindings (ports and endpoints).

Do you think you could fix that ?

>  Documentation/devicetree/bindings/media/i2c/tvp5150.txt | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/media/i2c/tvp5150.txt
> b/Documentation/devicetree/bindings/media/i2c/tvp5150.txt index
> daa20e43a8e3..d13f8b8e235d 100644
> --- a/Documentation/devicetree/bindings/media/i2c/tvp5150.txt
> +++ b/Documentation/devicetree/bindings/media/i2c/tvp5150.txt
> @@ -30,9 +30,6 @@ The possible values for the "input" property are:
>  	1: Composite1
>  	2: S-Video
> 
> -and on a tvp5150am1 and tvp5151 there is another:
> -	4: Signal generator
> -
>  The list of valid input connectors are defined in
> dt-bindings/media/tvp5150.h header file and can be included by device tree
> source files.

-- 
Regards,

Laurent Pinchart

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH] [media] tvp5150: remove signal generator as input from the DT binding Laurent Pinchart <laurent.pinchart@ideasonboard.com> - 2016-02-23 17:20 +0100
  Re: [PATCH] [media] tvp5150: remove signal generator as input from  the DT binding Javier Martinez Canillas <javier@osg.samsung.com> - 2016-02-23 17:30 +0100
    Re: [PATCH] [media] tvp5150: remove signal generator as input from the DT binding Laurent Pinchart <laurent.pinchart@ideasonboard.com> - 2016-02-23 19:10 +0100
      Re: [PATCH] [media] tvp5150: remove signal generator as input from the DT binding Laurent Pinchart <laurent.pinchart@ideasonboard.com> - 2016-02-23 19:30 +0100
        Re: [PATCH] [media] tvp5150: remove signal generator as input from  the DT binding Javier Martinez Canillas <javier@osg.samsung.com> - 2016-02-23 19:40 +0100
        Re: [PATCH] [media] tvp5150: remove signal generator as input from  the DT binding Rob Herring <robh@kernel.org> - 2016-02-24 00:40 +0100
      Re: [PATCH] [media] tvp5150: remove signal generator as input from  the DT binding Javier Martinez Canillas <javier@osg.samsung.com> - 2016-02-23 19:30 +0100

csiph-web