Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4125814pxb; Tue, 26 Jan 2021 13:07:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJyaAEIFKZPKlW0bWSXs+vLluRG0nlSwQGz9XZIacFfaDMkP6hNPWM0vilnTZVelJswidfDW X-Received: by 2002:a50:9f65:: with SMTP id b92mr5971679edf.74.1611695232058; Tue, 26 Jan 2021 13:07:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1611695232; cv=pass; d=google.com; s=arc-20160816; b=U1XdJ50w/sc4GwIrCZ7MKh62mgl2ZGX5dorsQdhRgqaOFhZ+Ka9hgkHc8GipzAjqvi fpDY4EkM8vhGmXFAC/iW7PJPE/u/RY1Ig8X757f0+NP2irH7bzBW2bn99XFPFZqzRbrp RmP3pbGvfQTwWGlZejX5/r0d3ApLOMyT5JXFrovdcOpJ1zP1Kk0hoWvkvnFnwaA9u+GK hVDfnc8RlfSOnbGmx5VuTe+uYpD1FQOhfCMPwaDzYpaG9NxNDwreTZMGre8LVlOJQMmh kwHGcaVG8umn6e/0L+iGFxquj9OEMkSeMFsdg7pY7pWnOx9He1MxeIdDFiAUUOBHAplY WE3w== 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=q8IjOJ2z3Xo7HXeBq+cUCTPFMkd8UIQ7HivERc9Ys4w=; b=Y8M0GEtElH3C749zjqsQp0b8rELI2cg3WC9gILgc3JXuGP9SHJ2CKhitX+as3yJAMh sE/PRnlQmb6jc4shuGQdG3mFihR9VmW8OkJReTvcBSdMdfyU1fx/KHuUcT4uBuSkyjK/ TE4rfp1KeTJ+c0x1vhyT0AVVjrbBesnOrXneu9a/sxZBZjJWLPfugCVUBv6b3liJIoxx ePO9O6lNo+S4TcS4shIVoxyfEnZtibe5uQ0tdTJbmlbk0pSHkt4SP1nrn3Z3K9WgxSKh fHYebTVbTgYiNhHmfMAxb/ga6rAJzg84U/xTYCkZy7sf5UAzv3ULRgQQkuHPu06n1/yJ 4JQg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=BQS1E1L9; 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 b2si7445794ejc.551.2021.01.26.13.06.44; Tue, 26 Jan 2021 13:07:12 -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=BQS1E1L9; 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 S2390085AbhAZRQd (ORCPT + 99 others); Tue, 26 Jan 2021 12:16:33 -0500 Received: from mail-vi1eur05on2040.outbound.protection.outlook.com ([40.107.21.40]:47329 "EHLO EUR05-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729293AbhAZG1D (ORCPT ); Tue, 26 Jan 2021 01:27:03 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=J2efTIGwv3DusI1oqlRckNWWssikyHOPBJKoOoV5Hsnr7QtGjEBFqwyD/jfjquRLqRqSMNI8MRtzF/SgWUD9gB+82Kj3A1vH5HfEmSC9gP06OwFrR1cHA7Gmrv3PVt5X8ngflymAwQ2uvs1qCFLEOJEeFsBRJRMac+hyGr689i//CeH7+3C1aF+HVtiKi/MX+b+d7JCbXTM3YppMKH+HbHYf2XaaPuIoLuiUxRIM7iRIe60/m/5/ab+hr9Af7AgweilKtsa8zxB3qcNGNEo2SiFjnr/sNO+fSusdgQ+lTUKtqBbR7yW1HGos/y4RJwbR8NpkE3pYvtjaJJwzIYKjOA== 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=q8IjOJ2z3Xo7HXeBq+cUCTPFMkd8UIQ7HivERc9Ys4w=; b=jQVqxCodYiVYy30+yn6m3jMd1x6AAaX/k7EyYd6aOXgcmK6cUrCutauLF5KZFp6YKlMGWhZB9a642txWvHiF/6D1zpAPbng+gUzO7mUScBaG6hB7lYcvVEGNJtEcam5hRhsTtXgdk9qrMN4ElSany+GM1TUljxwSajbYf4JsLa9+G3oB3OZSQ5dBpxTpSP98//iwf0DMQcPwrwjrgruEfSb1o+EXlOCHDTM/vp1mrxhcK2W1IBQe8DxayJ9S2b+UtaSw7QaqNtT6PQ6uWon62tHNN3TLWmKhQ70G29v/Lc3ZPSimS+FsJh4xJFCMOKP+eH2DVy9usVUyIDGMJCSVvA== 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=q8IjOJ2z3Xo7HXeBq+cUCTPFMkd8UIQ7HivERc9Ys4w=; b=BQS1E1L9Y4VU33lMCyPdf+HHS5mazwHIMvIzk8nO2Jo1eC0Wxq/L6Fa54Y+Df2SOWypZgYAAK8xNm/LkpboVY5WCzRuv3oU5EY7vYGNSDBY18e49EFOS3cQ2EkxFK63wMCG6jfcCS29BU9ECcQSVOBBEY1nnyR60TkfeOjQG3j8= 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 VI1PR04MB2973.eurprd04.prod.outlook.com (2603:10a6:802:10::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.13; Tue, 26 Jan 2021 06:25:39 +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.3784.017; Tue, 26 Jan 2021 06:25:39 +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 v7 1/6] dt-bindings: display: imx: Add i.MX8qxp/qm DPU binding Date: Tue, 26 Jan 2021 14:14:46 +0800 Message-Id: <1611641691-17554-2-git-send-email-victor.liu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1611641691-17554-1-git-send-email-victor.liu@nxp.com> References: <1611641691-17554-1-git-send-email-victor.liu@nxp.com> Content-Type: text/plain X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: SG2PR03CA0108.apcprd03.prod.outlook.com (2603:1096:4:7c::36) 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 SG2PR03CA0108.apcprd03.prod.outlook.com (2603:1096:4:7c::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3805.6 via Frontend Transport; Tue, 26 Jan 2021 06:25:34 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 09af22d7-50ec-49d9-562b-08d8c1c3333d X-MS-TrafficTypeDiagnostic: VI1PR04MB2973: 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: hugOUDaFF7HiF4aSZ8ED/m8SxTS82tBPzJrDZZaVIA39clxxD8eKMcKeRg7NiYY8tlhnB5oUJLGgRT7NVfbnvx4whGexrTAmURhcHpD1Q3T7kRxPbezlov9s0gZc1N9JjO2hZ9qn6hAHWEJXz/cQ9bDiKHxtln6ID1fNvXLo9lZz+f4d9XOXSXUOvvfNW4a5IwgtsyR7EP8TZteoPxg43Z1hyyxdXhgd8G0ViVRzruuOXjxt9gFdJtFEq7c29ge5MKPPlYDBRNgFEEgA3rEUiqv/Dwj8t2F1Oiri45U7YcJsrUk9y+olMD7ypkt5sXtVjm2FV08U47EQHa328fEIom9jtQ3q9zYqap+X/ofsgwmfwPXUWdX4WbmMQoPmKYPphA6kezKlCvpxmqAXYZMQx2FOOxDcMpsi2u9xNgAxkOO4F/OmN6ztuBZWpnGh8Z+QTp+fotlPu9IVA4ICPpgZzvjsLoXGAIt3wAzrNDDfjpKUmn3GFaWL8bc7RoFFTVMH3SzHHK/H1qv6oeITjbFSQQ== 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)(39860400002)(396003)(376002)(346002)(366004)(6506007)(83380400001)(4326008)(6512007)(86362001)(2906002)(52116002)(30864003)(478600001)(956004)(2616005)(26005)(186003)(966005)(16526019)(5660300002)(8676002)(69590400011)(316002)(7416002)(36756003)(66946007)(6666004)(66476007)(6486002)(66556008)(8936002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?ANy9kAKulTvr3httYJuLwQXYoxvnSYmdLB6CWfzQlvKExLV9UYx0PO0/GCSh?= =?us-ascii?Q?fEvwJJjfaEey8rNoNMW22Q/V5m15osLAmc5YlV3UeDfmGbzhV31CLH4lk0Bx?= =?us-ascii?Q?IUgqvGGPz56Uvu/MIailygDgIHohv7A6LViVqqs/sRTCiasODqFKFVGXK0sQ?= =?us-ascii?Q?8wLe2GLxKCjhu7po6jpO4ylPTFrWYwYzH/Hdx0xpufXgCSZl2L1ArvueeRZL?= =?us-ascii?Q?/4xMfhTG8l647wkxTvnKLWgY06zJ/tG+4JQqX01bia+ED2PduM18cIxbir+G?= =?us-ascii?Q?3ov4eEvxYf7BhrbpMuX54iYhv84ACOCuTXRhDf0eUOcvfcTDhpZ0RlQsNTfI?= =?us-ascii?Q?0qPp01BRSdC6FB2iYXa4mpybWVKU22qZsnS4Dcongr09HaoAKC1O1s8eBEC0?= =?us-ascii?Q?w9lB0gPYdStUSfQxH88DZ4krp+Dke8DtIJWGt7bIcGrXWPpERnToF8YKbI4c?= =?us-ascii?Q?uO2NPVLN/edGH1Q0f1wkyUdTZQTUk8CiRMoEKqKUavPd2Yft9soJC9cID4kx?= =?us-ascii?Q?TVv0xtHu9sWt709hf4pMcHGVKRhX9yYuUInxPrqX+XGWrXFIuiRI3RT2Exva?= =?us-ascii?Q?7lHqTX2dlywanYm7ZgDPQfo+HMNkMWm7E7/4UBfaWff1LvGbSj27Dg+vVsZs?= =?us-ascii?Q?1UtBdClPxv/t5A2Oe18AkoTDporrjKp+TD2TgyYII89UNbDXS4XY0g+9zwAt?= =?us-ascii?Q?1td07lWkPcgmd0YdOFFyZ1cFQaHFf6MZOtMvpEEjdjcnHfB5hNOrv+sbmunR?= =?us-ascii?Q?pkt5XJsbXYrYrYrMwMfSExyYYM0rzj2O6qMhPGaDIyjf6z/ROK1IdcxyiPYx?= =?us-ascii?Q?yrfT1kRxZGcx6OTeA931W8ICglJKbUUNoEItXLY0YctefiNm1JP0gdfLBrqn?= =?us-ascii?Q?Nhc3t6QGMyYccCZi83su6/MBE2ftQUGkmddtpUN4kMjpnlZBrMsEHX/l41+g?= =?us-ascii?Q?ffIHRTQZp5n/nNVhEo4DIKt+OAglxDo0peksensgHHWhQFP80f5PMsThuF19?= =?us-ascii?Q?v1bopYOJRf4S7e7T9Q6g8wEx3sIPTkw2YgBzONTMq7JAOAhDdKaw4VDyscMN?= =?us-ascii?Q?ZgOfNRPd?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 09af22d7-50ec-49d9-562b-08d8c1c3333d X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB3983.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jan 2021 06:25:39.8554 (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: 8kUBbDEm125EcPVImLXmBXt+Vbkfx2a/7PAAfdhniFeHT7prRZl4OpEFBHodEX5JqQsqE+x2s13HsQbgUcaXLg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB2973 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 --- 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