Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp716670ybx; Wed, 6 Nov 2019 07:23:25 -0800 (PST) X-Google-Smtp-Source: APXvYqzrhFUiVpf7ofbQWURjLAdxZg1vZVXkPArdlFrxDcF5/zjVFGq2hIvqo1Gj7JGrrNEmyZ6P X-Received: by 2002:a50:c305:: with SMTP id a5mr3209653edb.136.1573053805730; Wed, 06 Nov 2019 07:23:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573053805; cv=none; d=google.com; s=arc-20160816; b=EzpYcX811SZmw3JnyZv/whNpBG0IwITOufeSQr1cNWBnqQHGjURHMX6qscmXRyclxS m5xbC/1ZuEs9zWX4QktPDnBsoLIlvvEq3K56QzBRNI2qRDNUHf4uzVhaFHbITVzsXlaa Nsm3IL5btkhQm/mwX+z359E+tFgvT+zromUxiMC5a1t4ZVeYLRzVIAGTrJ0M2CMKjngX MMN6Otsh9yTdvp/DgyzwfGCtmvl1BJWb0eTAcRmkzXUWeZn/PTLVcMNIDtHb1dMXnHSg +DkgLd5oLt1F4jcROTAnR9eBG2TXkT2O2hj3CyAvzVJmp33uFyHrOxmQhwdOJluuUMs2 z/LA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=SBOiBmpSanEc5PcGzTOTqCNtfPig5E9KlxGlp/0C+Sg=; b=IOzJTLk/nH1K2UP2l8EDPfAxJ+kr+y8Br+Ajg/mjhEmLhvinacXqJM3UKCEeHJb4lL uv2ASPle2ShNW0DLqk2NbsnGr1BwC0ZXiT9OmWbG6xR07kQP56/AGccuZCh9736SfEHp Ts1w+TafX48UCoW5nWXKXDiOEzRKVntuJgHOKY/1xaBAIAZ+khNnp01O77pRbziJSVXG wugBHjitex3zVAFMtkw2q6loXI2DXMAZGzoUvgITj+tXIbt9lDrvdMAwzwruKEH57rzQ dGfRL221WlkbOkKp59+lKRoigESJJcVUh+xN3d5jgW+CMNLC7BRFs19n7EVl8+fL9P6U DADQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r18si4958640edw.65.2019.11.06.07.23.00; Wed, 06 Nov 2019 07:23:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732089AbfKFPVQ (ORCPT + 99 others); Wed, 6 Nov 2019 10:21:16 -0500 Received: from inva020.nxp.com ([92.121.34.13]:33834 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732033AbfKFPVO (ORCPT ); Wed, 6 Nov 2019 10:21:14 -0500 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 9A5E31A0913; Wed, 6 Nov 2019 16:21:12 +0100 (CET) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 8DA2C1A0650; Wed, 6 Nov 2019 16:21:12 +0100 (CET) Received: from fsr-ub1664-134.ea.freescale.net (fsr-ub1664-134.ea.freescale.net [10.171.74.111]) by inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id C1645205EB; Wed, 6 Nov 2019 16:21:11 +0100 (CET) From: Mirela Rabulea To: mchehab@kernel.org, shawnguo@kernel.org, robh+dt@kernel.org Cc: hverkuil-cisco@xs4all.nl, paul.kocialkowski@bootlin.com, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-imx@nxp.com, s.hauer@pengutronix.de, aisheng.dong@nxp.com, daniel.baluta@nxp.com, leonard.crestez@nxp.com, robert.chiras@nxp.com, laurentiu.palcu@nxp.com, mark.rutland@arm.com, devicetree@vger.kernel.org, p.zabel@pengutronix.de, laurent.pinchart+renesas@ideasonboard.com, niklas.soderlund+renesas@ragnatech.se, dafna.hirschfeld@collabora.com, Mirela Rabulea Subject: [PATCH 5/5] arm64: dts: imx8qxp: Add jpeg encoder/decoder nodes Date: Wed, 6 Nov 2019 17:20:33 +0200 Message-Id: <1573053633-21437-6-git-send-email-mirela.rabulea@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1573053633-21437-1-git-send-email-mirela.rabulea@nxp.com> References: <1573053633-21437-1-git-send-email-mirela.rabulea@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add jpeg decoder/encoder nodes, for now on imx8qxp only. The same should work on imx8qm, but it was not tested. Signed-off-by: Mirela Rabulea --- arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 8 ++++++ arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 37 +++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts index d3d26cc..3c6fe76 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts @@ -242,3 +242,11 @@ &scu_key { status = "okay"; }; + +&jpegdec { + status = "okay"; +}; + +&jpegenc { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi index 9646a41..e4eddc4 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi @@ -598,4 +598,41 @@ #clock-cells = <1>; }; }; + + img_subsys: bus@58000000 { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x58000000 0x0 0x58000000 0x1000000>; + + jpegdec: jpegdec@58400000 { + compatible = "fsl,imx8-jpgdec"; + reg = <0x58400000 0x00050000 >; + interrupts = , + , + , + ; + power-domains = <&pd IMX_SC_R_MJPEG_DEC_MP>, + <&pd IMX_SC_R_MJPEG_DEC_S0>, + <&pd IMX_SC_R_MJPEG_DEC_S1>, + <&pd IMX_SC_R_MJPEG_DEC_S2>, + <&pd IMX_SC_R_MJPEG_DEC_S3>; + status = "disabled"; + }; + + jpegenc: jpegenc@58450000 { + compatible = "fsl,imx8-jpgenc"; + reg = <0x58450000 0x00050000 >; + interrupts = , + , + , + ; + power-domains = <&pd IMX_SC_R_MJPEG_ENC_MP>, + <&pd IMX_SC_R_MJPEG_ENC_S0>, + <&pd IMX_SC_R_MJPEG_ENC_S1>, + <&pd IMX_SC_R_MJPEG_ENC_S2>, + <&pd IMX_SC_R_MJPEG_ENC_S3>; + status = "disabled"; + }; + }; }; -- 2.7.4