Message ID | 1460500973-9066-2-git-send-email-javier@osg.samsung.com (mailing list archive) |
---|---|
State | RFC, archived |
Headers |
Received: from mail.tu-berlin.de ([130.149.7.33]) by www.linuxtv.org with esmtp (Exim 4.84_2) (envelope-from <linux-media-owner@vger.kernel.org>) id 1aq72Q-0000oG-HD; Tue, 12 Apr 2016 22:44:02 +0000 X-tubIT-Incoming-IP: 209.132.180.67 Received: from vger.kernel.org ([209.132.180.67]) by mail.tu-berlin.de (exim-4.76/mailfrontend-8) with esmtp id 1aq72O-0007D8-jX; Wed, 13 Apr 2016 00:44:02 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757149AbcDLWnc (ORCPT <rfc822;mkrufky@linuxtv.org> + 1 other); Tue, 12 Apr 2016 18:43:32 -0400 Received: from lists.s-osg.org ([54.187.51.154]:49338 "EHLO lists.s-osg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756895AbcDLWnb (ORCPT <rfc822;linux-media@vger.kernel.org>); Tue, 12 Apr 2016 18:43:31 -0400 Received: from localhost.localdomain.com (unknown [162.246.216.28]) by lists.s-osg.org (Postfix) with ESMTPSA id 93FFBE279A; Tue, 12 Apr 2016 22:43:22 +0000 (UTC) From: Javier Martinez Canillas <javier@osg.samsung.com> To: linux-kernel@vger.kernel.org Cc: Mauro Carvalho Chehab <mchehab@osg.samsung.com>, Shuah Khan <shuahkh@osg.samsung.com>, Sakari Ailus <sakari.ailus@linux.intel.com>, Laurent Pinchart <laurent.pinchart@ideasonboard.com>, Hans Verkuil <hans.verkuil@cisco.com>, linux-media@vger.kernel.org, Javier Martinez Canillas <javier@osg.samsung.com> Subject: [RFC PATCH v2 1/2] [media] tvp5150: Add input connectors DT bindings Date: Tue, 12 Apr 2016 18:42:52 -0400 Message-Id: <1460500973-9066-2-git-send-email-javier@osg.samsung.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1460500973-9066-1-git-send-email-javier@osg.samsung.com> References: <1460500973-9066-1-git-send-email-javier@osg.samsung.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: <linux-media.vger.kernel.org> X-Mailing-List: linux-media@vger.kernel.org X-PMX-Version: 6.0.0.2142326, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2016.4.12.223316 X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' MULTIPLE_RCPTS 0.1, HTML_00_01 0.05, HTML_00_10 0.05, BODY_SIZE_3000_3999 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, CHILD_EX_X3 0, DATE_TZ_NA 0, FROM_NAME_PHRASE 0, NO_URI_HTTPS 0, REFERENCES 0, SINGLE_URI_IN_BODY 0, URI_ENDS_IN_HTML 0, __ANY_URI 0, __CP_MEDIA_BODY 0, __CP_NAME_BODY 0, __CP_URI_IN_BODY 0, __HAS_FROM 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __HAS_X_MAILING_LIST 0, __IN_REP_TO 0, __MIME_TEXT_ONLY 0, __MULTIPLE_RCPTS_CC_X2 0, __REFERENCES 0, __SANE_MSGID 0, __SINGLE_URI_TEXT 0, __SUBJ_ALPHA_END 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_IN_BODY 0, __URI_NO_WWW 0, __URI_NS , __URI_WITH_PATH 0' |
Commit Message
Javier Martinez Canillas
April 12, 2016, 10:42 p.m. UTC
The tvp5150 and tvp5151 decoders support different video input source
connections to their AIP1A and AIP1B pins. Either two Composite or a
S-Video input signals are supported.
The possible configurations are as follows:
- Analog Composite signal connected to AIP1A.
- Analog Composite signal connected to AIP1B.
- Analog S-Video Y (luminance) and C (chrominance)
signals connected to AIP1A and AIP1B respectively.
This patch extends the Device Tree binding documentation to describe
how the input connectors for these devices should be defined in a DT.
Suggested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
---
Hello,
The DT binding assumes that there is a 1:1 map between physical connectors
and connections, so there will be a connector described in the DT for each
connection.
There is also the question about how the DT bindings will be extended to
support other attributes (color/position/group) using the properties API.
But I believe that can be done as a follow-up, once the properties API is
in mainline.
Best regards,
Javier
Changes in v2:
- Remove from the changelog a mention of devices that multiplex the
physical RCA connectors to be used for the S-Video Y and C signals
since it's a special case and it doesn't really work on the IGEPv2.
.../devicetree/bindings/media/i2c/tvp5150.txt | 59 ++++++++++++++++++++++
1 file changed, 59 insertions(+)
Comments
Hi Javier, Thank you for the patch. On Tuesday 12 Apr 2016 18:42:52 Javier Martinez Canillas wrote: > The tvp5150 and tvp5151 decoders support different video input source > connections to their AIP1A and AIP1B pins. Either two Composite or a > S-Video input signals are supported. > > The possible configurations are as follows: > > - Analog Composite signal connected to AIP1A. > - Analog Composite signal connected to AIP1B. > - Analog S-Video Y (luminance) and C (chrominance) > signals connected to AIP1A and AIP1B respectively. > > This patch extends the Device Tree binding documentation to describe > how the input connectors for these devices should be defined in a DT. > > Suggested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> > > --- > Hello, > > The DT binding assumes that there is a 1:1 map between physical connectors > and connections, so there will be a connector described in the DT for each > connection. > > There is also the question about how the DT bindings will be extended to > support other attributes (color/position/group) using the properties API. I foresee lots of bikeshedding on that particular topic, but I don't think it will be a blocker. We need a volunteer to quickstart a discussion on the devicetree (or possible devicetree-spec) mailing list :-) > But I believe that can be done as a follow-up, once the properties API is > in mainline. > > Best regards, > Javier > > Changes in v2: > - Remove from the changelog a mention of devices that multiplex the > physical RCA connectors to be used for the S-Video Y and C signals > since it's a special case and it doesn't really work on the IGEPv2. > > .../devicetree/bindings/media/i2c/tvp5150.txt | 59 +++++++++++++++++++ > 1 file changed, 59 insertions(+) > : > diff --git a/Documentation/devicetree/bindings/media/i2c/tvp5150.txt > b/Documentation/devicetree/bindings/media/i2c/tvp5150.txt index > 8c0fc1a26bf0..df555650b0b4 100644 > --- a/Documentation/devicetree/bindings/media/i2c/tvp5150.txt > +++ b/Documentation/devicetree/bindings/media/i2c/tvp5150.txt > @@ -26,8 +26,46 @@ Required Endpoint Properties for parallel > synchronization: If none of hsync-active, vsync-active and > field-even-active is specified, the endpoint is assumed to use embedded > BT.656 synchronization. > > +-Optional nodes: > +- connectors: The list of tvp5150 input connectors available on a given > + board. The node should contain a child 'port' node for each connector. I had understood this as meaning that connectors should be fully described in the connectors subnode, until I read through the whole patch and saw that dedicated DT nodes are needed for the connectors. I thus believe the paragraph should be reworded to avoid the ambiguity. This being said, why do you need a connectors subnode ? Can't we just add the port nodes for the input ports directly in the tvp5150 node (or possibly in a ports subnode, as defined in the OF graph bindings). > + The tvp5150 has support for three possible connectors: 2 Composite and > + 1 S-video. The "reg" property is used to specify which input connector > + is associated with each 'port', using the following possible values: > + > + 0: Composite0 > + 1: Composite1 > + 2: S-Video > + > + The ports should have an endpoint subnode that is linked to a connector > + node defined in Documentation/devicetree/bindings/display/connector/. > + The linked connector compatible string should match the connector type. > + > Example: > > +composite0: connector@0 { > + compatible = "composite-video-connector"; > + label = "Composite0"; > + > + port { > + comp0_out: endpoint { > + remote-endpoint = <&tvp5150_comp0_in>; > + }; > + }; > +}; > + > +svideo: connector@1 { > + compatible = "composite-video-connector"; > + label = "S-Video"; > + > + port { > + svideo_out: endpoint { > + remote-endpoint = <&tvp5150_svideo_in>; > + }; > + }; > +}; > + > &i2c2 { > ... > tvp5150@5c { > @@ -36,6 +74,27 @@ Example: > pdn-gpios = <&gpio4 30 GPIO_ACTIVE_LOW>; > reset-gpios = <&gpio6 7 GPIO_ACTIVE_LOW>; > > + connectors { > + #address-cells = <1>; > + #size-cells = <0>; > + > + /* Composite0 input */ > + port@0 { > + reg = <0>; > + tvp5150_comp0_in: endpoint { > + remote-endpoint = <&comp0_out>; > + }; > + }; > + > + /* S-Video input */ > + port@2 { > + reg = <2>; > + tvp5150_svideo_in: endpoint { > + remote-endpoint = <&svideo_out>; > + }; > + }; > + }; > + > port { > tvp5150_1: endpoint { > remote-endpoint = <&ccdc_ep>;
Hello Laurent, Thanks a lot for your feedback. On 04/27/2016 10:29 AM, Laurent Pinchart wrote: > Hi Javier, > > Thank you for the patch. > > On Tuesday 12 Apr 2016 18:42:52 Javier Martinez Canillas wrote: >> The tvp5150 and tvp5151 decoders support different video input source >> connections to their AIP1A and AIP1B pins. Either two Composite or a >> S-Video input signals are supported. >> >> The possible configurations are as follows: >> >> - Analog Composite signal connected to AIP1A. >> - Analog Composite signal connected to AIP1B. >> - Analog S-Video Y (luminance) and C (chrominance) >> signals connected to AIP1A and AIP1B respectively. >> >> This patch extends the Device Tree binding documentation to describe >> how the input connectors for these devices should be defined in a DT. >> >> Suggested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> >> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> >> >> --- >> Hello, >> >> The DT binding assumes that there is a 1:1 map between physical connectors >> and connections, so there will be a connector described in the DT for each >> connection. >> >> There is also the question about how the DT bindings will be extended to >> support other attributes (color/position/group) using the properties API. > > I foresee lots of bikeshedding on that particular topic, but I don't think it > will be a blocker. We need a volunteer to quickstart a discussion on the > devicetree (or possible devicetree-spec) mailing list :-) > Yes, I plan to extend this binding once we have the properties API in mainline but that can be done as a follow-up since it should just be more properties on top of compatible, label and port that will be supported in the meantime. >> But I believe that can be done as a follow-up, once the properties API is >> in mainline. >> >> Best regards, >> Javier >> >> Changes in v2: >> - Remove from the changelog a mention of devices that multiplex the >> physical RCA connectors to be used for the S-Video Y and C signals >> since it's a special case and it doesn't really work on the IGEPv2. >> >> .../devicetree/bindings/media/i2c/tvp5150.txt | 59 +++++++++++++++++++ >> 1 file changed, 59 insertions(+) >> : >> diff --git a/Documentation/devicetree/bindings/media/i2c/tvp5150.txt >> b/Documentation/devicetree/bindings/media/i2c/tvp5150.txt index >> 8c0fc1a26bf0..df555650b0b4 100644 >> --- a/Documentation/devicetree/bindings/media/i2c/tvp5150.txt >> +++ b/Documentation/devicetree/bindings/media/i2c/tvp5150.txt >> @@ -26,8 +26,46 @@ Required Endpoint Properties for parallel >> synchronization: If none of hsync-active, vsync-active and >> field-even-active is specified, the endpoint is assumed to use embedded >> BT.656 synchronization. >> >> +-Optional nodes: >> +- connectors: The list of tvp5150 input connectors available on a given >> + board. The node should contain a child 'port' node for each connector. > > I had understood this as meaning that connectors should be fully described in > the connectors subnode, until I read through the whole patch and saw that > dedicated DT nodes are needed for the connectors. I thus believe the paragraph > should be reworded to avoid the ambiguity. > I see what you mean, OK I'll make it clear that this only is the list of ports and that connectors should be described somewhere else (i.e: the root node). > This being said, why do you need a connectors subnode ? Can't we just add the > port nodes for the input ports directly in the tvp5150 node (or possibly in a > ports subnode, as defined in the OF graph bindings). > Yes we could, I went with a "connectors" subnode because the video decoders will have another port node to point to the bridge device node endpoint. So I thought it could be more clear to make a distinction between those ports. We can go with the "ports" subnode instead of "connectors" but then again it could be confusing to differentiate between bridge and connectors ports both for users writing/reading DTS and the drivers parsing the DT. I used as an inspiration the regulators binding where regulators are usually described under a "regulators" subnode. Best regards,
This old mail came up in a discussion today so let me comment on this: On 04/27/2016 09:12 PM, Javier Martinez Canillas wrote: > Hello Laurent, > > Thanks a lot for your feedback. > > On 04/27/2016 10:29 AM, Laurent Pinchart wrote: >> Hi Javier, >> >> Thank you for the patch. >> >> On Tuesday 12 Apr 2016 18:42:52 Javier Martinez Canillas wrote: >>> The tvp5150 and tvp5151 decoders support different video input source >>> connections to their AIP1A and AIP1B pins. Either two Composite or a >>> S-Video input signals are supported. >>> >>> The possible configurations are as follows: >>> >>> - Analog Composite signal connected to AIP1A. >>> - Analog Composite signal connected to AIP1B. >>> - Analog S-Video Y (luminance) and C (chrominance) >>> signals connected to AIP1A and AIP1B respectively. >>> >>> This patch extends the Device Tree binding documentation to describe >>> how the input connectors for these devices should be defined in a DT. >>> >>> Suggested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> >>> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> >>> >>> --- >>> Hello, >>> >>> The DT binding assumes that there is a 1:1 map between physical connectors >>> and connections, so there will be a connector described in the DT for each >>> connection. >>> >>> There is also the question about how the DT bindings will be extended to >>> support other attributes (color/position/group) using the properties API. >> >> I foresee lots of bikeshedding on that particular topic, but I don't think it >> will be a blocker. We need a volunteer to quickstart a discussion on the >> devicetree (or possible devicetree-spec) mailing list :-) >> > > Yes, I plan to extend this binding once we have the properties API in mainline > but that can be done as a follow-up since it should just be more properties on > top of compatible, label and port that will be supported in the meantime. > >>> But I believe that can be done as a follow-up, once the properties API is >>> in mainline. >>> >>> Best regards, >>> Javier >>> >>> Changes in v2: >>> - Remove from the changelog a mention of devices that multiplex the >>> physical RCA connectors to be used for the S-Video Y and C signals >>> since it's a special case and it doesn't really work on the IGEPv2. >>> >>> .../devicetree/bindings/media/i2c/tvp5150.txt | 59 +++++++++++++++++++ >>> 1 file changed, 59 insertions(+) >>> : >>> diff --git a/Documentation/devicetree/bindings/media/i2c/tvp5150.txt >>> b/Documentation/devicetree/bindings/media/i2c/tvp5150.txt index >>> 8c0fc1a26bf0..df555650b0b4 100644 >>> --- a/Documentation/devicetree/bindings/media/i2c/tvp5150.txt >>> +++ b/Documentation/devicetree/bindings/media/i2c/tvp5150.txt >>> @@ -26,8 +26,46 @@ Required Endpoint Properties for parallel >>> synchronization: If none of hsync-active, vsync-active and >>> field-even-active is specified, the endpoint is assumed to use embedded >>> BT.656 synchronization. >>> >>> +-Optional nodes: >>> +- connectors: The list of tvp5150 input connectors available on a given >>> + board. The node should contain a child 'port' node for each connector. >> >> I had understood this as meaning that connectors should be fully described in >> the connectors subnode, until I read through the whole patch and saw that >> dedicated DT nodes are needed for the connectors. I thus believe the paragraph >> should be reworded to avoid the ambiguity. >> > > I see what you mean, OK I'll make it clear that this only is the list of ports > and that connectors should be described somewhere else (i.e: the root node). > >> This being said, why do you need a connectors subnode ? Can't we just add the >> port nodes for the input ports directly in the tvp5150 node (or possibly in a >> ports subnode, as defined in the OF graph bindings). >> > > Yes we could, I went with a "connectors" subnode because the video decoders > will have another port node to point to the bridge device node endpoint. So > I thought it could be more clear to make a distinction between those ports. > > We can go with the "ports" subnode instead of "connectors" but then again it > could be confusing to differentiate between bridge and connectors ports both > for users writing/reading DTS and the drivers parsing the DT. > > I used as an inspiration the regulators binding where regulators are usually > described under a "regulators" subnode. I am inclined to go with Laurent on this. In the end these are just pins and while they usually will be hooked up to connectors, that doesn't have to be the case. There may be another component in between, so I don't really like it that it is called 'connector'. In my mind it is just another (input) port. It is really only after looking at the remote endpoint that you see that there is a connector connected to the pin(s). Regards, Hans -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[adding Kevin as cc since he was interested in this feature as well] Hello Hans, On 11/11/2016 01:11 PM, Hans Verkuil wrote: > This old mail came up in a discussion today so let me comment on this: > Thanks a lot for the feedback. > On 04/27/2016 09:12 PM, Javier Martinez Canillas wrote: >> Hello Laurent, >> >> Thanks a lot for your feedback. >> >> On 04/27/2016 10:29 AM, Laurent Pinchart wrote: >>> Hi Javier, >>> >>> Thank you for the patch. >>> >>> On Tuesday 12 Apr 2016 18:42:52 Javier Martinez Canillas wrote: >>>> The tvp5150 and tvp5151 decoders support different video input source >>>> connections to their AIP1A and AIP1B pins. Either two Composite or a >>>> S-Video input signals are supported. >>>> >>>> The possible configurations are as follows: >>>> >>>> - Analog Composite signal connected to AIP1A. >>>> - Analog Composite signal connected to AIP1B. >>>> - Analog S-Video Y (luminance) and C (chrominance) >>>> signals connected to AIP1A and AIP1B respectively. >>>> >>>> This patch extends the Device Tree binding documentation to describe >>>> how the input connectors for these devices should be defined in a DT. >>>> >>>> Suggested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> >>>> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> >>>> >>>> --- >>>> Hello, >>>> >>>> The DT binding assumes that there is a 1:1 map between physical connectors >>>> and connections, so there will be a connector described in the DT for each >>>> connection. >>>> >>>> There is also the question about how the DT bindings will be extended to >>>> support other attributes (color/position/group) using the properties API. >>> >>> I foresee lots of bikeshedding on that particular topic, but I don't think it >>> will be a blocker. We need a volunteer to quickstart a discussion on the >>> devicetree (or possible devicetree-spec) mailing list :-) >>> >> >> Yes, I plan to extend this binding once we have the properties API in mainline >> but that can be done as a follow-up since it should just be more properties on >> top of compatible, label and port that will be supported in the meantime. >> >>>> But I believe that can be done as a follow-up, once the properties API is >>>> in mainline. >>>> >>>> Best regards, >>>> Javier >>>> >>>> Changes in v2: >>>> - Remove from the changelog a mention of devices that multiplex the >>>> physical RCA connectors to be used for the S-Video Y and C signals >>>> since it's a special case and it doesn't really work on the IGEPv2. >>>> >>>> .../devicetree/bindings/media/i2c/tvp5150.txt | 59 +++++++++++++++++++ >>>> 1 file changed, 59 insertions(+) >>>> : >>>> diff --git a/Documentation/devicetree/bindings/media/i2c/tvp5150.txt >>>> b/Documentation/devicetree/bindings/media/i2c/tvp5150.txt index >>>> 8c0fc1a26bf0..df555650b0b4 100644 >>>> --- a/Documentation/devicetree/bindings/media/i2c/tvp5150.txt >>>> +++ b/Documentation/devicetree/bindings/media/i2c/tvp5150.txt >>>> @@ -26,8 +26,46 @@ Required Endpoint Properties for parallel >>>> synchronization: If none of hsync-active, vsync-active and >>>> field-even-active is specified, the endpoint is assumed to use embedded >>>> BT.656 synchronization. >>>> >>>> +-Optional nodes: >>>> +- connectors: The list of tvp5150 input connectors available on a given >>>> + board. The node should contain a child 'port' node for each connector. >>> >>> I had understood this as meaning that connectors should be fully described in >>> the connectors subnode, until I read through the whole patch and saw that >>> dedicated DT nodes are needed for the connectors. I thus believe the paragraph >>> should be reworded to avoid the ambiguity. >>> >> >> I see what you mean, OK I'll make it clear that this only is the list of ports >> and that connectors should be described somewhere else (i.e: the root node). >> >>> This being said, why do you need a connectors subnode ? Can't we just add the >>> port nodes for the input ports directly in the tvp5150 node (or possibly in a >>> ports subnode, as defined in the OF graph bindings). >>> >> >> Yes we could, I went with a "connectors" subnode because the video decoders >> will have another port node to point to the bridge device node endpoint. So >> I thought it could be more clear to make a distinction between those ports. >> >> We can go with the "ports" subnode instead of "connectors" but then again it >> could be confusing to differentiate between bridge and connectors ports both >> for users writing/reading DTS and the drivers parsing the DT. >> >> I used as an inspiration the regulators binding where regulators are usually >> described under a "regulators" subnode. > > I am inclined to go with Laurent on this. In the end these are just pins and while > they usually will be hooked up to connectors, that doesn't have to be the case. > There may be another component in between, so I don't really like it that it is > called 'connector'. In my mind it is just another (input) port. It is really > only after looking at the remote endpoint that you see that there is a connector > connected to the pin(s). > Ok, I'll re-spin the patches then and do the change according to Laurent's and your suggestions. It may take some time though since I'm currently busy with other tasks. > Regards, > > Hans > Best regards,
diff --git a/Documentation/devicetree/bindings/media/i2c/tvp5150.txt b/Documentation/devicetree/bindings/media/i2c/tvp5150.txt index 8c0fc1a26bf0..df555650b0b4 100644 --- a/Documentation/devicetree/bindings/media/i2c/tvp5150.txt +++ b/Documentation/devicetree/bindings/media/i2c/tvp5150.txt @@ -26,8 +26,46 @@ Required Endpoint Properties for parallel synchronization: If none of hsync-active, vsync-active and field-even-active is specified, the endpoint is assumed to use embedded BT.656 synchronization. +-Optional nodes: +- connectors: The list of tvp5150 input connectors available on a given + board. The node should contain a child 'port' node for each connector. + + The tvp5150 has support for three possible connectors: 2 Composite and + 1 S-video. The "reg" property is used to specify which input connector + is associated with each 'port', using the following possible values: + + 0: Composite0 + 1: Composite1 + 2: S-Video + + The ports should have an endpoint subnode that is linked to a connector + node defined in Documentation/devicetree/bindings/display/connector/. + The linked connector compatible string should match the connector type. + Example: +composite0: connector@0 { + compatible = "composite-video-connector"; + label = "Composite0"; + + port { + comp0_out: endpoint { + remote-endpoint = <&tvp5150_comp0_in>; + }; + }; +}; + +svideo: connector@1 { + compatible = "composite-video-connector"; + label = "S-Video"; + + port { + svideo_out: endpoint { + remote-endpoint = <&tvp5150_svideo_in>; + }; + }; +}; + &i2c2 { ... tvp5150@5c { @@ -36,6 +74,27 @@ Example: pdn-gpios = <&gpio4 30 GPIO_ACTIVE_LOW>; reset-gpios = <&gpio6 7 GPIO_ACTIVE_LOW>; + connectors { + #address-cells = <1>; + #size-cells = <0>; + + /* Composite0 input */ + port@0 { + reg = <0>; + tvp5150_comp0_in: endpoint { + remote-endpoint = <&comp0_out>; + }; + }; + + /* S-Video input */ + port@2 { + reg = <2>; + tvp5150_svideo_in: endpoint { + remote-endpoint = <&svideo_out>; + }; + }; + }; + port { tvp5150_1: endpoint { remote-endpoint = <&ccdc_ep>;