Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp128075pxf; Wed, 10 Mar 2021 02:11:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJzA67Sm8kAhfh82r/CVrO2R3frLaB+SDC8FLybIYIDEdagleIu1THjZOYgjKV4PQLAs5VKH X-Received: by 2002:a17:906:2804:: with SMTP id r4mr2778950ejc.521.1615371090430; Wed, 10 Mar 2021 02:11:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1615371090; cv=pass; d=google.com; s=arc-20160816; b=kgwIhJCHaYz1mJmKaI2aocFjEEu1yiHrwkkKdOVNm8I4E+kewdRuemuXyinaUnaxb4 4kPQqKLo1l90xWqQQAS2fqT6UgeSUI8jFyyE3I5+KRPPDG9eZNNxF/oUqPhpQDxSQo9/ A3R5w27Qxky2biLsfmSpeyDV/0VhgqsvNvFLpwIsE6JgnXS8ZEgu5brMglWdfx6St59f YPRdvobQpSTurqXiTIXRnhZr/hKRsW8AH3ZG4hP2jSPz4zXwu3M2CILupxGyT9jjLSlL NMXmJ+itTxieGueoeo080L5d1vkueOWlDtdGHR3UDS38YmiVsDjvLYhdT1tweoTDHaDJ 9v+Q== 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=K/q7PlZULgvJu7I/uCGFPoHPqerd5X/flwMZ3r7GdiI=; b=d/V6ENG9bBXMo7RIct95uqN0mj8LOOrk7zefaQ1g+pl0QsL9sM9E1S/obXjU82W4Ek gRs9Q2E2IuGNvLFIkyP2kueAYt4Ila+huNNSq1wxbhePKxt52dJ66ktvEHJrTMxGPgwX qUNK2XsIvHA9GOfPvgnUl49qG+iIkUQG/BYCLi7HpM+UFZZlELh+2wwsP93GB9rBtxEP O19OFcmgv2R3tMQDuRBcD/zysTswwNSf9jL1PnbRxNfeBgzHape0qrREHasitPcwC5RV PkIimDu9hKoypfpMbtDvEg4O3eTc9aHR4Bci1qHzXjkydwyYLwOQzeFvFXqiQopLKvlB joSg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=dYazTsl+; 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 d10si11236565edp.256.2021.03.10.02.11.07; Wed, 10 Mar 2021 02:11:30 -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=dYazTsl+; 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 S232601AbhCJKJs (ORCPT + 99 others); Wed, 10 Mar 2021 05:09:48 -0500 Received: from mail-eopbgr130042.outbound.protection.outlook.com ([40.107.13.42]:27270 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230046AbhCJKJe (ORCPT ); Wed, 10 Mar 2021 05:09:34 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DzNDNSqVvuQo21wxShIFtcNJVYJ1nwdnoZdPZ6esCfmCmvJi4LzUNTPtC4ZsjTMdEeh3oFatcNaCe/FijsQmtJZAtPzJEkcLwo3JT9jpXVCyyOvNqS8CuMbhan7yptdHx4Gw41n8NwVz7foMlNoTV6XKKUcR/pyTk+j4+91aJLEaEBlHKT03XgHJ7gVngSYqenZNMhK75l6/tXA+K0U5kD5rqDUpHbxQr/ER6TGQF0cfQMfnIRmbPREVMtWfphNa+ktaQVyCV66cGlcMM1HoYbY2EKzY0BAGZVvvwokRK2Yf24OJn1FngwIdMDB1AlgNuUw0VlckQIh3ZeGq2oDtfw== 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=K/q7PlZULgvJu7I/uCGFPoHPqerd5X/flwMZ3r7GdiI=; b=kw53f88bIZ8ztnwAVGYFW1fqVAom0i5mXrGWnvsxWDQ3TX01g5MUweWmepBJI2oZhuOKxaL+PuRILujC1b6EzDxEuSeZRb5hOQ/mTAb/T8LcVjE/lyxkvyBQgWKpgL3wMKxpiLur6BRt+VzKJDGpNGfQ4Yi7AhDd/0nC7xvEQ73MqWeylRTUqEXE5xwYOfsd9Zd5rmGYYa6ycyrck5HJf8umZTTV+eEoYrE/mh6roJiN6U2/iaUbquNyPPQBS5SN208hZAWGmW18QSf/aXee9BwML/ew8EJg5uEH1DUxvciHynGnVSXs2Xr+woFVtQ14Txb+S0zArjagHHHtEKFe2A== 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=K/q7PlZULgvJu7I/uCGFPoHPqerd5X/flwMZ3r7GdiI=; b=dYazTsl+a+dawXsaIdAuQfr6rqTvwWD/ehBbcL9ZUuyAosI6S/2A6MwmewXfaVKjtwFnQBmR4NUYv3KG4fEOsOaQPOBgaLkISIkdcQaeppSNkHieouqezjn93/Mnj5dMdGkxGfZ1DRsEyUGR5bvJHtAb1ltCPNFkDePEIuccATY= 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 VI1PR0401MB2318.eurprd04.prod.outlook.com (2603:10a6:800:27::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.17; Wed, 10 Mar 2021 10:09:30 +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.3912.028; Wed, 10 Mar 2021 10:09:30 +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, robert.foss@linaro.org, lee.jones@linaro.org Subject: [PATCH v5 05/14] dt-bindings: display: bridge: Add i.MX8qm/qxp display pixel link binding Date: Wed, 10 Mar 2021 17:55:29 +0800 Message-Id: <1615370138-5673-6-git-send-email-victor.liu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1615370138-5673-1-git-send-email-victor.liu@nxp.com> References: <1615370138-5673-1-git-send-email-victor.liu@nxp.com> Content-Type: text/plain X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: HK2PR06CA0010.apcprd06.prod.outlook.com (2603:1096:202:2e::22) 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 HK2PR06CA0010.apcprd06.prod.outlook.com (2603:1096:202:2e::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3912.17 via Frontend Transport; Wed, 10 Mar 2021 10:09:24 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 5ce7d3ae-ced3-4d71-68b9-08d8e3ac9811 X-MS-TrafficTypeDiagnostic: VI1PR0401MB2318: 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: mM1GhfXgFvLVW2Brb5jCMt27m2oCQIsHvhyfrzLMLdWVQaa0Ev1c5rQVbu25t9JrVBCZbSFrhVIJ3u0azSc81Jz8nrUxm9vprGQkPKdjrTZMmgQDj+doDYUGi0ucLk+kz6UoZy8nD7Dog68ExC8knXH73WOlxBEEncLhiItAKbmn+4hlDLYULhijqt+48VtC2hebRXc+Ql5sNBnugsm+EJmclAIyLaoQGVfwg1JkK4VP8cKKvh7k/tPYpQUodx4mUjB1t/nq1NpCiPuTESB7rtcNFkL0h8s+v+ONV41aLa4rjslCSJmRepyOLdZfybMSAac2R2cYqjQAOQwQlZjysZI01M44yRXjB4qKQGtS2k7xSLyGaYkgsc4k5bjWnzCWgxSz+sk7iWgsPmTmPOS8MaVTuFvacFkTvPjDXt/XHJLJqGtKn9IfKjoxmAVIaUOC/PTyYXSidztNa/nlcf7BzgfdflYiNe3o9R97hulHIqMPpR8PV7QPlVUSv8Hku3VRTkG5wyV/wkfHZbvqvEllNanAlB0Zc4LFPAmAGfSFB7C8AKvJcO2R1nuRpNNGqY3ARrD/bn+lLI+t6btY52r/R/hKhPkoJfGamqIRf9TxD9jU4tO8yJfKFayXHMvNBRdooTBRvLHQ8csCNXmYh04QXw== 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)(39860400002)(136003)(396003)(366004)(376002)(346002)(66476007)(83380400001)(66556008)(8936002)(6512007)(966005)(2616005)(36756003)(6506007)(316002)(66946007)(69590400012)(956004)(4326008)(86362001)(16526019)(5660300002)(478600001)(8676002)(2906002)(52116002)(6486002)(186003)(7416002)(26005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?Qb8wHxTIDL/3SQmwqa7+gYu3Hriw/u7IMMu9Nh76TQnUqs0FThNwGKnzv+8O?= =?us-ascii?Q?DgyOz+1Cug1jzdY0BitHqFYOE5rgAwK5GLCYj4fCKRvrImact5v7ypcy7MCX?= =?us-ascii?Q?yRxlvASJvux0aHk0wWtLf/zMqT6Eecbf9ET5QLAb0uGicSuL9Df059NOBJM0?= =?us-ascii?Q?STI6Moop5G4i8R3Dttj1G43na3K1kYTccOu+Yupe4I0bNcwEO2miKwLatnkU?= =?us-ascii?Q?9AF57yqShBRso4JbVVgdXydiXPywi4teqM2SLGIFj4f6nBBj8QIM0yltqn62?= =?us-ascii?Q?QuZ9lBgQzlYDbor0bNyVTzNg7b72Lnr9kDmhSWv16tUEcUDrpdeH5FgBElYK?= =?us-ascii?Q?JjhKdgdcW2zbhDSE9yVBAm8DJO/HJbJPHsHjwkNydcwsF5ToSGlNnNGOh0Wx?= =?us-ascii?Q?UzaepDK3Z43/cRHvTa6S+Z6uYJixmzIzMw7vC1l/YTqvilo1o1BMT7xgy0KM?= =?us-ascii?Q?vuWU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CrossTenant-Network-Message-Id: 5ce7d3ae-ced3-4d71-68b9-08d8e3ac9811 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB3983.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Mar 2021 10:09:30.0791 (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: UryfB0XQDVctWyw7KPbkmBB2YLaIqGwPzjDDS5knv0nFCbv+0H+qSjj1nyWLKcN9PoCw4EhEaYxje55OodBdSA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB2318 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 --- v4->v5: * No change. v3->v4: * No change. 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