From patchwork Thu Jun 9 06:49:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 12874882 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D9DBAC43334 for ; Thu, 9 Jun 2022 06:50:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=PRAUDANfzO1QQ5Rvni88+2QeJGiXfx/XmsDLYDFVYrY=; b=H2zXjazIf/UsnG xT2+bNJ7LInxKHgx0CQVonzTWVOSyla9TSCQHe/LLJyR8N/Q74A+UMRbm+yXQD7o8gcmKqGxJD7FX ovxPOwWnPqfsZg0sRJR9r0RfpgXjAXoiD6HOLWsFXwagOqWt+OcjHxocGUFOgEenUVcZW2O5tqqM5 vDneaxEL/glm/uu2P4E8cjSFr2uA5w19qfvQaE+FBPauyp0M1FUhExSJ2YBIKlNVzjmKX6/u1Y1b/ 0XhXRR9anA3og3OUfBOC6+nzYWPSYMsDstx6QbxhGWekruC+58tuk9vQM4PoNQeCVZkCSBDaR1Dlr 4Uyn83RUneL02jn9au5A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nzByY-00HAJi-5s; Thu, 09 Jun 2022 06:49:02 +0000 Received: from mail-dbaeur03on20627.outbound.protection.outlook.com ([2a01:111:f400:fe1a::627] helo=EUR03-DBA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nzByE-00HA8M-G4 for linux-arm-kernel@lists.infradead.org; Thu, 09 Jun 2022 06:48:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XOTJ1f3T3YG3EifuL3caI1LPmq0+TCExB0mrMN95pJkgtAynW1xEXnAPxq57CehPMBCFF6LswXLzl1ktMUXHpGsi/5GwUYB3cwKkYi3gDFl8hCU1WwBWE6Nq2rUkS2IeGo5m2rt9mhxWqnPhBpr1375Zfd38wYaGS+SJhQt7IgniyqeqSbVf789ro4UVyWDtdLHKylhwdqnATsoEBBb/3YvZyZLGC/SXU1319EVwGXarvkWtgAu9vyWy60MBbeaiM+B+BKtM0WEjI1yTTAwa0Z08fg0Bt8ICjLIwFi4knm3Sb1IrWNbp2/NDLdDlNXDdCHg4WXhKZmy+VcYMOhrSjA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=6DjxV3N7Bt0o3J/KT/FGQPU6HbG721E6s9o0CyqixvQ=; b=RSoUbNZe7hivqWWKkEZmtqzEV7nyZ0cdJPa8YQzbHjRJrebCKta3+DXVNsT3WVhW6E8d2dn68vARVbreEEeGTgWjtAMt3Pu1mCIK2gq2wPREepD7yqxnNjd+bUOjWng30xPgMmAjcCUpeqH53VtpKWrCJIgxYBguomyXipl1hk35Z2K4WnyGmqCHd5g+619+cbBEpzFceR+m0sLliCA6hhP6rm73HyPByORPLM7vz4tfuCbBgugxNPArTD1ciCTwNGlXISGiKnBPciHOdmQmC2q+QPs95e3El7Nj5+JAkBPR6m6c/oe1GP6qUuCS6GvYl6LKoMzMYe8d2nfnM7gj2w== 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=6DjxV3N7Bt0o3J/KT/FGQPU6HbG721E6s9o0CyqixvQ=; b=I7mOS4HPLq56kfgyLPxMj9M9a7dnauWi1PM5qHAYhPqmK2HMVQP0BbVRpn6vwUEApCueCmemMv2hbc3UXB1aZizCIKw2fKjrmnmf0Pxk5hkoD6t0T9+EGo9vJUGeDp8NGqcpSXt/asbjF07fMUyp3xxFdR3wGsHjOLM6/tADBl0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) by VI1PR0402MB3518.eurprd04.prod.outlook.com (2603:10a6:803:4::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5332.12; Thu, 9 Jun 2022 06:48:38 +0000 Received: from AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::3c82:f63b:711a:502]) by AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::3c82:f63b:711a:502%7]) with mapi id 15.20.5332.013; Thu, 9 Jun 2022 06:48:38 +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: andrzej.hajda@intel.com, narmstrong@baylibre.com, robert.foss@linaro.org, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@gmail.com, airlied@linux.ie, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, lee.jones@linaro.org, mchehab@kernel.org, marcel.ziswiler@toradex.com, Rob Herring Subject: [PATCH v8 05/14] dt-bindings: display: bridge: Add i.MX8qm/qxp display pixel link binding Date: Thu, 9 Jun 2022 14:49:22 +0800 Message-Id: <20220609064931.3068601-6-victor.liu@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220609064931.3068601-1-victor.liu@nxp.com> References: <20220609064931.3068601-1-victor.liu@nxp.com> X-ClientProxiedBy: SGXP274CA0008.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::20) To AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 301c3304-93c3-46ed-06c8-08da49e41510 X-MS-TrafficTypeDiagnostic: VI1PR0402MB3518:EE_ X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: YmwBWc3cAWEIBinG2vAAv14OIiibv+Jg8E4FdTR1PuyNSl3bVPhPtIFDrgN2x0rUKNTCWehxwQlm4612pvYlCkXA18XdDRAx29A0iAbvP8EJQKZKA4vqGWa5bjeFLXRMmsvhI6crAt76io4Aaz0u8BhNCFO8Qif0RU7Kz4pq8Bedk4jlzLsuw++LMmSMDAsMS0KCei3Pzlbag9kUSjs/TjBPhdU5J9v5rXRGgCJXwqdsmccoaD/JYm8wMjK2BiDDNNrOKYXuSbtCnMqk/PB+HxmXU3CNepOLLxN0fwRskZq8c4dVhfKovoBbDTb27M45d83eLGAptZgsNWhnfvfq7lxMGa1v17VFx7acpGQ9feVkrwMz2r+9yIo/R6SLgDYvT/C4yz3QNXrKcBe0q4svfr76lh7EImChBNyKxBJiUr1/hhMmy+iYzxmxxcvhnYI/QLTPeXPnc5LckeLicFhqd1U2uuF1+9OUM/SwYQrcJXZoSICMJ47mLTqaoEC62f0l2y6mqk+iKUyRG8RA5rEHkAv9xo9cdJra+NBpZRd/abkrvQ39vf4cLnsQ/OX9WGbuOGFP5yt//+RUDvAc2j1xqx/uSV+NZ/8iLYm8R5YsJ5FiOr7NagL73pZ0XJgt/AScPjka5k9rj133mIRmoA7aQAbBr9Hv1i0VvzctiIEdbo76csNGMEZnBOUp0csclphv1drlL/4B+8Ic+I7Eguh9t4/iC1/I8+fFXQnP4UZe3hNQHovo6BXOq3fsU7rhHJ6oJ9uPQgZLHZc0dhqCIDWqtpciE0bEttQJ2KkCxeMbV1qy8ZQByrBY6P79emOT2TLlFQq5j8FcEHocCx6uFZMZJA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM7PR04MB7046.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(966005)(2616005)(38350700002)(186003)(26005)(38100700002)(6512007)(6486002)(83380400001)(36756003)(316002)(1076003)(7416002)(66946007)(8676002)(8936002)(66556008)(52116002)(6506007)(66476007)(4326008)(86362001)(5660300002)(508600001)(6666004)(2906002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: no6+aKu4kxu+hG4o/OJhM1vhitFYAN7iXnYhEsrwCv+3ztlMno/b/eoq3K7ADXG79MGDFO9aVPOdLcGMqVQIktxp+4nmOIcjc7kWL4HHI1jmlM29PINwbmcXAMe2AT/syN1lJky4cW6zZ9DH44p98hecj1UrTYHvLKm8S+ia6PYIZ/IY6JYcIrOx8CnTlWtBJvR3WbZMyMoUTiFzKrXzhaiDm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15LMDMcVI8CZh78xiT/oB/1WTwKcBQRGld27R6IUlxS0gil+pE3PlPwU5GfBVhJsgPHshYQJJbQAESWCEX1MwfjNLH+DNBaPSnntOg+FixM8eBns89pjsrBtWFf+woYwFjmJm9Mhjybn3NN8Tgjh0tpju9dhbRYFd+nXpUVlWVJjE9OLeHclqyw8lzUS32eVPs/3LGUkPTR5qEtD4EsG2d06ZzlqrridmH/GgiK9AxoTVOtiqHCxEHHqXewQJeQr/9I4kVvwM8KZ72LXbIAaBe5Yzcsi40/bmonFAqVRJT3HJTxsyv5ifHnVKoq/ERKitWeP6JaohuZTnZ9/OU4jv4OSMMmuN4/tWNk3CmoC/L4V659RVfPDLsAf9JTT9+OFEsGDiOLxak8cM5OZ3Z4to/WAXN/p1h7bazf3BMmDjFNz0PB6A8w6D+OfSYU96FE20nUDklVPsPA== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 301c3304-93c3-46ed-06c8-08da49e41510 X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jun 2022 06:48:38.4526 (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: CsczIer9RZhlZWqlYmNbpDMd4NAssyaZ2Whk+zPnjNqlt6qQVao6dqIt4+Ib8nvVpd2IqzJGjnqdus3lmim0tw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3518 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220608_234842_583350_B8EEB7C6 X-CRM114-Status: GOOD ( 13.36 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch adds bindings for i.MX8qm/qxp display pixel link. Reviewed-by: Rob Herring Signed-off-by: Liu Ying --- v7->v8: * No change. v6->v7: * No change. 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) .../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 000000000000..3af67ccf8db1 --- /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>; + }; + }; + };