Received: by 2002:a05:7412:85a1:b0:e2:908c:2ebd with SMTP id n33csp21065rdh; Mon, 30 Oct 2023 12:26:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF7Z59ADHumlyfj32lNLGnsYiQI/Ikl9C1bQoxOPiaMi6+0TMMnh1h974Mdr6sWs+/rbBXY X-Received: by 2002:a17:902:cec7:b0:1c1:f6d1:3118 with SMTP id d7-20020a170902cec700b001c1f6d13118mr13504404plg.27.1698694012614; Mon, 30 Oct 2023 12:26:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698694012; cv=none; d=google.com; s=arc-20160816; b=lDshzq7KFzsyVbdGZZxzYqnegK9RwohkL07yiMslNL6ivmzLNmqTavjv70gz5XKTp5 jg92BW+8FLiRkVogvqXRQZNk4jEuARNDj0R2jpQN75bN8b+gxc/cfnRV3iCY/iEqqyOk g0uy6yRfwsGletB2+aTwCZlk/ueyHZuFG5puOg9YVgdaN+ORWO0x7SYxCHZRHFb5UuS0 6I5ZMLbW42NYfxOZ9CVosvxiHntxj/c3M3nbJzzuqBsw30pMfzvLDMeO2vTLUDxYMm1Q UoHs+j0/GfIOobNELBPec9V6RwGlZ2WrwLgczcRkwDzJXAbgi5sQYZPlSawA+MCRBMVf whYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=Q/Mg5F6La/20y5nY7HjoLsNGzq3KbPcPoL2CAQLIaos=; fh=RkWEwek5qpdbKc5TIr9X3i5THBaspasIdDnJXHv8zUE=; b=dxSQoK0y2dpxRZyDH0lzhfqW76+PNcKJQLvU9OqVbfQQzXHzWso+m2XRPRXV4ul6uI 6TKaiQKxM6GygYOHGXNeatgcprc6uaFDwyIbFx8hUBE2Kq9JDpC2WJM02ODITYi0kQxJ tfZ/4d4xLeP0w0U1XHJtRwo3jIzlnpytzoalcI90Ceb6/hPZGaNPgs+upov1L97rxcFy jmV+J6LOOuM8POXRsBeQvTrWYptpV8onyqeyYm9zVVaqpCylIt+BBTAOdL9NL2HgK+4L kzDYwlOlrDwSIkwPe/Wq/lYVS30Z+CxLbFfRN0fioSc2oB9/v35HSpItZE6PqWm4+yms uYaA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id q15-20020a170902dacf00b001bdd35033efsi1617859plx.374.2023.10.30.12.26.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 12:26:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 87B0E8041FE3; Mon, 30 Oct 2023 12:26:49 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231219AbjJ3T0g (ORCPT + 99 others); Mon, 30 Oct 2023 15:26:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229510AbjJ3T0e (ORCPT ); Mon, 30 Oct 2023 15:26:34 -0400 Received: from mail-oa1-f43.google.com (mail-oa1-f43.google.com [209.85.160.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8AEE7CC; Mon, 30 Oct 2023 12:26:32 -0700 (PDT) Received: by mail-oa1-f43.google.com with SMTP id 586e51a60fabf-1ea98ad294cso2097425fac.3; Mon, 30 Oct 2023 12:26:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698693992; x=1699298792; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Q/Mg5F6La/20y5nY7HjoLsNGzq3KbPcPoL2CAQLIaos=; b=JCpfJOG6YB+CoL/cnNGF8kHovLQKbQWDGCgqIvDIpoiiiJP6+rZPJSmoOXksqWnkkF VijWeLv1Oln8E4STg7HOVXRevTWDC3K7D4Qa7jUKJ3ubQJ4Nu5thRHW9dMGlDRnnwVGd brhsPHBVxuproXFLOAMi5a3w+QZm9PLaXyOPqH/t4c/a4H38vJ8nY9x+38lmdVU3ol5P 9jD7pIppiNE7qnuesGy7/F0COqQOulzHjgkU+9bqJQ+N8f5LnVZQ7mqi1LM9LBykypvT WCpjwO5WjcdDc93NwCSTdna7uaCWRFft6numethvqnwf/ezb+y3hTqRhKoHv0Ytx1Maz CxzQ== X-Gm-Message-State: AOJu0YwdEkjdf7YcF1VNE+OHK5fyEgrxvLdWqD1lJ6fKBDLWixx4c07t Z44insxryak+6uKM+ob0Zw== X-Received: by 2002:a05:6870:35d0:b0:1ea:2447:5181 with SMTP id c16-20020a05687035d000b001ea24475181mr9546452oak.9.1698693991826; Mon, 30 Oct 2023 12:26:31 -0700 (PDT) Received: from herring.priv ([2607:fb91:e6c7:c3eb:a6fd:69b4:aba3:6929]) by smtp.gmail.com with ESMTPSA id lh5-20020a05687c350500b001eace5491c8sm1694876oac.18.2023.10.30.12.26.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 12:26:31 -0700 (PDT) Received: (nullmailer pid 1991165 invoked by uid 1000); Mon, 30 Oct 2023 19:26:29 -0000 Date: Mon, 30 Oct 2023 14:26:29 -0500 From: Rob Herring To: Moudy Ho Cc: Chun-Kuang Hu , Philipp Zabel , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Krzysztof Kozlowski , Conor Dooley , Mauro Carvalho Chehab , Matthias Brugger , AngeloGioacchino Del Regno , Hans Verkuil , dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v8 03/16] dt-bindings: media: mediatek: mdp3: add config for MT8195 RDMA Message-ID: <20231030192629.GA1979065-robh@kernel.org> References: <20231030100022.9262-1-moudy.ho@mediatek.com> <20231030100022.9262-4-moudy.ho@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231030100022.9262-4-moudy.ho@mediatek.com> X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.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 (agentk.vger.email [0.0.0.0]); Mon, 30 Oct 2023 12:26:49 -0700 (PDT) On Mon, Oct 30, 2023 at 06:00:09PM +0800, Moudy Ho wrote: > 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 | 26 ++++++++++++++++++- > 1 file changed, 25 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/media/mediatek,mdp3-rdma.yaml b/Documentation/devicetree/bindings/media/mediatek,mdp3-rdma.yaml > index c043204cf210..504334a76fb3 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: > @@ -58,7 +59,7 @@ properties: > > mboxes: > minItems: 1 > - maxItems: 2 > + maxItems: 5 > > interrupts: > maxItems: 1 > @@ -98,6 +99,29 @@ allOf: > - mboxes > - mediatek,gce-events > > + - if: > + properties: > + compatible: > + contains: > + const: mediatek,mt8195-mdp3-rdma > + > + then: > + properties: > + clocks: > + items: > + - description: RDMA clock > + > + mboxes: > + 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 Following the prior comments, add these entries to the top-level 'mboxes' and then here just put 'minItems: 5'. Rob