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 B6274F43689 for ; Fri, 17 Apr 2026 10:05:58 +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:References:In-Reply-To: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:List-Owner; bh=u6xZL7lFVWCqmNfDPYp/aLr84Apyp47O9jK3siTcALs=; b=p111qOm6WVd/7nA++8APjM+m0J 1+i5VA65ItZgGpr+NPo0TndhNg18mTtssC9hAo0jhLJf05OB74lr5sAC6cGhZ4epjxcZLJDZ2hDKF oiV/HjO7LDiQ/BOXMigOqgr6F2kKTmNDTD3bGzCOkQq++jed6gJ36usi4Ufd7+yyXa+C8y8Ga0hHW 6IJzTGCntJCkHn7ESo3wvVhMWXC4FOsQ42YwTbgf8UvSurVv+PlkIaW5ANzF5bdGB5t2ypm4C+3nR bUAb/onBLvSPUWuya3CpnsN1FyA8TjuIxOQp1vfMGkpV/BvGdXueVJx1KFm8AxInqYmScuy0OujK8 AnQI2fxg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1wDg58-00000003sJL-2sMs; Fri, 17 Apr 2026 10:05:50 +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 1wDg54-00000003sHl-3oCT; Fri, 17 Apr 2026 10:05:48 +0000 X-UUID: fe1f291a3a4411f1a6de359d7043e138-20260417 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:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=u6xZL7lFVWCqmNfDPYp/aLr84Apyp47O9jK3siTcALs=; b=npgQvWrqGHByiCFxGCi2xlBrZFSTJgKmLi0Pw6v6OYb8K4SXwVT0SCYO42rUN6PeJlB0izYcHg5qfsBRF3ps2z53k+O78aNfWfCxOdQDQZ9lnwuJz5mAMqZ3mAqNxFTiyTnG4L+CB1DhYWB5l+kTUllJ/YA/W3o805IaJQFP408=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.3.12,REQID:359d4aa1-caf4-4f9a-8354-610b92a4cd25,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:e7bac3a,CLOUDID:963d8a8f-6df4-4a3d-a7a4-fbdc42d669ce,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:81|82|102|836|865|888|898,TC:-5,Cont ent:0|15|50,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: fe1f291a3a4411f1a6de359d7043e138-20260417 Received: from mtkmbs14n2.mediatek.inc [(172.21.101.76)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1253122846; Fri, 17 Apr 2026 03:05:42 -0700 Received: from mtkmbs11n1.mediatek.inc (172.21.101.185) by MTKMBS14N1.mediatek.inc (172.21.101.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.29; Fri, 17 Apr 2026 18:05:39 +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; Fri, 17 Apr 2026 18:05:38 +0800 From: Jianhua Lin To: , , , , , , CC: , , , , , , , , , Jianhua Lin Subject: [PATCH v7 2/3] dt-bindings: media: mediatek-jpeg-encoder: add MT8189 compatible string Date: Fri, 17 Apr 2026 18:05:18 +0800 Message-ID: <20260417100519.1043-3-jianhua.lin@mediatek.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20260417100519.1043-1-jianhua.lin@mediatek.com> References: <20260417100519.1043-1-jianhua.lin@mediatek.com> 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-20260417_030546_947489_B6D52AA6 X-CRM114-Status: UNSURE ( 9.80 ) X-CRM114-Notice: Please train this message. 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 Add the compatible string for the JPEG encoder block found in the MediaTek MT8189 SoC. Unlike some previous SoCs, the MT8189 JPEG encoder requires 34-bit IOVA address space support. Therefore, it is added as a standalone compatible string without falling back to the generic "mediatek,mtk-jpgenc" to ensure the driver applies the correct hardware-specific configurations. Signed-off-by: Jianhua Lin --- .../bindings/media/mediatek-jpeg-encoder.yaml | 29 +++++++++++++++---- 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/media/mediatek-jpeg-encoder.yaml b/Documentation/devicetree/bindings/media/mediatek-jpeg-encoder.yaml index 5b15f8977f67..690775dbb1ec 100644 --- a/Documentation/devicetree/bindings/media/mediatek-jpeg-encoder.yaml +++ b/Documentation/devicetree/bindings/media/mediatek-jpeg-encoder.yaml @@ -14,13 +14,16 @@ description: |- properties: compatible: - items: + oneOf: - enum: - - mediatek,mt2701-jpgenc - - mediatek,mt8183-jpgenc - - mediatek,mt8186-jpgenc - - mediatek,mt8188-jpgenc - - const: mediatek,mtk-jpgenc + - mediatek,mt8189-jpgenc + - items: + - enum: + - mediatek,mt2701-jpgenc + - mediatek,mt8183-jpgenc + - mediatek,mt8186-jpgenc + - mediatek,mt8188-jpgenc + - const: mediatek,mtk-jpgenc reg: maxItems: 1 @@ -34,6 +37,10 @@ properties: items: - const: jpgenc + mediatek,larb: + $ref: /schemas/types.yaml#/definitions/phandle + description: a phandle to the smi_larb node. + power-domains: maxItems: 1 @@ -54,6 +61,16 @@ required: - power-domains - iommus +allOf: + - if: + properties: + compatible: + contains: + const: mediatek,mt8189-jpgenc + then: + required: + - mediatek,larb + additionalProperties: false examples: -- 2.45.2