[PATCH 2/2] arm64: dts: mediatek: mt8186: Add jpgenc node

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Tue Jan 2 01:28:25 PST 2024


Il 27/12/23 14:08, Eugen Hristev ha scritto:
> From: Allen-KH Cheng <allen-kh.cheng at mediatek.com>
> 
> Add JPEG encoder node.
> 
> Signed-off-by: Allen-KH Cheng <allen-kh.cheng at mediatek.com>
> Reviewed-by: Hsin-Yi Wang <hsinyi at chromium.org>
> Reviewed-by: Max Staudt <mstaudt at chromium.org>
> Tested-by: Max Staudt <mstaudt at chromium.org>
> Reviewed-by: Ricardo Ribalda <ribalda at chromium.org>
> [eugen.hristev at collabora.com: minor cleanup]
> Signed-off-by: Eugen Hristev <eugen.hristev at collabora.com>
> ---
>   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 e451b6c8cd9e..ef1b269f9184 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8186.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8186.dtsi
> @@ -2054,6 +2054,19 @@ venc: video-encoder at 17020000 {
>   			mediatek,scp = <&scp>;
>   		};
>   
> +		jpgenc: jpgenc at 17030000 {

Can we please call this jpeg-encoder at 17030000 instead?

> +			compatible = "mediatek,mt8186-jpgenc", "mediatek,mtk-jpgenc";
> +			reg = <0 0x17030000 0 0x10000>;
> +			interrupts = <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH 0>;
> +			clocks = <&vencsys CLK_VENC_CKE2_JPGENC>;
> +			clock-names = "jpgenc";

clock-names ...
iommus ....
power-domains ...

Cheers,
Angelo





More information about the linux-arm-kernel mailing list