From patchwork Thu May 19 08:16:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?S3lyaWUgV3UgKOWQtOaZlyk=?= X-Patchwork-Id: 12854667 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 C9433C433EF for ; Thu, 19 May 2022 08:27:33 +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=oX7Ok7pB/BHgUGXBchWPGM9e0ibA7oxAwLrdOernM+E=; b=H1jFG4u3bIlZlZ I73NXJyl0sjw/GN9WU8dHRrq6ETBKb3StrJvyCJ6W78wpWxkhjk0OzxS23C4ontGpwTFgywlx4gwR ieaIZlW8QR6RA74AHa7kUqtM+NSaRMEiBUxK/KC8Selr1QzluuTex9poq3yx5CB0l/JhjS60/Oxfp TEF0KMyV7Wy3NK80SFHVnNOr1XnK6tOaFhFmakpgxoU2pCpuwPeUIwO9E5IZ2eXy2YRuBXdPMLqWm tH7MbZ9eSqy/Ey6OaSHfN/Cjd8HrSY0ar0kuUN6DWpj+QjYZNNtnpWh1bshYqAhlqQpLblkcd+WHd jhZB0AZJWpHYuNKGpLhg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nrbVI-005pnV-EH; Thu, 19 May 2022 08:27:28 +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 1nrbUI-005pL9-OI; Thu, 19 May 2022 08:26:28 +0000 X-UUID: 281448c839c54901884c398cc36e2beb-20220519 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.5, REQID:8a1fc7c9-28f8-40e8-af8e-1c6d31d1a2f5, 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:cb7ec7e2-edbf-4bd4-8a34-dfc5f7bb086d, 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: 281448c839c54901884c398cc36e2beb-20220519 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 1584233742; Thu, 19 May 2022 01:26:21 -0700 Received: from mtkmbs07n1.mediatek.inc (172.21.101.16) by MTKMBS62N2.mediatek.inc (172.29.193.42) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 19 May 2022 01:16:20 -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; Thu, 19 May 2022 16:16:19 +0800 Received: from localhost.localdomain (10.17.3.154) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 19 May 2022 16:16:17 +0800 From: kyrie.wu To: Hans Verkuil , Mauro Carvalho Chehab , Rob Herring , Matthias Brugger , Tzung-Bi Shih CC: , , , , , , Tomasz Figa , , , kyrie wu , Subject: [V1,0/2] Enable hardware jpeg encoder for MT8186 Date: Thu, 19 May 2022 16:16:12 +0800 Message-ID: <1652948174-7123-1-git-send-email-kyrie.wu@mediatek.com> X-Mailer: git-send-email 2.6.4 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220519_012626_863380_371C5865 X-CRM114-Status: UNSURE ( 9.49 ) 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 From: kyrie wu This series adds support for MT8186 hardware jpeg encoding. This series has been tested with both MT8186. Encoding worked for this chip. Patches 1 Adds jpeg encoder dt-bindings for mt8186 Patches 2 set bit mask for jpegenc. kyrie wu (2): media: media: jpegenc: add mediatek,mt8186-jpgenc compatible media: media: jpegenc: set bit mask for jpegenc .../devicetree/bindings/media/mediatek-jpeg-encoder.yaml | 1 + drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.c | 3 +++ 2 files changed, 4 insertions(+)