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 755FF1061B19 for ; Tue, 31 Mar 2026 00:55:26 +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-Type: Content-Transfer-Encoding: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=vFwqgpylvbY9Gk3NKTjirwo2BcZWyk8OLu8l0+J01nU=; b=BZ7Umvhxqr6K/3v81POjM6mvR0 y5pGONjHSf5HRhkWmRyjou/+vjnroerBPOBVfQbLKlB9LBk+y8Nby0XyudsFsvRX84lx4zrbVDOjb ThSXSEP8ExrWDDXpvkPdwTl3JmE7PK8wT5x0N2FbiGVddxW9twHmhLkK9J8ORBBw8oo/6kgm1qso5 taSwcS2cETfr02bjrLv1FNhy4c1L8jyuP+MeG44zVTspLfYVATeGyregK/Ybi1q32+gCsQfMvZsQE Xn5kiBkCxO8OUTegnA2fYxk/G3YGEp295pEw3Fef8D61p/+3CSym9rEW+dwB72G+kmH7Ho+UGF754 vI7aji8A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1w7NO2-0000000C6I2-3GWb; Tue, 31 Mar 2026 00:55:18 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1w7NNz-0000000C6FL-3yF7; Tue, 31 Mar 2026 00:55:17 +0000 X-UUID: 43f148c62c9c11f1a6de359d7043e138-20260330 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=vFwqgpylvbY9Gk3NKTjirwo2BcZWyk8OLu8l0+J01nU=; b=VNITDEKYnZedyVxTO5b9BDNY9iuDowJbyrntzcpP9rAQM9E3XNR06XHEqtuCy8mqPEt471Mk2kh9F+dq6BQAn8prMBFACv5NddH3p5UV5DlHwM+Z/xMTz5X1+yDJ7tmMUReM2IIUIaAO2xoaRTjn04ZiqMElx0v4xVSC/z7rPE4=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.3.12,REQID:98710795-9aa8-42f6-a86a-a1d0f31fa651,IP:0,U RL:0,TC:0,Content:-5,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:-5 X-CID-META: VersionHash:e7bac3a,CLOUDID:da3150d5-060f-4ecc-9ee0-121eeeb4a682,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102|836|888|898,TC:-5,Content:0|15|5 0,EDM:-3,IP:nil,URL:0,File:130,RT:0,Bulk:nil,QS:nil,BEC:-1,COL:0,OSI:0,OSA :0,AV:0,LES:1,SPR:NO,DKR:0,DKP:0,BRR:0,BRE:0,ARC:0 X-CID-BVR: 2,SSN|SDN X-CID-BAS: 2,SSN|SDN,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR X-CID-RHF: D41D8CD98F00B204E9800998ECF8427E X-UUID: 43f148c62c9c11f1a6de359d7043e138-20260330 Received: from mtkmbs13n2.mediatek.inc [(172.21.101.108)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1584347210; Mon, 30 Mar 2026 17:55:09 -0700 Received: from mtkmbs11n1.mediatek.inc (172.21.101.185) 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.2562.29; Tue, 31 Mar 2026 08:55:06 +0800 Received: from mhfsdcap04.gcn.mediatek.inc (10.17.3.154) by mtkmbs11n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.2562.29 via Frontend Transport; Tue, 31 Mar 2026 08:55:05 +0800 From: Jianhua Lin To: , , , , , , CC: , , , , , , , , , Jianhua Lin Subject: [PATCH v5 0/3] Mediatek MT8189 JPEG support Date: Tue, 31 Mar 2026 08:54:55 +0800 Message-ID: <20260331005458.24010-1-jianhua.lin@mediatek.com> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260330_175515_988523_6ED448AA X-CRM114-Status: GOOD ( 10.56 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series is based on tag: next-20260327, linux-next/master Changes compared with v4: - Refines the device tree bindings for JPEG decoder and encoder. - Patches 1/3 (dt-bindings: decoder): Moved the standalone compatible string mediatek,mt8189-jpgdec into the first oneOf entry along with mt2701 and mt8173, as suggested by Rob Herring. This correctly groups all independent ICs and removes the redundant items wrapper. - Patches 2/3 (dt-bindings: encoder): Applied the same logic suggested by Rob Herring to the encoder binding. Restructured the compatible property to clearly distinguish between the standalone IC (mediatek,mt8189-jpgenc) and the ICs that must fallback to mediatek,mtk-jpgenc. Changes compared with v3: - The v4 is resending the cover-letter, because the v3 cover-letter was not sent successfully. Changes compared with v2: - Dropped the dts patch (arm64: dts: mt8188: update JPEG encoder/decoder compatible) as it belongs to a different tree/series. - Patches 1/3 (dt-bindings: decoder): - Changed the MT8189 compatible to be a standalone `const` instead of an `enum`. - Added an `allOf` block with conditional checks to enforce the single clock ("jpgdec") requirement for MT8189, while preserving the two-clock requirement for older SoCs. - Updated commit message to reflect the schema structure changes and hardware differences. - Patches 2/3 (dt-bindings: encoder): - Changed the MT8189 compatible to be a standalone `const` instead of an `enum` inside the `items` list, as it does not fallback to "mediatek,mtk-jpgenc" due to 34-bit IOVA requirements. - Updated commit message to explain the standalone compatible design. - Patches 3/3 (media: mediatek: jpeg): - Refined commit message for better clarity regarding 34-bit IOVA and single clock configuration. Changes compared with v1: - Patches 1/4: - Updating commit message - Patches 2/4, 3/4: - Updating commit message - Adjusted property descriptions acorrding to hardware requirements - Improved formatting for better readability and consistency - Patches 4/4: - Updating commit message Jianhua Lin (3): dt-bindings: media: mediatek-jpeg-decoder: add MT8189 compatible string dt-bindings: media: mediatek-jpeg-encoder: add MT8189 compatible string media: mediatek: jpeg: add compatible for MT8189 SoC .../bindings/media/mediatek-jpeg-decoder.yaml | 44 +++++++++++++++---- .../bindings/media/mediatek-jpeg-encoder.yaml | 19 +++++--- .../platform/mediatek/jpeg/mtk_jpeg_core.c | 44 +++++++++++++++++++ 3 files changed, 93 insertions(+), 14 deletions(-) -- 2.45.2