Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1723678lqa; Mon, 29 Apr 2024 18:16:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXPM3oZwpOFHYMK5DKMXFOpmZKHbAncPslS0UvhBQ7kI0Jp24P57kkCnK4rM63hhMJfogH0b/aoW0ZO/xN04E3etnMxSDSnpiT0v+iyKw== X-Google-Smtp-Source: AGHT+IFW9zifAbUX/iEtp3cQjdEB3WyxNkjAraj1jcXZUylbFS0O127FRZdUxF1YQFJZ+IWnqrmi X-Received: by 2002:a05:6a20:7fa0:b0:1a7:aabc:24ae with SMTP id d32-20020a056a207fa000b001a7aabc24aemr12658437pzj.18.1714439779060; Mon, 29 Apr 2024 18:16:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714439779; cv=pass; d=google.com; s=arc-20160816; b=KTBFYnaPTMv4ZKPdG+yR2e0l5hGOXOfpK83bTHwesPBc2XjmMwQk3FJH17QUsScimz +0g56ozLf0bWgJS4fnwEyqUR5q60O1+xD7ehG0HGLQSzLylQXFJjeM51oEsryMt0kyNq PEfvbFwPduZzotVrPVKxJpokxslF9jNqu+A9wVd07ANnph6IGq1F2YTfs9aTgK88NdKU Z8oD0ncD1hy78TJqFr+rWVkzv3L/N+Q0+T5QfUh9df9L7Yxo+WGbitoE7bqbWbJGE03l lK1ebIiMHGqP7/xtipth4DYJopQ+MN7OikmbC7iai/GiL7TkHk1/dyJY8aBhEHC/gQ7R 2rkw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=xNMGsxn0OLBsFm3paxlvV9TGcZk1pwxKTvl76HU1AYY=; fh=YFTJhbTGXbmHXT1wwgNkfV5mnWeF0DSMbgmNSXZYOUw=; b=rn78pfkfXMD2mB8HhkpJ/WfeXDprNgf11cqyP/QR1GrEAErrHq0WfmaSguBA6LX2AP pDCjcsbHBwYAetbZj/s/kGH2m1Niw2sPAZFSF0/IOSxWegYayfvmDTQGTZi+wEwIvNob LAc7x2Y4NL9YP8rLlnUb5xX/k8relHauRdhC1HquEEFw9TttiDXVscUuuy9O4l48Y2FR nIndht8ABRO7LLm4+aRY+nefuT4LDUvm8Od2vz6A18A8lLyq3PkQyM/YW1/1XnBu4o1h LT+W15TqyA/Lw85VJhTLbA0zL2xGTf1J12ButydOGbCsCfJSQOA8qNXH5o609C0vB3kd Uetg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Jx0ZHp4T; arc=pass (i=1 spf=pass spfdomain=mediatek.com dkim=pass dkdomain=mediatek.com dmarc=pass fromdomain=mediatek.com); spf=pass (google.com: domain of linux-kernel+bounces-163213-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163213-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id lm5-20020a170903298500b001e428195efasi3779477plb.453.2024.04.29.18.16.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 18:16:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-163213-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Jx0ZHp4T; arc=pass (i=1 spf=pass spfdomain=mediatek.com dkim=pass dkdomain=mediatek.com dmarc=pass fromdomain=mediatek.com); spf=pass (google.com: domain of linux-kernel+bounces-163213-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163213-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id B14BD285057 for ; Tue, 30 Apr 2024 01:16:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B96148BF6; Tue, 30 Apr 2024 01:16:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="Jx0ZHp4T" 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 6018F1870; Tue, 30 Apr 2024 01:15:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.61.82.184 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714439759; cv=none; b=Ypt2sgpwZHTLFHuW/UxR667KybDRs7Zfjvdqc75Qc64tQdFfzI/wyqlAJygI1LugKCqAD5YZwTYfqwUnAWh/jMjKU8wVsepvsCABtlCe56Y3v+ZZdStxE7GLsHVF9KsfE3fjVjbwUVWS72mPi//elFvO9Nam8j/soxKVdEiRXoM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714439759; c=relaxed/simple; bh=PXmCsMOPnCdopdBpQldAEM295KDNUdX3XLiFeNeMqAA=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=OFnjIKq762NpOAadlDB/kOjwHpjpmAUJgNQfDnLDI2YGiDwoEYon8d56+K/ZKTz6lm81cIrSba9W3yO9MDG9D73RhUWYMeC545/hodVeU1ac1bugwX0hqrRFKMNdsBSdpAMio/fdgJMKX9OpGAaLR45FDiBj3EMC/0xP/cZtZJE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com; spf=pass smtp.mailfrom=mediatek.com; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b=Jx0ZHp4T; arc=none smtp.client-ip=210.61.82.184 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mediatek.com X-UUID: 2f4f03fc068f11ef8065b7b53f7091ad-20240430 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=xNMGsxn0OLBsFm3paxlvV9TGcZk1pwxKTvl76HU1AYY=; b=Jx0ZHp4TAuOrXCkovZ5QWp5/GEWAkKnR8Dq7vNv6Yjk1+4jb++vIgyOW32YbRiGTQ3DnmBFSec80tl2goa2jjZLVLlT0v51w4NIbvdTSEOCjQmqddGSGVLY05aQQvAjFjHuoPHOQjy6j7b179m1Y+/O2wTjm9toonFvdr/El7f0=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.38,REQID:bfe900be-31a5-4240-b550-dbd0289a8125,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:82c5f88,CLOUDID:4c004383-4f93-4875-95e7-8c66ea833d57,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,RT:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0,LES:1, SPR:NO,DKR:0,DKP:0,BRR:0,BRE:0 X-CID-BVR: 0,NGT X-CID-BAS: 0,NGT,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR X-UUID: 2f4f03fc068f11ef8065b7b53f7091ad-20240430 Received: from mtkmbs14n1.mediatek.inc [(172.21.101.75)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1945480039; Tue, 30 Apr 2024 09:15:51 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.185) by MTKMBS09N1.mediatek.inc (172.21.101.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Tue, 30 Apr 2024 09:15:50 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Tue, 30 Apr 2024 09:15:50 +0800 From: Olivia Wen To: Bjorn Andersson , Mathieu Poirier , Rob Herring CC: Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Tinghan Shen , , , , , , , , , , Subject: [PATCH v4 4/4] remoteproc: mediatek: Add IMGSYS IPI command Date: Tue, 30 Apr 2024 09:15:34 +0800 Message-ID: <20240430011534.9587-5-olivia.wen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20240430011534.9587-1-olivia.wen@mediatek.com> References: <20240430011534.9587-1-olivia.wen@mediatek.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Add an IPI command definition for communication with IMGSYS through SCP mailbox. Signed-off-by: Olivia Wen --- include/linux/remoteproc/mtk_scp.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/remoteproc/mtk_scp.h b/include/linux/remoteproc/mtk_scp.h index 7c2b7cc9..344ff41 100644 --- a/include/linux/remoteproc/mtk_scp.h +++ b/include/linux/remoteproc/mtk_scp.h @@ -43,6 +43,7 @@ enum scp_ipi_id { SCP_IPI_CROS_HOST_CMD, SCP_IPI_VDEC_LAT, SCP_IPI_VDEC_CORE, + SCP_IPI_IMGSYS_CMD, SCP_IPI_NS_SERVICE = 0xFF, SCP_IPI_MAX = 0x100, }; -- 2.6.4