Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp95816rdb; Tue, 31 Oct 2023 01:36:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFlure2s43uAXauMQfHEqONQE/gsDyrUjj8KZg0EkTqf5eI01QGUYoZbo+NUp+tR/lF0wUc X-Received: by 2002:a54:4896:0:b0:3b2:d6ce:f582 with SMTP id r22-20020a544896000000b003b2d6cef582mr12446126oic.34.1698741380224; Tue, 31 Oct 2023 01:36:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698741380; cv=none; d=google.com; s=arc-20160816; b=garoijzx0up2uv0AM7ze4+JvSvBSRyGL1SR5J5VVC5Xx314C6b2iKPH9BXVNW/fhJX Y195VL+qCgGbvcLiWSHwvqtnJXTNL8s33wd7MwtnVdhdDRKuDnaIEo1ZAk40mvQ5NZBn flDK/Y2idmZ59WgRyZeZlq6QQxS4XqfWbqiI1Bb7LeUOegjLKPbDo1RnJgEWMd2htblp 0f5mxTxE61Ug4wPt2Je8ZmGzYo8NgeEcHsUw0FI7xD6BBQR+c7feEMhMFyWjnXNlNrG4 q5bXHFiFJAWoCNESdKFBb0PxnrLiqqJfngoX1/8zOIcjUfiVSizjA1oDolJZPEHmK0WZ eFzQ== 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=Gsqcfd85Q6zMJMfP8HzmSlifHtyjYo/vIuwiYWQflu4=; fh=e0RlLHzlztEJgFr1G5iUAfmLhro7zrN0SmKLmnTwLIM=; b=xg/rmLQ5iO8RoQur7koxJT5y3S2GutFcrYFPb3pPEs4+onMA1+r9isuQYtQNkdNtvG 7PhbFtGuXZiztAAdw9MlE/Q3MOpfcHmN1IFnSgif9Xd4lesmv+Dp94OsItKhzfZn/umI PEan/b2DKUHqyeRjqJZbaNrXsPaGPFG7kq4M94mwp29swufJHCjWdkj3q73JErlDqLBT bWvB0vaKELUPKj9EYMO5tvQc6LV5W3N9hx89jkt+Bk/RDad+sG024uhKfALMRL6fe7a9 Dwf98pwF8T2ZCJY9O0CyhVsfKvYhEk8GzFoR/7iwUysqPrf6gGHofuSa+kgqLgk5DvKw 5Baw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=oufODS14; 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 a9-20020a056a000c8900b00690d935fa4csi680986pfv.356.2023.10.31.01.36.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 01:36:20 -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=oufODS14; 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 97E12808DB7C; Tue, 31 Oct 2023 01:35:43 -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 S235335AbjJaIfB (ORCPT + 99 others); Tue, 31 Oct 2023 04:35:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233437AbjJaIeM (ORCPT ); Tue, 31 Oct 2023 04:34:12 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE195DA; Tue, 31 Oct 2023 01:34:08 -0700 (PDT) X-UUID: 3da33d9877c811ee8051498923ad61e6-20231031 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=Gsqcfd85Q6zMJMfP8HzmSlifHtyjYo/vIuwiYWQflu4=; b=oufODS147+SJRo4ToCaGP+D0ejJ6UDTOzQlvFA4X7gOv+NYQy/EpeP4SEOiLPVKDJC0JoTxS9Hf/yizQr1wFadnQRsRD56H+0YdNEcw9fMgdimDcS9JBpwgiBFLkf9rkI/I6EcuMAa8HSRVtJnyHVrjagBj5vq3wNcMo4CKVjU8=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.33,REQID:6aa0325f-4a76-441b-899d-1c9d5c6d6b26,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:364b77b,CLOUDID:f7db85d7-04a0-4e50-8742-3543eab8cb8e,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,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 X-CID-BAS: 0,_,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR X-UUID: 3da33d9877c811ee8051498923ad61e6-20231031 Received: from mtkmbs14n2.mediatek.inc [(172.21.101.76)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1111867048; Tue, 31 Oct 2023 16:34:00 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Tue, 31 Oct 2023 16:33:58 +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, 31 Oct 2023 16:33:58 +0800 From: Moudy Ho To: Chun-Kuang Hu , Philipp Zabel , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , Mauro Carvalho Chehab , "Matthias Brugger" , AngeloGioacchino Del Regno , Hans Verkuil CC: , , , , , , "Moudy Ho" Subject: [PATCH v9 03/16] dt-bindings: media: mediatek: mdp3: add config for MT8195 RDMA Date: Tue, 31 Oct 2023 16:33:44 +0800 Message-ID: <20231031083357.13775-4-moudy.ho@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20231031083357.13775-1-moudy.ho@mediatek.com> References: <20231031083357.13775-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--0.708700-8.000000 X-TMASE-MatchedRID: ANwZAW3tAaok8jpRZkMC+dYpUOCigMK3QKuv8uQBDjr/evmlVf9xZpeS PuHyHNrhj6kCfX0Edc5fvtuIsaf1ZRUyniZSq5xegNMFzGNLElDlOkM7VYqzaZsoi2XrUn/Jn6K dMrRsL14qtq5d3cxkNUDUSn95NqmT2TZ/FUz+0QM85sUeDXgIYLwg/VM4b/Vtnq1SwwsENorA8O m+k4sSDMuMLCIhEz/LndAL4Ry6+kYDty5ERD23gKCjNWMcfCKKdATQdtPksR+3/JiWOe6GXXSWg Q2GpXdZhztLVWA1eE9DDKa3G4nrLQ== X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--0.708700-8.000000 X-TMASE-Version: SMEX-14.0.0.3152-9.1.1006-23728.005 X-TM-SNTS-SMTP: 49B687300759B140B04CFD0DF43C505CF2BB465597ED38056A3138C5D5A5E94D2000:8 X-MTK: N X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email 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, 31 Oct 2023 01:35:43 -0700 (PDT) Added the configuration for MT8195 RDMA. In comparison to MT8183, it no longer shares SRAM with RSZ, and there are now preconfigured 5 mbox. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno --- .../bindings/media/mediatek,mdp3-rdma.yaml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Documentation/devicetree/bindings/media/mediatek,mdp3-rdma.yaml b/Documentation/devicetree/bindings/media/mediatek,mdp3-rdma.yaml index 13f915d4d76f..0a897431561b 100644 --- a/Documentation/devicetree/bindings/media/mediatek,mdp3-rdma.yaml +++ b/Documentation/devicetree/bindings/media/mediatek,mdp3-rdma.yaml @@ -22,6 +22,7 @@ properties: compatible: enum: - mediatek,mt8183-mdp3-rdma + - mediatek,mt8195-mdp3-rdma - mediatek,mt8195-vdo1-rdma reg: @@ -62,6 +63,9 @@ properties: items: - description: used for 1st data pipe from RDMA - description: used for 2nd data pipe from RDMA + - description: used for 3rd data pipe from RDMA + - description: used for 4th data pipe from RDMA + - description: used for the data pipe from SPLIT minItems: 1 interrupts: @@ -98,6 +102,23 @@ allOf: - mboxes - mediatek,gce-events + - if: + properties: + compatible: + contains: + const: mediatek,mt8195-mdp3-rdma + + then: + properties: + clocks: + maxItems: 1 + + mboxes: + minItems: 5 + + required: + - mediatek,gce-events + - if: properties: compatible: -- 2.18.0