From nobody Thu Dec 18 13:58:25 2025 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) (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 29642195803; Mon, 26 Aug 2024 16:23:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.249 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724689383; cv=none; b=sKDIlQGIxPpu82zsTJRSnWcSuhBGLcZ9EjD8TiehbGUtooOqtJQLaTfAJ7ETaVvr1OtGPe5riDsD14i6ToFxoeGbZF+wdyv0CpX57kPRO8JgYRmvGUrnG5CSTikjPsMMu5JxHP7pO75wLlG208YPEY/IvpETuPcLyKWX2XOE1Z0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724689383; c=relaxed/simple; bh=Idzr54+U6Nk4C1GRcIfjwExNlnHLbbZFU0ddodsemNk=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=j0tnrb58y8hv3U/i6hTUnMPpvHNpkbCUgBYFdjEPms1afugThu4NlOGQbMtU9VgQR2A4ykkO+NUlrrLk5N0irmlQOv5K38TZQKk4r7CjQA/01/3c6Y91wqSiQ2S4uzfRZC0HWeNMyApPc1IW2TWgd4QGImAfVGty9WxlWb34Xak= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=Swr0yxlD; arc=none smtp.client-ip=198.47.23.249 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="Swr0yxlD" Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 47QGMrso058739; Mon, 26 Aug 2024 11:22:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1724689373; bh=8m51kk9BkZvntlbPtX7KSuqzIII3tUDnH8qrqEz5B80=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Swr0yxlDAU+kUPxLQZMExdNt4R3jwTD0+hFwyxBzrUOEA0Jx6avS0vu3QI/LASTy1 qDEL1Q65pvNahmAZ3X9G/cj+/GUYxcbEjkIEzioKepa0oAN33m0YtJ6Fi9OV/v8/0P GCuix/uEXEREtCv5RmWwcnWHcyLibZJnLpk7Ro5Q= Received: from DFLE110.ent.ti.com (dfle110.ent.ti.com [10.64.6.31]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 47QGMrRK019101 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 26 Aug 2024 11:22:53 -0500 Received: from DFLE106.ent.ti.com (10.64.6.27) by DFLE110.ent.ti.com (10.64.6.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 26 Aug 2024 11:22:52 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Mon, 26 Aug 2024 11:22:52 -0500 Received: from localhost (ti.dhcp.ti.com [172.24.227.95] (may be forged)) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 47QGMqU0058691; Mon, 26 Aug 2024 11:22:52 -0500 From: Devarsh Thakkar To: , , , , , , , , , , CC: , , , Subject: [PATCH 1/2] arm64: dts: ti: k3-am62a : Add E5010 JPEG Encoder Date: Mon, 26 Aug 2024 21:52:49 +0530 Message-ID: <20240826162250.380005-2-devarsht@ti.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20240826162250.380005-1-devarsht@ti.com> References: <20240826162250.380005-1-devarsht@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Content-Type: text/plain; charset="utf-8" This adds node for E5010 JPEG Encoder which is a stateful JPEG Encoder present in AM62A SoC [1], supporting baseline encoding of semiplanar based YUV420 and YUV422 raw video formats to JPEG encoding, with resolutions supported from 64x64 to 8kx8k. E5010 JPEG Encoder IP is present in main domain, so this also adds address range for core and mmu regions of E5010 IP in cbass_main node. Link: https://www.ti.com/lit/pdf/spruj16 [1] Signed-off-by: Devarsh Thakkar --- arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 10 ++++++++++ arch/arm64/boot/dts/ti/k3-am62a.dtsi | 2 ++ 2 files changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi b/arch/arm64/boot/dt= s/ti/k3-am62a-main.dtsi index 916fcf3cc57d..63fd4030df79 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi @@ -1088,4 +1088,14 @@ vpu: video-codec@30210000 { clocks =3D <&k3_clks 204 2>; power-domains =3D <&k3_pds 204 TI_SCI_PD_EXCLUSIVE>; }; + + e5010: jpeg-encoder@fd20000 { + compatible =3D "ti,am62a-jpeg-enc", "img,e5010-jpeg-enc"; + reg =3D <0x00 0xfd20000 0x00 0x100>, + <0x00 0xfd20200 0x00 0x200>; + reg-names =3D "core", "mmu"; + clocks =3D <&k3_clks 201 0>; + power-domains =3D <&k3_pds 201 TI_SCI_PD_EXCLUSIVE>; + interrupts =3D ; + }; }; diff --git a/arch/arm64/boot/dts/ti/k3-am62a.dtsi b/arch/arm64/boot/dts/ti/= k3-am62a.dtsi index b1b884600293..4d79b3e9486a 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62a.dtsi @@ -61,6 +61,8 @@ cbass_main: bus@f0000 { <0x00 0x08000000 0x00 0x08000000 0x00 0x00200000>, /* Main CPSW */ <0x00 0x0e000000 0x00 0x0e000000 0x00 0x01d20000>, /* Second periphera= l window */ <0x00 0x0fd00000 0x00 0x0fd00000 0x00 0x00020000>, /* GPU */ + <0x00 0x0fd20000 0x00 0x0fd20000 0x00 0x00000100>, /* JPEGENC0_CORE */ + <0x00 0x0fd20200 0x00 0x0fd20200 0x00 0x00000200>, /* JPEGENC0_CORE_MM= U */ <0x00 0x20000000 0x00 0x20000000 0x00 0x0a008000>, /* Third peripheral= window */ <0x00 0x30040000 0x00 0x30040000 0x00 0x00080000>, /* PRUSS-M */ <0x00 0x30101000 0x00 0x30101000 0x00 0x00010100>, /* CSI window */ --=20 2.39.1 From nobody Thu Dec 18 13:58:25 2025 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (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 6F8F41946A8; Mon, 26 Aug 2024 16:23:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.141 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724689385; cv=none; b=tRC797LODHcat8EMxvW0KogaTfYnymRvFT7z+bFtYKxLNQfZDkEr94vymlZNliAP/yMpegbv22tzcz5N0MoKoD/RS1c+uxgAf0Ua5uh1P+6DaxrsEONxaoJj+wrjMwodqfh8ZDwdM5z0y10Fn06O+hXMUHhBHdZtJr/1idDuPA0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724689385; c=relaxed/simple; bh=kXpVi4vJlLaVahPZZkjibwpjGco00IC9EqT5SrVYVwM=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=mCpX7/TJy/54a3XZbXxTC1LAbTEDyXyZEJzwaBfdJxAhVP6+CS0SMo4pd9tIV5Q+MgSV5MTWMAnKARKzXz+hDa0f9pmSpt90Mkt1Q00fhTwUmRjp+ENcTti6bPPYP0oqNp5lriqxpbR3uFoEdBU4v0SM40tDYNLm0srRb/m1YzU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=AfR77R93; arc=none smtp.client-ip=198.47.19.141 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="AfR77R93" Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 47QGMskK114225; Mon, 26 Aug 2024 11:22:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1724689374; bh=2nRV9hXUtzkjtQj/gKcsA0+AQasEZ91LFY0EEWDKbgI=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=AfR77R93nquzFq8ETNDWBKYMwCsd3G+RRix+NrJdJuQ5zA7oZd5JjOiBVxkjZEn8O i/mBHEpWqMhTWjWQLP+imgxlp2R7Btppv2HmVs1HwV1p40bF10jPXdT1OxSQYalVDy Gmb3Y9HMBUCLmbXQ5lj3pNu/V3XZ6VsGfcqIDxqY= Received: from DLEE111.ent.ti.com (dlee111.ent.ti.com [157.170.170.22]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 47QGMscn038533 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 26 Aug 2024 11:22:54 -0500 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 26 Aug 2024 11:22:54 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Mon, 26 Aug 2024 11:22:54 -0500 Received: from localhost (ti.dhcp.ti.com [172.24.227.95] (may be forged)) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 47QGMrrB059185; Mon, 26 Aug 2024 11:22:53 -0500 From: Devarsh Thakkar To: , , , , , , , , , , CC: , , , Subject: [PATCH 2/2] arm64: defconfig: Enable E5010 JPEG Encoder Date: Mon, 26 Aug 2024 21:52:50 +0530 Message-ID: <20240826162250.380005-3-devarsht@ti.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20240826162250.380005-1-devarsht@ti.com> References: <20240826162250.380005-1-devarsht@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Content-Type: text/plain; charset="utf-8" This enables E5010 JPEG Encoder which is a stateful JPEG Encoder present in TI's AM62A SoC [1] and supporting baseline encoding of semiplanar based YUV420 and YUV422 raw video formats to JPEG encoding, with resolutions supported from 64x64 to 8kx8k resolution. Link: https://www.ti.com/lit/pdf/spruj16 [1] Signed-off-by: Devarsh Thakkar --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index b9928342418f..067ba9d9406d 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -823,6 +823,7 @@ CONFIG_VIDEO_CADENCE_CSI2RX=3Dm CONFIG_VIDEO_MEDIATEK_JPEG=3Dm CONFIG_VIDEO_MEDIATEK_VCODEC=3Dm CONFIG_VIDEO_WAVE_VPU=3Dm +CONFIG_VIDEO_E5010_JPEG_ENC=3Dm CONFIG_VIDEO_IMX7_CSI=3Dm CONFIG_VIDEO_IMX_MIPI_CSIS=3Dm CONFIG_VIDEO_IMX8_ISI=3Dm --=20 2.39.1