From mboxrd@z Thu Jan 1 00:00:00 1970 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 47EB2C433F5 for ; Tue, 19 Apr 2022 12:33:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244101AbiDSMg1 (ORCPT ); Tue, 19 Apr 2022 08:36:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243187AbiDSMgZ (ORCPT ); Tue, 19 Apr 2022 08:36:25 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8043323BE7; Tue, 19 Apr 2022 05:33:42 -0700 (PDT) X-UUID: 409254e9c4f44806b4e001b7e9d48663-20220419 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.4,REQID:f322f30e-9f3d-4a27-a4ab-ec81e400548a,OB:0,LO B:0,IP:0,URL:0,TC:0,Content:-20,EDM:0,RT:0,SF:0,FILE:0,RULE:Release_Ham,AC TION:release,TS:-20 X-CID-META: VersionHash:faefae9,CLOUDID:7c3f38f0-da02-41b4-b6df-58f4ccd36682,C OID:IGNORED,Recheck:0,SF:nil,TC:nil,Content:0,EDM:-3,File:nil,QS:0,BEC:nil X-UUID: 409254e9c4f44806b4e001b7e9d48663-20220419 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 444345288; Tue, 19 Apr 2022 20:33:34 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 19 Apr 2022 20:33:32 +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; Tue, 19 Apr 2022 20:33:32 +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 v3 0/2] remoteproc: mediatek: allow different SCP firmware names Date: Tue, 19 Apr 2022 20:33:29 +0800 Message-ID: <20220419123331.14377-1-allen-kh.cheng@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.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 remoteproc/linux.git, rproc-next (58b7c856519f) changes since v2:$ - use rproc_of_parse_firmware instead of of_property_read_string changes since v1: - fix a misspelled word in commit title Allen-KH Cheng (2): dt-bindings: remoteproc: mediatek: add firmware-name property remoteproc: mediatek: allow reading firmware-name from DT Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml | 7 +++++++ drivers/remoteproc/mtk_scp.c | 6 +++++- 2 files changed, 12 insertions(+), 1 deletion(-) -- 2.18.0 From mboxrd@z Thu Jan 1 00:00:00 1970 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 95604C433F5 for ; Tue, 19 Apr 2022 13:31:51 +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=Rxi4UskNPNgBqx5eDSAawE8++q4wddl4f0i2u2IaW2M=; b=vC7ylIbBDBbi/F tsqvlycVL04UX0H1GX1v6eLBssWuua80Xh/z/n4X+tFGav7VplBY8YxsvY8fGHBV1HEj5e8rDL1tw Z/ivahv5vMVEALugTaMAezsUV+1rmg3tq8M8X5rRWbUkl1G5vEGNxu8EqZ+wqRu7b/c+NQwlM5wqc paoL3QDwv33cVpHqD7o9+C2MOaiFWNS5zjxxDDOw+HFkhQxeXLx8L3Buf87WLuqPp0+EbTrux5gjB HQ61msf2bMkMblq8MaViNu1euqQB+m8j37ickgI65Ny7sRElNHVndLriX4EUg6mYubnft66U5uBrl aY3fBlNe1kxEJjU7LI7g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ngnxJ-003ruK-2E; Tue, 19 Apr 2022 13:31:45 +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 1ngn3A-003WMo-2q; Tue, 19 Apr 2022 12:33:46 +0000 X-UUID: 263238e2a7484098b2dbc99d6cdf9323-20220419 X-UUID: 263238e2a7484098b2dbc99d6cdf9323-20220419 Received: from mtkcas68.mediatek.inc [(172.29.94.19)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 827300936; Tue, 19 Apr 2022 05:33:36 -0700 Received: from mtkmbs07n1.mediatek.inc (172.21.101.16) by MTKMBS62DR.mediatek.inc (172.29.94.18) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 19 Apr 2022 05:33:34 -0700 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 19 Apr 2022 20:33:32 +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; Tue, 19 Apr 2022 20:33:32 +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 v3 0/2] remoteproc: mediatek: allow different SCP firmware names Date: Tue, 19 Apr 2022 20:33:29 +0800 Message-ID: <20220419123331.14377-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-20220419_053344_181403_F9DDAC13 X-CRM114-Status: UNSURE ( 9.14 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 remoteproc/linux.git, rproc-next (58b7c856519f) changes since v2:$ - use rproc_of_parse_firmware instead of of_property_read_string changes since v1: - fix a misspelled word in commit title Allen-KH Cheng (2): dt-bindings: remoteproc: mediatek: add firmware-name property remoteproc: mediatek: allow reading firmware-name from DT Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml | 7 +++++++ drivers/remoteproc/mtk_scp.c | 6 +++++- 2 files changed, 12 insertions(+), 1 deletion(-) -- 2.18.0 _______________________________________________ Linux-mediatek mailing list Linux-mediatek@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-mediatek From mboxrd@z Thu Jan 1 00:00:00 1970 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 43D5FC433EF for ; Tue, 19 Apr 2022 13:34:06 +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=kTakG/YXh9XZYRGGnUYtjf3wIrcrsbPT6lVf/hm5iDs=; b=tOrxKzbBcwVhEr UxB0ccMKZvE0GQOm/AgcdTGmz70P1YUcVOcMcu8mgpNCMdVAC8LfEoksvrN4z+vbwzojUj6hlT8Iv XpmTN8F8qTajgYQaH0+6PatmuHUcwxHWdiF96NZxJzXUlxb+//KJ+d59KJGxHVwdKq9Ws0nfHj3DF 0ZLj6HF6by6QZW0bbgEFtoGfYxYyKQiXDrIN/pL7C9zD1nDU3Fv9PLR6dkPxPib1ZeeS8TlNG1AS+ Xy364ok+I+/P7y0q7phRbZRE8kp1iuLMZRI6jks7nenJMAqAVvfDMICE0OddqBjQPZlBF1CQnzjnT +Plu2AHcsT3qju+E2pRg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ngnxO-003rwJ-Ow; Tue, 19 Apr 2022 13:31:51 +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 1ngn3A-003WMo-2q; Tue, 19 Apr 2022 12:33:46 +0000 X-UUID: 263238e2a7484098b2dbc99d6cdf9323-20220419 X-UUID: 263238e2a7484098b2dbc99d6cdf9323-20220419 Received: from mtkcas68.mediatek.inc [(172.29.94.19)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 827300936; Tue, 19 Apr 2022 05:33:36 -0700 Received: from mtkmbs07n1.mediatek.inc (172.21.101.16) by MTKMBS62DR.mediatek.inc (172.29.94.18) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 19 Apr 2022 05:33:34 -0700 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 19 Apr 2022 20:33:32 +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; Tue, 19 Apr 2022 20:33:32 +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 v3 0/2] remoteproc: mediatek: allow different SCP firmware names Date: Tue, 19 Apr 2022 20:33:29 +0800 Message-ID: <20220419123331.14377-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-20220419_053344_181403_F9DDAC13 X-CRM114-Status: UNSURE ( 9.14 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=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 remoteproc/linux.git, rproc-next (58b7c856519f) changes since v2:$ - use rproc_of_parse_firmware instead of of_property_read_string changes since v1: - fix a misspelled word in commit title Allen-KH Cheng (2): dt-bindings: remoteproc: mediatek: add firmware-name property remoteproc: mediatek: allow reading firmware-name from DT Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml | 7 +++++++ drivers/remoteproc/mtk_scp.c | 6 +++++- 2 files changed, 12 insertions(+), 1 deletion(-) -- 2.18.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel