Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1104464pxu; Thu, 17 Dec 2020 02:12:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJwzwNqIkc8bfYiTEUxuhluBdUY8fWC49PvtC6hmVrGgtnXWtrYWQSslypPLnx4JSLjJhmtt X-Received: by 2002:a17:906:d9c7:: with SMTP id qk7mr15398924ejb.384.1608199937259; Thu, 17 Dec 2020 02:12:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1608199937; cv=pass; d=google.com; s=arc-20160816; b=Y4po4o+3toL+9uWTc+rLQ+U6WIXfDNhqS12lKvweekqqWYeC17Ayi6fusWNNz8Mkja y0V+A0mASX8Ok0721oDCDunxIkB3BU8E55HI4foTgkapKkAu/ly94sC09GHGP5zorkII hJgwDNHAkYVKAbsIXiUrGqJoJc09zabNG1VQmvjuOO0XJFip+6UQCF8mru+JmGhZA1sD /2+vWWECOMuLIxzfUMZjJRDgslvLFFxlkMiqZfXy6vgi//OcXp4e8ajQ/I9oQiAwqnwf /wLo8KBLPJKyLPgB+QmSz5COaPKZFc5BK5AFP9ix0BcrnN/yU2NePo8KsDiVCWWdUaoz rsvQ== 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=GwymyRMmL9OA8RhkOJUp/xKm5vnvSY0PtN9oI6cGgyw=; b=YwlDHuVsCUYotsLBR5NNDm1ktzaxj9IUtMVb6pDFjgdUUnbFBFLEa8UKdb0dZRfaxe 6KfaKKTTFZKv+82BTD5T00ZthZpSZXh8G/Qq+085Yr4ObxEu3rPE5lKCBVJwWk1wooh7 pTvuY5yVYCIlQ0LW2CGBwKtjKmilLYBh0EAfEBOp5LjAcu0KLP3JhTgZA80g0TS8HwAa YmFZxwakqfHb6/DBw5rYy4qZi5ZF8nT0MIYtbW3YcN/PEXvH6J1RPA7/ySXUGCw2eKWJ fdp4G0kLtr3WvrZuv3VB1EVc5s0ROo1sMdK6BE01EKSW0otiwvYEP+TYdjOxWq7Hd9xy DGiQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=UEYtKK5r; 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 o12si2293391ejg.407.2020.12.17.02.11.54; Thu, 17 Dec 2020 02:12:17 -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=UEYtKK5r; 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 S1727863AbgLQKKI (ORCPT + 99 others); Thu, 17 Dec 2020 05:10:08 -0500 Received: from mail-eopbgr150052.outbound.protection.outlook.com ([40.107.15.52]:50818 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727354AbgLQKKH (ORCPT ); Thu, 17 Dec 2020 05:10:07 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QfhERirTGvyb5BDWOhJEXtWIvZ7jVSn4aJNhURIkK+hiSlUJ2nWQmBJfzABXWVocuprFTlYqQXwxKoNIF+HrFYQ7cUzhEcVQEG60xcqOga6pLIOS5zTG/4qyQLFAcb3cSY91GJHtwpqaaqhe/KxOiw3ix+DsSsctJmool8Ekcfy8Ectz8QXlwwbUs3KULPWo0c4Km3cYLjl9hMga3UyROn/T2V/n7vNeuDu6QmTr06kF09IvHLSmrcYEAMuHbgaWoW7DNCy8/tP9GLJgQs0ynhynX6yfm0+4vXlu5VWoPNW5nit3nxGHlLPVZyPX3SqYaLN/Dmome0h0nb4lDDjOdw== 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=GwymyRMmL9OA8RhkOJUp/xKm5vnvSY0PtN9oI6cGgyw=; b=LFY+ODg2Q7oWPXPvT8OtnEIH5pt5V+VhpYG/WQtbz5IWpcDFsU1IqdhSB0AaWhjqV92D2PNlOXsujxpdC6Crdkpr0lTM4FZgd7cue2fQ5a5mNp7hDznvmHmb93vnDpvoUuBjdmvCHKRM1JX7WJrr4QgO99nWgjeaNNv5LtwC01wqg5T2ibgzRxZ8ajhXYW267NmeqHG9xgUds7/i2vJN3pDId2cfuhxz1Y98UWF9FHGlrk89oFzb2wnM5KF9IhM2zznyka63riDkBP8RuG/LzwF7rvqFpRv0e91dvagiDNXHYb1AQoQG8fiX8XjyMmvmFgw+LBvhfSzYXgyHS7RKbA== 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=GwymyRMmL9OA8RhkOJUp/xKm5vnvSY0PtN9oI6cGgyw=; b=UEYtKK5rQ1/N0nuS2x14H313CPMm2zsavGgDPPmMJVcjr5bhGMYX6xeuPQSr1oabepRMmFNTg49SlfdZrw7q/xEKGrv3AiVRDIdCBOOSQwirrT2iim+s4RTeFARdzxU6cWDKp+LJvHhWftXCWAxID3scgAvW5x/wniCF8r5lDeA= 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:44 +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:44 +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 Subject: [PATCH 04/14] dt-bindings: display: bridge: Add i.MX8qm/qxp pixel combiner binding Date: Thu, 17 Dec 2020 17:59:23 +0800 Message-Id: <1608199173-28760-5-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> Content-Type: text/plain 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:38 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 5ac5eca7-5caf-4316-5deb-08d8a273bcf6 X-MS-TrafficTypeDiagnostic: VE1PR04MB7312: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5516; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: JEwjRHJMRlX1wIuPF1XSFbebzSNvkE4KUnrx3HSE/O1GeoxJW6INZaPNoX3L8fys5Bh5/kyo4WKNYtEdFPCh9vY1fdu5ay0jVKqa2sEuAQXJ4Ma1u9N/D4DJonpkYlhHeE9b+P7NuAFkMT95AnljoG57DZXAippuW8FJMRk+VS3roiGD3jXopsS0CVWwPYl4D3fcAbCWoi/vpGgEBNGFGXDlagCwvy6HtiA7goH8v13SXGnYZStNBgu2iIVdaXzGlX6G5aSbc3MzJV2MV8WLZP5KRYtHKsahAPX7O108FQTiX2Tm5Sx2IP+ojmnwGE6+QFjS3JZAsHskWqDk6NHCJXGvFsOb3IilF8+xrc3EGuxHlILwszPVoZbiNmmYVEujV0mGBH187wbP/FNIWZyBOZgSaW09CtQZgHb6h2IAdEO17pRVYPUwVYExxBhifpyr4dabCzelOiJdIOpvnRl8aA== 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)(83380400001)(966005)(66946007)(5660300002)(6512007)(69590400008)(66476007)(36756003)(66556008);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?K3NZ1iSm2ve7wk1m3F/RaaTIvoBaf3eMvJxccvoG3vrjvnh53iILIBfLOE/M?= =?us-ascii?Q?2hLr9UlyBHwAT3i09FGiuaJbEW7B8tOBhr+2qRy+acnNqzn7LjScnabiMMRK?= =?us-ascii?Q?9KCf71NVhWG2z+XU36veoK6Ix27KWiC4NPgz8pyrq4ODYnaQpd0qSSbDtYLo?= =?us-ascii?Q?q7H1RTLOPgYe43Koj5tWcXMhIWCQxTJWMt3be4LGkcy8D/KAMWI2LB6LQ7lb?= =?us-ascii?Q?DNVxayt+x/ua+3TrEgaCY6mDGHN15nNgWCm7VzTgqlo47e8CRtNxvhqF1k7z?= =?us-ascii?Q?J7eoozoYWmEZhMkpWsmjP1+BE9/bXKPy8WiTp/wM2WUOyxtXE8LQxk2UkdVC?= =?us-ascii?Q?cUSNf18MtvW+PpKouo/6P9gQ8sZV1QTehbS0NkL4tBcCVHcYx7xpqX4rPaPC?= =?us-ascii?Q?XACpXcBP4JU1xs8HMxWbobX3f7W5dKR5USCqNF2NAwuq/kivR+EDSmmulGSy?= =?us-ascii?Q?BX0Y4eIuWjfMAripseYMACO/lSosY5det5+oBx5/IUGGSgzBUjrx7KJD49Rl?= =?us-ascii?Q?eptk1mzlgShdM9cvVsoj7opCFWHDnP72J6luKDhyVe0hahSjCN8YLVcaTnFA?= =?us-ascii?Q?zJwPiy4pFyvcKvEWLQh/m4SRyVhHFMFphLuXv94Rbii3oeooHzLFk1e2GEH1?= =?us-ascii?Q?CeBBopu2NqDIXyZZhJR84JJtGpLsWW5nsoLoo/PRzCo8A6u+255FLb5RaS7n?= =?us-ascii?Q?Xn300QiEAFWe8UcRsGmBaLq3EXDOnYBrkpP5ugPOpacUaiecVjZuktzpRy/L?= =?us-ascii?Q?cCiDgtSPDAdBRQLxG9wKNoLqrjBBpjwDkrrys0Ouv58nIqPk3Y3b8rJVhrOt?= =?us-ascii?Q?oEoB0vFa3eITNdRgcRlT78H6RwDpZQyd2H7aNUDOLnxEFONBAb6laLFESsc9?= =?us-ascii?Q?fGpkqg7CGU9rBk95WblN3z2oufw+0tk2eqJqLysUuLc0uK6JWsajRIbX3Zrx?= =?us-ascii?Q?Xf/oL02bUA1j8wr/ZHvkkMY32O+Ty43zAvCCC+PUtmj/KGc0nrrsP3nOxDWg?= =?us-ascii?Q?FKLQ?= 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:44.6337 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-Network-Message-Id: 5ac5eca7-5caf-4316-5deb-08d8a273bcf6 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Ww6D68iV4SuLqFPuKQfaGgEktyqZM1HI/+lrJ68UaT6DYEoOC34DCMi0FFlHeFfr4NyWThDI+USBGvAjswBI2Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7312 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds bindings for i.MX8qm/qxp pixel combiner. Signed-off-by: Liu Ying --- .../display/bridge/fsl,imx8qxp-pixel-combiner.yaml | 160 +++++++++++++++++++++ 1 file changed, 160 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/fsl,imx8qxp-pixel-combiner.yaml diff --git a/Documentation/devicetree/bindings/display/bridge/fsl,imx8qxp-pixel-combiner.yaml b/Documentation/devicetree/bindings/display/bridge/fsl,imx8qxp-pixel-combiner.yaml new file mode 100644 index 00000000..bacacd8 --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/fsl,imx8qxp-pixel-combiner.yaml @@ -0,0 +1,160 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/bridge/fsl,imx8qxp-pixel-combiner.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale i.MX8qm/qxp Pixel Combiner + +maintainers: + - Liu Ying + +description: | + The Freescale i.MX8qm/qxp Pixel Combiner takes two output streams from a + single display controller and manipulates the two streams to support a number + of modes(bypass, pixel combine, YUV444 to YUV422, split_RGB) configured as + either one screen, two screens, or virtual screens. The pixel combiner is + also responsible for generating some of the control signals for the pixel link + output channel. + +properties: + compatible: + enum: + - fsl,imx8qm-pixel-combiner + - fsl,imx8qxp-pixel-combiner + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + const: apb + + power-domains: + maxItems: 1 + +patternProperties: + "^channel@[0-1]$": + type: object + description: Represents a display stream of pixel combiner. + + properties: + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + + reg: + description: The display stream index. + oneOf: + - const: 0 + - const: 1 + + port@0: + type: object + description: Input endpoint of the display stream. + + properties: + reg: + const: 0 + + required: + - reg + + port@1: + type: object + description: Output endpoint of the display stream. + + properties: + reg: + const: 1 + + required: + - reg + + required: + - "#address-cells" + - "#size-cells" + - reg + - port@0 + - port@1 + + additionalProperties: false + +required: + - compatible + - "#address-cells" + - "#size-cells" + - reg + - clocks + - clock-names + - power-domains + +additionalProperties: false + +examples: + - | + #include + #include + pixel-combiner@56020000 { + compatible = "fsl,imx8qxp-pixel-combiner"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x56020000 0x10000>; + clocks = <&dc0_pixel_combiner_lpcg IMX_LPCG_CLK_4>; + clock-names = "apb"; + power-domains = <&pd IMX_SC_R_DC_0>; + + channel@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + + port@0 { + reg = <0>; + + dc0_pixel_combiner_ch0_dc0_dpu_disp0: endpoint { + remote-endpoint = <&dc0_dpu_disp0_dc0_pixel_combiner_ch0>; + }; + }; + + port@1 { + reg = <1>; + + dc0_pixel_combiner_ch0_dc0_pixel_link0: endpoint { + remote-endpoint = <&dc0_pixel_link0_dc0_pixel_combiner_ch0>; + }; + }; + }; + + channel@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + + port@0 { + reg = <0>; + + dc0_pixel_combiner_ch1_dc0_dpu_disp1: endpoint { + remote-endpoint = <&dc0_dpu_disp1_dc0_pixel_combiner_ch1>; + }; + }; + + port@1 { + reg = <1>; + + dc0_pixel_combiner_ch1_dc0_pixel_link1: endpoint { + remote-endpoint = <&dc0_pixel_link1_dc0_pixel_combiner_ch1>; + }; + }; + }; + }; -- 2.7.4