* [PATCH v3] arm64: dts: ti: k3-j722s-main: Add E5010 JPEG Encoder
@ 2025-08-08 15:55 Brandon Brnich
2025-08-11 5:30 ` devarsh
2025-08-13 14:35 ` Nishanth Menon
0 siblings, 2 replies; 3+ messages in thread
From: Brandon Brnich @ 2025-08-08 15:55 UTC (permalink / raw)
To: linux-kernel
Cc: Nishanth Menon, Vignesh Raghavendra, Tero Kristo, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-arm-kernel, devicetree,
Devarsh Thakkar, Udit Kumar, Darren Etheridge, Brandon Brnich
This adds node for E5010 JPEG Encoder which is a stateful JPEG Encoder
present in J722s SoC, supporting baseline encoding of semiplanar based
YUV420 and YUV422 raw video formats to JPEG encoding, with resolutions
supported from 64x64 to 8kx8k.
Signed-off-by: Brandon Brnich <b-brnich@ti.com>
---
Changes in v3:
- Add TI compatible
- Make node name more generic
Changes in v2:
- remove invalid clock-names attribute
arch/arm64/boot/dts/ti/k3-j722s-main.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm64/boot/dts/ti/k3-j722s-main.dtsi b/arch/arm64/boot/dts/ti/k3-j722s-main.dtsi
index 5cfa7bf36641..c0a104bc87ad 100644
--- a/arch/arm64/boot/dts/ti/k3-j722s-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j722s-main.dtsi
@@ -385,6 +385,16 @@ c7x_1: dsp@7e200000 {
ti,sci-proc-ids = <0x31 0xff>;
status = "disabled";
};
+
+ e5010: jpeg-encoder@fd20000 {
+ compatible = "ti,am62a-jpeg-enc", "img,e5010-jpeg-enc";
+ reg = <0x00 0xfd20000 0x00 0x100>,
+ <0x00 0xfd20200 0x00 0x200>;
+ reg-names = "core","mmu";
+ clocks = <&k3_clks 201 0>;
+ power-domains = <&k3_pds 201 TI_SCI_PD_EXCLUSIVE>;
+ interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
+ };
};
&main_bcdma_csi {
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v3] arm64: dts: ti: k3-j722s-main: Add E5010 JPEG Encoder
2025-08-08 15:55 [PATCH v3] arm64: dts: ti: k3-j722s-main: Add E5010 JPEG Encoder Brandon Brnich
@ 2025-08-11 5:30 ` devarsh
2025-08-13 14:35 ` Nishanth Menon
1 sibling, 0 replies; 3+ messages in thread
From: devarsh @ 2025-08-11 5:30 UTC (permalink / raw)
To: Brandon Brnich, linux-kernel
Cc: Nishanth Menon, Vignesh Raghavendra, Tero Kristo, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-arm-kernel, devicetree,
Udit Kumar, Darren Etheridge
On 08/08/25 21:25, Brandon Brnich wrote:
> This adds node for E5010 JPEG Encoder which is a stateful JPEG Encoder
> present in J722s SoC, supporting baseline encoding of semiplanar based
> YUV420 and YUV422 raw video formats to JPEG encoding, with resolutions
> supported from 64x64 to 8kx8k.
>
> Signed-off-by: Brandon Brnich <b-brnich@ti.com>
Reviewed-by: Devarsh Thakkar <devarsht@ti.com>
Regards
Devarsh
> ---
>
> Changes in v3:
> - Add TI compatible
> - Make node name more generic
>
> Changes in v2:
> - remove invalid clock-names attribute
>
> arch/arm64/boot/dts/ti/k3-j722s-main.dtsi | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/ti/k3-j722s-main.dtsi b/arch/arm64/boot/dts/ti/k3-j722s-main.dtsi
> index 5cfa7bf36641..c0a104bc87ad 100644
> --- a/arch/arm64/boot/dts/ti/k3-j722s-main.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-j722s-main.dtsi
> @@ -385,6 +385,16 @@ c7x_1: dsp@7e200000 {
> ti,sci-proc-ids = <0x31 0xff>;
> status = "disabled";
> };
> +
> + e5010: jpeg-encoder@fd20000 {
> + compatible = "ti,am62a-jpeg-enc", "img,e5010-jpeg-enc";
> + reg = <0x00 0xfd20000 0x00 0x100>,
> + <0x00 0xfd20200 0x00 0x200>;
> + reg-names = "core","mmu";
> + clocks = <&k3_clks 201 0>;
> + power-domains = <&k3_pds 201 TI_SCI_PD_EXCLUSIVE>;
> + interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
> + };
> };
>
> &main_bcdma_csi {
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v3] arm64: dts: ti: k3-j722s-main: Add E5010 JPEG Encoder
2025-08-08 15:55 [PATCH v3] arm64: dts: ti: k3-j722s-main: Add E5010 JPEG Encoder Brandon Brnich
2025-08-11 5:30 ` devarsh
@ 2025-08-13 14:35 ` Nishanth Menon
1 sibling, 0 replies; 3+ messages in thread
From: Nishanth Menon @ 2025-08-13 14:35 UTC (permalink / raw)
To: linux-kernel, Brandon Brnich
Cc: Nishanth Menon, Vignesh Raghavendra, Tero Kristo, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-arm-kernel, devicetree,
Devarsh Thakkar, Udit Kumar, Darren Etheridge
Hi Brandon Brnich,
On Fri, 08 Aug 2025 10:55:55 -0500, Brandon Brnich wrote:
> This adds node for E5010 JPEG Encoder which is a stateful JPEG Encoder
> present in J722s SoC, supporting baseline encoding of semiplanar based
> YUV420 and YUV422 raw video formats to JPEG encoding, with resolutions
> supported from 64x64 to 8kx8k.
>
>
I have applied the following to branch ti-k3-dts-next on [1].
NOTE: I looked at the comment from Krzysztof[2] about the generic node name, and
I am assuming that jpeg-encoder is generic enough here.
Thank you!
[1/1] arm64: dts: ti: k3-j722s-main: Add E5010 JPEG Encoder
commit: 47a32605c6e7f283f373b56e9caf97c56b7e5634
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent up the chain during
the next merge window (or sooner if it is a relevant bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
[2] https://lore.kernel.org/all/b5ba5a22-dc0a-423b-963f-5db6c7e04665@kernel.org/
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
https://ti.com/opensource
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-08-13 14:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-08 15:55 [PATCH v3] arm64: dts: ti: k3-j722s-main: Add E5010 JPEG Encoder Brandon Brnich
2025-08-11 5:30 ` devarsh
2025-08-13 14:35 ` Nishanth Menon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).