From mboxrd@z Thu Jan 1 00:00:00 1970 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 25B173AEB4A; Mon, 20 Jul 2026 06:29:00 +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=1784528944; cv=none; b=FzVhLcz1rHFsxlx20+rLGTqs2qOM/L4J6Sga5t6LXYNErxrLq2CFnOUJKNcnnpYGKRQeG99a/Ig6eqKuyAY2ewEJ485IGsvLP1cVqdl4LAvoNg4gB0R4LuI+44a+P/1Ht2g/C/RLPRxYQoAZkOZNRrKpl6rDs2mEUF8GiMc8c6E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784528944; c=relaxed/simple; bh=NwANSrF+1zpCQ4N8BwklI/zvGPdPnweDVTBHFQs4HdU=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=mNiKOxdeDvXt8ZbCm0nM/S1IG1C9qlUzS/3dmKgj/lnm+/L9d6qPm/bvzUeu+J5Ky6yBYXgmf06nYnCN20ujzHVjjnMntdoaUK8ZojorCHLQfqM5hsw6N7x6RmLVs/oEPWjnUH0Z4v0LGBFP2GjE+Me0cEhZZP6oiJkI0PXXMfg= 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=aIb6NVqH; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="aIb6NVqH" X-UUID: 47a0ebf6840411f1b1788b6acf885367-20260720 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=Vhhrx3XAin13rBinyDL72GY/9zQ/T+0nCt/5TRK8MN8=; b=aIb6NVqHJhQuTNhDsUSyXNmTJ9L0vJ88MwDxEHtjdI8GO2/3weE0roUhhlUIIdbIB5ZQ6+h+XOMeT3djfgzoN8lSoy8u0zxSS9QFPIU/FevN1wKynfxmPyo8ZPR+yuitkMBH4n67EjUuHPoSEM0z0gVAeCKzWtDZ5qOI8I/rt0Q=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.3.18,REQID:350e8cbb-84c0-4deb-8f08-7652092ddce6,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:8a735a6,CLOUDID:5044793f-46cf-453a-bd84-ad9fc7cb0e8c,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: 47a0ebf6840411f1b1788b6acf885367-20260720 Received: from mtkmbs14n2.mediatek.inc [(172.21.101.76)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1561231841; Mon, 20 Jul 2026 14:28:54 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) 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; Mon, 20 Jul 2026 14:28:52 +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; Mon, 20 Jul 2026 14:28:52 +0800 From: Jianhua Lin To: , , , , , , CC: , , , , , , , , , Jianhua Lin Subject: [PATCH v10 2/3] dt-bindings: media: mediatek-jpeg-encoder: add MT8189 compatible string Date: Mon, 20 Jul 2026 14:28:28 +0800 Message-ID: <20260720062829.7343-3-jianhua.lin@mediatek.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20260720062829.7343-1-jianhua.lin@mediatek.com> References: <20260720062829.7343-1-jianhua.lin@mediatek.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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 | 38 ++++++++++++++++--- 1 file changed, 32 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..d2f035715a2e 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,19 @@ required: - power-domains - iommus +allOf: + - if: + properties: + compatible: + contains: + const: mediatek,mt8189-jpgenc + then: + required: + - mediatek,larb + else: + properties: + mediatek,larb: false + additionalProperties: false examples: -- 2.45.2