From patchwork Mon Mar 29 05:57:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 12170797 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,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 BC9DFC433DB for ; Mon, 29 Mar 2021 18:42:14 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 D17DC61981 for ; Mon, 29 Mar 2021 18:42:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D17DC61981 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=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=X0bx+QL3yuppMG+0ffaMqTacR2w4XV83Y3XKGpUn2sU=; b=ksDIguTaA2tEU+7qVzGSXXTJ7 JGq/7ZsFS90TulnPxu+Rm/Yt5PZaQ3Fa5XSJz7w2y01H+yiZI6TSxNNQIEy6tajPDEusERwASkqHC fRFIwfGBSrlGOn3vco+GONyKJYwCTE1HXnHJWQ3RHW/2mQoV9SQy/RwbXAoxZTOU+1UsxhC0H+RVR TlGnZG5r0JWt32EQgwIcEzeKd6xVCKV8rlp+tBNLDBBIq/NuUCsCFzFdLK40XTv6ChFyt5N61YaRi tkRIpFcxA7oCR+AeyH4rqoI/e1oh4tSXEwJCkjJ0UQu5xkpqNMKweBQM8uUEBLRdFnwP0WLx1fbj8 Eq9YbaZWg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lQwnN-0015Nd-VV; Mon, 29 Mar 2021 18:39:26 +0000 Received: from mail-db8eur05on2068.outbound.protection.outlook.com ([40.107.20.68] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lQpMI-000akQ-GO for linux-arm-kernel@lists.infradead.org; Mon, 29 Mar 2021 10:43:00 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XSOq2nBlG2tOYKfm61EU2Q1T8xfnaSSe0R4wtri5izmhsUhfLEMEeNQjZ3PxEwCVbudSE186bwqGnR+2Z1GWRHT7rDiM4G9jSEYuZleiCO5VyGEeky5b18JD2faenEzlHxr4ssxvBBMT1/uT0DDelA8tlbAK6GS/pl+NLgkQtLMKGGQ791iJEumoYhRtGoN1zehQjM9V26w7Ig8+dtX24ui8JqEkGGxLA/G/jLu1mDSZ9fW+d0Sg/tm717BUty65d+j5h3+d2tkiT1IB/Pqu2sb/gqQndyD+1EOzMjfw8EjNfW46my4Y88jUnFydqtOwxjcmNZVnwa/U2xwr9NWhIQ== 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=cupGbUy8bnSfmGwPvc0xmgY3KRWendusf4kk+BPRhgc=; b=BclZhP7WC4xabziebTiR4UwkeQFLwkr1j6Mr4+6+LxGpQLY+xVITpKdehKVfnt7P9yOa99BfJjSGLT5ZtUN3b2G5irJZ5vE6vthAuhlIlssx3edMwkb4oz3Nqi2qWN7wbGvU4q/j9HbLzOv5rgnOaF6tGlqIIj+mQkw0E0nyRA2XTNec5fYne+0wEaYQaG+xfOTvGFyxvVOQSgPcQIfZOv01RJfrO4dynrnc+6gPBzrWZUkRa7YT5+7DINF0Uo9llwl07L7S8+qxS16AUGoC/RUvmhaBQthif06nw9nenOKkXZptDPiubqnEiz7i131w/WEzgcws0PtT8UiTW/xo2w== 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=cupGbUy8bnSfmGwPvc0xmgY3KRWendusf4kk+BPRhgc=; b=spjjOGT757AJM0fxZsCteC6vvkxBB31xW0USyIzbJ6jYLHBuPADnY5UHIfFO0253/8fMp/3pWkLpzV78L5xLoibWw7ShfDhTQzsXkoPPWniBJ9AHZ5GAMCPlaTG0dLnh9XdHDtb9FTDeMWICvIR6l2me+GnUnEJdEtGo3qixen4= 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 VI1PR0401MB2320.eurprd04.prod.outlook.com (2603:10a6:800:29::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3977.26; Mon, 29 Mar 2021 06:12:10 +0000 Received: from VI1PR04MB3983.eurprd04.prod.outlook.com ([fe80::3ce1:4759:5c33:514c]) by VI1PR04MB3983.eurprd04.prod.outlook.com ([fe80::3ce1:4759:5c33:514c%5]) with mapi id 15.20.3977.033; Mon, 29 Mar 2021 06:12:10 +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, marcel.ziswiler@toradex.com Subject: [PATCH v9 1/6] dt-bindings: display: imx: Add i.MX8qxp/qm DPU binding Date: Mon, 29 Mar 2021 13:57:21 +0800 Message-Id: <1616997446-8783-2-git-send-email-victor.liu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1616997446-8783-1-git-send-email-victor.liu@nxp.com> References: <1616997446-8783-1-git-send-email-victor.liu@nxp.com> X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: HKAPR03CA0027.apcprd03.prod.outlook.com (2603:1096:203:c9::14) 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 HKAPR03CA0027.apcprd03.prod.outlook.com (2603:1096:203:c9::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3999.14 via Frontend Transport; Mon, 29 Mar 2021 06:12:05 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 790cdbc7-b5ed-4c91-136f-08d8f27996b2 X-MS-TrafficTypeDiagnostic: VI1PR0401MB2320: 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: kCRlj6EMec1sb7+4/60J3ZG/DOtqmAGmMDOxPQT8rYHYu0F2Q4y3CW1U7CrcOh2q+CacoZodEZmWdT6P5IEC/akMejrqtc+n5vSuQF+53iLBftFQ9LtauwsQQRV8wUWxPWKVGAJMN+cPqt1ZoUFF0cLf9/N3i27RCGeVO1JRu28NWJ88IL4fpyL8xncgic27pzPEGECribVoKBchifdeWuR9DVa7U3cvnhhFHlcIRSm/szzBzbk+Z3iG6hNCx3b1LUxbeB//GhEcmfF9p+9XcTUOXS+rWTjt+F3etXwmN90E5ZfajNPEGb8zJyVDomk5IS5d/dU3povd9jQAnBklDPRhUSOJDUewy1hmMBMS8pCYyg20tCf04h7zEJICAHlBQ184TXnjfLLXWduGRfFDq2qVU7V2y7AzK/PnRZfPBmXmVtO/xdJuMOJ9nuIUZ4gmfoIZ2IK3zPc6IWKeybKpviHrHmHL1llD4fN4eo2krghHAifVCludcaKp0W7Yd1kjJP3wG4KPfdRGT3UBso735NuD6ONS5FPBKIpvOI7gjQBLAoFboB6rwFqxqZ9A9+ENIjScfZO2gdpxGx0/YokQhM1fNhBRoW/hKfp3tEuN8rBcfDmd4ScWNpFPGzsBUmErjDjOMuUdB9YWLmDlNsLWJi37JA8Gg38ySxkx2O4iGDKhohyQiTLPhv8V3nClttJ0VzOOmjMuXeItTNIV5cQj1d+0jKrJ2GSANwp5Lqocp7CViKqdONrvKRUKAU+1IBgWzso/IQGxY5bfr0WRDbMlfg== 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)(39860400002)(366004)(396003)(376002)(136003)(346002)(186003)(16526019)(6506007)(7416002)(83380400001)(36756003)(2906002)(956004)(52116002)(26005)(69590400012)(86362001)(478600001)(38100700001)(30864003)(316002)(8936002)(6666004)(4326008)(6486002)(66946007)(66556008)(66476007)(6512007)(5660300002)(966005)(8676002)(2616005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: DoMw/PGvcCAuBAi1DZfszsZAd2BRSAsEfNZfrE547W3H48leH37oI/sSQiGUDejDR6ghMrPdWy08AIWssEqSNfqzaKdXB20srxr/+JA5rz9Wr5lFCesFmAXS/JkoTh0/EPLFOGYACuTGVjJtjFxjksUs72ibZ7+iNfNP8aIE7ScArndLV8e+sMWrh+tGbVUfj/SimtKlkntk/bRMZGi3lgbl1uQrhyRZP3Ta5pq+cnBqGUMkTATSv0FDjKFjWoPjS4MNCIPqh7lOKrmgjg8VQ7AExxQUTQYx+UeBW4TKhh6YEmG9FTSFGaSZsBkrhfGvgR3OmAkEutxO2yRpgXh4TGRjdVax07ZGY2XhMWQMajvQcikGGhjHULfOWO3esWoM+6Yeo814plkrpdP1w3+rpb/1sefQ0Kes5uZKW77yYcPNgiqdVT2yb/tKvdoxepnJlcDEvZ+gKMVePuFSvs7zqG04ZN/Lde5h17cWldez6wk5vAZKXnB5D7wOdR4O4s1ilc4M8XpKcUuIq317TNec9GSnmQC98h6h2vAgQSQ3ieTVbZK9SBiXpBCJS8/pYJL/G1rUmmS7gwXAn3jx+bebfuVC2IejJjUNH1cblPyMEUmdfyYrQp8rqvHE+PkmAJ8hvHIEe4w2OAO0+LufaPDixrQCxEc7WDhXUa8j+tKaOdOZUMrw7cHHQivCsrgyakpK+JuI4/zXl1+TD0G8n8KEHq1KbATqhfBHgQulG+fEELcbY8MJsCS+FouA6jdzBv7fsJBwuzFktii5Tt6EoRVPBqRavH6Y9g6z5ZrSln+lY+A4ih/wo4mD4D4suJ1Q/yRDUSM38qqj2NC1CjGqU1i8Mpp3Nvsj52mhJgMTOK6UXcKwUFSau9WXKlG3or1XMupKM3i2c0BnSY0FLl4OZrfxVJP6ChVbYFPqG8LDK2NjhjFypbQ1i3bSTP6PrTgxBXdyQIIiBNik9YukeKRLHJ8Ubj1APzLvbkTLVehzAeB1BuiwjIfPYKdmYYjg+YjDDjdlDjXMwKeivVr9X0ph6uFlZo+JSIFGUeh7Qsze+HML9gl53aYlFiLea42T9/7R7qqQSXSa7PfPxNwdPC4gmfk6i28uJ5B+BYuNEA/9SXLe6X6dQMps9DVWSVDh41II6J23A8sSH7hdnVuOtXwmMip9wyXQdUpqQ0F7sZhyW5CQz8Uk6KrzGZCfir06L6g5aUtjakemOumY1nH2DrJj6HV2HVbqLcRxFecIAY1KREJ4EvK/ixDmp44YoKG4sW+ID2RhWOWwa2eE2DUE+bbVkszssDwmmhJoVpaG2593FACygzKdIDEuFSWAMCYhiJxOUvJe X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 790cdbc7-b5ed-4c91-136f-08d8f27996b2 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB3983.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Mar 2021 06:12:10.7931 (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: x6bW2KPJp8TVec3IgM501wyFQhXo2XJNa4aBYcjEXpW6eXK1JRxxSrXwj0vhCRh8VQbx8o6FcP8LfrN+o0qXIw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB2320 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210329_114258_826819_03298959 X-CRM114-Status: GOOD ( 13.47 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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.MX8qxp/qm Display Processing Unit. Reviewed-by: Rob Herring Signed-off-by: Liu Ying --- v8->v9: * No change. 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>; + }; + }; + }; + }; From patchwork Mon Mar 29 05:57:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 12171019 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,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 868AEC433C1 for ; Mon, 29 Mar 2021 21:52:35 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 AE38D61481 for ; Mon, 29 Mar 2021 21:52:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AE38D61481 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=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=jDhXlye/wEuRD1hsJZQC6uc63X0rCwyjXXgDM1/2Yvo=; b=oWQywYMW7+D+0hV91SdLvSbVl M1kizb3xxdqEFSWME0yERVCcHr3sXYaXBb0RxjYL9dMboMbr5xSVMtvYstASkaHlNWgQ8lFT71VP1 gLU7cWLcI4p+cvMchHjLbUAmBssI56P+bLNDRmbjQlYxOg/z8/rLRjaBh7/8p3V5odKP661xyoCGi uO1S/Ko92B3sSsoUAiXYvlQ/Nu357PMN11AwSLiujMl/Qq3h0vnV1OvcQGnusZMfU14r21lo4Vnhy 05XqQWgmft05pytda/B2MxLu/enmjl2XcZb2ADHPRvr+5E6H5DbqPPYKslEQMPSxiKKvvzuHA0ens NiinwIabA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lQzld-001Xva-24; Mon, 29 Mar 2021 21:49:50 +0000 Received: from mail-eopbgr80047.outbound.protection.outlook.com ([40.107.8.47] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lQpQZ-000at4-UR for linux-arm-kernel@lists.infradead.org; Mon, 29 Mar 2021 10:47:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hlaGQEy+EUByuBwtrXQgeV9OiGWFSaKbEBYq8V+fB5j9kEnlrrtw6SJl17G1BX5a+TIDEcKpre6OW/X2ympmX/0j4kq/wBvD7LEGjYVrPjCy9m0j3jFdNtcFhSGNkRA4vA9KNvCgiOdNyIAw592BGRoaaXuQVA63fdxr7Q60dsIBXm6y8pnK1ky03UoamikK0SsXRyHaJWYjhfguBfc+zIkyicFXtgOz3e+/kcXVUxHCYutjMv6o4SPcsN0Rhc5F2jEONAELs5LNa/JxYlulcNnYoxaI8JtsAYX1DR0y3tsEbXiAy49tKRxgkIt8vUMsbcRWoO2dkHB+dobnV5SFCw== 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=DVX0lIYsLDChNIQBo0fuaduG0WMwEGhI6WrcS5Txktk=; b=k7DTWnStYvuFqbDuuWzBh9vFCp+wQoiYNwXrsThps6HHBaGqgio6HOM5SKVpP75E92qF3M44hNba22VDinkbu2iyT5cbteBVa3sZdAlLbvRABOullQUZVqTWw1HpEugikbDG69xrKMSPaDacvFAUnHDCbgKCX2CvtcRTd/nVKlDD1Jak2zJbFBP6jM18HVMdLB/CRAqQiXuP5dp/BmxChHI3xwwXdYi+xo4Ck+4RyJo3ziLj0YqsxXCSeb6PPXHW4UdjmEEHSG5pNWomNahRDNBb3NKnHG2VjcmeF8lI4W6AT5Dqt5k06TG1vIkvlZ6j3eaFPUdagEkcm5+HfyoLfQ== 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=DVX0lIYsLDChNIQBo0fuaduG0WMwEGhI6WrcS5Txktk=; b=MyXSoNh0pA8LmIO+Dvsc8UpyvmdcDpfzAPqZBDilyq+1+wvQ9ltOp9Bcaq+oi6mRVj498SvIK7tCdiJ0+yPipiUbLCcEH0FX8ERMHVl63o0HiuHqkVkVhIeGm2K/78EUbAyOhZWQb/aex9YGy091iXxnoJp3HAHn8qT1RpmAuCo= 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 VI1PR0401MB2320.eurprd04.prod.outlook.com (2603:10a6:800:29::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3977.26; Mon, 29 Mar 2021 06:12:16 +0000 Received: from VI1PR04MB3983.eurprd04.prod.outlook.com ([fe80::3ce1:4759:5c33:514c]) by VI1PR04MB3983.eurprd04.prod.outlook.com ([fe80::3ce1:4759:5c33:514c%5]) with mapi id 15.20.3977.033; Mon, 29 Mar 2021 06:12:16 +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, marcel.ziswiler@toradex.com Subject: [PATCH v9 2/6] dt-bindings: display: imx: Add i.MX8qxp/qm PRG binding Date: Mon, 29 Mar 2021 13:57:22 +0800 Message-Id: <1616997446-8783-3-git-send-email-victor.liu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1616997446-8783-1-git-send-email-victor.liu@nxp.com> References: <1616997446-8783-1-git-send-email-victor.liu@nxp.com> X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: HKAPR03CA0027.apcprd03.prod.outlook.com (2603:1096:203:c9::14) 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 HKAPR03CA0027.apcprd03.prod.outlook.com (2603:1096:203:c9::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3999.14 via Frontend Transport; Mon, 29 Mar 2021 06:12:11 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 2a53ff18-3509-4e5e-838b-08d8f27999d6 X-MS-TrafficTypeDiagnostic: VI1PR0401MB2320: 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:4125; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zdHb75UDVMD4WSAyxyQvGVoZ6zlH+Is7L9JxH9YWxbu2RccEBC2hdH++WgfzhmeCUq95ueKP4MfVtWlX6ALNTMCkRUvSX2MddO1rJ+ptgI15sosKXWTczCYskgKU+lb12LFuXcaYLFQ7Rq8vK1n3IxrdtonPJsS/RvqMtxYohWnhvtPfOBVT/gEd9a5hr/ZGlxoNJ1Yn9wNkrVBW9xiR5kqRFXcgTH2X0tjc9y5NNjOs0NlXqe08ZXkfmFMabnAIotZMbQCePs1WdOFfaje3mTYRrpV9SlmtmKLSDt1hvVIXEOh8QY9n+1WijnBsYnndTzhRQhUy92rmHyQulZDPVMPiF1Jvzp8xwmvMKj6r8gFrCCdl2ZjYBmViqzWmVd9GIQ6lSDcVwAQ1R8/Nj0ec7nBefLx0sXktlSOK3WG+40McLW+LFLM+2+i/kJh8wyqElB7enEzOJugO1ZolwfM8QRqXJxedUBGO10HpEnhK8IUFhUcF+7pvLcKSMbAaIpoZgu9JxXlsZaJNyjJ78XS3tiHzF2rHZr6Va2fUyLhPnWWbKeKUomtdQFMFH89y02lCRO96QyhIi26D5w0MDykQjwX4uVxEkDaAV4eW6dUdWeKv8leMiIJ/kMRlLVu3MoL1Pm7euthfDVtcsFj8qVAsPyGYe5QptDsyAUAw128DLyCZKYEqFs28YPyi1ROIPGDSoy2/esRv7H9S9ICYm9ZVlF43vcG1hySaKNOSODd6jKekXCCFu8u89HG/7c5ybWdZYtQqKWcj0zeWWJ9vatLo4A== 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)(39860400002)(366004)(396003)(376002)(136003)(346002)(186003)(16526019)(6506007)(7416002)(83380400001)(36756003)(2906002)(956004)(52116002)(26005)(69590400012)(86362001)(478600001)(38100700001)(316002)(8936002)(6666004)(4326008)(6486002)(66946007)(66556008)(66476007)(6512007)(5660300002)(966005)(8676002)(2616005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: BhAdP/rqVRk56MyrGcAFsQTVgIdMeYe4mm0+S+Q2WlTrkww2GNb8IzqzY+uCEEUJ9rMZLjeMaSeZ4ku+GWUb6xBLvb/38VEVtSzt5ttv9Eamlc6H1PD/PxHiZTCI/PU7uZe7tSJ1dpTQAr4GrFlnIYAtr8Aom0v7KtCERJPz/hoaKOHzW+MP5wyg3JdlZbxGsrgd0aptuL82moz98oPqAHn0RB5hywpAiel4b8lNkNS6wL2joWSUZULK6B2pv/f4wh+GItL9u5RDzmUz1e3Mg4FvnY67eunivO+PGjZwhOBVnq52iHwGLlQY6thI+2Fr0G/Habms+WpsGaD19bLmjI1LrKb/QK80vA34QbqRQYZh2xkCHdI9oFg5Tmp2JAUdehQYL3ktgo7y/6u1+frnoybLY0Zx9FKwj8iqDqccU2DObIlqXK/D5+oK4l54qI4aQH3VgoRsGuPqtH0AMmdx8puhdLZohlN2EiP5Mx7HOd1hr0OYgHBiDIOIvbuZ4qSMTO1Db8A+hXgYJsaW9QJpm3xQWhykAIwnD0s0ZSTEjN6dLjdcVO+gmIrMpR546e3g1eBkLPXQEOHoi2wwk0wX4KvXmjts75xh+Cazzj24fyNcO60l90FWttvR7hvNJfm7LVe3t1RvwlOlPiF+vFwDTj2Y/0AGc+5ftUoLyJGMAxQtkCbgyK/eIBhsgWloiZg7lHE+L3J4GZfzwCIPVxBEWXuSF/NbBkj6hQzxHpXPHODII0QF9rovlGXQSCH65TzEMB6SfjFSTsLDMZBA6JUKfcGr0wbXIkr2P8YRIXQxMLD+/Zc9kfwiGs50L20d/0Sl/6Eg4H9322julCMzeIpD1s8BxcJRd4kVMM3oCPiloc3Y1MCGRBmr1L7/1JvPl5VTlRk9EYNMdjBAI0Z9CQXm2tKUDuJ5RfgsJeUYe/drlveI28TJWwY/gic1rT5JYbjB/bNzG9IslOxXb5gxMqBUS1AKWNUzF/PWizE/ymyNQuI/OBGN3zp5CY7JY9xzx8bjtsvvY9dVYDt+7Tq56xG+Tr0AfKOFu0p7f/ZW33oClj3OTrdwFnQ6jGsEQ5xwQhvSI88q3gCjbAR/+xErPAadUntdjMjCe09cDVJ5EQe3Lg6hxeJSLCTVz1WFQBVJJO/VdiPi1XgNyjuHA/D37byLya8KdhDGUpq6RSg+XOYnMzrNGZjNhMXb9KONRN5nX0PhnlS7HypRLnpMVkoWbct8LjnUkDchUP3YordxlNKyxmTs9nJ1vX8LU/NXKTTWS8KuV2yS2rZ97gY55R/kzXPmNPvPrVadm5ylCT0yGvGtFFpCbIZzCm/7UaInvV1v22EL X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2a53ff18-3509-4e5e-838b-08d8f27999d6 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB3983.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Mar 2021 06:12:16.0191 (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: Gzt3+D59YAJGJR0DhjOe5sMMu06XOCQ9tcddjZy1L/zkJittQFgHKm9AKjZYUYoXBkFBhzUTdsw85yhW2Kr1aw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB2320 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210329_114724_099035_26A480E6 X-CRM114-Status: GOOD ( 15.43 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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.MX8qxp/qm Display Prefetch Resolve Gasket. Reviewed-by: Rob Herring Signed-off-by: Liu Ying --- v8->v9: * No change. v7->v8: * No change. v6->v7: * No change. v5->v6: * No change. 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: * Use new dt binding way to add clocks in the example. .../bindings/display/imx/fsl,imx8qxp-prg.yaml | 60 ++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/imx/fsl,imx8qxp-prg.yaml diff --git a/Documentation/devicetree/bindings/display/imx/fsl,imx8qxp-prg.yaml b/Documentation/devicetree/bindings/display/imx/fsl,imx8qxp-prg.yaml new file mode 100644 index 00000000..3ff46e0 --- /dev/null +++ b/Documentation/devicetree/bindings/display/imx/fsl,imx8qxp-prg.yaml @@ -0,0 +1,60 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/imx/fsl,imx8qxp-prg.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale i.MX8qm/qxp Display Prefetch Resolve Gasket + +maintainers: + - Liu Ying + +description: | + The i.MX8qm/qxp Prefetch Resolve Gasket (PRG) is a gasket interface between + RTRAM controller and Display Controller. The main function is to convert + the AXI interface to the RTRAM interface, which includes re-mapping the + ARADDR to a RTRAM address. + +properties: + compatible: + enum: + - fsl,imx8qxp-prg + - fsl,imx8qm-prg + + reg: + maxItems: 1 + + clocks: + items: + - description: rtram clock + - description: apb clock + + clock-names: + items: + - const: rtram + - const: apb + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - clock-names + - power-domains + +additionalProperties: false + +examples: + - | + #include + #include + prg@56040000 { + compatible = "fsl,imx8qxp-prg"; + reg = <0x56040000 0x10000>; + clocks = <&dc0_prg0_lpcg IMX_LPCG_CLK_0>, + <&dc0_prg0_lpcg IMX_LPCG_CLK_4>; + clock-names = "rtram", "apb"; + power-domains = <&pd IMX_SC_R_DC_0>; + }; From patchwork Mon Mar 29 05:57:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 12171015 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,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 084B8C433DB for ; Mon, 29 Mar 2021 21:51:40 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 B1AC861935 for ; Mon, 29 Mar 2021 21:51:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B1AC861935 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=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=amcFDL5aGjXrMFwgnZIQCo1WjLoQoTtNpMJP2pDQDOs=; b=ght4jN1OF56MnBa2neVqSxngp 32QQBePZ/BmwfcAWtrmc5YV7jmm20ZtbPBWkA74fp4qemqlhHUXjQa2LDQDEJJmcGnTrbCSSTfBj/ DZ+4X6oZhZgu4zHQAjP1DgbYXuhe52HdHMt2wE6H1URy80hsGdBayubLhYfFowjJLPSlBqz5zcwW1 Pmlygc6Emx164A/7bNRumpDnNnvmsOS8XQgu9+6Rt+d4YSd180k1hc4dcFpDPilXkKLo7GrRiwnsg t2iX5D2qzr//JIq83CiOrqN8ZMBvgMwERdbGGj/vG6FoTikAJNZCRG3vlqCjTBP+yorAi9AfDwOnf cFVJ1mq/w==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lQzjA-001Xdf-Qw; Mon, 29 Mar 2021 21:47:17 +0000 Received: from mail-eopbgr150075.outbound.protection.outlook.com ([40.107.15.75] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lQpOR-000apE-Gh for linux-arm-kernel@lists.infradead.org; Mon, 29 Mar 2021 10:45:13 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TBKyoVuVtxIhGGhw9z9SAt0xwiC5v//k3dhuxa01qmf9y6g2fb3ljxD6dWCT23tQ5QGdPjzMiufEKMhHsXkQOyuoUsKYr2HQth8YkS7rlv2nVLhrGJ9d3+upsS3kdZu7BuFQjnPz6XHkzVar+8YjMsFTDiPD50B9Pn44BAfVfp8mmMd8Ab9daJhZE87b0CrJPI3yebgDMvDVJCEH1km/Rsq8jqLWk0uwfcJT8NJpdfd5cfJdEUqijxjwjB7rtWIla07ttY+Ig0gyRHvG+GSubsVbA2cxBEJzSiNy5mtcWBl5ojW+QyaSuzLMs491k+vKTsMJWThvf1lesV/6OTNgvQ== 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=i1SdpSbeU8nzRUbkekxIqNFm2D4JCyYwdXObiI3Wiik=; b=UYvfzN+Np3IAb3FMfzkvW3RO3nFg/hz1dSnDd3MGV38vWfloc6lga7f0Nep+CWcsdhFirREEfcDkxIeeLSAufRVrTFo8wekBLqjHGYfTTzOxdDtWfSR2v81eM3ox3EsQegAiI/6ndapyDoXc/Hx+xYAUeHMGFX2el/ZI4ztiCfWZt9l0UiBuyZqcipMYhUiP01bWFUarefla9IOEfXicQX7ePVL7y0E3bMi8rZyJXcSA04taBIv+ZOaRiyVglG7n+MnDl/Ny3Oz2AJtZcWvNklAon4SXSYV2ZlLPfLrD41ByJdaQr189tfeKVjFli+qLYTPhx11OdZuSe8c5R141qA== 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=i1SdpSbeU8nzRUbkekxIqNFm2D4JCyYwdXObiI3Wiik=; b=rzyru5vnDck2kFnSOjvBN7jNNG8bVAHvMm+e/RzyKEPpLjLmv2aKrY/PkCTNZoZkJh9P41kvWwQ/EN1YQudzAWt79kn1pObf22aPbw2uuFt8z1ggaTU0LwPvzrGhe8MI881WLrOg8NB23kTQI3Tcx1IVALG5MJ0yXeMP9mB/Moc= 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 VI1PR04MB4895.eurprd04.prod.outlook.com (2603:10a6:803:56::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3977.30; Mon, 29 Mar 2021 06:12:21 +0000 Received: from VI1PR04MB3983.eurprd04.prod.outlook.com ([fe80::3ce1:4759:5c33:514c]) by VI1PR04MB3983.eurprd04.prod.outlook.com ([fe80::3ce1:4759:5c33:514c%5]) with mapi id 15.20.3977.033; Mon, 29 Mar 2021 06:12:21 +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, marcel.ziswiler@toradex.com Subject: [PATCH v9 3/6] dt-bindings: display: imx: Add i.MX8qxp/qm DPR channel binding Date: Mon, 29 Mar 2021 13:57:23 +0800 Message-Id: <1616997446-8783-4-git-send-email-victor.liu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1616997446-8783-1-git-send-email-victor.liu@nxp.com> References: <1616997446-8783-1-git-send-email-victor.liu@nxp.com> X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: HKAPR03CA0027.apcprd03.prod.outlook.com (2603:1096:203:c9::14) 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 HKAPR03CA0027.apcprd03.prod.outlook.com (2603:1096:203:c9::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3999.14 via Frontend Transport; Mon, 29 Mar 2021 06:12:16 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 92f96654-01ff-4dbe-e6d9-08d8f2799cf7 X-MS-TrafficTypeDiagnostic: VI1PR04MB4895: 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:7219; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8vJ50iWWblGfKaYA8KXnkTTnEUkllghR4D0YHHMVpee/O5/ngvXqAw8v68VdpkxbzJBUCwCgLsIWo42aosKPf9X0wfSvT4VeRgloJyV+oa22/cv6dbIylX2J87K4HDznIXVBx+FHIj2fH5X4AZUC9oyWQAGVr+tFXYE0k7of5lWm+IeVGrjlL3EZV7il8p4bfayiyTHJNbYJsOQYgFntz7C71bXLAFwEh/0DrmyHfetoxHXylXLM3ccWE1/sySZct7IpTsdDMdRiuwro1NdsXw2yDvXGislOu5PJ+OhRBenNrfoRE4Sk81veXF1Dsp9UIivGvDqlNHwyF4Q0tBjmjhN2NCxTjJUmVNuooY99LgCFPCJLsmI9Mj4gx7bezjyI1vDSJmKw0qnOURScRHgU8nSxF++86jX/auyCQxIxvH21bygDwqBeEld75JIIONnIhOgNL0ddlk4IANu91+FMLbwC0Cy2Jr0d/4ezx/IVPtPfidX5gTKeiQNV1SGCP4bpPu3mWew1V7v+763o4w+HOkwRLLaNhnxivxKO3C2IM3NE8229cqwccOSNQr1O9uC3zvXPSRPsw7TCi14Eu24JEi4/QkLNsmYoyMIVVBlP3UFVUb7I3H3bQ3oZStxDfeRvSKBNdfDm3Jmk7pEG1OJOB6SVQFJ73cpqp7MN1iY74VNl+bCevp2xQ4r9ftB8cnNhaTObhnngvbSH6hHkN7xtSsaidNqYN4V3MtyL0KqERdpFjyeeAGIQWYKzwtpXKdcO0j3958+rMWafFE1CYTQ4ig== 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)(376002)(136003)(346002)(366004)(39860400002)(396003)(26005)(36756003)(6666004)(16526019)(186003)(8676002)(8936002)(6512007)(6486002)(83380400001)(52116002)(6506007)(66476007)(66556008)(86362001)(316002)(5660300002)(966005)(2906002)(66946007)(2616005)(478600001)(69590400012)(38100700001)(4326008)(7416002)(956004); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: B7PbiEUpS+QaY1FnhW5kBoeoo32HFEO60d6nK5ne/5CrACXFeEIesQrCHiEbKqPTpABp7KaKVwCkEHkCG4W5+TudLbpwU5PNzbuXm3F0+u0/IO3JU+ViEmkJImBxT/Ovb6Dw0Rwwtc3W4z7C2fnESOSjPQBA+UpbBXUpYR966uBzPcA4XbZ4Onsvj4jNx3mEnO6H8ytIxFeNYhT6Y9HvaZTq7wmDjWtMiTExjwyWoLbpXWDXXFDq0eFLtElF9Q+ekspHNXQ/SyqZN7ST8pNDgea8P6WsQalb7msI7OAehfqGWhDC3gBS3alCQIm0ZpYRCY3hjl+O39ugUkYiNE212psN/kk/+BbumU3e5H/xylaOBbyVKhqUTYN9noa/6R/Xt0OCGIuDbyHNoA3Ht8+E7HGjVXfgohhuKAalNgQ/pKp+eZXgpSrbTv6V/1Fdudhw5OgynJLM3ZR0JddkqdRij9DLln/A2rpMMhJi+o2tJKXwATD6RXYktGhgM7X+EEP3/c1JW39ClYsXWpwz9zE2pxFCjZu+jatqaJunK8CDO57AXWHRwn9md58w94f3d2CjVIdCAuV/rFOD2LYV9jJB/4JDuJoH680UN1dSrta0uKFPeVaouN5T++YuCofxWx2eHCc18WQeXHde/M5IEDrNkSJvR0IJzZ1wsR81DQOHz+wHoXOLO+UzzJmb2cghDc68sOWRUcpY9ap9emwgIfZp2X3GfwHxM91R+41mzRwDYR4w8gFKVIsESBfiQt4fwYTPRYIp9gWCeMVwO+RWLoG5BUlSLeUeUiSOi9JfgxgYHrI8kuKpYPACqOULYxML3tPrSFSaYOUl/ci7qUr9re6aSKdLRLVCDz0H85NPBAiUAXyv9KRibXVQpE/wm5JLFUO7Lz13+MCbxuI3IQTdNKOhNviZ9Gj6jXd5lMKN7Lep+jgTGTBsbs/+QXuC/hGU9YxTVYmGP7Wp3Dy2iCDmovO1GxnIzljkBF6ygZgpAppDT5nH+Etv7V8CeaFwVGgDVcZhn/Xx7NOslVISc3+KawG6FDxBOCppAqwX52rGzZxMJ5HO7YbbiHtm3+iC0F9eQjKy+iaW2wPLoLpBG3y9nPWDL/k7P3y8e8s9axLSfSc+gdFw2dC+TgpJbgIsQuAQEOI/zwZgAC8EalcxwTKvc3S5TjNr8WCphmlUlsf5EDhMa7mr8bv8ja0rs9VDIvvM4WKSWwmRzp0VsnXqEOFHQzzeflbW0yVleCXu2/7/To22NcgQgT2F7vDQrNR7VVXCvu7nukJDdUXYBaIEZoa2ZT6+ydfGwmqRy1msdrzigMVBMh1iyVGtpN2MXWMl4a92wnlM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 92f96654-01ff-4dbe-e6d9-08d8f2799cf7 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB3983.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Mar 2021 06:12:21.2941 (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: 9Uz5R3M9nQsXw+zRM5Cd1TYrpho05TSMR8n9qKPl9L4Z3CjkMWyKHpAS28Wb3kVP+bOpKwfVqzwVjHctwMkCtw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4895 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210329_114511_765903_9EBBC5E4 X-CRM114-Status: GOOD ( 17.45 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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.MX8qxp/qm Display Prefetch Resolve Channel. Signed-off-by: Liu Ying Reviewed-by: Rob Herring --- v8->v9: * Reference 'interrupts-extended' schema instead of 'interrupts' to require an additional interrupt(r_rtram_stall) because the reference manual does mention it, though the driver doesn't get/use it for now. Reference 'interrupt-names' schema to define the two interrupt names - 'dpr_wrap' and 'r_rtram_stall'. * Drop Rob's R-b tag, as review is needed. v7->v8: * No change. v6->v7: * No change. v5->v6: * No change. 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: * Use new dt binding way to add clocks in the example. .../bindings/display/imx/fsl,imx8qxp-dprc.yaml | 100 +++++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/imx/fsl,imx8qxp-dprc.yaml diff --git a/Documentation/devicetree/bindings/display/imx/fsl,imx8qxp-dprc.yaml b/Documentation/devicetree/bindings/display/imx/fsl,imx8qxp-dprc.yaml new file mode 100644 index 00000000..bd94254 --- /dev/null +++ b/Documentation/devicetree/bindings/display/imx/fsl,imx8qxp-dprc.yaml @@ -0,0 +1,100 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/imx/fsl,imx8qxp-dprc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale i.MX8qm/qxp Display Prefetch Resolve Channel + +maintainers: + - Liu Ying + +description: | + The i.MX8qm/qxp Display Prefetch Resolve Channel(DPRC) is an engine which + fetches display data before the display pipeline needs the data to drive + pixels in the active display region. This data is transformed, or resolved, + from a variety of tiled buffer formats into linear format, if needed. + The DPR works with a double bank memory structure. This memory structure is + implemented in the Resolve Tile Memory(RTRAM) and the banks are referred to + as A and B. Each bank is either 4 or 8 lines high depending on the source + frame buffer format. + +properties: + compatible: + enum: + - fsl,imx8qxp-dpr-channel + - fsl,imx8qm-dpr-channel + + reg: + maxItems: 1 + + interrupts-extended: + items: + - description: DPR wrap interrupt + - description: | + 'r_rtram_stall' interrupt which indicates relevant i.MX8qm/qxp + Prefetch Resolve Gasket(PRG) or PRGs are forcing an underflow + condition in the RTRAM. + + interrupt-names: + items: + - const: dpr_wrap + - const: r_rtram_stall + + clocks: + items: + - description: apb clock + - description: b clock + - description: rtram clock + + clock-names: + items: + - const: apb + - const: b + - const: rtram + + fsl,sc-resource: + $ref: /schemas/types.yaml#/definitions/uint32 + description: The SCU resource ID associated with this DPRC instance. + + fsl,prgs: + $ref: /schemas/types.yaml#/definitions/phandle-array + description: | + List of phandle which points to PRG or PRGs associated with + this DPRC instance. + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - interrupts-extended + - interrupt-names + - clocks + - clock-names + - fsl,sc-resource + - fsl,prgs + - power-domains + +additionalProperties: false + +examples: + - | + #include + #include + #include + dpr-channel@56100000 { + compatible = "fsl,imx8qxp-dpr-channel"; + reg = <0x56100000 0x10000>; + interrupts-extended = <&gic GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>, + <&dc0_irqsteer 324>; + interrupt-names = "dpr_wrap", "r_rtram_stall"; + clocks = <&dc0_dpr1_lpcg IMX_LPCG_CLK_4>, + <&dc0_dpr1_lpcg IMX_LPCG_CLK_5>, + <&dc0_rtram1_lpcg IMX_LPCG_CLK_0>; + clock-names = "apb", "b", "rtram"; + fsl,sc-resource = ; + fsl,prgs = <&dc0_prg4>, <&dc0_prg5>; + power-domains = <&pd IMX_SC_R_DC_0>; + }; From patchwork Mon Mar 29 05:57:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 12170799 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,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 001B8C433DB for ; Mon, 29 Mar 2021 18:43:15 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 24E7361989 for ; Mon, 29 Mar 2021 18:43:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 24E7361989 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=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=hnidNMu7IJnJUedSuw6FC9SxS+jWfnlgfyC+eQvmlsc=; b=lLXl2rFaJWl540lXiz1R148nm ZiOIJNlyjjGQ4uRf19n35ey7yf4U0nPacs1TDxV3uqhejlesnFBBpgbx59N1wTJTZ08pp++j0jUfn QqqktqTn1JPSmXR+VrpAoS1y4eLlEWreBpVRXTZ1p6FCL8wK6y1iuYUskt/+6Ss9cEFrbRyM6zSyB SE6eWmC2zdnGCXMIsSs9M1CB7gTxZYhlM9tzK5lee9g+GPkn4xhZo0V/GK0etJsWy6I8FN06jDphr lDQnPyDol+N+8DHgUHBBvua5TwBaKw5pgtXpwN7EZ2h2L9vgF+GYy3K/bMs4Y2Om7jRzghsDq30Qb /h7p69Y0g==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lQwom-0015gC-Lw; Mon, 29 Mar 2021 18:40:52 +0000 Received: from mail-eopbgr150075.outbound.protection.outlook.com ([40.107.15.75] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lQpMu-000alm-Tm for linux-arm-kernel@lists.infradead.org; Mon, 29 Mar 2021 10:43:39 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bZLBpZc8nbJJn9uCjJQkim0IMHMO2pVJPs3GBlTv3ChPdYMj+ua55+7zfCRgzxPBSGcQ3kp951BVAEr2nZSaaznJEOMH3X9CLstBXaLziwhl5IT8Q4XALOoNZkv3jjJJ6cfTVXgFvuVchF+eKBMowAuxmvvV3hibgi0jfsptjkuOoNzqDuesf5MSD6s6igtyOoxLhSba5x0Ds6BnYbV3bIw15Y+xD2YGajqxm1P2BFX+DH1AzkfZtnCKigy3u5moFlwdTsvP4Atxi8Hrgi8M2wce7DgxRlSi3cL5Gta0mftPc/1vBy3NAArOjiw2VUFWyXBB47evbU68Hj4n8Y90ZQ== 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=9zsZx1of93nrbNmXb2S9C4Sx1ATMh7hYRPS71v10IRA=; b=evqfcIE5kcPPmeY7Oo1ws8020ZkuWaa1FrIDKsOCFYvq1RqMwdMJBP9B8WxjivezK4ngyyZ6K/JWv8nkKq3JLVqghKerYRoiYjt3DvJdlibTRL92RW8wzFJe/Hw644Ume+jGWi5rvgZ3z6gAizPV9RWb2t7OLBES5npNFzbTkvpHPkKYaGAHEJP3mfGdj2pWCleKB6OJR4HUXD8qo7F2ac/xsi+S5nDt+r4ovNEVgQNQY+CDKb2wGVsm0BrnotG+fTgxZPgRJXeX/FKNMD6L+to9N2Y8X6ixMfEDdmHZVGT8YsULBpCRpe97+65i+gA0g6w4tF2EVIGtq41G+N0PLQ== 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=9zsZx1of93nrbNmXb2S9C4Sx1ATMh7hYRPS71v10IRA=; b=CT+9Kbgh7M+1K6lS94Yg7uc1Nvfe+AgCIMeg5qzGxJMQZny5+K0zX8We49ptPnpeMt0nyNF076H5LOS46T4hs3ao4l3U9O3oKqDcNcvmG39/89k19AlZGtRPmE5mZ/9G3CRsaORug4GgEOv5WPJrA6GWODHdvgJLOm4S2ROXSGI= 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 VI1PR04MB4895.eurprd04.prod.outlook.com (2603:10a6:803:56::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3977.30; Mon, 29 Mar 2021 06:12:26 +0000 Received: from VI1PR04MB3983.eurprd04.prod.outlook.com ([fe80::3ce1:4759:5c33:514c]) by VI1PR04MB3983.eurprd04.prod.outlook.com ([fe80::3ce1:4759:5c33:514c%5]) with mapi id 15.20.3977.033; Mon, 29 Mar 2021 06:12:26 +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, marcel.ziswiler@toradex.com Subject: [PATCH v9 4/6] drm/atomic: Avoid unused-but-set-variable warning on for_each_old_plane_in_state Date: Mon, 29 Mar 2021 13:57:24 +0800 Message-Id: <1616997446-8783-5-git-send-email-victor.liu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1616997446-8783-1-git-send-email-victor.liu@nxp.com> References: <1616997446-8783-1-git-send-email-victor.liu@nxp.com> X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: HKAPR03CA0027.apcprd03.prod.outlook.com (2603:1096:203:c9::14) 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 HKAPR03CA0027.apcprd03.prod.outlook.com (2603:1096:203:c9::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3999.14 via Frontend Transport; Mon, 29 Mar 2021 06:12:21 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: c69f9759-bac0-4069-d096-08d8f279a01a X-MS-TrafficTypeDiagnostic: VI1PR04MB4895: 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:47; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: legrROUFaSSefg+MQu0zRQLfCRXFYSRkawhq/GMTcur3AWLLnPfJ6pnCvFmmf8YxHiRgLk9JtJwtAF0ljz6jotbkx/KwR3420n3xm8XMrG9Q+tS8QDpw45rQNMuJgSLao3xij2SwyuWzDWg/FcSsNs8/pjpx7JtBMqTGcBBsCgb1xZ0U4ziEuuX/glv8FVAO4dPHsV6r8II2PWiRGx9K1SfbJA+qc23vS1aBI5HR4eqHE0+IgQKKAwQp+sLToLxiJXEoK5ipSQpYV1Bdg1GymSX9zxg7AJKVnNAaLwy9MkbYfa6r8l54cPKMxoRS9l1CHrszXQg0e6D51JqlJf08nvug/MQp3QZf0vYIt/Xq3HTWcYBiWr6GzwFhWnMz2TfZj8n/YXOnw5n66WG2NE6o6XVgHBKxE0s+gnRzadyclj2GrA7EbfoAJgSojAAGUPeopoKGYSPG16J3UrNdf+HzvKlW7HaGUCmHe4pTKpqgrprR53L0wmRvOSHuNy0VOBck7QwWZxDbDjtHML2TxaTOYxyhYOIMH4GwgiyiaytLPWJyTcKWv8RbCqNenC82UZ0meXtIIoKLAarqSFdZ5X70yys7XlaKl7kZWAQBDfD1dDKzJG2m6GiKqrV7jT7G5t1vTeYR/S1sSwWgFwNpNffNkg5CMe30xS82JmLkzL0apDwdo4JfYx5y5aDGExmHcPfb 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)(376002)(136003)(346002)(366004)(39860400002)(396003)(26005)(36756003)(16526019)(186003)(8676002)(8936002)(6512007)(6486002)(83380400001)(52116002)(6506007)(66476007)(66556008)(86362001)(316002)(5660300002)(2906002)(66946007)(2616005)(478600001)(69590400012)(38100700001)(4326008)(7416002)(956004); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: ebUx3eUmAimcMmXFxCiVHq5Qw7/B6wiy2a2hiN4W5guFCOQvDiJZx+haiV5YAPz+PWF6/Mzi8A5CMcGgAoLOaSfc5/jSEZUugGIYP6MzNWG1uStp55vJJuQvzoBLy6p7/l1P0od7/78ZLYDm7rNx+MPOg+JO2UFCUUSfHOK0b0oG8GwuZdrUVnqbSRouVpa+Yj+NOmLViWBDFk8ZssMDNg0rYglHnAdBxUeQArPrF5JpeEX9HDTGE+dU8Bdk5MI0jcAbojCnZ3j1ls9GuZC1nkAKOL4U8SReCnAzcZGCTa4b5dBOLL01tEDX0Naj+dzCqPhYDkRILJEJMZjB1/8aSwmUIXQOANl7S5lKOa1gXU5jpZFRR7Y7YP++UoXPl2Bl6YjYLdrCMps7+ycnXkIgvtY5FUuukgMwsWCaWkgBAA6IsKO/683CVd8SGE6aAcvXkMjVDSQuPJPetj6WXw4XlLJW5Odpga/l+uCyt2LTiuo3VGJaQLdnTI8bSt/VCdybljTEGO6olrX1CKRQaAGehQ+RpJH2NGGkg43Kxg4ePJOriTpSuJkNbaUQz9qETM7nMJYp+qY40n07dk0v2CtVKHgShac17B45ujM7RIVML7Mjs+U4syuqIN+JZo2y3GVm5ZDfQTciZVjtuNbxE7GLRBmxYIlG4Rox9tLwBH6bbalva2K7WmLeT/JFgrZv6ZHoAo/Pqq4IdnokrLDUXNRuW1xoUltQLDVB7EUmHGWvcGzzfemVU9T4yOClkxjd9etLcUA4zg51ncDF6+o1MQnTLt2I2EnipMz9qQeZg0z3Bw6QAwwC9YCAoCUqG0+hi6aEVV0c5wZZATQnTWhlcE55DhxQZ5rkXOMEP+IHxhTIteDOWsGHBUQjSnrWE0g2FZbQaC5Hfn+JfS1DtdHaN95SMgz07nxSY63DarAI7+S6Uno0orhpdPoB+Q8NbzD28JSM7TgJHKJ//923vIMCs4/eJsAPmvrITT4k/8s883z1YA6j3LtaYYx3VzaPspumJAISINQutDfvtDWdZItw60Kf6MxghoJq1zLv+XtQ9dcDZ8x16DY2ArtZFH+GVM/LiRwjK4jDq8D7PgiMKfoNkGIpA2r3oQdfIlwzlUeIKfVzZmHq/hF3c2jboc6Bwh0eYM8/mYhgyBhbtZtoM9muE43Rz+tJVBa6Scm5fFYk78tyfDTdqIo0ddWyGRoOKyaYhBzKon0Wdq9GEgMZr1xBSJV54e+ExRapnpWX7niY3qp498PKbXSKWY5c+v9Sq7bLntFTSHDaZZk/KzM0yZbi3VhIyrbSL8u4acFIkTAX3jWGtDaVZGGqthLMFmWTMWbJ5h/K X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c69f9759-bac0-4069-d096-08d8f279a01a X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB3983.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Mar 2021 06:12:26.5820 (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: VBCSpGsRkSBERTdNiPKIlhQJfUQHY/0slXYRydT6bi3KwqvGhMn6yOEQDLtrBgingX2hgmQlIYCT2yvTy1DP1A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4895 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210329_114337_230274_7D96F615 X-CRM114-Status: GOOD ( 11.75 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Artificially use 'plane' and 'old_plane_state' to avoid 'not used' warning. The precedent has already been set by other macros in the same file. Acked-by: Daniel Vetter Signed-off-by: Liu Ying --- v8->v9: * No change. v7->v8: * No change. v6->v7: * No change. v5->v6: * Fix commit message typo - s/Artifically/Artificially/ v4->v5: * No change. v3->v4: * Add Daniel's A-b tag. v2->v3: * Add a missing blank line. v1->v2: * No change. include/drm/drm_atomic.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/drm/drm_atomic.h b/include/drm/drm_atomic.h index ac5a28e..76d8dee 100644 --- a/include/drm/drm_atomic.h +++ b/include/drm/drm_atomic.h @@ -912,7 +912,10 @@ void drm_state_dump(struct drm_device *dev, struct drm_printer *p); (__i)++) \ for_each_if ((__state)->planes[__i].ptr && \ ((plane) = (__state)->planes[__i].ptr, \ - (old_plane_state) = (__state)->planes[__i].old_state, 1)) + (void)(plane) /* Only to avoid unused-but-set-variable warning */, \ + (old_plane_state) = (__state)->planes[__i].old_state, \ + (void)(old_plane_state) /* Only to avoid unused-but-set-variable warning */, 1)) + /** * for_each_new_plane_in_state - iterate over all planes in an atomic update * @__state: &struct drm_atomic_state pointer From patchwork Mon Mar 29 05:57:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 12170807 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,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 3A53BC433DB for ; Mon, 29 Mar 2021 18:47:40 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 81C5B61968 for ; Mon, 29 Mar 2021 18:47:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 81C5B61968 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=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=xt8SnNdMjWdZKGLUJfHnMmAOrueEXp56cgg8nq5haoE=; b=bMiiaW/C7OxC1McpQV0fS0cXH 1smDtLdtJWJ2BVmXdSyqmM9Sz8G3cnZspYCaRb3+UVlHZUn/Y/lRjSox1lsTAcEMMvZ+dc1DXJSTd gouaQHSNdifcfYJsI4dpVjKxBw731YxWy6VLYXtCDFhcNoqxireKA/c9CNkbqFSGVfdVtT++oJ/bj d8CtHjGlu0eb8icZaLhRFuUHhgbHfd7q6epNcABwXLlnBj563DFf1JJiezD8fO+zkj2YTNnasSIu0 AZ082O+1rSYTPRZxuYW6e0nwgcsWx5xvg0Mbl5G0pOz8XO5F3U77P2+dDOn5wZ4tNkG5ukt/DUl+A H/6BH9xVg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lQwr6-0016Mg-9d; Mon, 29 Mar 2021 18:43:16 +0000 Received: from mail-eopbgr150089.outbound.protection.outlook.com ([40.107.15.89] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lQpNP-000an1-Mb for linux-arm-kernel@lists.infradead.org; Mon, 29 Mar 2021 10:44:09 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bPKzmJATWK8KniYQuXDdfq69shIoArc+ajqwOaMAlFczFUeb0wqzEWLhToWjw/5yDo79JSDzLw6R0ShxMbZwL4W3jRPsX4acdesCR9e8BaXpzTiptaXH46Akou/0OPJg/okh58N5/Dc1cehHq54e+g1bgpJXIrevbQKUrfcB+9IZ6DfVjFb9gf6kDHWQJvOn7G5NQegB5LrT3p9NZgNFzglbZQ4+SSEml05jxuZPdCsa2HtlqyX38JbNpRBQ+Fhog3c5BdHWvb+IqYjNzMxi8kT1KOp4e68oORVm+vRtGvwI8fgrLDXVHHC1A0qk+wuoLc7dijEa1DY76SmaU10zWQ== 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=tdzn/NcgPJx6uaYkZ8xJk61LtrluxXGyIF1UgZVKYWo=; b=U86Km6sitkpZRgvkesW7EEesqFOlKRiD2l1JQHdMNHnmxn0f1ehFPHzy9sYNAnBlJ3J/rRZsH4twT76HnFfa++zVxLE9Vj+WMVQ/dcJ0gauA9aVYP9PY7l8BVib7THNm9yvfOq5+79qiEtX/Y9ir2y5GRzWnmYQGJyqHsby9gVjWjGYZnBCmTIA1+bPkBSelC7i4pJvbJa2JHr/uxmsmZvirPLwXG7sSdVD9NaFEFhBzIxCinsCkN/ZtCf15OkiCig06pG0vmFW7WC1g537aVbNOYptjD2MErHgK8p2QJW6b+X4LDilrqN2a7Autid6kM9UFIHN3fkc97X86GZns6g== 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=tdzn/NcgPJx6uaYkZ8xJk61LtrluxXGyIF1UgZVKYWo=; b=efIwu3x3W0swuyOZIBqlITFv/GYriZBF7ZweG76tZnEkJoWbLIraZcd0T0YL63qVUR1H2PsBHwCUEx+FfU+yaSnTjiWWgfna0ILA4CJ1OsnAfLYjjDzCJj9zpP7+jeZV5GKeLrLk19uWFPcV2/wlZJVRK6720NQfVUlhx/YYOBY= 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 VI1PR04MB4895.eurprd04.prod.outlook.com (2603:10a6:803:56::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3977.30; Mon, 29 Mar 2021 06:12:38 +0000 Received: from VI1PR04MB3983.eurprd04.prod.outlook.com ([fe80::3ce1:4759:5c33:514c]) by VI1PR04MB3983.eurprd04.prod.outlook.com ([fe80::3ce1:4759:5c33:514c%5]) with mapi id 15.20.3977.033; Mon, 29 Mar 2021 06:12:38 +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, marcel.ziswiler@toradex.com Subject: [PATCH v9 6/6] MAINTAINERS: add maintainer for i.MX8qxp DPU DRM driver Date: Mon, 29 Mar 2021 13:57:26 +0800 Message-Id: <1616997446-8783-7-git-send-email-victor.liu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1616997446-8783-1-git-send-email-victor.liu@nxp.com> References: <1616997446-8783-1-git-send-email-victor.liu@nxp.com> X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: HKAPR03CA0027.apcprd03.prod.outlook.com (2603:1096:203:c9::14) 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 HKAPR03CA0027.apcprd03.prod.outlook.com (2603:1096:203:c9::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3999.14 via Frontend Transport; Mon, 29 Mar 2021 06:12:33 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: dbd899ff-0a76-445a-0cff-08d8f279a749 X-MS-TrafficTypeDiagnostic: VI1PR04MB4895: 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:901; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: L+Fs269squR+Kwk33w1dC7M4i62qHBCHptPt7410zWFwaVsvdYPuzD/dKKd6dV6q5Pxe3jFTbOuXnAWC/qa6U1Jpa4V1eLzETvQHdXNebGLe+phczSO+gOARasVLOkGRzkoGvx2SQ7//Usfj21VYHjxvxb2Bir+2EwEECcTAj1OkJpBTwM5Q5sWH15ujWOzUe32ZqC/GSdUAc5d+NTk4naFePafmIavjLaf+fU0WeOt9+rdmZ6728r67UvpqzRRl3cFuh3nKQWI/mtnQZoNnCDF7Z19r92wbI6Z1ZhGIthPWUSe2T0TUIh59YSsUf4pHewTfSjpmP/4S+omr6NNq7zArl7V1KKBxSNFwuIHGJhckWgvbKgizrSiSqTAZDfLdXJ5H+q68pOQnkaG0E0PKB81iv1QvvVnHkIEwzXogOjAtE8Tt9Rcixi1l9oU3wKEvkJGjw9j6xictD98wWHcIo/9UpI7dgHF7Whn6D3k0RVaw8iaa1hXnWdbKwEKeHzIVNDRHwpwEV8KQqMPYlomxURfMqFmepjSjIeD0m/dV8YWV9uOKJD1qIngH/lyWTtXDpdALQd8qRuNPlCS7JTjWMeEcs8g0hcm9dGO8rn3gWFq6ZY1hImnNSz1NAs+7eb0bLGQZH0nmOqHbbCK3lZYPKLoaxQ96Md35GmCbZxodWzm3qWd/0fGF9Hofe5C7OktB 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)(376002)(136003)(346002)(366004)(39860400002)(396003)(26005)(36756003)(6666004)(16526019)(186003)(8676002)(8936002)(6512007)(6486002)(52116002)(6506007)(66476007)(66556008)(86362001)(316002)(5660300002)(2906002)(66946007)(2616005)(478600001)(69590400012)(38100700001)(4326008)(7416002)(956004); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: oyalr+l8R+XR5DLicRJvGXhT1B9+nvIZUVr7sC+bWaX1LP1HEahGdjKyP2q+2kuvetebZBiz+aOOmhQrlVj9YOeCU48Q9evlwgoReMlMvVonVZxtdZPMGN1gtoTDqwisZeXaKlGTmOG25ZUZ3PvtxK2Cvgv2eKAysjGuihseBMdgVPa+M3QIpPBxLjkTMmL5qDV8mO87hcyqaZkt75mZ1Uh5af9qLn7XVT/GcPN5aECckFioV7Xiz3HXXoJ4OmvFgxBo/GTsX3gClJbsTat1WFTwqC/CGmE/dRNf6YQVwTJH74pfk4bNqPI0dawDS+n005YHjwWsw6WY4lb8xIJeFQbQvC7EurORAVaN13DygAfkMXK78S/9Iy9VuyGJD0LNcDRkuVE39e1fFV7dbDVuv2s/c9gH4nur6nCANBk6HdoeG53gkJHRX+9UqGOYvjRRUzmgko5lYQc4buRqZY6kTVPJGgCUMZjTXofozq0ikw+i3VJAboTakoK1luDcyrPKSQXUJ8prqfXnznttgQnUtRbW/rxxZW8Rac1nujIrfVdWoyldB0M7A1FBikmINTYGftIsWsEsM7LgMxuZPJN1fW8nNNdRsGg/xVxHZbL8H+RsRMrtiN3aaKwLNquUPGUukz1kcmsM+O+jXjqWl7hb11Gpj5Pqnjnkz/JyTxfYu1jsXLvCMgTLVZ2qvBPQiCCPKr4DKWZN5tA/q1006+haq5nNiQddhpAJ7w8FJU4b//l+S8yyBSznslJeaP3W7/IGQdXYvSYGlMfpAvRNg0+8uvpFshnjJpsPcuEhOpVtObvEK7ecKtFSGa4kDe1AqyuLf2ImJl6Qa89wYGrOkWgAHsnOJqEz2kf+nJdOFYdxg/7iqU+VWHPPzdqa5N0FXD6fIgjgnjpL7AYIuCga1GfaqqzxAg6gyiaCHuN8pMqCv3zt70KYhYtsPLffV9roz1Kym4Rr2l14nCOhoFUTIOZAH4IbQ87MFCV5m0t2kSMbM3l5CvJY6bQJf/fws14XfGTn9xLMOCrwRmf0MEgo51/gLCl+BJIMGb7jgnjTAs5cMEMMLL73Pj45eRlk52784cz891IcJv1GXNYIm9t2Bu6zSgT+17/ysYJe9hsmBhU2JfIpkixKVXNbvpmay4rhJ1mHkUVyw6Y7OjnqaJKGk7jbjYU79vfrvj1vHsg5GIBu6aICiZUbut5OWhCwvxqr6De+9Rzl3/kl3HV7KQ7Yb1totp5yARprv8ulYe5zb1bt+njhQQEJP/aufg2mIKFufKKFxxyf+LYK4RJx78UIikB6ls7ov5Dq7efpTLIh21FclM4mtFM/F+1gk5smlqlqEVIV X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: dbd899ff-0a76-445a-0cff-08d8f279a749 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB3983.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Mar 2021 06:12:38.8709 (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: A3DZ3LJyFtpHL85AS8BPeg9l+Qx3MW3lhveAYcw9icEN176GIAEYuNhPEGUN3TEP3Q0PJ/LBLWCA90angB6VBw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4895 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210329_114407_861265_9054DA0F X-CRM114-Status: UNSURE ( 9.78 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add myself as the maintainer of the i.MX8qxp DPU DRM driver. Signed-off-by: Liu Ying Acked-by: Laurentiu Palcu --- v8->v9: * No change. v7->v8: * No change. v6->v7: * No change. v5->v6: * No change. v4->v5: * No change. v3->v4: * No change. v2->v3: * No change. v1->v2: * No change. MAINTAINERS | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index a247285..ec82d42 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5946,6 +5946,15 @@ F: Documentation/devicetree/bindings/display/imx/ F: drivers/gpu/drm/imx/ F: drivers/gpu/ipu-v3/ +DRM DRIVERS FOR FREESCALE i.MX8QXP +M: Liu Ying +L: dri-devel@lists.freedesktop.org +S: Maintained +F: Documentation/devicetree/bindings/display/imx/fsl,imx8qxp-dprc.yaml +F: Documentation/devicetree/bindings/display/imx/fsl,imx8qxp-dpu.yaml +F: Documentation/devicetree/bindings/display/imx/fsl,imx8qxp-prg.yaml +F: drivers/gpu/drm/imx/dpu/ + DRM DRIVERS FOR GMA500 (Poulsbo, Moorestown and derivative chipsets) M: Patrik Jakobsson L: dri-devel@lists.freedesktop.org