Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp941470pxb; Wed, 3 Mar 2021 21:55:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJwvRhhDI3ruSl3a46tPyf1D3kWKXY1pJHf6l4BCd9MP1wM53ZeghsLqottqzwHIZCUVflpu X-Received: by 2002:a17:906:819:: with SMTP id e25mr2521099ejd.292.1614837321791; Wed, 03 Mar 2021 21:55:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1614837321; cv=pass; d=google.com; s=arc-20160816; b=W1izPwOSLn/L4RGfA4Ai385gZFO1igJOTEs8kD86PklL4lBvpTXtAGaG0BceKBhj6b n/5E3EBvKUezEITsLRkvAwdU0fbIJKgZxOGzL98lTHjXymzFAXl3DJIxan5+ggOoFIwT +lE9g8M5auG/y6kKurD81ej/Ymgr0S0A6+TtBFJ2cm6/GS+vsU1W9nwwL01o+eIeY6i6 bZi5EmzKSjpXYC7Bt6i0lhWuSSS4OJ43aXTcF8N26maFBLFMgvdGeKYmHYviUeFiS+R5 7AluibO0uz/aDK+D+/migJ5McRIRWwt2Vd1PbYmlXJ0lZCaHTok98vcKAHdbHylUM4xm 2/8w== 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=U5Y5NXPqX6HpyKga4qkr+BRI0cMOw2c8vUWWSdgeiuM=; b=WBWpmhtDG2j1/369hgbGKbUbDGsRxAPQgUsGbmnTC9xtyo0EtZt4X2xVAF72m44Lo5 SrWoujqofa96sRmRf5y3FZFLWNrVqTei4EBBzmQirFoK4z24xjaoyBeZovKOwjQwJNKz nJmNLznsePmc5Mcadrc6UMphuYbgxIIjakTAVdS+SWP+u+MEWlEcgbWRuEsbw8LFk3Rs YNX9VCdpCpeJIZlIXBqDovyJxR9bL3o2kdQVvT9ozZH/m82phU9/+KEi6wLG3Df1vDzW X0uSLNCr4cV5k+ToN0xXvP7gVjcr2rJ0AuTJyB1TVMSJgKmduXlcv3H4vxjaAFNNnaMk Uc0g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="AXwj/zsB"; 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 cx12si16388524edb.460.2021.03.03.21.54.59; Wed, 03 Mar 2021 21:55:21 -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="AXwj/zsB"; 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 S1836830AbhCBHVI (ORCPT + 99 others); Tue, 2 Mar 2021 02:21:08 -0500 Received: from mail-eopbgr130070.outbound.protection.outlook.com ([40.107.13.70]:1158 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1349198AbhCBGrc (ORCPT ); Tue, 2 Mar 2021 01:47:32 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nB2mUIlN/h8WZvsPAaWKmMqL+y/VpLFmFhfoObZfdTKJkxJKLQ7Q6tiogk9ikAi8I8KdXVQGG+RUIpX4GueUXB+u6huK6lyuVjUfhyj8kp8E8AKDDjkgY+cDlQTr7KTdcoClift74TBur64atDPBhMUK3wOVwRfo44V5lYZ4heLjdrF6RIvvxAJrvXoostN+f/4saE2i+YOyIHnWXiLZPlAzibV4g4AWCwbgb4VxoskBhCOL9xrNF/0Yh5AIw0G5484Ydd5mVM5ySAlHJ2wwzAW/VUwI9Lad/yNUj/Rfu9j5/AZV1orI5u2weQxQpKNJWzG6Exoauch7D4ByLAzZmw== 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=U5Y5NXPqX6HpyKga4qkr+BRI0cMOw2c8vUWWSdgeiuM=; b=hjBpts04Lua+75g2FuhKqrDvGS4OScQS6IunbqYa2Olmdz5PDcmjVm/6+gH7G13/1pemGFAx9krBS7mt4aoUKcFWjvFqqlII238sKPcVXHLRsEFycVoYH8dOJmzclkO8X3UVYK3ATks3TgiZD7xH7/wAaKi0QeeZcig1bcH4DvJM+6fGtwaR7wmrK2xt/8KL9d2tBtRbbjIqczQOQsDD5aXrYZMUnHh1JXNmzdA+535BQ+rV5J9ViDs57FvU8rZe7nw2Wee6GZk334T2otpXOtNjz1twNcViQjqGHAK7zOmh2RJOqYhUUwNi4tMlGy8RLnyavP4xaiunCnwplRusqg== 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=U5Y5NXPqX6HpyKga4qkr+BRI0cMOw2c8vUWWSdgeiuM=; b=AXwj/zsBuvuMwLNzgSUq/kujVSDiJpnSbEnpkvkNdl0g/MQ4b5feUlKgVO8KTvnsf/TSM7ART5pmZ/mi2MTzcGm7WU9QP+/CMmXlup3ucWggIw7cfuj0soL/I3hCtdLl4W3L4ViD6hz4cErA5TSgkD98whRoTjiNDWOcagbduRs= Authentication-Results: lists.infradead.org; dkim=none (message not signed) header.d=none;lists.infradead.org; dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB3983.eurprd04.prod.outlook.com (2603:10a6:803:4c::16) by VI1PR04MB6816.eurprd04.prod.outlook.com (2603:10a6:803:12d::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3890.23; Tue, 2 Mar 2021 06:46:09 +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.3890.028; Tue, 2 Mar 2021 06:46:09 +0000 From: Liu Ying To: linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: p.zabel@pengutronix.de, airlied@linux.ie, daniel@ffwll.ch, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, robh+dt@kernel.org, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, laurentiu.palcu@oss.nxp.com, guido.gunther@puri.sm Subject: [PATCH v8 1/6] dt-bindings: display: imx: Add i.MX8qxp/qm DPU binding Date: Tue, 2 Mar 2021 14:33:11 +0800 Message-Id: <1614666796-19374-2-git-send-email-victor.liu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1614666796-19374-1-git-send-email-victor.liu@nxp.com> References: <1614666796-19374-1-git-send-email-victor.liu@nxp.com> Content-Type: text/plain X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: HK2PR02CA0191.apcprd02.prod.outlook.com (2603:1096:201:21::27) 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 HK2PR02CA0191.apcprd02.prod.outlook.com (2603:1096:201:21::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3890.28 via Frontend Transport; Tue, 2 Mar 2021 06:46:04 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 915717b8-9c29-4d7c-73af-08d8dd46dc77 X-MS-TrafficTypeDiagnostic: VI1PR04MB6816: X-MS-Exchange-MinimumUrlDomainAge: devicetree.org#4161 X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5797; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qcyDviYNK3xs+iW7HCn2Q8IHZ9tY/ZCvq6rPcX6NUVLROZiUusdYVaSEfguW3zwIt7AQnrwLgA8fXGnIsCwkaaPWzYYs9nPbbxBVquYHClayI/5/RTvCwviMFso4D7IMwIR5e5oWJVNNVW351Ev6W3szSrAdMYyiR35KboH9lIaMXr6gTlGkJ7RM1walwJUb7ma0pqlxdrrAhbVczz1PM5bPhLA7x3Xk96e8eUs96iS4o4hadfsk0VU3sw7MvP/BMK8/ogVIdGU4c8pYYoHoiQT2NFJVkUPvJYwKloVRepEQEfwlCpOHFBb6apP5WVcpgY05/Wnif9hWeydtclmH27YZiTtSBshA/bG+UQdQ/iDAjtWakeUq9tXKwKShb0ZCe66sh9kqrWBfy+X2Jygbanl7CDD5NTTzQt6x8n6cZNPGa8nagHM2Kt5LEsMxr0ogX5FT5o7ucgDiyTxPpLzcrBdI4bGsXUnl/mT48m+gABpfk2jUHRKL7+LeQLxFOo/CIc89S0EtvBl8ynxAdgK9tbV2ke4T0jJ0ZaF5+n4wjp3P6d3N+KGcdSmj0Pe4WJI2tEZ8jeLrvCf7KhzcIdl4KH/yhDLxVLZ9zsar4r2HT6Pgw00ZHHigyqmGmLUnvbhiaAFRFaEmS0H4EqX0QAIqiw== 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)(396003)(39860400002)(136003)(376002)(346002)(366004)(956004)(69590400012)(66476007)(16526019)(52116002)(83380400001)(186003)(6486002)(966005)(2616005)(66946007)(7416002)(26005)(66556008)(86362001)(36756003)(8676002)(6506007)(6512007)(478600001)(4326008)(6666004)(2906002)(316002)(5660300002)(30864003)(8936002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?VTplV6EugHaVkMHwMakkTQfw8ElBtNljPIt48G0GjnxROIJyTMV/QHOPGeqI?= =?us-ascii?Q?7dAcIpzcUsC6FlNIEjRwdu+aW6KddoFBHbzbsjjBJTPsMlNuILwS64Levd0A?= =?us-ascii?Q?41uyMuXhFotK6wdUX+deo9OG/zDty3yPwVQ8KicUwH5/DaS5gjogGcDNd1mu?= =?us-ascii?Q?2oU7uKRKI11GsTW/qiYhvRrFIMFBkfj8PGTNcubW6Zb2hlj9d1SXe4E6CNie?= =?us-ascii?Q?EatuS6EPyztgRVKEXVa2oqlroPq3P8tsGYUATrQqMDn2Q2E1WJHMyU3HmV40?= =?us-ascii?Q?1iD7OFcrWC16wsvTPgKqlg08w7LPPu3XQ3s2KaiQL0t1NmLgwXVhN8eVgKYH?= =?us-ascii?Q?e2YEs0HdTKh47ypvc/OPXp8M/YbLCl4Y07fKql7tkUDG+zaYp4PWWQJ4tKXE?= =?us-ascii?Q?o7QrDgeANBe0I36t93DFdwGdNdXfWENJIdCF6kfXGNVqLVLbPcPjs8LVko/4?= =?us-ascii?Q?SfbkcaY3wrtE9YZg2tLxLKNmCTr2RfshT4no5vB/RQlhsgWVi1Vl5tdnv6aU?= =?us-ascii?Q?iteeBf4LIujdQan08TY7s98SwWYW9LIIRJH061WAg8UiOwVNFxvI+lknGJw9?= =?us-ascii?Q?2gowitKDLVvuBB9lupJjmslPeFilgVIwKKzCmQWZLwlqDfyI4Ebhd5iEkIKM?= =?us-ascii?Q?bxS9a3hWQmV5hU3LXUoYSa+vW2q5P6cnb7pyWD5/hkij2rO8oClcUCscFUzE?= =?us-ascii?Q?biqkK9a1kHWWjLSX70DG8inC+y8h2pOm4C7Ou0Gjb8jY/+M1l9bf6Amu0iCT?= =?us-ascii?Q?0uKHQ94zQjj4Akc2xb91qeuoV4xPV4imG7kOmS0BkUeU7xsCbhIbuv3+48jJ?= =?us-ascii?Q?XMAkoLOI6KQmXYfHWxnd+R4sSC1vhjalvVrPtflokEbJCIrcdt3/hBDFiuha?= =?us-ascii?Q?mZoGBYWiRVjKfXTxGHJvbcqwY6ZfCz4gX1KtIkheP+JWgnBrJGeTLC68ADRq?= =?us-ascii?Q?LQucdB/cNJy5kij2fM4Lg2L0QqglwucWy30xRkA05hyotybviJwTWtkFXRJq?= =?us-ascii?Q?QPIDnB2wlQ3fSBm3M+YPXFC2ICNSXd+Ylf/X/Fjgr9ZjQia+WdfO9GX4wvyo?= =?us-ascii?Q?zcK8t7RQ58qON+qgrK5VH9JJh0rZEInpvTP58O64uOZNE3BF8y3750mkxOF7?= =?us-ascii?Q?Rjdn4qEJi6e8VDKbmLaApJ6b2htftmHGsVvk5V7FgiKDlKCDYrT5VRy3SzrY?= =?us-ascii?Q?gu/DH9h+xF+zbUoQ7B6gXFcBvORWOXVIyCO4uHvcCfK63T6yUgyt+U04y68E?= =?us-ascii?Q?H43ZgQWDEVBreTZWoqACxKrG2jOJferRwNNt1K2vOvs3yukfsPdiVOKX4S3+?= =?us-ascii?Q?6ZfJ+HhfngbgJ4sxRUjgY+0Q?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 915717b8-9c29-4d7c-73af-08d8dd46dc77 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB3983.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Mar 2021 06:46:09.2408 (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: rI0r47mq3+Tl0MJX2bkDIM7gP8Bjq2Mt4/DylU3pa109n5m401Q02X0XoyXda5KEkG34Z2yP5LnwA0bVzco7Vg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6816 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds bindings for i.MX8qxp/qm Display Processing Unit. Reviewed-by: Rob Herring Signed-off-by: Liu Ying --- v7->v8: * No change. v6->v7: * Add Rob's R-b tag back. v5->v6: * Use graph schema. So, drop Rob's R-b tag as review is needed. v4->v5: * No change. v3->v4: * Improve compatible property by using enum instead of oneOf+const. (Rob) * Add Rob's R-b tag. v2->v3: * No change. v1->v2: * Fix yamllint warnings. * Require bypass0 and bypass1 clocks for both i.MX8qxp and i.MX8qm, as the display controller subsystem spec does say that they exist. * Use new dt binding way to add clocks in the example. * Trivial tweaks for the example. .../bindings/display/imx/fsl,imx8qxp-dpu.yaml | 387 +++++++++++++++++++++ 1 file changed, 387 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/imx/fsl,imx8qxp-dpu.yaml diff --git a/Documentation/devicetree/bindings/display/imx/fsl,imx8qxp-dpu.yaml b/Documentation/devicetree/bindings/display/imx/fsl,imx8qxp-dpu.yaml new file mode 100644 index 00000000..9da9560 --- /dev/null +++ b/Documentation/devicetree/bindings/display/imx/fsl,imx8qxp-dpu.yaml @@ -0,0 +1,387 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/imx/fsl,imx8qxp-dpu.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale i.MX8qm/qxp Display Processing Unit + +maintainers: + - Liu Ying + +description: | + The Freescale i.MX8qm/qxp Display Processing Unit(DPU) is comprised of two + main components that include a blit engine for 2D graphics accelerations + and a display controller for display output processing, as well as a command + sequencer. + +properties: + compatible: + enum: + - fsl,imx8qxp-dpu + - fsl,imx8qm-dpu + + reg: + maxItems: 1 + + interrupts: + items: + - description: | + store9 shadow load interrupt(blit engine) + - description: | + store9 frame complete interrupt(blit engine) + - description: | + store9 sequence complete interrupt(blit engine) + - description: | + extdst0 shadow load interrupt + (display controller, content stream 0) + - description: | + extdst0 frame complete interrupt + (display controller, content stream 0) + - description: | + extdst0 sequence complete interrupt + (display controller, content stream 0) + - description: | + extdst4 shadow load interrupt + (display controller, safety stream 0) + - description: | + extdst4 frame complete interrupt + (display controller, safety stream 0) + - description: | + extdst4 sequence complete interrupt + (display controller, safety stream 0) + - description: | + extdst1 shadow load interrupt + (display controller, content stream 1) + - description: | + extdst1 frame complete interrupt + (display controller, content stream 1) + - description: | + extdst1 sequence complete interrupt + (display controller, content stream 1) + - description: | + extdst5 shadow load interrupt + (display controller, safety stream 1) + - description: | + extdst5 frame complete interrupt + (display controller, safety stream 1) + - description: | + extdst5 sequence complete interrupt + (display controller, safety stream 1) + - description: | + disengcfg0 shadow load interrupt + (display controller, display stream 0) + - description: | + disengcfg0 frame complete interrupt + (display controller, display stream 0) + - description: | + disengcfg0 sequence complete interrupt + (display controller, display stream 0) + - description: | + framegen0 programmable interrupt0 + (display controller, display stream 0) + - description: | + framegen0 programmable interrupt1 + (display controller, display stream 0) + - description: | + framegen0 programmable interrupt2 + (display controller, display stream 0) + - description: | + framegen0 programmable interrupt3 + (display controller, display stream 0) + - description: | + signature0 shadow load interrupt + (display controller, display stream 0) + - description: | + signature0 measurement valid interrupt + (display controller, display stream 0) + - description: | + signature0 error condition interrupt + (display controller, display stream 0) + - description: | + disengcfg1 shadow load interrupt + (display controller, display stream 1) + - description: | + disengcfg1 frame complete interrupt + (display controller, display stream 1) + - description: | + disengcfg1 sequence complete interrupt + (display controller, display stream 1) + - description: | + framegen1 programmable interrupt0 + (display controller, display stream 1) + - description: | + framegen1 programmable interrupt1 + (display controller, display stream 1) + - description: | + framegen1 programmable interrupt2 + (display controller, display stream 1) + - description: | + framegen1 programmable interrupt3 + (display controller, display stream 1) + - description: | + signature1 shadow load interrupt + (display controller, display stream 1) + - description: | + signature1 measurement valid interrupt + (display controller, display stream 1) + - description: | + signature1 error condition interrupt + (display controller, display stream 1) + - description: | + command sequencer error condition interrupt(command sequencer) + - description: | + common control software interrupt0(common control) + - description: | + common control software interrupt1(common control) + - description: | + common control software interrupt2(common control) + - description: | + common control software interrupt3(common control) + - description: | + framegen0 sychronization status activated interrupt + (display controller, safety stream 0) + - description: | + framegen0 sychronization status deactivated interrupt + (display controller, safety stream 0) + - description: | + framegen0 sychronization status activated interrupt + (display controller, content stream 0) + - description: | + framegen0 sychronization status deactivated interrupt + (display controller, content stream 0) + - description: | + framegen1 sychronization status activated interrupt + (display controller, safety stream 1) + - description: | + framegen1 sychronization status deactivated interrupt + (display controller, safety stream 1) + - description: | + framegen1 sychronization status activated interrupt + (display controller, content stream 1) + - description: | + framegen1 sychronization status deactivated interrupt + (display controller, content stream 1) + + interrupt-names: + items: + - const: store9_shdload + - const: store9_framecomplete + - const: store9_seqcomplete + - const: extdst0_shdload + - const: extdst0_framecomplete + - const: extdst0_seqcomplete + - const: extdst4_shdload + - const: extdst4_framecomplete + - const: extdst4_seqcomplete + - const: extdst1_shdload + - const: extdst1_framecomplete + - const: extdst1_seqcomplete + - const: extdst5_shdload + - const: extdst5_framecomplete + - const: extdst5_seqcomplete + - const: disengcfg_shdload0 + - const: disengcfg_framecomplete0 + - const: disengcfg_seqcomplete0 + - const: framegen0_int0 + - const: framegen0_int1 + - const: framegen0_int2 + - const: framegen0_int3 + - const: sig0_shdload + - const: sig0_valid + - const: sig0_error + - const: disengcfg_shdload1 + - const: disengcfg_framecomplete1 + - const: disengcfg_seqcomplete1 + - const: framegen1_int0 + - const: framegen1_int1 + - const: framegen1_int2 + - const: framegen1_int3 + - const: sig1_shdload + - const: sig1_valid + - const: sig1_error + - const: cmdseq_error + - const: comctrl_sw0 + - const: comctrl_sw1 + - const: comctrl_sw2 + - const: comctrl_sw3 + - const: framegen0_primsync_on + - const: framegen0_primsync_off + - const: framegen0_secsync_on + - const: framegen0_secsync_off + - const: framegen1_primsync_on + - const: framegen1_primsync_off + - const: framegen1_secsync_on + - const: framegen1_secsync_off + + clocks: + maxItems: 8 + + clock-names: + items: + - const: axi + - const: cfg + - const: pll0 + - const: pll1 + - const: bypass0 + - const: bypass1 + - const: disp0 + - const: disp1 + + power-domains: + items: + - description: DC power-domain + - description: PLL0 power-domain + - description: PLL1 power-domain + + power-domain-names: + items: + - const: dc + - const: pll0 + - const: pll1 + + fsl,dpr-channels: + $ref: /schemas/types.yaml#/definitions/phandle-array + description: | + List of phandle which points to DPR channels associated with + this DPU instance. + + ports: + $ref: /schemas/graph.yaml#/properties/ports + + properties: + port@0: + $ref: /schemas/graph.yaml#/properties/port + description: The DPU output port node from display stream0. + + port@1: + $ref: /schemas/graph.yaml#/properties/port + description: The DPU output port node from display stream1. + + required: + - port@0 + - port@1 + +required: + - compatible + - reg + - interrupts + - interrupt-names + - clocks + - clock-names + - power-domains + - power-domain-names + - fsl,dpr-channels + - ports + +additionalProperties: false + +examples: + - | + #include + #include + dpu@56180000 { + compatible = "fsl,imx8qxp-dpu"; + reg = <0x56180000 0x40000>; + interrupt-parent = <&dc0_irqsteer>; + interrupts = <448>, <449>, <450>, <64>, + <65>, <66>, <67>, <68>, + <69>, <70>, <193>, <194>, + <195>, <196>, <197>, <72>, + <73>, <74>, <75>, <76>, + <77>, <78>, <79>, <80>, + <81>, <199>, <200>, <201>, + <202>, <203>, <204>, <205>, + <206>, <207>, <208>, <0>, + <1>, <2>, <3>, <4>, + <82>, <83>, <84>, <85>, + <209>, <210>, <211>, <212>; + interrupt-names = "store9_shdload", + "store9_framecomplete", + "store9_seqcomplete", + "extdst0_shdload", + "extdst0_framecomplete", + "extdst0_seqcomplete", + "extdst4_shdload", + "extdst4_framecomplete", + "extdst4_seqcomplete", + "extdst1_shdload", + "extdst1_framecomplete", + "extdst1_seqcomplete", + "extdst5_shdload", + "extdst5_framecomplete", + "extdst5_seqcomplete", + "disengcfg_shdload0", + "disengcfg_framecomplete0", + "disengcfg_seqcomplete0", + "framegen0_int0", + "framegen0_int1", + "framegen0_int2", + "framegen0_int3", + "sig0_shdload", + "sig0_valid", + "sig0_error", + "disengcfg_shdload1", + "disengcfg_framecomplete1", + "disengcfg_seqcomplete1", + "framegen1_int0", + "framegen1_int1", + "framegen1_int2", + "framegen1_int3", + "sig1_shdload", + "sig1_valid", + "sig1_error", + "cmdseq_error", + "comctrl_sw0", + "comctrl_sw1", + "comctrl_sw2", + "comctrl_sw3", + "framegen0_primsync_on", + "framegen0_primsync_off", + "framegen0_secsync_on", + "framegen0_secsync_off", + "framegen1_primsync_on", + "framegen1_primsync_off", + "framegen1_secsync_on", + "framegen1_secsync_off"; + clocks = <&dc0_dpu_lpcg IMX_LPCG_CLK_5>, + <&dc0_dpu_lpcg IMX_LPCG_CLK_4>, + <&clk IMX_SC_R_DC_0_PLL_0 IMX_SC_PM_CLK_PLL>, + <&clk IMX_SC_R_DC_0_PLL_1 IMX_SC_PM_CLK_PLL>, + <&clk IMX_SC_R_DC_0_VIDEO0 IMX_SC_PM_CLK_BYPASS>, + <&clk IMX_SC_R_DC_0_VIDEO1 IMX_SC_PM_CLK_BYPASS>, + <&dc0_disp_lpcg IMX_LPCG_CLK_0>, + <&dc0_disp_lpcg IMX_LPCG_CLK_1>; + clock-names = "axi", "cfg", + "pll0", "pll1", "bypass0", "bypass1", + "disp0", "disp1"; + power-domains = <&pd IMX_SC_R_DC_0>, + <&pd IMX_SC_R_DC_0_PLL_0>, + <&pd IMX_SC_R_DC_0_PLL_1>; + power-domain-names = "dc", "pll0", "pll1"; + fsl,dpr-channels = <&dc0_dpr1_channel1>, + <&dc0_dpr1_channel2>, + <&dc0_dpr1_channel3>, + <&dc0_dpr2_channel1>, + <&dc0_dpr2_channel2>, + <&dc0_dpr2_channel3>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + dpu0_disp0_pixel_combiner0_ch0: endpoint { + remote-endpoint = <&pixel_combiner0_ch0_dpu0_disp0>; + }; + }; + + port@1 { + reg = <1>; + dpu0_disp1_pixel_combiner0_ch1: endpoint { + remote-endpoint = <&pixel_combiner0_ch1_dpu0_disp1>; + }; + }; + }; + }; -- 2.7.4