Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp28972pxf; Tue, 16 Mar 2021 21:06:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyNMuDVWtcBlKF3D9cST6zvryEHU5/2pkABoOE1yAUSlDYyr6oo4HHPNDwBPINDqtGP51/M X-Received: by 2002:a05:6402:4244:: with SMTP id g4mr28141975edb.204.1615954003954; Tue, 16 Mar 2021 21:06:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1615954003; cv=pass; d=google.com; s=arc-20160816; b=V6BLlb11KJcCzO07+YAtqOxiVAlXx6MRcbqYsb4h4qt746GaJM6Wx2S3ZYG2BmGsxk nEwksMU5gfk/J6m9c60E2HZuO71SCpNG17wVmwjhRtv2EGEtaM+LBopW7r7vOTMkU7FC rP8MD0YJNHB/AHFbVFEPXXD0GGnLbBhKedhL7fkCRL1vv05au/C3zCv2ZiR0Co6DIWy1 V+V/OWXUdP67SLOJAB9+tYy8ASf+UT7irxThBY6kxVxS3XshO9gAheIGLLUAgjU8Pjfo UVupZvEk95/RJb8CZZaOfO+KLGILiFTSlsX0IZqbbTY9AcqzdDLeuSJWzd1xHD/b2TKO hyMw== 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=MLLd7CsPT7wJImoalKGc4scNZMMS1M71z8zpb6QtFe4=; b=QUrOFzZcP2UZMEMM16+3OR/GOswMwSGdDWsHpHRmTZ9oJzBTnL4YTyc94ECml1roEc wR07op/tFbp44D86z5Vx3BDU/n8ZotXa9e8DjYFz+h2u6Bvm9sQiN6IMz3KwgNBj9eBc uTCODk1cDybzObamA/6YwP8EHPM2HacOZPUCmO26tmkt52yyoHNQdrFkNR/zv1SF1mnA nSMqhFOu38JlX3nxvTWLTIVZTePgCP6kH5yX4hugvtw23UXDJeLBeEBa3MC8vtALfN5c P4PoRubJa7QMjv9OJYbVWn4Rx6uhxuoWKOsBUxWLn9LfEntkqYv9aE9a8TlKGijNs5nv UVEQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=pN63ou+b; 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 k15si16455134eji.582.2021.03.16.21.06.21; Tue, 16 Mar 2021 21:06:43 -0700 (PDT) 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=pN63ou+b; 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 S230221AbhCQD5T (ORCPT + 99 others); Tue, 16 Mar 2021 23:57:19 -0400 Received: from mail-eopbgr60041.outbound.protection.outlook.com ([40.107.6.41]:2750 "EHLO EUR04-DB3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229875AbhCQD4u (ORCPT ); Tue, 16 Mar 2021 23:56:50 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BU64PC3aB0eTzHqNIoUuza6h90Fhbjm7tfzxXzsuAlHhOJHa7uB7zhmMZ6qdXoTIVZ1v8L59DLCXR5xk8v56L771NZIvEvI1JQeL5JcrL2iGywEgITDKNay15lHQpDixmKvQzDyWbbtjm/eNlATibPXRIyFZpiRw9Qoa9EfFFU2GjzsRrj3YBWJM65cdwKc6HN9Zx6JmxXRhilGoLWlKJ3uPGBHXSDipdGpaZwp4lfWEMpRAZhbDYuKPTbuzho4KJnyj82HC+B/KpPLBcnF498AAhE5b9U38zu4LtynX9vQTYntjNaSN4NzFiCgZ6uPBscMIYZHaUh2HBfyIBHWZ1Q== 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=MLLd7CsPT7wJImoalKGc4scNZMMS1M71z8zpb6QtFe4=; b=MRAwWN1nLaeiB+J8L5HzJzUVCJj/pswA4jo8mgXH2VKbA/B0/4ADAEPjbCe0sQ8w7OA6RlqQy9Dn8euf3tzXZnWhCpFoymx77eaQ6zetZpPqpmQUXnt+oWTgDr/Dm5O9DvAtMdMnBCYK3A1S01KgW/xNhxAvS1eAZmNpa8BWzeLMB171u/AlyaRAHeMY0n9dEbGWDTXX8U4guL5nZ1JyV1kKp3b2+YLVuI3HH76vUf/IGO24bcuSqDGysDPpDXa52cI0fZo+1GGBJBpGD7lRJ7b/7Iv/WXScU1BSmt8tIWZY/bNRirfdfyQG7w53bznyrf1jNpUrxip8p2nx5076Lw== 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=MLLd7CsPT7wJImoalKGc4scNZMMS1M71z8zpb6QtFe4=; b=pN63ou+bxLS+A0R4h+ir+afPujaEDb1ZYzn0cBT6b0eR2hoetlIlerl0sJrWiZ5fKWtATxtPjmNBaoBsxUfIXVpr00DVkufzd307evD6mzrOqJxdVYA++kNnvEo48podP2vBfZT4QHHD7L6cPw5b490GH3nzjsrxuWXs0vkDEL8= 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 VI1PR04MB6141.eurprd04.prod.outlook.com (2603:10a6:803:f9::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3955.18; Wed, 17 Mar 2021 03:56:48 +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.3933.032; Wed, 17 Mar 2021 03:56:48 +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 v6 05/14] dt-bindings: display: bridge: Add i.MX8qm/qxp display pixel link binding Date: Wed, 17 Mar 2021 11:42:40 +0800 Message-Id: <1615952569-4711-6-git-send-email-victor.liu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1615952569-4711-1-git-send-email-victor.liu@nxp.com> References: <1615952569-4711-1-git-send-email-victor.liu@nxp.com> Content-Type: text/plain X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: HK2PR04CA0090.apcprd04.prod.outlook.com (2603:1096:202:15::34) 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 HK2PR04CA0090.apcprd04.prod.outlook.com (2603:1096:202:15::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3955.18 via Frontend Transport; Wed, 17 Mar 2021 03:56:42 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: a090e1ba-ea9f-490a-68f4-08d8e8f8b05d X-MS-TrafficTypeDiagnostic: VI1PR04MB6141: 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: R3Ka4h/gux5cPxry5l+wf4BBc0eKDRhwoTNP86KmZxbtenhiL2YCKZ5Co+9FFCzeLEg/GMbQT6/MwI5WUTo1lUKSI/SDtSh9+iyz6nXPTDEXL365DQ7Og7WT4LxA/rQiqeSTkfrYMSDgdxYwTwhuAViOMYDgl6Vajlac6TA/da4kyVSPzQOkZcvimFPOfy6FocCdp2AzNTSvgMrwrxx2Y/znowqFtLSb4WvvHbQJ2Su+mt2KHscdcN/9njTYaTSS4GoEoAQWBWOjLoJ8EToFzA0K+IsrLqU97cARdtRvkMa76E7BGxLmPBVSZ+f9ucGqWdBmsOz6E8ypnbe+RukM1YbNDuZ1sqE7oLQmHGVvgC299GoICs4Pye7CB/0B68ANxVxgyJkVMs/8INzh6aCnEj0kQYrT9oj/S3algBbajXcLETpclnVks+cDQj0TTAV5qUJvZx6G9RlObDjl97bQKWB6NHvTAM+dpdRt9u0mlE3wAOGujsjJT/GlZfnvqzc6qSBd7fh+AzILpQwi8eKFa79adpQn5g1S8a6xvq/pUv9TX0N8vZk4P5xOf2ZBmLa5ARpQJQ/lwKQ3RqBqQM4BBTplaYPwDfyzuhWP6U1OUkab/8qNeM3Qxi6ZG1tMl4Q4QSti594+Z+tNFT7UCNw11RHKdS9w97ma0fcvqvJzjEQBF0HnVC6PRj3CFWDpQN5D 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)(346002)(366004)(396003)(39860400002)(136003)(376002)(8676002)(5660300002)(316002)(36756003)(16526019)(186003)(8936002)(69590400012)(83380400001)(4326008)(956004)(2616005)(2906002)(52116002)(6486002)(6512007)(478600001)(966005)(6506007)(66556008)(66476007)(66946007)(7416002)(26005)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?pS59JhtePg5rZdZ+Fsb70ytgrP28ZLTyE0wpGD97Wy9n4PkrvsSQsgMsbWBZ?= =?us-ascii?Q?clZZBa9OMKNXGVjz51C68Z5pIt5kPZ9ra+4IkNK8TdYMxo51N2E62cLi4lKt?= =?us-ascii?Q?BQzebLV6OoFcnvSZNTFGLO3rZ9AeJE1Mw6rtCfQ7TpKAn4JtxYmKhJh8xmAz?= =?us-ascii?Q?THUfuOJRXB+7SSL5ndefeeu1arAvgLtS+HY/1FvmhDKwNprmCKmeW0GnTBTd?= =?us-ascii?Q?80rJuciv9Bv6mQ8UaXjN1pycYnCM6qhMXsEj9EJ5NVvCIXrBzuN/hAb8T4vt?= =?us-ascii?Q?55lN45UoM22Fpse9v70xrxw5Vo+7Ui3Ita08GicHHQGj2EFUDXarJ1z9OIbC?= =?us-ascii?Q?QkJM/P9wL8TOg8wfsFzpVNsD33ImTtp1Gxbp1O3jnYGZSdNt4JaWgG7IWJQr?= =?us-ascii?Q?nJce1lkJuB87y1OF92kW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?us-ascii?Q?0ZqAJgkwktG0c/CyNz/y68zN?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a090e1ba-ea9f-490a-68f4-08d8e8f8b05d X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB3983.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Mar 2021 03:56:48.3279 (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: XnhHJuw7GRyqlXSi3u9bu5Wmgkn4qNVtoewf943LV+EHXOVPRhkUuG/gQ0ictQQlEWiMSOfi8cW1qvmxegAcEA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6141 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 --- v5->v6: * No change. 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