From patchwork Wed Dec 20 10:08:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?TW91ZHkgSG8gKOS9leWul+WOnyk=?= X-Patchwork-Id: 181583 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp2537195dyi; Wed, 20 Dec 2023 02:16:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IHgnjx4KqehjJm0nWn3oAmKSqrejMdkeOIB4wt3LWHTG5RJLs8oOBn6BU6l1SI40myt19Vy X-Received: by 2002:ad4:5b82:0:b0:67a:9d26:52d4 with SMTP id 2-20020ad45b82000000b0067a9d2652d4mr25582453qvp.38.1703067374262; Wed, 20 Dec 2023 02:16:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703067374; cv=none; d=google.com; s=arc-20160816; b=WyyE+hbzztTasLXgayNrfp1szIDAp6eepDb3o2/NR/CK5ka31LRT4vt4ic00GWr76Q I+UCO1yUzCnDzZXf+XJ5IybLgPqJzQS6pa6cBfrb3D0TapnIN+GjJc6cFhpy7ZBoDQ8Q /A/oIUIApkc3i4MZbgWPHKLF1O9EN/3Qu7zUDGreZY8awtOdgfzkafSd59Q/E7MKhQWK nMImWG4GVFbzMBmpXDOCiCwhBYajg6a9v7RqioaCu1qVHQKZUI7RtOqyYM0CaByotcU/ 7nU/6jJrGbTmORWlA+J2lTeITQCMdMnnE6L8lX/AAdM6orjt44NkkfGa3KuiTZEQwgo5 lVIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=mhfk3FqNlNnTIC11+3AiswpDac8u08Q0N1jKnCvU8fs=; fh=N25l34UKybvwssildkJfWZzd7U86IAOGhJYPnp0TxMk=; b=IqcKL1MfzPz4Z3PmwTppFpOHODSdQIKODACxNmMqcu0brPMmy4UMHnM/SR4XC5LNfF yBy2EtNnpz+gTgeuktHY2cdWeZLDJyWJu1Dq+uWEbZDvrSAcWH0A5M5yHZuywaIWvi60 EHeHnEAb1DbgveZ4PRjS4YzMA4UBnWWr2bsbqBvCzDLvcigs3i/auo4mzfzJXjyc6GvN sQRIz46w3fQwBr9bsz4GzJuWu8M1rDRCHKBBaGjNP7PCUhFz9KdGRf2HSMJC1E/HAg06 Ds2ut7zlGfwjq8lVzQgTmYVxomn3ooQQnMW8GzseKIG//+H7Y9qUeo2Aunf3keYwGlq6 Q0Wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=haMzCh1D; spf=pass (google.com: domain of linux-kernel+bounces-6712-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6712-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id e21-20020a0caa55000000b0067f062100f0si11047043qvb.465.2023.12.20.02.16.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 02:16:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-6712-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=haMzCh1D; spf=pass (google.com: domain of linux-kernel+bounces-6712-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6712-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 0B0191C21331 for ; Wed, 20 Dec 2023 10:16:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D85723FB27; Wed, 20 Dec 2023 10:09:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="haMzCh1D" X-Original-To: linux-kernel@vger.kernel.org Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3A49D25558; Wed, 20 Dec 2023 10:09:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mediatek.com X-UUID: c93d20b69f1f11eeba30773df0976c77-20231220 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=mhfk3FqNlNnTIC11+3AiswpDac8u08Q0N1jKnCvU8fs=; b=haMzCh1DObPNY0aHo4JfO1Z6rkMKdflNUIEXNkEOfzyrl5soMjCYt+2CCznyMtLkRTqfM9dwQDNuw5vt9qsku+qufYXdPRjVUgnPkEhWX/HZlr1tfmA5e1IynOgYbxpmsPaW5N9OOAV74Mhp/O7NOyDY6hniMi6RtPzMFDUoxCE=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.35,REQID:ad449947-0f06-4010-9291-b28356eeca9f,IP:0,U RL:0,TC:0,Content:-5,EDM:-30,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTI ON:release,TS:-35 X-CID-META: VersionHash:5d391d7,CLOUDID:9a537a7e-4f93-4875-95e7-8c66ea833d57,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:2,IP:nil,UR L:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0,LES:1,SPR:NO,D KR: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: c93d20b69f1f11eeba30773df0976c77-20231220 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 1364811328; Wed, 20 Dec 2023 18:08:56 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) by mtkmbs11n1.mediatek.inc (172.21.101.185) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Wed, 20 Dec 2023 18:08:55 +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; Wed, 20 Dec 2023 18:08:55 +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 v10 03/16] dt-bindings: media: mediatek: mdp3: add config for MT8195 RDMA Date: Wed, 20 Dec 2023 18:08:40 +0800 Message-ID: <20231220100853.20616-4-moudy.ho@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20231220100853.20616-1-moudy.ho@mediatek.com> References: <20231220100853.20616-1-moudy.ho@mediatek.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MTK: N X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785795575281522470 X-GMAIL-MSGID: 1785795575281522470 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 Reviewed-by: Rob Herring --- .../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 e9955639ce19..f9ca66413d51 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: oneOf: - const: mediatek,mt8183-mdp3-rdma + - const: mediatek,mt8195-mdp3-rdma - const: mediatek,mt8195-vdo1-rdma - items: - const: mediatek,mt8188-vdo1-rdma @@ -73,6 +74,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: @@ -109,6 +113,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: