From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 620C17A for ; Thu, 9 Jun 2022 05:45:38 +0000 (UTC) X-UUID: c52a80f5c538460a9e680ebfb8ec7533-20220609 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.5,REQID:54d230bf-68ea-4de1-8396-6a5264a8b297,OB:0,LO B:0,IP:0,URL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,RULE:Release_Ham,ACTI ON:release,TS:0 X-CID-META: VersionHash:2a19b09,CLOUDID:32f8be7e-c8dc-403a-96e8-6237210dceee,C OID:IGNORED,Recheck:0,SF:nil,TC:nil,Content:0,EDM:-3,IP:nil,URL:0,File:nil ,QS:0,BEC:nil X-UUID: c52a80f5c538460a9e680ebfb8ec7533-20220609 Received: from mtkmbs10n2.mediatek.inc [(172.21.101.183)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 946602744; Thu, 09 Jun 2022 13:45:32 +0800 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Thu, 9 Jun 2022 13:45:30 +0800 Received: from mtksdccf07 (172.21.84.99) by mtkmbs11n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.3 via Frontend Transport; Thu, 9 Jun 2022 13:45:30 +0800 Message-ID: Subject: Re: [PATCH v2 0/9] Add support for MT8195 SCP 2nd core From: Tinghan Shen To: Bjorn Andersson , Mathieu Poirier , Rob Herring , "Krzysztof Kozlowski" , Matthias Brugger , Lee Jones , Benson Leung , Guenter Roeck , Sebastian Reichel , Daisuke Nojiri , Kees Cook , "Gustavo A. R. Silva" , Prashant Malani , "Enric Balletbo i Serra" CC: , , , , , , , Date: Thu, 9 Jun 2022 13:45:30 +0800 In-Reply-To: <20220608083553.8697-1-tinghan.shen@mediatek.com> References: <20220608083553.8697-1-tinghan.shen@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 Precedence: bulk X-Mailing-List: chrome-platform@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-MTK: N On Wed, 2022-06-08 at 16:35 +0800, Tinghan Shen wrote: > The mediatek remoteproc driver currently only allows bringing up a > single core SCP, e.g. MT8183. It also only bringing up the 1st > core in SoCs with a dual-core SCP, e.g. MT8195. This series support > to bring-up the 2nd core of the dual-core SCP. Add missing change log. v1 -> v2: 1. update dt-binding property description 2. remove kconfig for scp dual driver 3. merge mtk_scp_dual.c and mtk_scp_subdev.c to mtk_scp.c Regards, TingHan > > Tinghan Shen (9): > dt-binding: remoteproc: mediatek: Support dual-core SCP > remoteproc: mediatek: Support hanlding scp core 1 wdt timeout > remoteproc: mediatek: Add SCP core 1 register definitions > remoteproc: mediatek: Support probing for the 2nd core of dual-core > SCP > remoteproc: mediatek: Add chip dependent operations for SCP core 1 > remoteproc: mediatek: Add SCP core 1 SRAM offset > remoteproc: mediatek: Add SCP core 1 as a rproc subdevice > remoteproc: mediatek: Wait SCP core 1 probe done > mfd: cros_ec: Add SCP core 1 as a new CrOS EC MCU > > .../bindings/remoteproc/mtk,scp.yaml | 13 + > drivers/mfd/cros_ec_dev.c | 5 + > drivers/remoteproc/mtk_common.h | 35 ++ > drivers/remoteproc/mtk_scp.c | 322 +++++++++++++++++- > .../linux/platform_data/cros_ec_commands.h | 2 + > include/linux/platform_data/cros_ec_proto.h | 1 + > 6 files changed, 375 insertions(+), 3 deletions(-) > 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 DD073C43334 for ; Thu, 9 Jun 2022 05:55:56 +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:References:In-Reply-To: Date:CC:To:From:Subject:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=jqDxIIi3eq5klt8hXhC4wfgtwWgl4tyi2hxf9Zy2rCM=; b=uvwgFuvHDm7tR8 zL+WtNDAJkL2fcZj2D0cxmEdyqXBiRDQJZmA9CBnua13WgZc/0gFOWtz5Sk1FopWilrsGQNyIGYT/ 6avf2oxEFs5cvKW3we0Y+KP4SDWPk6V5NmNPy33pIynL8gSVdKdwQ+wJJrC2b0IBjoCg+6IltXbNE ehihGyAYfYdE0H09o7vHj2XaL1P8hcBCTtbMhZfRk6lChGc26VJxkTMxkjYLXQcx5/OgiH+d8ctPh /LEw+KmpoYkffkQrAtwFMl9TjkhP3qp9ItjmVFhRAvXy0uOHv2rkgWd0HeHnLimD8gmemZRNY22iU ZqgSDH/rl/OjhmhWrkBQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nzB90-00Gtfg-Ci; Thu, 09 Jun 2022 05:55:46 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nzB8w-00GteI-NZ; Thu, 09 Jun 2022 05:55:45 +0000 X-UUID: b1f0784a4b3345e5aae3049d82a3c7d1-20220608 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.5,REQID:ee66bb74-864b-483d-bd58-a5407a1fc049,OB:0,LO B:0,IP:0,URL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,RULE:Release_Ham,ACTI ON:release,TS:0 X-CID-META: VersionHash:2a19b09,CLOUDID:732935e5-2ba2-4dc1-b6c5-11feb6c769e0,C OID:IGNORED,Recheck:0,SF:nil,TC:nil,Content:0,EDM:-3,IP:nil,URL:0,File:nil ,QS:0,BEC:nil X-UUID: b1f0784a4b3345e5aae3049d82a3c7d1-20220608 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1227489357; Wed, 08 Jun 2022 22:55:34 -0700 Received: from mtkmbs10n1.mediatek.inc (172.21.101.34) by MTKMBS62N2.mediatek.inc (172.29.193.42) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 8 Jun 2022 22:45:32 -0700 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Thu, 9 Jun 2022 13:45:30 +0800 Received: from mtksdccf07 (172.21.84.99) by mtkmbs11n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.3 via Frontend Transport; Thu, 9 Jun 2022 13:45:30 +0800 Message-ID: Subject: Re: [PATCH v2 0/9] Add support for MT8195 SCP 2nd core From: Tinghan Shen To: Bjorn Andersson , Mathieu Poirier , Rob Herring , "Krzysztof Kozlowski" , Matthias Brugger , Lee Jones , Benson Leung , "Guenter Roeck" , Sebastian Reichel , Daisuke Nojiri , Kees Cook , "Gustavo A. R. Silva" , Prashant Malani , "Enric Balletbo i Serra" CC: , , , , , , , Date: Thu, 9 Jun 2022 13:45:30 +0800 In-Reply-To: <20220608083553.8697-1-tinghan.shen@mediatek.com> References: <20220608083553.8697-1-tinghan.shen@mediatek.com> X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220608_225542_823624_E732468E X-CRM114-Status: GOOD ( 13.89 ) 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 On Wed, 2022-06-08 at 16:35 +0800, Tinghan Shen wrote: > The mediatek remoteproc driver currently only allows bringing up a > single core SCP, e.g. MT8183. It also only bringing up the 1st > core in SoCs with a dual-core SCP, e.g. MT8195. This series support > to bring-up the 2nd core of the dual-core SCP. Add missing change log. v1 -> v2: 1. update dt-binding property description 2. remove kconfig for scp dual driver 3. merge mtk_scp_dual.c and mtk_scp_subdev.c to mtk_scp.c Regards, TingHan > > Tinghan Shen (9): > dt-binding: remoteproc: mediatek: Support dual-core SCP > remoteproc: mediatek: Support hanlding scp core 1 wdt timeout > remoteproc: mediatek: Add SCP core 1 register definitions > remoteproc: mediatek: Support probing for the 2nd core of dual-core > SCP > remoteproc: mediatek: Add chip dependent operations for SCP core 1 > remoteproc: mediatek: Add SCP core 1 SRAM offset > remoteproc: mediatek: Add SCP core 1 as a rproc subdevice > remoteproc: mediatek: Wait SCP core 1 probe done > mfd: cros_ec: Add SCP core 1 as a new CrOS EC MCU > > .../bindings/remoteproc/mtk,scp.yaml | 13 + > drivers/mfd/cros_ec_dev.c | 5 + > drivers/remoteproc/mtk_common.h | 35 ++ > drivers/remoteproc/mtk_scp.c | 322 +++++++++++++++++- > .../linux/platform_data/cros_ec_commands.h | 2 + > include/linux/platform_data/cros_ec_proto.h | 1 + > 6 files changed, 375 insertions(+), 3 deletions(-) > _______________________________________________ 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 B20D7C433EF for ; Thu, 9 Jun 2022 05:56: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:References:In-Reply-To: Date:CC:To:From:Subject:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=DpK9mgNO49QfOF+eKNz6nlZHFqaC5vF0HRknGhYc+W0=; b=v3rp6E7/fG+d9v NgJxgKuon7Yta8gvQqm2DIwXYEtCkzAcKIsUPUGsrLmz22HbfCM0G5OQvFKBLYubBZ8rnCDUMHiN1 0TaL2v1buB8A5YjyRD4jrl43HUx4paGz+6rkh/wlCZX15loJU+nnUX/Oxwm0fdIWz4XDhJ7ZEO8us b1+QEiqK20w0Ut5cqW0AKzIBnQBM7aZYD+kuQTOtvFxE+gAAO2fnGjV/FoCIQ5XyPMx8t15gaDZV/ /KujORscqyyTA/mIU3DetNxewlqJnCvzIrI9KWooVHztclMkUqOGscCpVChnytYbV+sT6DPGLPHlc sGaMyI97mPaCcEvL3llA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nzB91-00Gtfo-HF; Thu, 09 Jun 2022 05:55:47 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nzB8w-00GteI-NZ; Thu, 09 Jun 2022 05:55:45 +0000 X-UUID: b1f0784a4b3345e5aae3049d82a3c7d1-20220608 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.5,REQID:ee66bb74-864b-483d-bd58-a5407a1fc049,OB:0,LO B:0,IP:0,URL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,RULE:Release_Ham,ACTI ON:release,TS:0 X-CID-META: VersionHash:2a19b09,CLOUDID:732935e5-2ba2-4dc1-b6c5-11feb6c769e0,C OID:IGNORED,Recheck:0,SF:nil,TC:nil,Content:0,EDM:-3,IP:nil,URL:0,File:nil ,QS:0,BEC:nil X-UUID: b1f0784a4b3345e5aae3049d82a3c7d1-20220608 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1227489357; Wed, 08 Jun 2022 22:55:34 -0700 Received: from mtkmbs10n1.mediatek.inc (172.21.101.34) by MTKMBS62N2.mediatek.inc (172.29.193.42) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 8 Jun 2022 22:45:32 -0700 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Thu, 9 Jun 2022 13:45:30 +0800 Received: from mtksdccf07 (172.21.84.99) by mtkmbs11n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.3 via Frontend Transport; Thu, 9 Jun 2022 13:45:30 +0800 Message-ID: Subject: Re: [PATCH v2 0/9] Add support for MT8195 SCP 2nd core From: Tinghan Shen To: Bjorn Andersson , Mathieu Poirier , Rob Herring , "Krzysztof Kozlowski" , Matthias Brugger , Lee Jones , Benson Leung , "Guenter Roeck" , Sebastian Reichel , Daisuke Nojiri , Kees Cook , "Gustavo A. R. Silva" , Prashant Malani , "Enric Balletbo i Serra" CC: , , , , , , , Date: Thu, 9 Jun 2022 13:45:30 +0800 In-Reply-To: <20220608083553.8697-1-tinghan.shen@mediatek.com> References: <20220608083553.8697-1-tinghan.shen@mediatek.com> X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220608_225542_823624_E732468E X-CRM114-Status: GOOD ( 13.89 ) 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 On Wed, 2022-06-08 at 16:35 +0800, Tinghan Shen wrote: > The mediatek remoteproc driver currently only allows bringing up a > single core SCP, e.g. MT8183. It also only bringing up the 1st > core in SoCs with a dual-core SCP, e.g. MT8195. This series support > to bring-up the 2nd core of the dual-core SCP. Add missing change log. v1 -> v2: 1. update dt-binding property description 2. remove kconfig for scp dual driver 3. merge mtk_scp_dual.c and mtk_scp_subdev.c to mtk_scp.c Regards, TingHan > > Tinghan Shen (9): > dt-binding: remoteproc: mediatek: Support dual-core SCP > remoteproc: mediatek: Support hanlding scp core 1 wdt timeout > remoteproc: mediatek: Add SCP core 1 register definitions > remoteproc: mediatek: Support probing for the 2nd core of dual-core > SCP > remoteproc: mediatek: Add chip dependent operations for SCP core 1 > remoteproc: mediatek: Add SCP core 1 SRAM offset > remoteproc: mediatek: Add SCP core 1 as a rproc subdevice > remoteproc: mediatek: Wait SCP core 1 probe done > mfd: cros_ec: Add SCP core 1 as a new CrOS EC MCU > > .../bindings/remoteproc/mtk,scp.yaml | 13 + > drivers/mfd/cros_ec_dev.c | 5 + > drivers/remoteproc/mtk_common.h | 35 ++ > drivers/remoteproc/mtk_scp.c | 322 +++++++++++++++++- > .../linux/platform_data/cros_ec_commands.h | 2 + > include/linux/platform_data/cros_ec_proto.h | 1 + > 6 files changed, 375 insertions(+), 3 deletions(-) > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel