Message ID | 20231005104905.120544-2-angelogioacchino.delregno@collabora.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2016:b0:403:3b70:6f57 with SMTP id fe22csp423452vqb; Thu, 5 Oct 2023 09:37:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEpoVLlcStxSXLox/o9RGkz6T7KKx+9bR7nOo+AmJpOteeQxZFOpkPcoaNf2EljVrxmVtsH X-Received: by 2002:a17:903:2445:b0:1c3:83e2:d0a9 with SMTP id l5-20020a170903244500b001c383e2d0a9mr6771354pls.58.1696523871834; Thu, 05 Oct 2023 09:37:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696523871; cv=none; d=google.com; s=arc-20160816; b=DzDBE8lndJlpwyZ0cvnNSR1llAW/dJPhQ/3FWS5grtdkqmEhTf4Lr0hCrictgV+yVO dH9e5gJ9agxyCqitRWhF8lcVZ57fuzWOWbQgy+JpmBzOBBshvlE9LfNaw/g694SqVjwi wFu7baVmUfq5WbH1usLNsQEZv/TlSMSsb4GhHl6H9iAGRfAQqSn5osyFrA76+/CUFXLY wlsh8hdApBRboAvboTRjmaYF1Cd9srRpKPriGZ/ilMOhPKhxxJiBsecLqGAjh/3bIzvC tnCBgHU5Exqdd7qgd6NTrQeIs0RUfwnpCRtSno686TtYpgUdv1iMraer9hEIYUk++rYY MfCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=okFBs9uHYPZKYvF8fG1v2s+YpL5T6ANrIiS3LJYScZU=; fh=i/LyJkRmgZBAMJ8yXV9iaklUoYAFLn5WBFFibvwWXtM=; b=Rr7dhN00b2B6uJ6bW13uABBjwAL/pNTw/gjeMdZdtGEsmC0OIYiKCGZZn6OsIvCI+I XR5FIs01DiPldjjBoVQkrdoVOTJ8V9EEEbnNfHgA3azUezu8olIeXrkJt3MdXFMhdwDA ZndLOH89HKSPWc+MFndWngDnX0josshMPJk4xI+TlIX4cdH8whQ0QhrfcNcUQo/jErrQ 0Iokhd2QE7VowV0I4VDDpLrYg/z/27JiDLFbff5uusXPMWumW6ifyef7ztzijrV/fs+r oywh8CJh5G9riwOdtFsjapsk8MGAD4/DJasAipplEELlEQ9BKh7+IfZfR4psxQ7MIFaQ 6SGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Qx2lQFIj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id u7-20020a170903124700b001b8b4330585si1942951plh.510.2023.10.05.09.37.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 09:37:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Qx2lQFIj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 926518072172; Thu, 5 Oct 2023 09:35:35 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236767AbjJEQfB (ORCPT <rfc822;ezelljr.billy@gmail.com> + 19 others); Thu, 5 Oct 2023 12:35:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233218AbjJEQcn (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 5 Oct 2023 12:32:43 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BD3E22CA9; Thu, 5 Oct 2023 03:49:17 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 0C1B0660731E; Thu, 5 Oct 2023 11:49:15 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1696502955; bh=pa8pKITzfzlfDMGcUark3OZKCpHGd4WoAakJB9sAdzU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Qx2lQFIjxuULN86K3QtKjTJ2XoqaqR3+5/cXYj+Gnb2yTs/WaFb9YcK+nKFLok2QJ auj0FigSKVrUwTDrjBSsw9JBggXvdj2/U5m93EmhmqaL1w+t2ov8yzG1S3AXFYdEqL qXjPpLiM7sageXKQFnlOUQ0UV6V62fwgdn52yvG+qxqt9NC9GMdUer9QA9JCIlmra8 j2JAxfPPwDec7tFMRktP+3EmmOF+oF2/+I164jdbZWWYjPphKPzfOA+F7SLAeVGHCk 1B7Fg+zEnL4+8jqNDwJdczkdypTK1KOoHGwOvAPYkVGcSmOsUsVWMTirmaHSHcUibE tEe7PmTiAQd1g== From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> To: mchehab@kernel.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, moudy.ho@mediatek.com, hverkuil-cisco@xs4all.nl, sakari.ailus@linux.intel.com, u.kleine-koenig@pengutronix.de, linqiheng@huawei.com, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, kernel@collabora.com, wenst@chromium.org Subject: [PATCH v2 1/2] media: dt-bindings: mediatek: Add phandle to mediatek,scp on MDP3 RDMA Date: Thu, 5 Oct 2023 12:49:04 +0200 Message-ID: <20231005104905.120544-2-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231005104905.120544-1-angelogioacchino.delregno@collabora.com> References: <20231005104905.120544-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 05 Oct 2023 09:35:35 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778934215851017923 X-GMAIL-MSGID: 1778934215851017923 |
Series |
MediaTek MDP3: use devicetree to retrieve SCP
|
|
Commit Message
AngeloGioacchino Del Regno
Oct. 5, 2023, 10:49 a.m. UTC
The MDP3 RDMA needs to communicate with the SCP remote processor: allow
specifying a phandle to a SCP core.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
---
v2: I've dropped Conor and Chen-Yu's Reviewed-by tags because I have changed
the description (so, the patch actually changed a bit).
.../devicetree/bindings/media/mediatek,mdp3-rdma.yaml | 8 ++++++++
1 file changed, 8 insertions(+)
Comments
On Thu, Oct 05, 2023 at 12:49:04PM +0200, AngeloGioacchino Del Regno wrote: > The MDP3 RDMA needs to communicate with the SCP remote processor: allow > specifying a phandle to a SCP core. > > Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> > --- > > v2: I've dropped Conor and Chen-Yu's Reviewed-by tags because I have changed > the description (so, the patch actually changed a bit). I dunno, you made it more informative so you could probably have kept mine at least. Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Thanks, Conor. > > .../devicetree/bindings/media/mediatek,mdp3-rdma.yaml | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/Documentation/devicetree/bindings/media/mediatek,mdp3-rdma.yaml b/Documentation/devicetree/bindings/media/mediatek,mdp3-rdma.yaml > index 7032c7e15039..59dcea797b71 100644 > --- a/Documentation/devicetree/bindings/media/mediatek,mdp3-rdma.yaml > +++ b/Documentation/devicetree/bindings/media/mediatek,mdp3-rdma.yaml > @@ -45,6 +45,14 @@ properties: > include/dt-bindings/gce/<chip>-gce.h of each chips. > $ref: /schemas/types.yaml#/definitions/uint32-array > > + mediatek,scp: > + $ref: /schemas/types.yaml#/definitions/phandle > + description: > + Phandle to the System Control Processor (SCP) used for initializing > + and stopping the MDP3, for sending frame data locations to the MDP3's > + VPU and to install Inter-Processor Interrupt handlers to control > + processing states. > + > power-domains: > maxItems: 1 > > -- > 2.42.0 >
Reviewed-by: Alexandre Mergnat <amergnat@baylibre.com> On 05/10/2023 12:49, AngeloGioacchino Del Regno wrote: > The MDP3 RDMA needs to communicate with the SCP remote processor: allow > specifying a phandle to a SCP core.
Il 06/10/23 01:36, Conor Dooley ha scritto: > On Thu, Oct 05, 2023 at 12:49:04PM +0200, AngeloGioacchino Del Regno wrote: >> The MDP3 RDMA needs to communicate with the SCP remote processor: allow >> specifying a phandle to a SCP core. >> >> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> >> --- >> >> v2: I've dropped Conor and Chen-Yu's Reviewed-by tags because I have changed >> the description (so, the patch actually changed a bit). > > I dunno, you made it more informative so you could probably have kept > mine at least. > Reviewed-by: Conor Dooley <conor.dooley@microchip.com> > I just wanted to be cautious with keeping Reviewed-by tags. Sometimes it's better to drop than unfairly keeping, I'm sure that you understand my point here. Btw, thank you! Cheers, Angelo > Thanks, > Conor. > >> >> .../devicetree/bindings/media/mediatek,mdp3-rdma.yaml | 8 ++++++++ >> 1 file changed, 8 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/media/mediatek,mdp3-rdma.yaml b/Documentation/devicetree/bindings/media/mediatek,mdp3-rdma.yaml >> index 7032c7e15039..59dcea797b71 100644 >> --- a/Documentation/devicetree/bindings/media/mediatek,mdp3-rdma.yaml >> +++ b/Documentation/devicetree/bindings/media/mediatek,mdp3-rdma.yaml >> @@ -45,6 +45,14 @@ properties: >> include/dt-bindings/gce/<chip>-gce.h of each chips. >> $ref: /schemas/types.yaml#/definitions/uint32-array >> >> + mediatek,scp: >> + $ref: /schemas/types.yaml#/definitions/phandle >> + description: >> + Phandle to the System Control Processor (SCP) used for initializing >> + and stopping the MDP3, for sending frame data locations to the MDP3's >> + VPU and to install Inter-Processor Interrupt handlers to control >> + processing states. >> + >> power-domains: >> maxItems: 1 >> >> -- >> 2.42.0 >> >> >> _______________________________________________ >> Kernel mailing list -- kernel@mailman.collabora.com >> To unsubscribe send an email to kernel-leave@mailman.collabora.com
On Wed, Oct 11, 2023 at 01:44:24PM +0200, AngeloGioacchino Del Regno wrote: > Il 06/10/23 01:36, Conor Dooley ha scritto: > > On Thu, Oct 05, 2023 at 12:49:04PM +0200, AngeloGioacchino Del Regno wrote: > > > The MDP3 RDMA needs to communicate with the SCP remote processor: allow > > > specifying a phandle to a SCP core. > > > > > > Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> > > > --- > > > > > > v2: I've dropped Conor and Chen-Yu's Reviewed-by tags because I have changed > > > the description (so, the patch actually changed a bit). > > > > I dunno, you made it more informative so you could probably have kept > > mine at least. > > Reviewed-by: Conor Dooley <conor.dooley@microchip.com> > > > > I just wanted to be cautious with keeping Reviewed-by tags. > > Sometimes it's better to drop than unfairly keeping, I'm sure that you > understand my point here. Oh aye, I do... And you did call out having dropped the tag, so I appreciate that too. > Btw, thank you! nw chief
diff --git a/Documentation/devicetree/bindings/media/mediatek,mdp3-rdma.yaml b/Documentation/devicetree/bindings/media/mediatek,mdp3-rdma.yaml index 7032c7e15039..59dcea797b71 100644 --- a/Documentation/devicetree/bindings/media/mediatek,mdp3-rdma.yaml +++ b/Documentation/devicetree/bindings/media/mediatek,mdp3-rdma.yaml @@ -45,6 +45,14 @@ properties: include/dt-bindings/gce/<chip>-gce.h of each chips. $ref: /schemas/types.yaml#/definitions/uint32-array + mediatek,scp: + $ref: /schemas/types.yaml#/definitions/phandle + description: + Phandle to the System Control Processor (SCP) used for initializing + and stopping the MDP3, for sending frame data locations to the MDP3's + VPU and to install Inter-Processor Interrupt handlers to control + processing states. + power-domains: maxItems: 1