Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2962514rdb; Tue, 12 Sep 2023 19:03:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEEdSjMd7LuiGVw1bG8nlL1yk9j7pSw0kQ9CiFkQkbC1A+1SyKeZhMYJ41CnA01aedca1bc X-Received: by 2002:a05:6808:199c:b0:3ab:8cb8:1294 with SMTP id bj28-20020a056808199c00b003ab8cb81294mr1833195oib.28.1694570632544; Tue, 12 Sep 2023 19:03:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694570632; cv=none; d=google.com; s=arc-20160816; b=SCVcGKctdjgHydT9W78k2lAYkPh+A7QIWk5MH71KTxQj4eRvD/mD1tzqKIdRcCtBEe wS4lx8psH8QEPDzqdyEJUvqdqMU3K8OYDY8Pn7P8CuV8UVNshH3XoBVHkU2QWLJjhXZi 8HPeEOmlmPxN5cc9ERdgLfdV0OwiO8CE+s55iZTlMSp9M4K/LCtmFA4LM0Q6x/4YIb7L WzvgKC5lP90jToKcw0IUhFzlaUqPre2xZ9Ub88sVG4RlzEWk/nw9To/zkYER0xx3ZUz9 /XOSB76LpN0ER5ctKcjeq+0QQSoUFk0GrGR6zXS9qCOB5Ga8U/dM5Ot5T+scgLAQjOv6 aTcg== ARC-Message-Signature: i=1; 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=5uSQ/2uUFcglNawiOI7EDVq8ijvbNjgCts33LxsKOl0=; fh=DzmZrkCIVriDHygcOUuANWA169mqHVZZgS1Q8kmhYLs=; b=zhSSXyn2q/HGUIjH6g3w2V/fcZln2Y7GKdu/xnv257xWgQaZiix+umEX4rlJaI9eHb ar04uPXSWQcLwnNciCb7LhMxXlAoqerb2tPk+/0G2PDB8IpTFAvly+OSqisr7fffYc7O 3V0t8rbbSYx09kAB8F4pCSWGX2/amaw+RVRpUv7UYIPn6EFLC2B+p0UG1HJTT4GWk1bQ Fx0U2am1snoSw8y6KaHONqEClQqMXvQBFHBnWY9F3RY3xV3gJhmqy3WNw7pDtqjyJv4H wfi3xRqJK8+YgObjiekbO+1fxbGQ7yIakQYsArdaJOAFi42Nzo4Jb4Rk5CFLF78miWm0 Fr+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="s/aIzFWy"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id r24-20020a635158000000b0056950006fd5si9098103pgl.885.2023.09.12.19.03.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 19:03:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="s/aIzFWy"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id B1F1F8036EB9; Tue, 12 Sep 2023 00:57:08 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231922AbjILH5J (ORCPT + 99 others); Tue, 12 Sep 2023 03:57:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231273AbjILH5F (ORCPT ); Tue, 12 Sep 2023 03:57:05 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F1FAE78; Tue, 12 Sep 2023 00:57:01 -0700 (PDT) X-UUID: f08649ee514111eea33bb35ae8d461a2-20230912 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=5uSQ/2uUFcglNawiOI7EDVq8ijvbNjgCts33LxsKOl0=; b=s/aIzFWyXd8f+96i7bVAVTVHkRdDUoSc/Jrv2MYT/MKokwtiOwT00dJOIZItekloycrg1wxIMP1PVsKH3WZO1Y79SZMd6SMLUimehwKgY4izEgE38y9+EIxLwePAGhmiJU7NB5UFHNXHsLup7DAimkLBd3F4ZieP5grMzIfUnMA=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.31,REQID:8d811bfb-651b-4703-8600-ecd47e37f7b0,IP:0,U RL:25,TC:0,Content:-5,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTIO N:release,TS:20 X-CID-META: VersionHash:0ad78a4,CLOUDID:4626d713-4929-4845-9571-38c601e9c3c9,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:11|1,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0,LES:1,SPR: NO,DKR:0,DKP:0,BRR:0,BRE:0 X-CID-BVR: 0,NGT X-CID-BAS: 0,NGT,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR,TF_CID_SPAM_ULN X-UUID: f08649ee514111eea33bb35ae8d461a2-20230912 Received: from mtkmbs13n2.mediatek.inc [(172.21.101.108)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 356556455; Tue, 12 Sep 2023 15:56:54 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Tue, 12 Sep 2023 15:56:53 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Tue, 12 Sep 2023 15:56:53 +0800 From: Moudy Ho To: Chun-Kuang Hu , Philipp Zabel , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Mauro Carvalho Chehab , Matthias Brugger , Hans Verkuil CC: AngeloGioacchino Del Regno , , , , , , , "Moudy Ho" Subject: [PATCH v5 2/3] dt-binding: mediatek: integrate MDP RDMA to one binding Date: Tue, 12 Sep 2023 15:56:50 +0800 Message-ID: <20230912075651.10693-3-moudy.ho@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20230912075651.10693-1-moudy.ho@mediatek.com> References: <20230912075651.10693-1-moudy.ho@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-Product-Ver: SMEX-14.0.0.3152-9.1.1006-23728.005 X-TM-AS-Result: No-10--12.517400-8.000000 X-TMASE-MatchedRID: 4sR0WkMjMpmwQEC6hpSorx+WEMjoO9WWVPmKrQFPhdm7qpOHKudqc5dA ax/AUFGFwvUxdKBGcQwRA4hwIn2MDSVsX5l40e1lGVyS87Wb4lxbAoaK+wS4jSNGK7UC7ElMs+7 m6nszghjDPikvmmg9Q8HTZq4caFv9Kc+6Aaw3enmxNxaTG4Ot0kOafuTO5K4pR2YNIFh+clEb29 WAvZS6WwFQaJbALdQErO/OXtXxrvLQo7lIbG5ppOv8QGaI25e3/5QRvrl2CZByTn0y32aE/6PFj JEFr+olX8emX/Nw6OXkwjHXXC/4I8prJP8FBOIaoONvijIpx9FE4NUJlgirrGCIZsFT3aMRINbS URdzU4RZ88Mcoj8lEg== X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--12.517400-8.000000 X-TMASE-Version: SMEX-14.0.0.3152-9.1.1006-23728.005 X-TM-SNTS-SMTP: D6B63A162BAF107462C2B8851EF6DC097E2FCE28A94BACF94C35A85FF5DAEA0A2000:8 X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Tue, 12 Sep 2023 00:57:08 -0700 (PDT) Due to the same hardware design, MDP RDMA needs to be integrated into the same binding. Signed-off-by: Moudy Ho --- .../display/mediatek/mediatek,mdp-rdma.yaml | 88 ------------------- .../bindings/media/mediatek,mdp3-rdma.yaml | 5 +- 2 files changed, 3 insertions(+), 90 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,mdp-rdma.yaml diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,mdp-rdma.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,mdp-rdma.yaml deleted file mode 100644 index dd12e2ff685c..000000000000 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,mdp-rdma.yaml +++ /dev/null @@ -1,88 +0,0 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/mediatek/mediatek,mdp-rdma.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MediaTek MDP RDMA - -maintainers: - - Chun-Kuang Hu - - Philipp Zabel - -description: - The MediaTek MDP RDMA stands for Read Direct Memory Access. - It provides real time data to the back-end panel driver, such as DSI, - DPI and DP_INTF. - It contains one line buffer to store the sufficient pixel data. - RDMA device node must be siblings to the central MMSYS_CONFIG node. - For a description of the MMSYS_CONFIG binding, see - Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml for details. - -properties: - compatible: - const: mediatek,mt8195-vdo1-rdma - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - - power-domains: - maxItems: 1 - - clocks: - items: - - description: RDMA Clock - - iommus: - maxItems: 1 - - mediatek,gce-client-reg: - description: - The register of display function block to be set by gce. There are 4 arguments, - such as gce node, subsys id, offset and register size. The subsys id that is - mapping to the register of display function blocks is defined in the gce header - include/dt-bindings/gce/-gce.h of each chips. - $ref: /schemas/types.yaml#/definitions/phandle-array - items: - items: - - description: phandle of GCE - - description: GCE subsys id - - description: register offset - - description: register size - maxItems: 1 - -required: - - compatible - - reg - - power-domains - - clocks - - iommus - - mediatek,gce-client-reg - -additionalProperties: false - -examples: - - | - #include - #include - #include - #include - #include - - soc { - #address-cells = <2>; - #size-cells = <2>; - - rdma@1c104000 { - compatible = "mediatek,mt8195-vdo1-rdma"; - reg = <0 0x1c104000 0 0x1000>; - interrupts = ; - clocks = <&vdosys1 CLK_VDO1_MDP_RDMA0>; - power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS1>; - iommus = <&iommu_vdo M4U_PORT_L2_MDP_RDMA0>; - mediatek,gce-client-reg = <&gce0 SUBSYS_1c10XXXX 0x4000 0x1000>; - }; - }; diff --git a/Documentation/devicetree/bindings/media/mediatek,mdp3-rdma.yaml b/Documentation/devicetree/bindings/media/mediatek,mdp3-rdma.yaml index 3e128733ef53..0c22571d8c22 100644 --- a/Documentation/devicetree/bindings/media/mediatek,mdp3-rdma.yaml +++ b/Documentation/devicetree/bindings/media/mediatek,mdp3-rdma.yaml @@ -20,8 +20,9 @@ description: | properties: compatible: - items: - - const: mediatek,mt8183-mdp3-rdma + enum: + - mediatek,mt8183-mdp3-rdma + - mediatek,mt8195-vdo1-rdma reg: maxItems: 1 -- 2.18.0