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 4AB77C43458 for ; Thu, 9 Jul 2026 03:27:54 +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=2BRD1Gp5164QiUOR5PbsNTFChT5+p1uqHNWdI1JbBIY=; b=Zmi5DtTRzvjdTzMjhaDhX5ui36 7g1mhh5Gk6cW3G4bHmS+f92plmTsjKptMW+9WvVj28L2hwiDUIflawEb5rbEThmMpdBf1BUFCTFxS cFKVGQxV6pgXCTWNujL6aXr6fkozHu56uspClSIBnoMB580AkolvSL6Mrx8LYH34IoM59oYvxGaa5 KsJ+uhC0tP8BaAXIYowWXcAQIhU528oVdg5JrBMcFUMrY7AD2z/mPl5lkpdPfOzcjXfnl50MUi9Lw FTm5SZ/nQFZQC10AxJR+rVGhEPNGzhBIHlozszCeFNsLd1/zQuIFEBjlWn7Fc/TngFTNZrPE5kFUV QT/+i9ug==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1whfQS-00000000tYx-0oTe; Thu, 09 Jul 2026 03:27:48 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1whfQN-00000000tVD-0maX; Thu, 09 Jul 2026 03:27:44 +0000 X-UUID: 22461c587b4611f1afed4741b24580c9-20260708 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=2BRD1Gp5164QiUOR5PbsNTFChT5+p1uqHNWdI1JbBIY=; b=PY/RdAaZrihxJ4/2tJgAFtExHe1vYU5WhKTXESeKQy54i8UqMkmdm3KUYROe4c/2LFZQstG76b1GCNSgrNXYAoOSxDzPpkkQMPtbs8167eSbInMs9MyU4dD1XFwrJAZaV4E5kPwI+B4go6cVq1fnbz1CWkQe4XFUGZ8ZhDH/TOQ=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.3.17,REQID:89b674f9-76ad-403a-82ef-d414ad3bcda3,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:d497b38,CLOUDID:c93a2158-fac4-43c3-afe2-1defadc905cc,B ulkID:nil,BulkQuantity:0,SF:81|82|102|836|865|888|898,TC:-5,Content:0|15|5 0|99|100|102|156,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: 22461c587b4611f1afed4741b24580c9-20260708 Received: from mtkmbs11n1.mediatek.inc [(172.21.101.185)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 919560420; Wed, 08 Jul 2026 20:27:37 -0700 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) 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; Thu, 9 Jul 2026 11:27:34 +0800 Received: from mhfsdcap04.gcn.mediatek.inc (10.17.3.154) by mtkmbs13n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.2562.29 via Frontend Transport; Thu, 9 Jul 2026 11:27:34 +0800 From: Jianhua Lin To: , , , , , , CC: , , , , , , , , , Jianhua Lin Subject: [PATCH v9 2/3] dt-bindings: media: mediatek-jpeg-encoder: add MT8189 compatible string Date: Thu, 9 Jul 2026 11:26:55 +0800 Message-ID: <20260709032657.25730-3-jianhua.lin@mediatek.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20260709032657.25730-1-jianhua.lin@mediatek.com> References: <20260709032657.25730-1-jianhua.lin@mediatek.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260708_202743_227128_59FEE8BA X-CRM114-Status: GOOD ( 11.11 ) 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 | 35 +++++++++++++++---- 1 file changed, 29 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..62a327f74b90 100644 --- a/Documentation/devicetree/bindings/media/mediatek-jpeg-encoder.yaml +++ b/Documentation/devicetree/bindings/media/mediatek-jpeg-encoder.yaml @@ -14,13 +14,17 @@ 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 @@ -45,6 +49,15 @@ properties: Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml for details. Ports are according to the HW. + mediatek,larb: + $ref: /schemas/types.yaml#/definitions/phandle + description: | + A phandle to the local arbiter (SMI LARB) node. This explicitly + describes the hardware topology where the JPEG block is connected + to a dedicated SMI LARB for memory bandwidth arbitration. It is + required to accurately represent the hardware connection independently + of the IOMMU. + required: - compatible - reg @@ -54,6 +67,16 @@ required: - power-domains - iommus +allOf: + - if: + properties: + compatible: + contains: + const: mediatek,mt8189-jpgenc + then: + required: + - mediatek,larb + additionalProperties: false examples: -- 2.45.2