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 CF7DCC636D4 for ; Mon, 13 Feb 2023 14:59:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=3KkFKkOiEYuutjHOz15H2PR7kUpfPFlhCR421af25fI=; b=FW93JHzTMrVExaidO5GDnXKrI3 KJ0tetrabZiurOVkL11nTS0GgWVvG77Qad4a3KjhWMbxVs+d8ahIKcUj7jF+i38yl0UYKCSEPYgqa 17ByUmUOPhS6R9825BnQMmOXtjK3IOidSJIKkRW68I0g/6Rnw9fLWqyJJpvaqChQDtY7FlRhpLZg+ dijlk2QuqTHuEqqH5mL/3xxdNb5QWX5rcm9VIaDjBI6zw32z83eedmmSO2XMaAIHyeGGTbXU8jiaz Q6G2e7p/fH9Va8ZTBJOI9BtBRa+mojhWNvZQdKOFH66+mcD2N8lNqZIgh1KZDbulIMkzquA7qoa5A ScKQJd9g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pRaIJ-00F4tm-4X; Mon, 13 Feb 2023 14:59:03 +0000 Received: from madras.collabora.co.uk ([46.235.227.172]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pRaI6-00F4l2-Bp; Mon, 13 Feb 2023 14:58:51 +0000 Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 8715D6602143; Mon, 13 Feb 2023 14:58:48 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1676300329; bh=GlHs18fNUrttNNSB3N8yeRwqf6SXxogII5LXG4D91q0=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=hCijmZqnjZUeDWhzsKYQ1G00WP/LoIo/0x6hNj3rbOQ4HE7FzVvrOoALQP0fzaiUT kFzDlP+KVxkSAv0aHAnkIp5UrEFipFArPUw6hEGWWQUccg4lk7iJBqPHC5t1SOOAM2 IfRoyyR/5Cu9FDkkeI1KFWQrCVPIAfbx3Y5CpmHRrD/jqGf+7uG7KwsJGzPDEDyTMY xnv6zr660akc5MxDmH8Yji65FNQd27T6rDT+sB8sLI1zJ2HEMdlzwca7yynXpswUHW QEmIObEoomX6IwMuIeH7oDPcCPsn9ZrKEchIY2idh7O4mWdg04fA4wlsnoE2FpBBxP 6hTYQbhs0TbzA== Message-ID: Date: Mon, 13 Feb 2023 15:58:46 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 Subject: Re: [PATCH v6 08/12] remoteproc: mediatek: Control SCP core 1 by rproc subdevice Content-Language: en-US To: Tinghan Shen , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Matthias Brugger Cc: linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Project_Global_Chrome_Upstream_Group@mediatek.com References: <20230213033758.16681-1-tinghan.shen@mediatek.com> <20230213033758.16681-9-tinghan.shen@mediatek.com> From: AngeloGioacchino Del Regno In-Reply-To: <20230213033758.16681-9-tinghan.shen@mediatek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230213_065850_576991_B660C513 X-CRM114-Status: UNSURE ( 8.26 ) 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 Il 13/02/23 04:37, Tinghan Shen ha scritto: > Register SCP core 1 as a subdevice of core 0 for the boot sequence > and watchdog timeout handling. The core 1 has to boot after core 0 > because the SCP clock and SRAM power is controlled by SCP core 0. > As for watchdog timeout handling, the remoteproc framework helps to > stop/start subdevices automatically when SCP driver receives watchdog > timeout event. > > Signed-off-by: Tinghan Shen Reviewed-by: AngeloGioacchino Del Regno