From mboxrd@z Thu Jan 1 00:00:00 1970 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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 ED0B6C43333 for ; Thu, 14 Jan 2021 09:34:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BD44B23A04 for ; Thu, 14 Jan 2021 09:34:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728414AbhANJeZ (ORCPT ); Thu, 14 Jan 2021 04:34:25 -0500 Received: from mail-db8eur05on2073.outbound.protection.outlook.com ([40.107.20.73]:17830 "EHLO EUR05-DB8-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728123AbhANJeO (ORCPT ); Thu, 14 Jan 2021 04:34:14 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MjbWrIW4uw3S7JypBk9I8igjac3x+tke5GaC0Q/uzNvJPEQRpa/TuzzEJ1gYNj4PFGZk3UWZTVSFPmD5RAXpZhtN0Ktq7igbgjJfDI8QyPpXipVxCUq483vYPJ5Slib7wJ1SyuPtkHoFEDH2Xg/fJoUHjMB4WnwJl0d6zsLINyXLjt7S8sBBGMaqmJzAUzos0ublWOVQdve7uGnqiH32ENrTUczHJDYAeVxV/shp6atNM+mfxaJMyr9iFJwkkOGABQbMDkHoGBaVhJSJrelCNZGFJd1rTMxdjL25l9aaC114K8/uXyulsHeUYRzioUcptzTGraHKHAWm+NJzvxzaDQ== 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=9iORmodMUeEZVrrlBf0aYmcA8r09umAegySM3XV3gNg=; b=oS6w4pJMtc/kmltZ6uNSfHxDJPetDQQ9GzbJlskDl2ajBg/jy65kt9EJKpGl3z/oD9U52HFMYmekWtsJfqOQVpc+USXohCJWqco0txjwTQ0YGevm3VaOjc2UyUZY7ob14nNpSRpB0f+1k5LhdoUWfXhS1BxoI1mZwaqbU8rT7GtRf0Mh+rbVtPXBrfsuAUJbRRG00Tg5ZE9XwWOow/9cIISynQaGOR3YS/VwExEulC7hCGAwn/JNytysJAH5LVYZ7sI1u89UCcfQJdyeRBQYazAJs88Tm2xOwlC/wl9tZORQ2hoULKRh+YqhJkd4ko6TkNSivWYEZaL1+HeEHAap7g== 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=9iORmodMUeEZVrrlBf0aYmcA8r09umAegySM3XV3gNg=; b=YBl7CcNp+OM0Wn0JOu/pCUgioxkbrmJf2BZsb7aLKAzBdTlRm5sXsz9gm4FLmByXKyqqXZ3SJhKfLhYh99ExY1/+cwZSgw5z7j0ZtPl6t0rdhqUN0wH/I4SdG/rWy6HsuDuPV9lgYVrREEo+3qMxsCHQYQUYq4FxFzOC+qAmLDM= 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 VI1PR04MB5710.eurprd04.prod.outlook.com (2603:10a6:803:df::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.9; Thu, 14 Jan 2021 09:32:52 +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.3763.010; Thu, 14 Jan 2021 09:32:52 +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 v2 04/14] dt-bindings: display: bridge: Add i.MX8qm/qxp pixel combiner binding Date: Thu, 14 Jan 2021 17:22:02 +0800 Message-Id: <1610616132-8220-5-git-send-email-victor.liu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1610616132-8220-1-git-send-email-victor.liu@nxp.com> References: <1610616132-8220-1-git-send-email-victor.liu@nxp.com> Content-Type: text/plain X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: SG2PR04CA0175.apcprd04.prod.outlook.com (2603:1096:4:14::13) 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 SG2PR04CA0175.apcprd04.prod.outlook.com (2603:1096:4:14::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3763.10 via Frontend Transport; Thu, 14 Jan 2021 09:32:46 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 77bf23a9-aafb-4fc9-2c12-08d8b86f5d64 X-MS-TrafficTypeDiagnostic: VI1PR04MB5710: 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: RlYsF7whNerdeambWBmZDO2C0QBy1ya2aV+aJ8dEmmUJU8pMpDpMQO7u+j/O/qdMPLxSxmqEn8dIiamxsy6oOvNG3ubXNL1n2Obr4kTKIzHr6wpqcjQJbbqrW0eovdYg87QAJs0cBYxyMCs11m/NlY02IzZH40yuc/fdetveOMagHSoAn4oo8Cr1OxO4rU7cCPNUKbxiO2V1SfMu5pTXzxLACps77zb8L6vOYvttOx3KxV2BXdFBeYhJw6xWbF4XtYxcQiLoUrAT6hrowEUF3C8//ltnYW+JcvQAbH39nalCDu+0vS43WFIDI73SjBgSYiILziDF5vXdBG9aXTys82CAZSJsu4OmujujWAAA6doptKxPoqeDy4TqZ+uLEN+E/cMdf4YUWsFNcah8G3UfDBX16h1I7NifOPYxNi4aJ4Pv9sRrUynY+AZunVmEavaFZJrVjNzSyWBAjIGcIXhc0LHbJ/mDhJ+krDdwY3tJEuNbtCHvGTTL2fpKbYGxebxD5LrtFlAVeGWZX5UOuJSVPA== 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)(136003)(396003)(366004)(39860400002)(346002)(376002)(36756003)(6486002)(956004)(8676002)(26005)(6666004)(66556008)(6512007)(66476007)(478600001)(6506007)(8936002)(83380400001)(2616005)(7416002)(86362001)(4326008)(316002)(966005)(5660300002)(186003)(52116002)(2906002)(66946007)(69590400011)(16526019);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?H+oH25v834oJslDamTSWZWozjq2abgZSe/rI3IGlirWvFo4UU68JcJ4iS2EO?= =?us-ascii?Q?XQYrGBqkuk1sB5PxwRZT+HDFbNADGXlD7w2sIkDTw839QXZ2Ro8f4LCmrsWl?= =?us-ascii?Q?gSmMzoON5IvXDC+GLLw/hR1RoIBVmYtGcZS7zVPiCbBfHfzunSGd401abyBL?= =?us-ascii?Q?mwn/n7W7W5bOAJN9UJ1UkbCB7czdxippZhCYMQnGL5qQaw3pAQb1dDyPPuVO?= =?us-ascii?Q?7YXLmvOHN8ZllCQuW0RC1I4KT5F0dyxOniC2ZjaX73qy/aRsA4xmi6Xn+aXu?= =?us-ascii?Q?it+4aYllCBZrt1A63TXEncUyD3kPgTpXvQHAfUKDJW2ttco1ZpTtA+mUVczs?= =?us-ascii?Q?40cHwCIbtj9JbdLhhDgw/aIS2QDrwtl8m12R4NTNLKmWp7yLi6FJ6c2qxXao?= =?us-ascii?Q?YQWNSe975MXNwIKijdHsWepAAQdQ46xs3PTTvZWQ+Lfb8S3BWoMIF8lqDfB+?= =?us-ascii?Q?n+u9HFKul2MtVhAgPyaMXXxJvOcSUvtqL5jKETC3j/mMHbaK4KNdSIlUxWSC?= =?us-ascii?Q?U5DQ2lfYclR1P7flh+3iJp3922hy8/dkU4rRsymBFWQG52k9IhuQZKHNJk9N?= =?us-ascii?Q?657YvZ+ohVzO35ZGi1+lZKip8EafUQH+gvXn3foMNWlPVSZpwcopgcg/e3+a?= =?us-ascii?Q?ImNTg+3rpBvnWU4i+f+3AklPiZtqwAKgkbsWioL0Z8jLj+qNh5mzoY8zRR1X?= =?us-ascii?Q?uCLTzUkv/VZZzcWEwb5ZfU87S7bYkb0+FRn+6qyzS1ebn3DOILh1lC5xXP9I?= =?us-ascii?Q?p1O5QzN4+y4VGT2vdN9mI9dUmN84h7BpEJ1rNgH7R7E91a1XZJBFOTciI8cs?= =?us-ascii?Q?/H1W9Z0i2YCYmsE7HZu7C03N86WHYptIUPhgm0V5Gmvf8c5OEU7aClnaP6QN?= =?us-ascii?Q?j04GrJeozHltWIHZI/4zNg6hQfGSQ+GjGi+VLGNYFPAOuqq9PL6fXqXIKXYW?= =?us-ascii?Q?wonFQ84AK0GVQVgNpFghCkDrrxMh8nNMJ/JwsDQ3Uz4MFKqpXeI7n+yeq5/A?= =?us-ascii?Q?h1Nc?= 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: 14 Jan 2021 09:32:51.8902 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-Network-Message-Id: 77bf23a9-aafb-4fc9-2c12-08d8b86f5d64 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: xhs34N1pZhH+hK2uMYzkvMXXkL7l8FnUYNAGrExiMrFoFQ1HkLvfrX9UemA+kbT+0iKH6Te5xmjKJvV1bXG5Lg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5710 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 --- v1->v2: * Use graph schema. (Laurent) * Use enum instead of oneOf + const for the reg property of pixel combiner channels. (Rob) .../display/bridge/fsl,imx8qxp-pixel-combiner.yaml | 144 +++++++++++++++++++++ 1 file changed, 144 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..50bae21 --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/fsl,imx8qxp-pixel-combiner.yaml @@ -0,0 +1,144 @@ +# 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. + enum: [ 0, 1 ] + + port@0: + $ref: /schemas/graph.yaml#/properties/port + description: Input endpoint of the display stream. + + port@1: + $ref: /schemas/graph.yaml#/properties/port + description: Output endpoint of the display stream. + + 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 From mboxrd@z Thu Jan 1 00:00:00 1970 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=-17.0 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=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 5E847C433E0 for ; Thu, 14 Jan 2021 09:35:20 +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 F252D22CE3 for ; Thu, 14 Jan 2021 09:35:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F252D22CE3 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=GfLV+KV+nPblIlqd4DkbqNzrPzP0FVfqF9UmRVC1zko=; b=qaDgLtHbBGcGjtrLPIOpPPu9W DFKGXU3xudyJNRs8XjL18YWL90Fa6iNTEgkSimr7jBvmercprG/LqY8KVgKMrfw5yjtVJTQmhPE+b eW2+SgsPOraz6y6dy1BtNKhuoP257gklJeTgqcAmbWU7Dp38k1F+DTQqNIjyseWOSvh8es1nbRasu KK1QwbJWjJIRKLlYdgAJ9RsDVInm9q2pwvoQqtzO8LXfGZh/onKHk/CrGSfeODURvejO3F1XcP8YB X3v6WsMeGxgmxm/aNA421mbQjcKH8GlO1F8rmPj+/ZM9ZSB8VdyXbM6cAkWAr68wdcGcggH8kpTa0 E4fxETscw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kzz0B-0006dm-N3; Thu, 14 Jan 2021 09:33:11 +0000 Received: from mail-eopbgr30089.outbound.protection.outlook.com ([40.107.3.89] helo=EUR03-AM5-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kzyzx-0006YV-8d for linux-arm-kernel@lists.infradead.org; Thu, 14 Jan 2021 09:33:01 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MjbWrIW4uw3S7JypBk9I8igjac3x+tke5GaC0Q/uzNvJPEQRpa/TuzzEJ1gYNj4PFGZk3UWZTVSFPmD5RAXpZhtN0Ktq7igbgjJfDI8QyPpXipVxCUq483vYPJ5Slib7wJ1SyuPtkHoFEDH2Xg/fJoUHjMB4WnwJl0d6zsLINyXLjt7S8sBBGMaqmJzAUzos0ublWOVQdve7uGnqiH32ENrTUczHJDYAeVxV/shp6atNM+mfxaJMyr9iFJwkkOGABQbMDkHoGBaVhJSJrelCNZGFJd1rTMxdjL25l9aaC114K8/uXyulsHeUYRzioUcptzTGraHKHAWm+NJzvxzaDQ== 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=9iORmodMUeEZVrrlBf0aYmcA8r09umAegySM3XV3gNg=; b=oS6w4pJMtc/kmltZ6uNSfHxDJPetDQQ9GzbJlskDl2ajBg/jy65kt9EJKpGl3z/oD9U52HFMYmekWtsJfqOQVpc+USXohCJWqco0txjwTQ0YGevm3VaOjc2UyUZY7ob14nNpSRpB0f+1k5LhdoUWfXhS1BxoI1mZwaqbU8rT7GtRf0Mh+rbVtPXBrfsuAUJbRRG00Tg5ZE9XwWOow/9cIISynQaGOR3YS/VwExEulC7hCGAwn/JNytysJAH5LVYZ7sI1u89UCcfQJdyeRBQYazAJs88Tm2xOwlC/wl9tZORQ2hoULKRh+YqhJkd4ko6TkNSivWYEZaL1+HeEHAap7g== 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=9iORmodMUeEZVrrlBf0aYmcA8r09umAegySM3XV3gNg=; b=YBl7CcNp+OM0Wn0JOu/pCUgioxkbrmJf2BZsb7aLKAzBdTlRm5sXsz9gm4FLmByXKyqqXZ3SJhKfLhYh99ExY1/+cwZSgw5z7j0ZtPl6t0rdhqUN0wH/I4SdG/rWy6HsuDuPV9lgYVrREEo+3qMxsCHQYQUYq4FxFzOC+qAmLDM= 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 VI1PR04MB5710.eurprd04.prod.outlook.com (2603:10a6:803:df::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.9; Thu, 14 Jan 2021 09:32:52 +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.3763.010; Thu, 14 Jan 2021 09:32:52 +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 v2 04/14] dt-bindings: display: bridge: Add i.MX8qm/qxp pixel combiner binding Date: Thu, 14 Jan 2021 17:22:02 +0800 Message-Id: <1610616132-8220-5-git-send-email-victor.liu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1610616132-8220-1-git-send-email-victor.liu@nxp.com> References: <1610616132-8220-1-git-send-email-victor.liu@nxp.com> X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: SG2PR04CA0175.apcprd04.prod.outlook.com (2603:1096:4:14::13) 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 SG2PR04CA0175.apcprd04.prod.outlook.com (2603:1096:4:14::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3763.10 via Frontend Transport; Thu, 14 Jan 2021 09:32:46 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 77bf23a9-aafb-4fc9-2c12-08d8b86f5d64 X-MS-TrafficTypeDiagnostic: VI1PR04MB5710: 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: RlYsF7whNerdeambWBmZDO2C0QBy1ya2aV+aJ8dEmmUJU8pMpDpMQO7u+j/O/qdMPLxSxmqEn8dIiamxsy6oOvNG3ubXNL1n2Obr4kTKIzHr6wpqcjQJbbqrW0eovdYg87QAJs0cBYxyMCs11m/NlY02IzZH40yuc/fdetveOMagHSoAn4oo8Cr1OxO4rU7cCPNUKbxiO2V1SfMu5pTXzxLACps77zb8L6vOYvttOx3KxV2BXdFBeYhJw6xWbF4XtYxcQiLoUrAT6hrowEUF3C8//ltnYW+JcvQAbH39nalCDu+0vS43WFIDI73SjBgSYiILziDF5vXdBG9aXTys82CAZSJsu4OmujujWAAA6doptKxPoqeDy4TqZ+uLEN+E/cMdf4YUWsFNcah8G3UfDBX16h1I7NifOPYxNi4aJ4Pv9sRrUynY+AZunVmEavaFZJrVjNzSyWBAjIGcIXhc0LHbJ/mDhJ+krDdwY3tJEuNbtCHvGTTL2fpKbYGxebxD5LrtFlAVeGWZX5UOuJSVPA== 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)(136003)(396003)(366004)(39860400002)(346002)(376002)(36756003)(6486002)(956004)(8676002)(26005)(6666004)(66556008)(6512007)(66476007)(478600001)(6506007)(8936002)(83380400001)(2616005)(7416002)(86362001)(4326008)(316002)(966005)(5660300002)(186003)(52116002)(2906002)(66946007)(69590400011)(16526019); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?H+oH25v834oJslDamTSWZWozjq2abgZSe/rI3IGlirWvFo4UU68JcJ4iS2EO?= =?us-ascii?Q?XQYrGBqkuk1sB5PxwRZT+HDFbNADGXlD7w2sIkDTw839QXZ2Ro8f4LCmrsWl?= =?us-ascii?Q?gSmMzoON5IvXDC+GLLw/hR1RoIBVmYtGcZS7zVPiCbBfHfzunSGd401abyBL?= =?us-ascii?Q?mwn/n7W7W5bOAJN9UJ1UkbCB7czdxippZhCYMQnGL5qQaw3pAQb1dDyPPuVO?= =?us-ascii?Q?7YXLmvOHN8ZllCQuW0RC1I4KT5F0dyxOniC2ZjaX73qy/aRsA4xmi6Xn+aXu?= =?us-ascii?Q?it+4aYllCBZrt1A63TXEncUyD3kPgTpXvQHAfUKDJW2ttco1ZpTtA+mUVczs?= =?us-ascii?Q?40cHwCIbtj9JbdLhhDgw/aIS2QDrwtl8m12R4NTNLKmWp7yLi6FJ6c2qxXao?= =?us-ascii?Q?YQWNSe975MXNwIKijdHsWepAAQdQ46xs3PTTvZWQ+Lfb8S3BWoMIF8lqDfB+?= =?us-ascii?Q?n+u9HFKul2MtVhAgPyaMXXxJvOcSUvtqL5jKETC3j/mMHbaK4KNdSIlUxWSC?= =?us-ascii?Q?U5DQ2lfYclR1P7flh+3iJp3922hy8/dkU4rRsymBFWQG52k9IhuQZKHNJk9N?= =?us-ascii?Q?657YvZ+ohVzO35ZGi1+lZKip8EafUQH+gvXn3foMNWlPVSZpwcopgcg/e3+a?= =?us-ascii?Q?ImNTg+3rpBvnWU4i+f+3AklPiZtqwAKgkbsWioL0Z8jLj+qNh5mzoY8zRR1X?= =?us-ascii?Q?uCLTzUkv/VZZzcWEwb5ZfU87S7bYkb0+FRn+6qyzS1ebn3DOILh1lC5xXP9I?= =?us-ascii?Q?p1O5QzN4+y4VGT2vdN9mI9dUmN84h7BpEJ1rNgH7R7E91a1XZJBFOTciI8cs?= =?us-ascii?Q?/H1W9Z0i2YCYmsE7HZu7C03N86WHYptIUPhgm0V5Gmvf8c5OEU7aClnaP6QN?= =?us-ascii?Q?j04GrJeozHltWIHZI/4zNg6hQfGSQ+GjGi+VLGNYFPAOuqq9PL6fXqXIKXYW?= =?us-ascii?Q?wonFQ84AK0GVQVgNpFghCkDrrxMh8nNMJ/JwsDQ3Uz4MFKqpXeI7n+yeq5/A?= =?us-ascii?Q?h1Nc?= 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: 14 Jan 2021 09:32:51.8902 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-Network-Message-Id: 77bf23a9-aafb-4fc9-2c12-08d8b86f5d64 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: xhs34N1pZhH+hK2uMYzkvMXXkL7l8FnUYNAGrExiMrFoFQ1HkLvfrX9UemA+kbT+0iKH6Te5xmjKJvV1bXG5Lg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5710 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210114_043257_389669_8F324965 X-CRM114-Status: GOOD ( 17.11 ) 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 pixel combiner. Signed-off-by: Liu Ying --- v1->v2: * Use graph schema. (Laurent) * Use enum instead of oneOf + const for the reg property of pixel combiner channels. (Rob) .../display/bridge/fsl,imx8qxp-pixel-combiner.yaml | 144 +++++++++++++++++++++ 1 file changed, 144 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..50bae21 --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/fsl,imx8qxp-pixel-combiner.yaml @@ -0,0 +1,144 @@ +# 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. + enum: [ 0, 1 ] + + port@0: + $ref: /schemas/graph.yaml#/properties/port + description: Input endpoint of the display stream. + + port@1: + $ref: /schemas/graph.yaml#/properties/port + description: Output endpoint of the display stream. + + 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 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 3906BC433DB for ; Fri, 15 Jan 2021 08:55:26 +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 F00B82339E for ; Fri, 15 Jan 2021 08:55:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F00B82339E 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 4691D89B33; Fri, 15 Jan 2021 08:55:03 +0000 (UTC) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60047.outbound.protection.outlook.com [40.107.6.47]) by gabe.freedesktop.org (Postfix) with ESMTPS id BEA2F6E147 for ; Thu, 14 Jan 2021 09:32:56 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MjbWrIW4uw3S7JypBk9I8igjac3x+tke5GaC0Q/uzNvJPEQRpa/TuzzEJ1gYNj4PFGZk3UWZTVSFPmD5RAXpZhtN0Ktq7igbgjJfDI8QyPpXipVxCUq483vYPJ5Slib7wJ1SyuPtkHoFEDH2Xg/fJoUHjMB4WnwJl0d6zsLINyXLjt7S8sBBGMaqmJzAUzos0ublWOVQdve7uGnqiH32ENrTUczHJDYAeVxV/shp6atNM+mfxaJMyr9iFJwkkOGABQbMDkHoGBaVhJSJrelCNZGFJd1rTMxdjL25l9aaC114K8/uXyulsHeUYRzioUcptzTGraHKHAWm+NJzvxzaDQ== 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=9iORmodMUeEZVrrlBf0aYmcA8r09umAegySM3XV3gNg=; b=oS6w4pJMtc/kmltZ6uNSfHxDJPetDQQ9GzbJlskDl2ajBg/jy65kt9EJKpGl3z/oD9U52HFMYmekWtsJfqOQVpc+USXohCJWqco0txjwTQ0YGevm3VaOjc2UyUZY7ob14nNpSRpB0f+1k5LhdoUWfXhS1BxoI1mZwaqbU8rT7GtRf0Mh+rbVtPXBrfsuAUJbRRG00Tg5ZE9XwWOow/9cIISynQaGOR3YS/VwExEulC7hCGAwn/JNytysJAH5LVYZ7sI1u89UCcfQJdyeRBQYazAJs88Tm2xOwlC/wl9tZORQ2hoULKRh+YqhJkd4ko6TkNSivWYEZaL1+HeEHAap7g== 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=9iORmodMUeEZVrrlBf0aYmcA8r09umAegySM3XV3gNg=; b=YBl7CcNp+OM0Wn0JOu/pCUgioxkbrmJf2BZsb7aLKAzBdTlRm5sXsz9gm4FLmByXKyqqXZ3SJhKfLhYh99ExY1/+cwZSgw5z7j0ZtPl6t0rdhqUN0wH/I4SdG/rWy6HsuDuPV9lgYVrREEo+3qMxsCHQYQUYq4FxFzOC+qAmLDM= 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 VI1PR04MB5710.eurprd04.prod.outlook.com (2603:10a6:803:df::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.9; Thu, 14 Jan 2021 09:32:52 +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.3763.010; Thu, 14 Jan 2021 09:32:52 +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 v2 04/14] dt-bindings: display: bridge: Add i.MX8qm/qxp pixel combiner binding Date: Thu, 14 Jan 2021 17:22:02 +0800 Message-Id: <1610616132-8220-5-git-send-email-victor.liu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1610616132-8220-1-git-send-email-victor.liu@nxp.com> References: <1610616132-8220-1-git-send-email-victor.liu@nxp.com> X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: SG2PR04CA0175.apcprd04.prod.outlook.com (2603:1096:4:14::13) 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 SG2PR04CA0175.apcprd04.prod.outlook.com (2603:1096:4:14::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3763.10 via Frontend Transport; Thu, 14 Jan 2021 09:32:46 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 77bf23a9-aafb-4fc9-2c12-08d8b86f5d64 X-MS-TrafficTypeDiagnostic: VI1PR04MB5710: 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: RlYsF7whNerdeambWBmZDO2C0QBy1ya2aV+aJ8dEmmUJU8pMpDpMQO7u+j/O/qdMPLxSxmqEn8dIiamxsy6oOvNG3ubXNL1n2Obr4kTKIzHr6wpqcjQJbbqrW0eovdYg87QAJs0cBYxyMCs11m/NlY02IzZH40yuc/fdetveOMagHSoAn4oo8Cr1OxO4rU7cCPNUKbxiO2V1SfMu5pTXzxLACps77zb8L6vOYvttOx3KxV2BXdFBeYhJw6xWbF4XtYxcQiLoUrAT6hrowEUF3C8//ltnYW+JcvQAbH39nalCDu+0vS43WFIDI73SjBgSYiILziDF5vXdBG9aXTys82CAZSJsu4OmujujWAAA6doptKxPoqeDy4TqZ+uLEN+E/cMdf4YUWsFNcah8G3UfDBX16h1I7NifOPYxNi4aJ4Pv9sRrUynY+AZunVmEavaFZJrVjNzSyWBAjIGcIXhc0LHbJ/mDhJ+krDdwY3tJEuNbtCHvGTTL2fpKbYGxebxD5LrtFlAVeGWZX5UOuJSVPA== 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)(136003)(396003)(366004)(39860400002)(346002)(376002)(36756003)(6486002)(956004)(8676002)(26005)(6666004)(66556008)(6512007)(66476007)(478600001)(6506007)(8936002)(83380400001)(2616005)(7416002)(86362001)(4326008)(316002)(966005)(5660300002)(186003)(52116002)(2906002)(66946007)(69590400011)(16526019); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?H+oH25v834oJslDamTSWZWozjq2abgZSe/rI3IGlirWvFo4UU68JcJ4iS2EO?= =?us-ascii?Q?XQYrGBqkuk1sB5PxwRZT+HDFbNADGXlD7w2sIkDTw839QXZ2Ro8f4LCmrsWl?= =?us-ascii?Q?gSmMzoON5IvXDC+GLLw/hR1RoIBVmYtGcZS7zVPiCbBfHfzunSGd401abyBL?= =?us-ascii?Q?mwn/n7W7W5bOAJN9UJ1UkbCB7czdxippZhCYMQnGL5qQaw3pAQb1dDyPPuVO?= =?us-ascii?Q?7YXLmvOHN8ZllCQuW0RC1I4KT5F0dyxOniC2ZjaX73qy/aRsA4xmi6Xn+aXu?= =?us-ascii?Q?it+4aYllCBZrt1A63TXEncUyD3kPgTpXvQHAfUKDJW2ttco1ZpTtA+mUVczs?= =?us-ascii?Q?40cHwCIbtj9JbdLhhDgw/aIS2QDrwtl8m12R4NTNLKmWp7yLi6FJ6c2qxXao?= =?us-ascii?Q?YQWNSe975MXNwIKijdHsWepAAQdQ46xs3PTTvZWQ+Lfb8S3BWoMIF8lqDfB+?= =?us-ascii?Q?n+u9HFKul2MtVhAgPyaMXXxJvOcSUvtqL5jKETC3j/mMHbaK4KNdSIlUxWSC?= =?us-ascii?Q?U5DQ2lfYclR1P7flh+3iJp3922hy8/dkU4rRsymBFWQG52k9IhuQZKHNJk9N?= =?us-ascii?Q?657YvZ+ohVzO35ZGi1+lZKip8EafUQH+gvXn3foMNWlPVSZpwcopgcg/e3+a?= =?us-ascii?Q?ImNTg+3rpBvnWU4i+f+3AklPiZtqwAKgkbsWioL0Z8jLj+qNh5mzoY8zRR1X?= =?us-ascii?Q?uCLTzUkv/VZZzcWEwb5ZfU87S7bYkb0+FRn+6qyzS1ebn3DOILh1lC5xXP9I?= =?us-ascii?Q?p1O5QzN4+y4VGT2vdN9mI9dUmN84h7BpEJ1rNgH7R7E91a1XZJBFOTciI8cs?= =?us-ascii?Q?/H1W9Z0i2YCYmsE7HZu7C03N86WHYptIUPhgm0V5Gmvf8c5OEU7aClnaP6QN?= =?us-ascii?Q?j04GrJeozHltWIHZI/4zNg6hQfGSQ+GjGi+VLGNYFPAOuqq9PL6fXqXIKXYW?= =?us-ascii?Q?wonFQ84AK0GVQVgNpFghCkDrrxMh8nNMJ/JwsDQ3Uz4MFKqpXeI7n+yeq5/A?= =?us-ascii?Q?h1Nc?= 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: 14 Jan 2021 09:32:51.8902 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-Network-Message-Id: 77bf23a9-aafb-4fc9-2c12-08d8b86f5d64 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: xhs34N1pZhH+hK2uMYzkvMXXkL7l8FnUYNAGrExiMrFoFQ1HkLvfrX9UemA+kbT+0iKH6Te5xmjKJvV1bXG5Lg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5710 X-Mailman-Approved-At: Fri, 15 Jan 2021 08:55:00 +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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This patch adds bindings for i.MX8qm/qxp pixel combiner. Signed-off-by: Liu Ying --- v1->v2: * Use graph schema. (Laurent) * Use enum instead of oneOf + const for the reg property of pixel combiner channels. (Rob) .../display/bridge/fsl,imx8qxp-pixel-combiner.yaml | 144 +++++++++++++++++++++ 1 file changed, 144 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..50bae21 --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/fsl,imx8qxp-pixel-combiner.yaml @@ -0,0 +1,144 @@ +# 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. + enum: [ 0, 1 ] + + port@0: + $ref: /schemas/graph.yaml#/properties/port + description: Input endpoint of the display stream. + + port@1: + $ref: /schemas/graph.yaml#/properties/port + description: Output endpoint of the display stream. + + 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 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel