Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp165646lqd; Tue, 23 Apr 2024 20:04:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVNruuuICBgMkBNkuLpdh/M7pDEWQrsPUApH7OW35XkYxtr9i6cz63td/yA/7cYj7ov9mnCfsbwo2a05TP5vumsdGGP4Yt2wlfnByXydA== X-Google-Smtp-Source: AGHT+IFLiADVPqYZMOdzdYKNNVnnY1x5eBh9sZNgcIrPCtqsI+KO1cOj2rapYFtMLOamVr3GOhVJ X-Received: by 2002:a0c:e991:0:b0:6a0:6676:f1c8 with SMTP id z17-20020a0ce991000000b006a06676f1c8mr1210168qvn.59.1713927872772; Tue, 23 Apr 2024 20:04:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713927872; cv=pass; d=google.com; s=arc-20160816; b=Stl4ifaaA0KBUFOkB/3kb1eW4uKWQiLCGo7W0XrV/WvFsLLwqZrYX9NqwABVUWcWGn EsbQBv90Hxm/Vo8lPO++zoL/1ybe0YXyocMyh+oQ8TqfmNmRPTY+HKJJGOxNJlIyFZc3 al3QG228dlRV61R7TM5uF37rRbbynslsjMpdLnDqt7ZRUo8hFEsoOd80T7/gCW5OtxWB y/Eadb8MypXEzKJBC0qY8b8H5tyAqAI8LBDWONg+zMjzx30FwR1u/jN+mKQcxpAwUA3d AXE2qDuK+gVRjI7b/mLEV9WWv3XptqcI2a/DfDuHrQa6F/hFqHwuoJFTM27t+uCBCzeI 4Rpg== 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=tPXp6IY8q3S8Hp5LeJ8kB7ewIichTuen82oH0ZHu/V4=; fh=YFTJhbTGXbmHXT1wwgNkfV5mnWeF0DSMbgmNSXZYOUw=; b=cA7kRjSrdwjcvYxYIr9ZA8SWqwO0pIANDdPFU7xRZMeNlejXl8HrF+zu9UtNtDi5Sm QjsqOUWWS1bmtqGtLt8jJGIl5HUjyzOR1xMhXX2FcFbXGj6JuxdfZmlG8mxKaUUJH/zp DxMEtaCIVMcsLE/TLcJOnVheaIxv4TgjcqIVRGvtJy7MCK/FNuYcdJydtsq8+Gyy0bk6 VKsKG5ZozWLKJmf5noyem0aBjyclGPoRATI+bQ12kxVQTyBpYHlfVydro8FVDo+e0s4/ trWTKs5LWlA9BJjBOi1v+l1XmBV4GJ1YD/0APs3kCHx81y5864/lG9cWZS543qqpTAGA jNGQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="d/pzYgQ/"; 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-156190-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156190-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id fq11-20020a056214258b00b0069d4ff383fasi14184461qvb.95.2024.04.23.20.04.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 20:04:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-156190-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="d/pzYgQ/"; 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-156190-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156190-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 73D231C2272E for ; Wed, 24 Apr 2024 03:04:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D2F94128368; Wed, 24 Apr 2024 03:04:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="d/pzYgQ/" Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) (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 6B936BE4D; Wed, 24 Apr 2024 03:04:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=60.244.123.138 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713927866; cv=none; b=mlYKPw2XBbDrHXSfS8dS3DO7kWK+fhNtOxcBlaVA57S8MybV/grzKTjnbw45HSYsCRLqSwlBZw/DwF9jb0rb60EgF0Y+3YddHpEJAk769xW5Ft9wLfVU/bPlkncNdTu/RCMHz+wctbqgWHScSEpd75GnfkCVMg7Vx7bkvvRuUI8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713927866; c=relaxed/simple; bh=NyoI49MiWu2JlRuAZES9nkxzwWJr3057uoRzCMLHTn4=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Ks+KdSGkzcSo47OSldfOhLhh4HmzUdCymOxnzvBTZ/SDrCi6El0cwi2fWQRL7yn2Bzo0NXBfl4m9cc43fUd/2b7Gebn7A9RCvpX9X0/tctC3MgVN/zCIJNhSbCTX/AJAXWoFM3wW5FHMpiMvRM75GWVm2Sf/uVa/VoqtkfQm+OQ= 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=d/pzYgQ/; arc=none smtp.client-ip=60.244.123.138 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: 56a58bf801e711efb8927bc1f75efef4-20240424 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=tPXp6IY8q3S8Hp5LeJ8kB7ewIichTuen82oH0ZHu/V4=; b=d/pzYgQ/3xm+oYyIDMxtf0oK/jQKCNTdWQh3upyHFlI48nr65qFZ7+3QwgrCvEFg5PxBkUYZxkX2rsQn8WSnxgEzgDAmN2IL3w0MjSV1H1DAftWuTqv02nLQTAyjUto1tIS/2hl8fOsfiAG2uSHQ/0XY1/Sr6VmzxiIeUVo2Atc=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.38,REQID:769782ce-816f-49d5-9c98-fded8ffef277,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:b7f40983-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 X-CID-BAS: 0,_,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR X-UUID: 56a58bf801e711efb8927bc1f75efef4-20240424 Received: from mtkmbs10n1.mediatek.inc [(172.21.101.34)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1973307455; Wed, 24 Apr 2024 11:04:17 +0800 Received: from mtkmbs13n2.mediatek.inc (172.21.101.108) 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; Wed, 24 Apr 2024 11:04:16 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Wed, 24 Apr 2024 11:04:16 +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 v3 4/4] media: mediatek: imgsys: Support image processing Date: Wed, 24 Apr 2024 11:03:51 +0800 Message-ID: <20240424030351.5294-5-olivia.wen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20240424030351.5294-1-olivia.wen@mediatek.com> References: <20240424030351.5294-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 Integrate the imgsys core architecture driver for image processing on the MT8188 platform. 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