From patchwork Thu Dec 17 09:59:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 11981507 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.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,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=unavailable 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 CDD82C4361B for ; Fri, 18 Dec 2020 08:33:37 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 9FE4923A9F for ; Fri, 18 Dec 2020 08:33:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9FE4923A9F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6E78289C83; Fri, 18 Dec 2020 08:32:20 +0000 (UTC) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr150042.outbound.protection.outlook.com [40.107.15.42]) by gabe.freedesktop.org (Postfix) with ESMTPS id DBC4C6E235 for ; Thu, 17 Dec 2020 10:09:10 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oKGskBHPUbuFnz3PFdZCpdaq1wxeIlgMHIcz22SyOnu7fIQYO5W7YTY4KJE/8z+fL3HSIIVTABGap8ysZqPH+OZmm3w+hA5Y/zRuG5zz3h3vH2X1vpHC66lX74W2hA8h3fiW60lLgr0sYRBNo6OGtcEtHRWrHKXSwyHT09wVRZr8VmxoZinL+fIZCBGH6szrpglmiOITgNAs1VvHdWzafAovSaGTsVE89YDu7MX6U2j3TtXL7COwj+jvPkdEOHKltLCcPf+M4x1/zihCom3accVXq0G+HRyn+F/96lFN6E8Ov3fDIt9dTyBfgFaSsX789qg8PQxjFWfT/tmLIc03Hw== 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=XO88+r3w5wQcNVeJAOyeWfVCPvoyyC9zE3uIT7B2XzI=; b=eqPLCOjpyK/+eGrpq1Lu6DpELhpy3Du+S8FWsX8xiUD2kuj+w+lNa+BsBQ828EAJ0ptviBpgW3ErRR6PrJlYzIEm37DeyLpfkVoE8aPgFaoU/gvaiN7n+rsvDAmwjMj8UslRfWLfaYY5ZjBzAHWai/U5rrF3ku4juuP2nEKY8aGeEMWzOS8+kSRsXNWM5azwcCH8jKHK2vCzwWIeyHZ3bk2RRt3jyBFkD9XjOAT6JaiPBupOOpHqwlkh0+24wgmXtEZCzwwEbKiTg7yn+dDneRN6HbkssdnX7+jZqgHK9Sq69OJ2kIXVpMImuCHPuDFrRgmofWbtpdqxxmxOoQ1RWg== 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=XO88+r3w5wQcNVeJAOyeWfVCPvoyyC9zE3uIT7B2XzI=; b=UrjZ4b0I5AVlI1E7xvP/gJ6n+PUCrognUzKo8zvcOR0TLxrlhmJFCK5ODqrPa8nkSdVvoBjFN3eu7AkbPMAb2m9fFS0vCY2xn1bdEHmMJDBuLFFKfv5N8zTl8M1+DIrIKRBVrxodYh6Ks+LsPnX1N4C26VmfkpO2L7KJ149vd2c= 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:09:09 +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:09:09 +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 08/14] dt-bindings: display: bridge: Add i.MX8qxp pixel link to DPI binding Date: Thu, 17 Dec 2020 17:59:27 +0800 Message-Id: <1608199173-28760-9-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:09:03 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 6d68a29b-3f97-4bf7-e180-08d8a273cbad X-MS-TrafficTypeDiagnostic: VE1PR04MB7312: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6108; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ccfAcUWFo+gkBO+0jT7L7KsnN4gs6NVl4ZkzEGL5g2mWyd7utIOaWm7D/2yp1+iDcHItCnFBIFD9mSiI/B8VKjT4f6WyRtkNp0qKrmFUEbNSE9Bv0xfU5Ze8o6oxfiW6cJ3pvyIki3rayly3QvSNqzFXLXLlUL0ffQmp/ZTheL+fOPhY9suoyuCftYEEoGcOwPOJd15rbv/xzrgzF12Zn/5a0zRbV/bAQuwdc5JEDv+4Fx/hICEjLkdUGYYqUX6dv8KgvhcF2fVKAiPNJ1ULgCk2rrCNbtZWLUPAIWqiIw4He1JqOUUZg6n3JNz74vfzJxZFteLW85HYWPlCmhGOVWdNLigaT0vhGaHXB6UL3+LFjT5b6oPF8/A/fehuezMcbi7nClTtvICJNLEVNF8IMg== 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)(66476007)(36756003)(66556008); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?q?CJLXANxZXPF0diLWfWPEKxjhOrfxJz?= =?utf-8?q?n1j7UvRnHPBQbZhoql5/ZOBOBPNrapQKWczJKjOSqZyTphFNXe13oz/MN12fpPBDd?= =?utf-8?q?a5GyRldKZkxNb+uZnbw6ovSIsHYnOyclMr03X4mJNrtbIGKkcV1VsAP45LXbqM4Ez?= =?utf-8?q?50wnZkJCjnreIrwZznbshkRpFeVcmKGkR10FtQZWBSdgV0slCS78TBkzOqtd/nq7O?= =?utf-8?q?qpSN59Ieha5H/Q12nodcnma1K/7/b1ZZMEZtMD2WVBXSkCFz066UWoQUNHF4zJbyS?= =?utf-8?q?qGDrv0Y3X898OWHQT6QPFYGoQ/ZnBvtRoG9SyYQhpZSonScdYdUWiAntj64DXRbbS?= =?utf-8?q?9eIk4aBMo40OWyT4p91+JZx19bIQa07aVU2WgkQGAJyzADXg4SGO2n9h8+g5nEbXG?= =?utf-8?q?zFlR9KTIgumhb0oyBc5uWvQNujXcZYWulhYMwfbQMkEc5sAqR6MFI6fi0w5WtmKjk?= =?utf-8?q?OD7vli8OCwqtlEDeWaP5nNXIHQvDtGF6eJQPmLs/oSpTh0ZmpC/Q5XLJ53QRZ0S7a?= =?utf-8?q?mT0oWylpgpg1oXFWIGt0CemiqPycuNwT3SlhArGU60ZM5l8qAVHTncZ1nR7EEEkF2?= =?utf-8?q?mYHkOLEIO2NGRPDztxQGLDcvFsDEu+iV7uRHRkgfC4PudAzoRy3CUPLS80sE6Smyq?= =?utf-8?q?crJAJw/RsKEqGPnIbJUbpH4rAyea2hIUs/V49FvvSXbHemu4DkeSNWo/kTrlpuMvx?= =?utf-8?q?R9qDsfEKJdW2Za1Ai56N35BcPAXXb25LlgXpbNrWl51gK8X6/ht1DmEsn2SPTRYLi?= =?utf-8?q?KQ3ITzYFYegNUo486bOsoh64CxdTZ9zg94E90L2CkCOwKnrem8m8LU65wlJstG6TW?= =?utf-8?q?FCjDnHCnlB1xptLJhdD4EArcCxsx0H69JkPWv4E/Rrn/VFCIEjAdQ2nT+7D36TXHs?= =?utf-8?q?zogjbOO+3TpolNA0ZU8FavDk1AjA9W6TmGm79WBiLpfBUqiNwKVGQ70BdGxSCUAWZ?= =?utf-8?q?KRlCW+EKXt3Bpe/q59L?= 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:09:09.4074 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-Network-Message-Id: 6d68a29b-3f97-4bf7-e180-08d8a273cbad X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: szXd8oXmIyDwGRVwriGQ+l1toeDguwbtiZ3lVWYvyI4KXHKGKX5KJ1rt3Oc7HjzPUmyoybyilXaa67uOK3+I8Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7312 X-Mailman-Approved-At: Fri, 18 Dec 2020 08:31:48 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jernej.skrabec@siol.net, narmstrong@baylibre.com, airlied@linux.ie, 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 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This patch adds bindings for i.MX8qxp pixel link to DPI(PXL2DPI). Signed-off-by: Liu Ying --- .../display/bridge/fsl,imx8qxp-pxl2dpi.yaml | 134 +++++++++++++++++++++ 1 file changed, 134 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/fsl,imx8qxp-pxl2dpi.yaml diff --git a/Documentation/devicetree/bindings/display/bridge/fsl,imx8qxp-pxl2dpi.yaml b/Documentation/devicetree/bindings/display/bridge/fsl,imx8qxp-pxl2dpi.yaml new file mode 100644 index 00000000..1649622 --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/fsl,imx8qxp-pxl2dpi.yaml @@ -0,0 +1,134 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/bridge/fsl,imx8qxp-pxl2dpi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale i.MX8qxp Pixel Link to Display Pixel Interface + +maintainers: + - Liu Ying + +description: | + The Freescale i.MX8qxp Pixel Link to Display Pixel Interface(PXL2DPI) + interfaces the pixel link 36-bit data output and the DSI controller’s + MIPI-DPI 24-bit data input, and inputs of LVDS Display Bridge(LDB) module + used in LVDS mode, to remap the pixel color codings between those modules. + This module is purely combinatorial. + +properties: + compatible: + const: fsl,imx8qxp-pxl2dpi + + power-domains: + maxItems: 1 + + fsl,syscon: + $ref: /schemas/types.yaml#/definitions/phandle + description: | + A phandle which points to Control and Status Registers(CSR) module. + + fsl,companion-pxl2dpi: + $ref: /schemas/types.yaml#/definitions/phandle + description: | + A phandle which points to companion PXL2DPI which is used by downstream + LVDS Display Bridge(LDB) in split mode. + + ports: + type: object + description: | + A node containing PXL2DPI 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 PXL2DPI input port node from pixel link. + + properties: + reg: + const: 0 + + required: + - reg + + port@1: + type: object + description: The PXL2DPI output port node to downstream bridge. + + properties: + reg: + const: 1 + + required: + - reg + + required: + - "#address-cells" + - "#size-cells" + - port@0 + - port@1 + + additionalProperties: false + +required: + - compatible + - power-domains + - fsl,syscon + - ports + +additionalProperties: false + +examples: + - | + #include + pxl2dpi { + compatible = "fsl,imx8qxp-pxl2dpi"; + power-domains = <&pd IMX_SC_R_MIPI_0>; + fsl,syscon = <&mipi_lvds_0_csr>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + + mipi_lvds_0_pxl2dpi_dc_pixel_link0: endpoint@0 { + reg = <0>; + remote-endpoint = <&dc_pixel_link0_mipi_lvds_0_pxl2dpi>; + }; + + mipi_lvds_0_pxl2dpi_dc_pixel_link1: endpoint@1 { + reg = <1>; + remote-endpoint = <&dc_pixel_link1_mipi_lvds_0_pxl2dpi>; + }; + }; + + port@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + + mipi_lvds_0_pxl2dpi_mipi_lvds_0_ldb_ch0: endpoint@0 { + reg = <0>; + remote-endpoint = <&mipi_lvds_0_ldb_ch0_mipi_lvds_0_pxl2dpi>; + }; + + mipi_lvds_0_pxl2dpi_mipi_lvds_0_ldb_ch1: endpoint@1 { + reg = <1>; + remote-endpoint = <&mipi_lvds_0_ldb_ch1_mipi_lvds_0_pxl2dpi>; + }; + }; + }; + };