From patchwork Thu Dec 17 09:59:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 11979485 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8E17DC2BBD4 for ; Thu, 17 Dec 2020 10:11:08 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0693D23899 for ; Thu, 17 Dec 2020 10:11:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0693D23899 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=3v0C5mhXdTesw/8KuFGg4JbZ3Ho48vhzz+bRb2T2+Vk=; b=NGKvzaG9cQMcblgKgc7BbXqiN ObIosqylq65koTjHAst18TSzVfS54ZBxJCjW8+9PsBsxYcccen+druGUpa2iZiyQ0Vk8cwaEiqbei 5oCuJ8h3z2rhUPW737jX7tdwNFIQev01ji2iHkSBCFkg1ZoUekIEqmjxZl2+qiR4dBG4hZYaZwZIU UtnwZrdqfyQhDLlkSePmMWKy3Qfv5AXlBYW+SPzJVFlsYObjUmG3+BGCJ7o/89JTf7+L/midf8nkh alC+hL8FczRdaSGp3d33fE5rDhrqqRWL4xlQtKRN3WyxrPHOuRxFTi8nS4grMeDJJ72lH0VJAsQFP 33pJy3ztQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kpqDr-0005YE-7t; Thu, 17 Dec 2020 10:09:23 +0000 Received: from mail-eopbgr80041.outbound.protection.outlook.com ([40.107.8.41] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kpqDT-0005O7-Cn for linux-arm-kernel@lists.infradead.org; Thu, 17 Dec 2020 10:09:05 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HprVwxlfVMigFI6r1MHdJxfw/7RUhyCchP95+hDjKr2MInb2jYC5ipzDM+Kig24Nnva6/2JluTN+RDpQABd83hEh8clklCBv6NwLA5T1LQUrPA+VlqHQLfJdb6NPmYjH1ef984nQhr7rty+TF9nFhnxfb5JvHorniZDVN9fxuPTiosLeiwwcHzVC2EoLi+ehlujuKrTVkPAM/bC/Yi80AJi94iysPQGRp/X61Q9bVHt7+ombyVutzTjfKNHX3T3eM1RrBP4Ow923lgQv3VnBrHuKNYT7DteqrbVDHbKYle4mjYsiiBsyItat3JviBblwHHzVyYMnzXLThvAYsV7cDA== 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=xaXAZia3/USzoybzPunkizjPhI1pgtRXaeImKLwUn5c=; b=cNK5o7JXoe9go4UgjVE/p/6rfoeMt32WlLH/npdlZLB3+W6jykvaMl0X/ZqDu4+Y9grLeAKVCagiW59HA7HBql0mrkgxBQPfRGvA+W8a+S3yVvKGxhbaXQ0lOCTIwmSOka0qnAtoXkU8UUcbPbOvzRjCAM/EBxelVpQuCMyWlbn/ItankX35GDz3O5TZKQtERaPRhODSwOQWfiI23CLxFfaQvlgBjvDFSUHIJg3o0fZ1pwUJOffLck84Vsbzg6+nVwQ/eqpLtdwqtRHindez2CgvKXGBTb5kLBh/2wJ+JvLZRWzaE3kn6T+UyqE0gBIHYTs295VJEgVrDW9DOjCRBg== 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=xaXAZia3/USzoybzPunkizjPhI1pgtRXaeImKLwUn5c=; b=pUACb/5Y7RaDvDS/rvvVK47B7RK3SJxOCFECNAOLf7kGRAJBhxZp+39U/6uF+wwUHFz7CL6aDcMxQ7M7/mj2nAXAjl8PpUWzYCoy9EyxrmJmsIewk6zwVSvXbPNY+DF1o7mTntfQn91+QjcBxWJhEFvzjE2QKEOBIAthue9KN+E= 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 VE1PR04MB7312.eurprd04.prod.outlook.com (2603:10a6:800:1a5::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.14; Thu, 17 Dec 2020 10:08:57 +0000 Received: from VI1PR04MB3983.eurprd04.prod.outlook.com ([fe80::dcb7:6117:3def:2685]) by VI1PR04MB3983.eurprd04.prod.outlook.com ([fe80::dcb7:6117:3def:2685%7]) with mapi id 15.20.3654.024; Thu, 17 Dec 2020 10:08:56 +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 Subject: [PATCH 06/14] dt-bindings: display: bridge: Add i.MX8qm/qxp display pixel link binding Date: Thu, 17 Dec 2020 17:59:25 +0800 Message-Id: <1608199173-28760-7-git-send-email-victor.liu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1608199173-28760-1-git-send-email-victor.liu@nxp.com> References: <1608199173-28760-1-git-send-email-victor.liu@nxp.com> X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: SG2P153CA0012.APCP153.PROD.OUTLOOK.COM (2603:1096::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 SG2P153CA0012.APCP153.PROD.OUTLOOK.COM (2603:1096::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3700.2 via Frontend Transport; Thu, 17 Dec 2020 10:08:51 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: c0a03dfd-1820-455f-c485-08d8a273c434 X-MS-TrafficTypeDiagnostic: VE1PR04MB7312: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:949; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wnAS26CfQqBy1g3MYXfu+B+/yGGDpQHU9gJ1uGnMM6FX6lji7hDk1UGZW0Envh3xmsjl+YhHepeYgss4htG6CbuEf5ZomsaCks0JxmK84kC7h0af2UFD962HjxRUn2Mpjuf+wlmjaSruhIrCI9A7okzQKgzZiQ6V1AdG6SsK4wawgXSbfdZIoP32SMeUI4r5bSIAFn1Ep2/k3pzgGsuInIb/cnILeIx4zDVF163q+O4zPZegS7HgFsTsmAj3VItf45WGZJo/03wzdCu0lf8UJa1latl6Ei26o5RjwJurHMO+h1mfd7LRtlYDi/rkANAdD9ENxwAdiGp/8K34XKu1IFjhUxg/EmmYRsPrORzdFKVhICSwuNre5gsPwiOox/NUx8IjBlp23/jmnmIwrS9hGgZz0FhXBtZBlhxv0En3iKJSkQ1vVJVpRRV/l2Xvo0oRPsPo9GOLHEhVkYGtjvhDnA== 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)(366004)(39860400002)(376002)(396003)(136003)(346002)(6666004)(316002)(86362001)(6486002)(2906002)(8676002)(6506007)(4326008)(52116002)(26005)(16526019)(8936002)(7416002)(478600001)(2616005)(186003)(956004)(966005)(66946007)(5660300002)(6512007)(69590400008)(66476007)(36756003)(66556008); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: nCgHNZ3W34BoHEpaDIvptLPrm/7wNno/OF10AEpQo3esvTgd/Jtx9tTe0Hu4S4hkjAHwfzovWkyliaKKX36eODIvG3dJSixLhrogv542LVup9NYrO+0+sNVhJiuoQ4m9nqxxh/paWNyHlwiwMwO7C7ian6QqVLYRfS0R82jm+lfJCTD2L65/YPCLwzSL1E2aOsIoxXlniYt8x7ZzYUiKjbQqWxR7D6ZlKyNe0VRFnrZIoGB+kkl4QFyIoUD2OSsvoRMu0lP+B8QbbKlnKdwgqfcsZ/+JBOaBnbf4+O5r9a7YxO6bdRn6bhzdcxcEUXDjRaNl08zg5JXa7f13LcZ2p93vQyFvbCJScO3lP+oKT9C+bSDspVgX7dFfjyhoUUhwgmK0yt3fspGIPFg4DtgerOSF/oL3uoJdLf8OasgzZgQtUhBbmraH6pu3MYC4GsWHoYOtUiozM87FIBzTTeWG9o4F7Emyb+h4MEs/RpD6OJbRS18tcTZ0y+6i37vdrRwWaEb7TtLTP3zpVJ1I91lIvK015fBiuPp0kIL2FZEZJPOh+Q6bXidhIT5EVruclJpV0oWa+M/2y+1Bhp+KYuSAlsy4qYVsd28ZHP8bS5CNLrXc7UsZYo2dMcY0a3IRbt7+D/j/pWCzrK6OAVusNms6+xcliO7gjXy7VXCqGe90tVd0cMQ8LJBMXoWWSLoYS3CZyyGe8BFKcB2p0jCTjqiIOY1M63EJHN+AEtRD3nfsdIaaB5OH0yjCoPPKquFkt9rBYj5AZvyzv6306i+LCfyLe7aJ+QG7Igq0/5OePUFEQ6rFj0hIk+UsHug7/kCk43wkH/purSrXRo+w2GccS+aZhrkabN+JOMI2WywYuTPeUtBWON31/9+Z0jkdGiX2oQQr7fxpxAV+9JizsZx3EhUouuLSd/iOCyzbsrwY3220R+iIQw2HZyVf5SPG70uAI3kOwi730uHMJfg3jXQMMyakppMuCslDSxcSD0lEu5y4NkL5MVfwpwWinewZWOCmaTDr X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB3983.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Dec 2020 10:08:56.7817 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-Network-Message-Id: c0a03dfd-1820-455f-c485-08d8a273c434 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: PT7zFKKjHNPE7hx/cPnbONXiQMlCg1numcBpof0p6agTih3NxnpaRxd557o80RiMcZxnTR/bsIl/DgjQ8TD6oA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7312 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201217_050859_516592_60D4A12B X-CRM114-Status: GOOD ( 17.28 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jernej.skrabec@siol.net, daniel@ffwll.ch, narmstrong@baylibre.com, airlied@linux.ie, festevam@gmail.com, s.hauer@pengutronix.de, jonas@kwiboo.se, kishon@ti.com, a.hajda@samsung.com, vkoul@kernel.org, robh+dt@kernel.org, linux-imx@nxp.com, kernel@pengutronix.de, mchehab@kernel.org, shawnguo@kernel.org, Laurent.pinchart@ideasonboard.com 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. Signed-off-by: Liu Ying --- .../display/bridge/fsl,imx8qxp-pixel-link.yaml | 128 +++++++++++++++++++++ 1 file changed, 128 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..fd24a0e --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/fsl,imx8qxp-pixel-link.yaml @@ -0,0 +1,128 @@ +# 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. + +properties: + compatible: + enum: + - fsl,imx8qm-dc-pixel-link + - fsl,imx8qxp-dc-pixel-link + + ports: + type: object + description: | + A node containing pixel link input & output port nodes with endpoint + definitions as documented in + Documentation/devicetree/bindings/media/video-interfaces.txt + Documentation/devicetree/bindings/graph.txt + + properties: + '#address-cells': + const: 1 + + '#size-cells': + const: 0 + + port@0: + type: object + description: The pixel link input port node from upstream video source. + + properties: + reg: + const: 0 + + required: + - reg + + patternProperties: + "^port@[1-4]$": + type: object + description: The pixel link output port node to downstream bridge. + + properties: + reg: + enum: [ 1, 2, 3, 4 ] + + required: + - reg + + required: + - "#address-cells" + - "#size-cells" + - port@0 + + anyOf: + - required: + - port@1 + - required: + - port@2 + - required: + - port@3 + - required: + - port@4 + + additionalProperties: false + +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>; + }; + }; + + /* to imaging subsystem */ + port@4 { + reg = <4>; + }; + }; + };