From patchwork Sat Jan 27 08:42:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eugen Hristev X-Patchwork-Id: 13534020 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 9B579C46CD2 for ; Sat, 27 Jan 2024 08:43:35 +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: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=UjHHKA9uIQJGth+YYW/Q3gxCmojlFq1YQnGBCujLgx4=; b=apQ0YIHSGis2YS 6GE9RTfpscKDDcpuZHnjINwsxuqWNVv35kdlbHbexCHNxvD0LhxSaXLrp7xx2uM2LFUIyd205dp4+ RhTvcI31/5yxdrE5/rkav8GXStn83S2D5zMNn2XeuTRPjvwOUegLzL0RMwu38UjSYQDUJaYAyiKpq 3gFzEWtjslSYtft91kyV4hcdPCKk3uais1IXm92YQUbqDvaoEuP8uqyYkn9KqVtdqoda0jYnSiZb0 qsxzricilZg264PssIPd1Qgzzx7Zr7gaCqDa4+lKdzmUE5mFSVMD+O9uT1Lwj4F0WEHbgcZcy0aL/ F6nElD3FjLsI2P/RUV/A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rTeHa-00000007AXP-0na4; Sat, 27 Jan 2024 08:43:22 +0000 Received: from madrid.collaboradmins.com ([2a00:1098:ed:100::25]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rTeHW-00000007AWD-3PDV; Sat, 27 Jan 2024 08:43:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1706344996; bh=07xcUH8OHSW5OZIQWcfHGaB4HnUsF8P7eoz3RDNWnsw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jhdzCCB6dWkYf16x02RpByVo2pRxTLEDOCzwi5myjAdhAGpb8Hdx064xNB1xHCpAE qRcHRg0SIbFfJkSetykel64k1IMfuQOaRF/NyBhhFK9O/e10ALnA16gcrOuLB7aa3W KQ7t//hZKG3J+uTaBRkZpndTldWCDAujqhmReFzspa4vjblZzoU4cc0wVBDftvB1jo sV84XAFSrJjSH/QXqijL0MMF0z/kkahn1EcFs0rwDG3LooXpphWPuELwPYrW7mAZZH ueHN9badGgAp/h4ySefqCLf9F8vRvrGo8c1aQwud2iOy6Y0CPF7XZsTzrnv6RtwvSu Qlha2JgoLr5lQ== Received: from eugen-station.. (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: ehristev) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 526CD378107C; Sat, 27 Jan 2024 08:43:12 +0000 (UTC) From: Eugen Hristev To: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org, bin.liu@mediatek.com Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, angelogioacchino.delregno@collabora.com, kernel@collabora.com, eugen.hristev@collabora.com, matthias.bgg@gmail.com, Allen-KH Cheng , Hsin-Yi Wang , Max Staudt , Ricardo Ribalda Subject: [PATCH v3 2/2] arm64: dts: mediatek: mt8186: Add jpgenc node Date: Sat, 27 Jan 2024 10:42:58 +0200 Message-Id: <20240127084258.68302-2-eugen.hristev@collabora.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240127084258.68302-1-eugen.hristev@collabora.com> References: <20240127084258.68302-1-eugen.hristev@collabora.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240127_004319_022640_F776A79C X-CRM114-Status: UNSURE ( 8.34 ) 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 From: Allen-KH Cheng Add JPEG encoder node. Signed-off-by: Allen-KH Cheng Reviewed-by: Hsin-Yi Wang Reviewed-by: Max Staudt Tested-by: Max Staudt Reviewed-by: Ricardo Ribalda [eugen.hristev@collabora.com: minor cleanup] Signed-off-by: Eugen Hristev Reviewed-by: AngeloGioacchino Del Regno --- Changes in v3: -none Changes in v2: - renamed node - reordered props arch/arm64/boot/dts/mediatek/mt8186.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8186.dtsi b/arch/arm64/boot/dts/mediatek/mt8186.dtsi index 37a84d88036a..c93a8b82db76 100644 --- a/arch/arm64/boot/dts/mediatek/mt8186.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8186.dtsi @@ -2054,6 +2054,19 @@ venc: video-encoder@17020000 { mediatek,scp = <&scp>; }; + jpgenc: jpeg-encoder@17030000 { + compatible = "mediatek,mt8186-jpgenc", "mediatek,mtk-jpgenc"; + reg = <0 0x17030000 0 0x10000>; + interrupts = ; + clocks = <&vencsys CLK_VENC_CKE2_JPGENC>; + clock-names = "jpgenc"; + iommus = <&iommu_mm IOMMU_PORT_L7_JPGENC_Y_RDMA>, + <&iommu_mm IOMMU_PORT_L7_JPGENC_C_RDMA>, + <&iommu_mm IOMMU_PORT_L7_JPGENC_Q_TABLE>, + <&iommu_mm IOMMU_PORT_L7_JPGENC_BSDMA>; + power-domains = <&spm MT8186_POWER_DOMAIN_VENC>; + }; + camsys: clock-controller@1a000000 { compatible = "mediatek,mt8186-camsys"; reg = <0 0x1a000000 0 0x1000>;