Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp520080pxb; Wed, 27 Jan 2021 13:44:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJwNrEaRKI0dwvWuD1z996Se4izbGWSmfpxgAU1+h1uhxNzMBz3NgChgvqW2hRD6Fi7Nq7+7 X-Received: by 2002:a17:906:95cf:: with SMTP id n15mr8558144ejy.178.1611783854226; Wed, 27 Jan 2021 13:44:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1611783854; cv=pass; d=google.com; s=arc-20160816; b=wLjn9k5NelwOjfTyvLI24kcLKkEFfrsL2lOFsA9IPr54L2K4VqrGy2JU97gmmyHX88 AZ37q4Wg0Kqe9GSe6MwDe5osj6/EaKzSQBnOjFcfhJgr2oXyQ/djYEAV7knhnaNlqU4x YOpNq3kw1IZBvu+m5lemlDjsnOur5ccqgOW3ZF6ioUAv8PVaZQnz1/VkadAHHSfMwmCx 2D60Lx+QdTern00wqM1yMMT0W1xkh4LnP0uULT7xybKxFzDCEMSUH2h+GDDPW9DzrWX1 2EQMQzYbZAtwt1008OOx/UDSheiOq2ROv88Dn3hKm1a9DGl4iIDCxiKjjY1KR6nHX316 jQsg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=mw18TH4XWoFdVS9MIjloVANVts9E1ELhxwAUwhODTJI=; b=QTaNQzyzLEHSSTSqsl8CgMvEIFZ/brzZDuaHwm1aIAHNClxCnLotdfyGYpPkuhAya8 ujhawTeT2dTCCDYj/L3bFhPUL/1Y3eSq7lSqD5rJzqqA1wMe7duK8PPf1jFnfAhRcVwp HVubSnAu0ZzZl/agS+XV1gyVVTQBcMzJ3lvbdRq+ar/BPYRJIE8pDn9ut/PNZMtFAWQN Hdbb6s5I7/Uh1u2t1nN1745H0CJ3l+hL4Z28Rh+vPAyy8QROG4SlPvl4Loj0tMU3H9ip ed697hLz/4qsZ6HtJdZmjxT8ppcNaWZS0Zp6HGV2oMgEbsiQTwiMvTJpUqLnGUaYBOIa I0XA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=i58JCmcU; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t24si1361800ejr.255.2021.01.27.13.43.48; Wed, 27 Jan 2021 13:44:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=i58JCmcU; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235022AbhA0JI2 (ORCPT + 99 others); Wed, 27 Jan 2021 04:08:28 -0500 Received: from mail-vi1eur05on2076.outbound.protection.outlook.com ([40.107.21.76]:30549 "EHLO EUR05-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S234909AbhA0JFv (ORCPT ); Wed, 27 Jan 2021 04:05:51 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mVGL/5iQm3NBvryh51PngdRrZ3zrrai5mR+TZsZ6RbB8t2kfgPAo52fLCuHILcr3dRAT9HyUNey6ZtLapuL+U0x2L0/4X7VLZzyOxWLN1rNcmHOeS1uIHadYv5R/S7oN9FAP66keTEt3u9m52Fr8+v239Ed1UI+KiHelzxedVDR7q37xO/RMZECkMAqwBMz7Hw5YRtOuiSQo9gpadaY/sd7RLJy5iZlyCRi3jrhFwQHKCUmbYU3eLMIft8zjtDbbHOuvBD8GKZWZE+cgbIJC1KdYuf38yVZCozgbfXtdySUpYe89ehvDw7BVUo7ACRw1gQN2lmvbEATSF0sUWZmKQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mw18TH4XWoFdVS9MIjloVANVts9E1ELhxwAUwhODTJI=; b=de2eiTql5RXx5FLnRKLKMPzhC6BwgcLhJDXBXa7J8c8Ocjc49fpfZxvJa8tsQcToCXrcnsXlMfhRquPLFdBfHNP5IhVD2kgzfhpx3+W9t2dwce1z6YNVwoschoVD1lfZP/zAgmxOAt34Gh2+lwPbQMEak0scLlaTfipJ6byt8c3gIqDnM5a+5+3vA3nar42eZBFP4+CAXa8lQFjzDedbhTDviDPs56GXwBwB2A0E8AeEaSGnH00Xb7KVe78sUoaJbEjeF5PlsGAMuJMabNZHlAizJFP3F7ilqa1efhNOV2K/weE7WmrfKqG1I+CLNL0inm597g70XMpyxLyMHj+iJw== 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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mw18TH4XWoFdVS9MIjloVANVts9E1ELhxwAUwhODTJI=; b=i58JCmcUGn0CoZQghOip2EcjAuRRpGpt9eO9jiW6ukkFoN2pXIWxWF/isUZTJljm+yeVA+X2l9R6IQEl3dluHArlCN2YGInGfdU3VVW5C2QHUTOMi+XFoCtr5gqh35RVx+ENjGGULyIN6AwiRNqJcZ0n6Mrse3Zwqf9ekwmo5sc= Authentication-Results: lists.freedesktop.org; dkim=none (message not signed) header.d=none;lists.freedesktop.org; dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB3983.eurprd04.prod.outlook.com (2603:10a6:803:4c::16) by VI1PR04MB2975.eurprd04.prod.outlook.com (2603:10a6:802:9::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.13; Wed, 27 Jan 2021 09:02:55 +0000 Received: from VI1PR04MB3983.eurprd04.prod.outlook.com ([fe80::2564:cacc:2da5:52d0]) by VI1PR04MB3983.eurprd04.prod.outlook.com ([fe80::2564:cacc:2da5:52d0%5]) with mapi id 15.20.3805.016; Wed, 27 Jan 2021 09:02:55 +0000 From: Liu Ying To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Cc: airlied@linux.ie, daniel@ffwll.ch, robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, mchehab@kernel.org, a.hajda@samsung.com, narmstrong@baylibre.com, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@siol.net, kishon@ti.com, vkoul@kernel.org Subject: [PATCH v3 06/14] dt-bindings: display: bridge: Add i.MX8qm/qxp display pixel link binding Date: Wed, 27 Jan 2021 16:51:20 +0800 Message-Id: <1611737488-2791-7-git-send-email-victor.liu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1611737488-2791-1-git-send-email-victor.liu@nxp.com> References: <1611737488-2791-1-git-send-email-victor.liu@nxp.com> Content-Type: text/plain X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: SG2PR02CA0049.apcprd02.prod.outlook.com (2603:1096:4:54::13) To VI1PR04MB3983.eurprd04.prod.outlook.com (2603:10a6:803:4c::16) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.66) by SG2PR02CA0049.apcprd02.prod.outlook.com (2603:1096:4:54::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3805.16 via Frontend Transport; Wed, 27 Jan 2021 09:02:49 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 438c61a0-b1d4-48d4-bee3-08d8c2a2557f X-MS-TrafficTypeDiagnostic: VI1PR04MB2975: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1775; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0bOWs3rdaNqeUgPCJjwKNHI9o3CGRjG96eyxykD06WIZ2zW1e4q0a7qonVrwOF0LfEp8N4RTC/+ibNPifP1AAZjPxk1nlwQ5trq5P6qo6NWfjCdX8zqrRtA1Ujdz/vdz+O2cklLOBTtd5deQ7Ys4YbiO8iX4tgrGC6FPdg7z7GzFlNKtWkR4RTY5MrTD0Cp1mQ96+hc0OcdrsZD58fIZ+J4gzfWyXxx65qbSlkYboUhMt1j718oVMOZNxYcW+Vr8BESsD5HyxBoCTDhYJapfnwmZEQcO6eZcUARJBndW5JeyFnD6N4ML6ATDTWYG4LilzzpptF/EvyXvZktDK0pf2z80Qf8wE5fxLpVXCeH3lhmuyLDI6ixmp5Jcd4SLC87IcezTPSnx+R3X+8dbnTXvSwP9JH0qFshaWRDRMuw9X5YH/Ad+hutfl7qd6+baqpJ6Raw3dlt2M8+t3AuXq23ze3kjpKfOiAvQgruspephytJk8REE2HfvwB/uWP7pPQrJOVUfMN+0TQ6hWVsAOM08dSPuyVBYFnPqX4jkwXZgSqrqIxVG+ExC5no7UwTJf7cNOtltpydcUF7Vssy9BCAz8Ur5Oqg/jk2ja429dED9wzFk1VshVYc72sTIueQVLXlqp4qMOi08aZ3LOS6AcDmIYg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB3983.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(376002)(366004)(346002)(39860400002)(136003)(396003)(8936002)(2616005)(6486002)(66946007)(186003)(6666004)(956004)(7416002)(4326008)(36756003)(69590400011)(6506007)(8676002)(316002)(5660300002)(16526019)(86362001)(478600001)(6512007)(2906002)(52116002)(83380400001)(66556008)(966005)(26005)(66476007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?DulF9+/dA/njapDxzG54iljpCu4e/DVf8XqF5XWh3mk2fIbqse473JYs/0DD?= =?us-ascii?Q?YugVH0+YE8TTV5vc+uLfazWPnFYK4Minj8XPmDPyUjIeH1Q7PeJeNBzFvaJb?= =?us-ascii?Q?/YcZHKodP2YR8Zk34D+fRHarA5YC6lxqr5kciHSGxmoFgxGhqQ/tgLX4ocnD?= =?us-ascii?Q?lOZ2bU6mbtaRThNHtO12bEnMsXzGGu4/2j1gtaKvszo6pq/6RvEtwQRSDfLb?= =?us-ascii?Q?RQRJcYuunMA/j7L7mJ6GcmGNQgsvjm/bT2byse1Spny87CzoJOqoC0LjEFE9?= =?us-ascii?Q?racxpWvZtISc+NIoNVe6hGAoizHtx638q+AWQoIGvuUYqF4V0D8G8MlXT+4F?= =?us-ascii?Q?hdIkSa+nT38X5zQuTd/yvxH9bgDTphuwU6DLxB1o1lxf5aqVm/8d11OSe/i2?= =?us-ascii?Q?mnfEslG517t+TpDsy/SUzHNqWhAykFXbu8mSynUHxeq7zrzIgGAB1VH1rbMM?= =?us-ascii?Q?ZbVqouf5AwkbUMhE7Yaehr4UijkKNBaV7koo8wGqWh9AhXURpMHHLfEcrInK?= =?us-ascii?Q?bLLmSNo5qkR0uScpJAw1nRB1LxfW/2iRZRZdVMJysdmqziu8+qOCGEXs1IRK?= =?us-ascii?Q?0srIEXl73w0WlmsFLLITWaeRPIAqVANXk/NHKOyxtoK7X6DcSsMCxz2qNIZT?= =?us-ascii?Q?dABGLk1rJduchfj81palmWKlHuJ0NEMAQ7HeuIbvj2k7lrbECgweCjuB+nFl?= =?us-ascii?Q?s0h7cAII+N0y9/3T4Yv9DVhaHxIKKzgZipfG/qIw6vsCDgTywefciJCoboHs?= =?us-ascii?Q?4uyN9wCwn5CO1msrWdg0JXajEWvY3Dyj12dtynBk0yySM8e8Hc3bOwzl8Thy?= =?us-ascii?Q?Ih3cKwwD1E/SKeCwLoZTzVhg6tss1xC1/rI0Rrfbp+fThR4Tuff52o7WYiaB?= =?us-ascii?Q?sm3Q6QGOV6w2i9UbNQ6CL+sSUYlxpsXdKM9HExs08MPe4bTF9/cnyWy+VJeG?= =?us-ascii?Q?12Y9eJy6MBnviAz8ty64D1XNXN7uY34KYACENq5HWXdXFbY3L5CiOLtuNixw?= =?us-ascii?Q?5EznV5irMnoB2cuJH3sAmrKfZ/WQiwIBRmvnT4Ds5ZpH2cE6xsxiQimVdt4l?= =?us-ascii?Q?sydl2wDC?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 438c61a0-b1d4-48d4-bee3-08d8c2a2557f X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB3983.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jan 2021 09:02:55.3237 (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: acfe+6ACk5AVOsYbpoEkdoecqiBbJPs3V7/tzFURMUXNHZc8mi9DJIblBa0xWH67B3Z+BD1CoP5HpA0L4opo1A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB2975 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds bindings for i.MX8qm/qxp display pixel link. Reviewed-by: Rob Herring Signed-off-by: Liu Ying --- v2->v3: * Add Rob's R-b tag. v1->v2: * Use graph schema. (Laurent) * Require all four pixel link output ports. (Laurent) * Mention pixel link is accessed via SCU firmware. (Rob) .../display/bridge/fsl,imx8qxp-pixel-link.yaml | 106 +++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/fsl,imx8qxp-pixel-link.yaml diff --git a/Documentation/devicetree/bindings/display/bridge/fsl,imx8qxp-pixel-link.yaml b/Documentation/devicetree/bindings/display/bridge/fsl,imx8qxp-pixel-link.yaml new file mode 100644 index 00000000..3af67cc --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/fsl,imx8qxp-pixel-link.yaml @@ -0,0 +1,106 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/bridge/fsl,imx8qxp-pixel-link.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale i.MX8qm/qxp Display Pixel Link + +maintainers: + - Liu Ying + +description: | + The Freescale i.MX8qm/qxp Display Pixel Link(DPL) forms a standard + asynchronous linkage between pixel sources(display controller or + camera module) and pixel consumers(imaging or displays). + It consists of two distinct functions, a pixel transfer function and a + control interface. Multiple pixel channels can exist per one control channel. + This binding documentation is only for pixel links whose pixel sources are + display controllers. + + The i.MX8qm/qxp Display Pixel Link is accessed via System Controller Unit(SCU) + firmware. + +properties: + compatible: + enum: + - fsl,imx8qm-dc-pixel-link + - fsl,imx8qxp-dc-pixel-link + + ports: + $ref: /schemas/graph.yaml#/properties/ports + + properties: + port@0: + $ref: /schemas/graph.yaml#/properties/port + description: The pixel link input port node from upstream video source. + + patternProperties: + "^port@[1-4]$": + $ref: /schemas/graph.yaml#/properties/port + description: The pixel link output port node to downstream bridge. + + required: + - port@0 + - port@1 + - port@2 + - port@3 + - port@4 + +required: + - compatible + - ports + +additionalProperties: false + +examples: + - | + dc0-pixel-link0 { + compatible = "fsl,imx8qxp-dc-pixel-link"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + /* from dc0 pixel combiner channel0 */ + port@0 { + reg = <0>; + + dc0_pixel_link0_dc0_pixel_combiner_ch0: endpoint { + remote-endpoint = <&dc0_pixel_combiner_ch0_dc0_pixel_link0>; + }; + }; + + /* to PXL2DPIs in MIPI/LVDS combo subsystems */ + port@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + + dc0_pixel_link0_mipi_lvds_0_pxl2dpi: endpoint@0 { + reg = <0>; + remote-endpoint = <&mipi_lvds_0_pxl2dpi_dc0_pixel_link0>; + }; + + dc0_pixel_link0_mipi_lvds_1_pxl2dpi: endpoint@1 { + reg = <1>; + remote-endpoint = <&mipi_lvds_1_pxl2dpi_dc0_pixel_link0>; + }; + }; + + /* unused */ + port@2 { + reg = <2>; + }; + + /* unused */ + port@3 { + reg = <3>; + }; + + /* to imaging subsystem */ + port@4 { + reg = <4>; + }; + }; + }; -- 2.7.4