From patchwork Thu Apr 14 11:53:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Allen-KH Cheng X-Patchwork-Id: 12813400 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C2141C433EF for ; Thu, 14 Apr 2022 12:06:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=ZygNvOgJwtMs5qaSK9Gp6x97GxQU+ied83dkl/SNMlQ=; b=Qf9FBosXv9yLBZ AfbK3oXBD3yHYyCjs8wEuRI0KnetFd1jn+9lOD/EBJyCnHLyfnTjyPCnDVFfwpifFIP6UDABntuMc lFhF5rGvJdqrn0NDG/B46Wxkt6QHMmSkitQ7fLYJMOZjj8F4rjnFJ6QG+lru/D3DkhVOS0mH9++0N XiLXY5c+rqtbLQh8RiDGeI8CPR5Lel0D5lt69J4cqm62C6asAIZb98kcwmTiA/GJes2MSXcVfIIOB 1iquz3diIg0GZoNdqkDNiolJD2MbwnW47lc+G69yGUiLRTcXRIvXkjAQqSjKr8duiNz13gmBazXfl fcmcfyAd2GT3fZmdkO8g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1neyFO-005QYr-9U; Thu, 14 Apr 2022 12:06:50 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1neyCU-005P75-5j; Thu, 14 Apr 2022 12:03:53 +0000 X-UUID: b0b933d6f52d45f5816dfd0b33785485-20220414 X-UUID: b0b933d6f52d45f5816dfd0b33785485-20220414 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 325525677; Thu, 14 Apr 2022 05:03:45 -0700 Received: from mtkexhb01.mediatek.inc (172.21.101.102) by MTKMBS62DR.mediatek.inc (172.29.94.18) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 14 Apr 2022 04:53:54 -0700 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkexhb01.mediatek.inc (172.21.101.102) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 14 Apr 2022 19:53:41 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 14 Apr 2022 19:53:41 +0800 From: Allen-KH Cheng To: Ohad Ben-Cohen , Bjorn Andersson , Mathieu Poirier , Rob Herring , Matthias Brugger CC: Hsin-Yi Wang , , , , , , , Allen-KH Cheng Subject: [PATCH 0/2] remoteproc: mediatek: allow different SCP firmware names Date: Thu, 14 Apr 2022 19:53:37 +0800 Message-ID: <20220414115339.5536-1-allen-kh.cheng@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220414_050350_235344_3CF48C61 X-CRM114-Status: UNSURE ( 7.49 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org The SCP needs firmware which differs between platforms and SoCs. Add a new property "firmware-name" to allow the DT to specify the platform/board specific path to this firmware file. The firmware-name property is optional and the code falls back to the old filename if the property isn't present. Base on tag: next-20220412, linux-next/master Allen-KH Cheng (2): dt-bindings: remoteproc: mediatek: dd firmware-name property remoteproc: mediatek: allow reading firmware-name from DT Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml | 7 +++++++ drivers/remoteproc/mtk_scp.c | 7 ++++++- 2 files changed, 13 insertions(+), 1 deletion(-)