From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from OSPPR02CU001.outbound.protection.outlook.com (mail-norwayeastazon11013032.outbound.protection.outlook.com [40.107.159.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 252102BD016 for ; Tue, 14 Oct 2025 18:55:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.159.32 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760468133; cv=fail; b=ctb/QSwGE744a0i5whtFIVMPRMlqKo07QMMi8j+P+7OCuT1+2C6oiCh8sHGFt4kmoHEdcH6eUk2nr+Dul4opMIxffS8T5pPak0XmlavCjePJcEc+1RW/MDzDr05xmjDTtDUv+hHzDO9tTHh7OOf2eYyAqED8tY6miTxeyA+NjaQ= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760468133; c=relaxed/simple; bh=3sB/FWDQ+BxCCBw0haKf1tMgLKmK2cPUqUZUCgE4hbk=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=PNFL6UHbEvzCtNVugdkmfGR0K/Jj/GqTWJWn7lXIDhtFaSLkHrv9AsP7eQjjmE5q0vvYFau3h+spwKHf04o9vMSEkHo6144ZKZ8gjeDETB9Xwf38MlkYTTD3Jvb05AECMV/ZuDkckPmozn+9rccAYfaExfREIMnts9hS8yqfODw= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=WmllD7ha; arc=fail smtp.client-ip=40.107.159.32 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="WmllD7ha" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=oDywMKpE8vBjRlXVr0UNTGfjDB5EP4kkfy76Y97LPI12oUw5EFQII7b4+0TvYu5VjiZz3rmBAtCpScexpmoweDFBGVp+qVjo6uykF64T9gZr/7U4i5LKXqcsuUWOlKidQb+H+9JfhcnCApc+ySQWa96wyBc6j2eDt+5O5K6u7O8k3rthLER358ZNmPx2WWxayGMSv/ZyrPETU7NBPpT7KmUUSmXIEaeZ49DCZYyj5ugcQsy/g5srRjW8RDAAamNHs7MsnmzRqrC8jFKQTAzgIvZz773ZtK228AiKKLVskZKIv+Yp6HZ0wqqlEC6hufdsfRfZOKAC/iLTOBUhFF0TQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=XmETc4NHeYo8F8F4lTPhZFfGqlYJ04IS+zj5aRBgB2g=; b=o4xr00bRD5nfPV12765EtqgJgjan+fLa1h5CQcoYMMHAvEKddcMGlQPjMbx1TUSkiAnmwGE+013S1SCuN/5kru+128GhZax/njjpDtQ8dwIuTkS8EuqzfnEcHW3F3tONTudAF04HoknIpJJu6C/mnyAnSp5Un3bet3Tg7uEP6mlK775CeisTR2XNLDEaXNDPYw8DTPj7zZCAr3p5WOpMU58a8AEeGRoAAGFDWvqzKrozGyFCBu12d7DSPK6XbpvGAzz/wFDNvUVMs74GjyLATpqGJUWTuFFXeZL8QG7E7ppYt4EHdGMG/t+xT0dA9z0vzKoGiX+E3vKjp872ZH+Pyg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XmETc4NHeYo8F8F4lTPhZFfGqlYJ04IS+zj5aRBgB2g=; b=WmllD7harQosdcbgXqNDqeSlGwotONbN72xY2wBR6+09wKsk+/OHifg3LAVDPohArzxmmx7fKkw4dkUsW+QE0xLFINPZrVIyLxbQAyZHaEP1+nfsAwQVq4iqdQXFCC/i7KoYBbSn+9KXP8qSrfgwGUOvmle2LPs8d1GoHVAD/QvQ98fnSPv/JlWE1V+/SkpSGiuzaMX4GsGfLA94+1W7iQV+tMPLgzXX4IvOxnrrrVE/R9cUPafX6qdh6T7dpipMIyK2qipMrFWNwCqcE63wFBPrOcXZGMRMWgzDXzE1JCNf49yRpNJVmEpv41F94fVRGxekZXkcIkT/Gfy7U6d2xQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXSPRMB0053.eurprd04.prod.outlook.com (2603:10a6:102:23f::21) by DU2PR04MB8616.eurprd04.prod.outlook.com (2603:10a6:10:2db::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9203.13; Tue, 14 Oct 2025 18:55:28 +0000 Received: from PAXSPRMB0053.eurprd04.prod.outlook.com ([fe80::504f:2a06:4579:5f15]) by PAXSPRMB0053.eurprd04.prod.outlook.com ([fe80::504f:2a06:4579:5f15%6]) with mapi id 15.20.9203.009; Tue, 14 Oct 2025 18:55:27 +0000 From: Frank Li To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Hans Verkuil , Laurent Pinchart , David Heidelberg , Sakari Ailus , linux-media@vger.kernel.org (open list:MEDIA INPUT INFRASTRUCTURE (V4L/DVB)), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list) Cc: imx@lists.linux.dev Subject: [PATCH 1/1] dt-bindings: media: Convert ti,tvp5150.txt to yaml format. Date: Tue, 14 Oct 2025 14:55:09 -0400 Message-Id: <20251014185515.2354668-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: PH7PR17CA0052.namprd17.prod.outlook.com (2603:10b6:510:325::19) To PAXSPRMB0053.eurprd04.prod.outlook.com (2603:10a6:102:23f::21) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXSPRMB0053:EE_|DU2PR04MB8616:EE_ X-MS-Office365-Filtering-Correlation-Id: a64d2c45-5472-4a39-04db-08de0b533d9b X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|7416014|52116014|1800799024|19092799006|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?k3vXA2Puc5BRJ9ZJBXjw7pTbcD6A9GFYQr82BnYOXlY2kbGDpHMNIiZhgDnr?= =?us-ascii?Q?B/yTRoq35m4tawXF2s1bGR8/4Hj+/DLKXvThGv1RxNMXYFPFF+/qsQCNuX/V?= =?us-ascii?Q?eyXtzbdyiPQheTgeKqXxCDoqYPR4+/BetYGO+TV9UCVzylsire5x8KN7FsCr?= =?us-ascii?Q?kIuOE2GsdYQ170g8cj9fl3c0vsAkCRRlGqeSl9O6+IqVFl7sQV70yR6YSLzn?= =?us-ascii?Q?E+ghYxlqlai/hPNQFGzeS/tU6GJiagmVsYgXNMmq1fyBmCbYIZ+p/+s63dFR?= =?us-ascii?Q?6Iyf2exoNkPwndT8Pes6jgMUULzaTo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Tto4RtqCmjkn7rHpP/Im/I4Iri7RNkIrflNPsAiSekHdvY?= =?us-ascii?Q?qpZw9Z64QEozcAG3SMWtVdqMd+caCvVNOM0Vt8ZVsnhZSkj3gisga++bLKCh?= =?us-ascii?Q?jRGlXXFvTcr3q70GRgomNDb15jy59MMUPwKI3vq4g+fZoV+g/UAhXI2VAFQg?= =?us-ascii?Q?EMz8U4WjEGDAQxCIqInlSpIDbBTvxoOSFnL7maKOtI3s0kYIlbO0wBOecQGh?= =?us-ascii?Q?8V7JFRATFkGFNxfmCIySfQ2kUZ0evfHZ3QVJ2AIGozO15Sn+mmOY2m0zjDzR?= =?us-ascii?Q?Qiz9Dfb7wH3e9mI=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXSPRMB0053.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(376014)(7416014)(52116014)(1800799024)(19092799006)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?3vtM2wEcN8AP0msUNfhgvt/0FRpAsWi/Ht/okBLL9M4C5mSoKSxQqIWdOx3Q?= =?us-ascii?Q?et27EUd1i0MoTYQzYM0VmVy8u9/C8aFEfpsd6AWJ1wwDJXLjsxTIsz+Rz0NW?= =?us-ascii?Q?Wj6d7PP7V8CzsN65hVrfbyO+uNOQ0nSMdrS7STH9QvJeVQpoCU1YXqmnFskc?= =?us-ascii?Q?guEaixwHeos8OBQvKtwjr4ESaoOJL89/kAB1bPAYd/07dj4CsNwb6WFRm94+?= =?us-ascii?Q?4V50JK0I+8rbH/D45spoqaMi9x8+mXJSxj3VOg2UBUKPxmTCqi890ad3GUb2?= =?us-ascii?Q?zRJMEbfCjABDL48vHB4xg4B5uvjogQO5z0KbtJp1CQd0B7W+iQUq8XTuBbuv?= =?us-ascii?Q?o3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YWfQ3iT7+o9ubuGDjgp0W?= =?us-ascii?Q?6LcnsEwBYsmv70SmxB/wMk7JGjKt/fy9STYjaJyF4Bm0nflt0cT+b78S4hh7?= =?us-ascii?Q?UHu3TSSU7rXEAPcWZwKM8708bgVqgzhbYGSRYWPr6Yke6ALoSNXQZAhrliaI?= =?us-ascii?Q?xNogPh2I1OHDfcBD9OW8Kzk1F07BZQXZ6/rxGqt5+2ky1NOxCmEhtDOUVZTc?= =?us-ascii?Q?5DgI6ds/nTkPMRukDJcDo7xNWG/rp9BxFDqkMmUaDLjtb4Qm2WaqFMk43GLe?= =?us-ascii?Q?UuvlTAdI0/AXr2Mt97PTFa456RWD/OOhSSusLKJYHr6ivjMgAA2fFiHYSa/f?= =?us-ascii?Q?QFsrKyMSdxNEGncgpen4aIF6gXA3Tx5w7Mz7zeAV?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a64d2c45-5472-4a39-04db-08de0b533d9b X-MS-Exchange-CrossTenant-AuthSource: PAXSPRMB0053.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Oct 2025 18:55:27.9100 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: CgR5aqcnWlNsiBzPW3k9g5DSk6vMea2r3Zf9ajFLXjtzaZxfQYMlrH1/9UcSOXuDxBviJI/uRaiwqZUyEmv9Hw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8616 Convert ti,tvp5150.txt to yaml format. Signed-off-by: Frank Li --- .../bindings/media/i2c/ti,tvp5150.txt | 157 ------------------ .../bindings/media/i2c/ti,tvp5150.yaml | 133 +++++++++++++++ 2 files changed, 133 insertions(+), 157 deletions(-) delete mode 100644 Documentation/devicetree/bindings/media/i2c/ti,tvp5150.txt create mode 100644 Documentation/devicetree/bindings/media/i2c/ti,tvp5150.yaml diff --git a/Documentation/devicetree/bindings/media/i2c/ti,tvp5150.txt b/Documentation/devicetree/bindings/media/i2c/ti,tvp5150.txt deleted file mode 100644 index 94b908ace53c8..0000000000000 --- a/Documentation/devicetree/bindings/media/i2c/ti,tvp5150.txt +++ /dev/null @@ -1,157 +0,0 @@ -* Texas Instruments TVP5150 and TVP5151 video decoders - -The TVP5150 and TVP5151 are video decoders that convert baseband NTSC and PAL -(and also SECAM in the TVP5151 case) video signals to either 8-bit 4:2:2 YUV -with discrete syncs or 8-bit ITU-R BT.656 with embedded syncs output formats. - -Required Properties: -==================== -- compatible: Value must be "ti,tvp5150". -- reg: I2C slave address. - -Optional Properties: -==================== -- pdn-gpios: Phandle for the GPIO connected to the PDN pin, if any. -- reset-gpios: Phandle for the GPIO connected to the RESETB pin, if any. - -The device node must contain one 'port' child node per device physical input -and output port, in accordance with the video interface bindings defined in -Documentation/devicetree/bindings/media/video-interfaces.txt. The port nodes -are numbered as follows - - Name Type Port - -------------------------------------- - AIP1A sink 0 - AIP1B sink 1 - Y-OUT src 2 - -The device node must contain at least one sink port and the src port. Each input -port must be linked to an endpoint defined in [1]. The port/connector layout is -as follows - -tvp-5150 port@0 (AIP1A) - endpoint@0 -----------> Comp0-Con port - endpoint@1 ------+----> Svideo-Con port -tvp-5150 port@1 (AIP1B) | - endpoint@1 ------+ - endpoint@0 -----------> Comp1-Con port -tvp-5150 port@2 - endpoint (video bitstream output at YOUT[0-7] parallel bus) - -Required Endpoint Properties for parallel synchronization on output port: -========================================================================= - -- hsync-active: Active state of the HSYNC signal. Must be <1> (HIGH). -- vsync-active: Active state of the VSYNC signal. Must be <1> (HIGH). -- field-even-active: Field signal level during the even field data - transmission. Must be <0>. - -Note: Do not specify any of these properties if you want to use the embedded - BT.656 synchronization. - -Optional Connector Properties: -============================== - -- sdtv-standards: Set the possible signals to which the hardware tries to lock - instead of using the autodetection mechanism. Please look at - [1] for more information. - -[1] Documentation/devicetree/bindings/display/connector/analog-tv-connector.yaml. - -Example - three input sources: -#include - -comp_connector_0 { - compatible = "composite-video-connector"; - label = "Composite0"; - sdtv-standards = ; /* limit to pal-m signals */ - - port { - composite0_to_tvp5150: endpoint { - remote-endpoint = <&tvp5150_to_composite0>; - }; - }; -}; - -comp_connector_1 { - compatible = "composite-video-connector"; - label = "Composite1"; - sdtv-standards = ; /* limit to ntsc-m signals */ - - port { - composite1_to_tvp5150: endpoint { - remote-endpoint = <&tvp5150_to_composite1>; - }; - }; -}; - -svideo_connector { - compatible = "svideo-connector"; - label = "S-Video"; - - port { - #address-cells = <1>; - #size-cells = <0>; - - svideo_luma_to_tvp5150: endpoint@0 { - reg = <0>; - remote-endpoint = <&tvp5150_to_svideo_luma>; - }; - - svideo_chroma_to_tvp5150: endpoint@1 { - reg = <1>; - remote-endpoint = <&tvp5150_to_svideo_chroma>; - }; - }; -}; - -&i2c2 { - tvp5150@5c { - compatible = "ti,tvp5150"; - reg = <0x5c>; - pdn-gpios = <&gpio4 30 GPIO_ACTIVE_LOW>; - reset-gpios = <&gpio6 7 GPIO_ACTIVE_LOW>; - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - #address-cells = <1>; - #size-cells = <0>; - reg = <0>; - - tvp5150_to_composite0: endpoint@0 { - reg = <0>; - remote-endpoint = <&composite0_to_tvp5150>; - }; - - tvp5150_to_svideo_luma: endpoint@1 { - reg = <1>; - remote-endpoint = <&svideo_luma_to_tvp5150>; - }; - }; - - port@1 { - #address-cells = <1>; - #size-cells = <0>; - reg = <1>; - - tvp5150_to_composite1: endpoint@0 { - reg = <0>; - remote-endpoint = <&composite1_to_tvp5150>; - }; - - tvp5150_to_svideo_chroma: endpoint@1 { - reg = <1>; - remote-endpoint = <&svideo_chroma_to_tvp5150>; - }; - }; - - port@2 { - reg = <2>; - - tvp5150_1: endpoint { - remote-endpoint = <&ccdc_ep>; - }; - }; - }; -}; diff --git a/Documentation/devicetree/bindings/media/i2c/ti,tvp5150.yaml b/Documentation/devicetree/bindings/media/i2c/ti,tvp5150.yaml new file mode 100644 index 0000000000000..4869ba7ca0763 --- /dev/null +++ b/Documentation/devicetree/bindings/media/i2c/ti,tvp5150.yaml @@ -0,0 +1,133 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/i2c/ti,tvp5150.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments TVP5150 and TVP5151 video decoders + +maintainers: + - Frank Li + +description: + The TVP5150 and TVP5151 are video decoders that convert baseband NTSC and PAL + (and also SECAM in the TVP5151 case) video signals to either 8-bit 4:2:2 YUV + with discrete syncs or 8-bit ITU-R BT.656 with embedded syncs output formats. + +properties: + compatible: + const: ti,tvp5150 + + reg: + maxItems: 1 + + pdn-gpios: + maxItems: 1 + + reset-gpios: + maxItems: 1 + + '#address-cells': + const: 1 + + '#size-cells': + const: 0 + + port@0: + $ref: /schemas/graph.yaml#/$defs/port-base + unevaluatedProperties: false + description: + sink port node, AIP1A + + properties: + endpoint: + $ref: /schemas/media/video-interfaces.yaml# + unevaluatedProperties: false + + port@1: + $ref: /schemas/graph.yaml#/$defs/port-base + unevaluatedProperties: false + description: + sink port node, AIP1B + + properties: + endpoint: + $ref: /schemas/media/video-interfaces.yaml# + unevaluatedProperties: false + + port@2: + $ref: /schemas/graph.yaml#/$defs/port-base + unevaluatedProperties: false + description: + source port node, Y-OUT + + properties: + endpoint: + $ref: /schemas/media/video-interfaces.yaml# + unevaluatedProperties: false + +required: + - compatible + - reg + - port@2 + +additionalProperties: false + +examples: + - | + #include + #include + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + bridge@5c { + compatible = "ti,tvp5150"; + reg = <0x5c>; + pdn-gpios = <&gpio4 30 GPIO_ACTIVE_LOW>; + reset-gpios = <&gpio6 7 GPIO_ACTIVE_LOW>; + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + + endpoint@0 { + reg = <0>; + remote-endpoint = <&composite0_to_tvp5150>; + }; + + endpoint@1 { + reg = <1>; + remote-endpoint = <&svideo_luma_to_tvp5150>; + }; + }; + + port@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + + endpoint@0 { + reg = <0>; + remote-endpoint = <&composite1_to_tvp5150>; + }; + + endpoint@1 { + reg = <1>; + remote-endpoint = <&svideo_chroma_to_tvp5150>; + }; + }; + + port@2 { + reg = <2>; + + endpoint { + remote-endpoint = <&ccdc_ep>; + }; + }; + }; + }; -- 2.34.1