From patchwork Tue Sep 19 09:59:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 725789 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C1227CD54AB for ; Tue, 19 Sep 2023 09:59:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229674AbjISKAC (ORCPT ); Tue, 19 Sep 2023 06:00:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231654AbjISJ7u (ORCPT ); Tue, 19 Sep 2023 05:59:50 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94B35E8; Tue, 19 Sep 2023 02:59:44 -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 3981666003B9; Tue, 19 Sep 2023 10:59:42 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1695117583; bh=vdjqwvikUTSEg0RbloUXKWZcw3Q5awlw9Ycji3qqMhk=; h=From:To:Cc:Subject:Date:From; b=ETgSxmKdx+EdOECb3X6z/Eufhpv6ukE7JbBn15ai3osywNTl4eRwy2/z83jcsMhtF kJ+EiRyyk1XijgpKCmY6PuWhxGhLqARkr+99xP28ojur82Np2/OZUDUo05svC4slJ/ J5isqL7u5HS3t9PnWHWXSUGVNuhrG7eDP7L8joqwI4571NHyy9Ui3ZumHl03RwEcLW 9W+qdcfAGLIRwLf/fPSLqj07fQkrpeCET/emULTLZs4OmUUwcPPWZdAAky+PKJQXUe S1raQgsjZm3RZx9dnQ1NhGvAIm3cy+/9o7hbx0Ax5Hw9AspXjQRO8GyngAy9ysXJZL h3QN0hOLzqmKQ== From: AngeloGioacchino Del Regno 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 0/2] MediaTek MDP3: use devicetree to retrieve SCP Date: Tue, 19 Sep 2023 11:59:36 +0200 Message-ID: <20230919095938.70679-1-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Especially now that Multi-Core SCP support has landed, it makes sense to retrieve the SCP handle by using the "mediatek,scp" property (as already done in MediaTek VCODEC), both to select one specific SCP core for MDP3 and to avoid walking the parent node to find a SCP node. AngeloGioacchino Del Regno (2): media: dt-bindings: mediatek: Add phandle to mediatek,scp on MDP3 RDMA media: platform: mtk-mdp3: Use devicetree phandle to retrieve SCP .../bindings/media/mediatek,mdp3-rdma.yaml | 6 ++++++ .../media/platform/mediatek/mdp3/mtk-mdp3-core.c | 16 ++++++++++------ 2 files changed, 16 insertions(+), 6 deletions(-)