Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp729463pxf; Wed, 10 Mar 2021 16:36:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJxftwd2uUgSF/3I11QSPsDvDmFIhsmuO6rw2Qel1RInFATWlVKQ99SMKQtAKQRfGAcgtFb9 X-Received: by 2002:a17:906:2b9a:: with SMTP id m26mr495793ejg.526.1615423014946; Wed, 10 Mar 2021 16:36:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1615423014; cv=pass; d=google.com; s=arc-20160816; b=V83MpV+tgBtUX/XB39GL4aY4U0vP8HbkBExHzx59OyiVAIPMsDMgO3K8QGpde7QAwt 7WkpbcCEMcZwGtP5kevEzqMCIab1QQS5iyhH+X+O0F2JV5R6Ob1H0g+BRcFFZKRjjWFO xYRXC6P7y2IZKWfKwNl2n/DMEG0t9T+yKnmj7F9iC9Z31jECepZHjwCYAWe/XsD1k3M7 bI8ChkSi1kW7k+daN8dU3uFf22m1nTv1o11n6OFFeZI7+3GjsKuXDwtH06KeSiFvPYQF 3O83qdRhiOuqp+9MJsLP4O6fEjbkcKxF1wXvpixU1d4+njbWVCnCm7MV3qqNxzB9CFA1 osMA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=xMD7/78RfCIKYkFuMkBo9eHp2V6BZSkIQ1tET1aYVAg=; b=kwlwyzER/VmWcXkkhvhbVq8NNfdAgZIaGVx8sBWNDcsDEF2d7F1SLJ0GbqpFWXR29D LjupE3VHAUy/4ujJQAxh1ay7fCGMj0wmWXcfkp3bP9/6+xkLUhKeIFnVsLGYi5CN8umf m+54XaUoAyhxyWSsm/1ru0oGAz5Yg1vfT3G1vlfqcmAEHrxxGnDdv9o0lI1qVGy8AC9o +CS2EfdcdJK5omm8GK4YobS/A0CyYkTfwGmei3rRwrBUZcyHpH7OFLnbEJfJ+ki2z9l5 rT8MyzIwir8Njc1FJHkFWiBglxjGSJBEaHoCEDcC6QvKku3pYiZRUnZ1GaiJe+P8itKN LOVw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=lCrzPeFA; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id cx17si583685edb.495.2021.03.10.16.36.32; Wed, 10 Mar 2021 16:36:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=lCrzPeFA; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S229645AbhCKAbW (ORCPT + 99 others); Wed, 10 Mar 2021 19:31:22 -0500 Received: from mail-eopbgr140054.outbound.protection.outlook.com ([40.107.14.54]:57152 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229570AbhCKAax (ORCPT ); Wed, 10 Mar 2021 19:30:53 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aj78aYKeuYdv2s+3DNKu7s4GMcW8GX3RWhFSbEU+IxwWG2VElxauLPRN1RF0cCqwI+AnxbatpuTCNp8BGVCVLFL861BKpNb4+s9xf+Vl7eQFrQDqg30TZtyrrzOELL5ybubRwRVaaLTEZIA+AFGPf35kzJRuLeYO+V0i+RrcK7oBdglq/hS4K32GMbP4WSbtXhUuRRbqYmdQ/EGbq3ryNcITIdk72YmMfXyb1mkBtsyNPoK53wic+0/AN3wK+UtzxFIzvSn2qW1r1Vs/dmMsY3mMh97FbfeOttw+maWEWYsRp28t/CPXEnVH3KR6FwD92PgydWspfwjLNgdg/yfUNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xMD7/78RfCIKYkFuMkBo9eHp2V6BZSkIQ1tET1aYVAg=; b=TBKF7n3T+HcpmKnjFXeywuFqQpqQ6gTdh0PhCpu13sfjI/SFDbgHSHAqfqZPGIVjWu1uhxbO9fKLUcrv1oSPKfgJks50gl0ER5x5oV+lMdqlR5xGq90mRPU40QygOtat//sB1P2JoP1DYznrY5wAnjTJwtrO7oBm+kuvr1rYFBjc1s/SjNJqKU1dA2cOX8QP8T30DHIlDp7b1Ig30IYD7RBRf0/RqdvYowVb8zfmquEp8zD9LXL83u7ZiJk3CHxp2xBx6aK0sdXQCwxRvx9K5dImC5OyI6H0DV1787Xk7kNwhOvBK/39HTD1+bC1VyOmqu6VvGFtZTvPYYtOeqoRdA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xMD7/78RfCIKYkFuMkBo9eHp2V6BZSkIQ1tET1aYVAg=; b=lCrzPeFAGHGDNaiUVsgoUX2VRN/A5FFEq9JWz1CPDSO/Y+QFsGYTEShXpAYGXeSU5bDzi6OxnLottM3zv4yHuRYQQ+j6Ltvb9IP0IN6mEcSf+5FaIKRMt85PalpU9dQmd9nm0YNP7jaCHz8NEV0jUo0JWxOrSoR8zDrGwFMXzcc= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=oss.nxp.com; Received: from AM5PR04MB3137.eurprd04.prod.outlook.com (2603:10a6:206:c::18) by AM6PR04MB4984.eurprd04.prod.outlook.com (2603:10a6:20b:7::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3890.19; Thu, 11 Mar 2021 00:30:49 +0000 Received: from AM5PR04MB3137.eurprd04.prod.outlook.com ([fe80::618c:8b68:e3d9:a8c6]) by AM5PR04MB3137.eurprd04.prod.outlook.com ([fe80::618c:8b68:e3d9:a8c6%7]) with mapi id 15.20.3912.029; Thu, 11 Mar 2021 00:30:49 +0000 From: "Mirela Rabulea (OSS)" To: mchehab@kernel.org, hverkuil-cisco@xs4all.nl, shawnguo@kernel.org, robh+dt@kernel.org, p.zabel@pengutronix.de Cc: 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, robert.chiras@nxp.com, laurentiu.palcu@nxp.com, mark.rutland@arm.com, devicetree@vger.kernel.org, ezequiel@collabora.com, laurent.pinchart+renesas@ideasonboard.com, niklas.soderlund+renesas@ragnatech.se, dafna.hirschfeld@collabora.com, Mirela Rabulea Subject: [PATCH v9 7/8] arm64: dts: imx8qxp: Add jpeg encoder/decoder nodes Date: Thu, 11 Mar 2021 02:28:53 +0200 Message-Id: <20210311002854.13687-8-mirela.rabulea@oss.nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210311002854.13687-1-mirela.rabulea@oss.nxp.com> References: <20210311002854.13687-1-mirela.rabulea@oss.nxp.com> Content-Type: text/plain X-Originating-IP: [86.124.171.30] X-ClientProxiedBy: VI1P190CA0011.EURP190.PROD.OUTLOOK.COM (2603:10a6:802:2b::24) To AM5PR04MB3137.eurprd04.prod.outlook.com (2603:10a6:206:c::18) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from fsr-ub1664-134.ea.freescale.net (86.124.171.30) by VI1P190CA0011.EURP190.PROD.OUTLOOK.COM (2603:10a6:802:2b::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.17 via Frontend Transport; Thu, 11 Mar 2021 00:30:47 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: d63d3cb9-42c8-4b92-068a-08d8e424eb73 X-MS-TrafficTypeDiagnostic: AM6PR04MB4984: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5236; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: nA9a1hfw6y3Fi5n2DkLBwPSChyb0uSj8/McbdTpFNOcVu4plHJ0/8Vr6dHoaMGKxPW+nISQZeadcQADewXg21rqP2ikMYxZmCs53+IF/wOvyTPvQdj21o+qYz5KpGFNkQOZrJqKrvV0mOJ0hN3Lt37R554NP/ZuPPn8oWqCcJi3xTVuv9Z7ktUJGF+9BNj9/glLjm9Dydz1y8U6VaAJNgX8P4jiBJjK1dHRLX5wOVWjUlPmvBXnaDIHeACIa6AKiKv+XOpl7LqN2m7GrPgKVGfBEPzcMTbxoz/Cko9piXvIcY+MzgEYS4DUcJLdjkodnwa4RWfHHD8UpvnpKWpFGUYx773h3Ls2Z3pr/fwBNwXLAUESMnJjJjYBX4eZOY4eM6YX1eKwyLQVtJ1Ly+GXHIirmpnsymxkjDx88cdnZO4veH+cGvG1N8riVeyxTblEe86fo5bu81vUnljuvkslcBEbQRF8EpgdhVEEigK9VXsFGmZlQ05ZJ6ag2vVkpBuKTOtH00v+82+rsrWH4SVljeEobckBuemi0fIc2JRR6QzYtFnCvo0QxbyaDoUaFA383 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM5PR04MB3137.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(396003)(376002)(346002)(136003)(39850400004)(66476007)(66946007)(4326008)(2906002)(5660300002)(7416002)(16526019)(26005)(52116002)(186003)(66556008)(6666004)(316002)(478600001)(1076003)(6512007)(6486002)(6506007)(8936002)(8676002)(86362001)(2616005)(956004)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?+zeASdEdPHA0RkLapyToQ2x5yxlrxZ1oR/S3v4tGqZDdkv6EZx3aV8VZn/vp?= =?us-ascii?Q?sDKU1dmMstSwbfS+XBPrCfxP9A0KtmSUbhMS+6JQ5IE9m1Xe35OZpJbnwFhs?= =?us-ascii?Q?/BOsuFyW8a1o9W26gxMTYAA7Lc3GyNn4OR2OLKJ6QZauq/llbmyrtjewVw8c?= =?us-ascii?Q?Gf3ktAiPEaBVmk7f7G1OTngEOqg9CJs0ruVqfl4gj30GWv6Uk9I4durxNL6P?= =?us-ascii?Q?kSsZ0xKYLEEJz3J+/J8NSN0Zd5bp0ltr/3Tx0KZfxQiJQCmsQdDgNuN48Ewv?= =?us-ascii?Q?o9BIfi0Cj0bE5NUrjuv5SjUriRlz4v7JuSXlLbqQKE5DfmRoplcwUfo4ffRU?= =?us-ascii?Q?tg23+6A+IxZQFpgZI4pqAvdTUxTXgP6yfxfpmKSblK5CaHdB12nQEvnJAYkm?= =?us-ascii?Q?efeOHcMADaSFf0pibe4AsJ8oNNI3o64MXr+UcEIanz/eeiaPjGeIHl0bVNH6?= =?us-ascii?Q?XrdVDeJ9MiXn2NEafyhTZMM33esv1KUN+UqssgFrVt2RUGFNJy0mHeN2pHnr?= =?us-ascii?Q?oXfAjHgfxnoSR+41biVBrG3y7u9jhsrEavU2e8qXKA8SIPFHx/HKh+B5zRQQ?= =?us-ascii?Q?361l7hMRK0Zk17hw02f/dETf3ejindYwEuhu4xv9RblI+DWBOz9vnkD1uvu9?= =?us-ascii?Q?E/ElnZgszbPcngjMjGe9ngfzPzjXVUKiMZEcibf2hrCwmkUt8b1p5Ie7PnL1?= =?us-ascii?Q?2cnMBGRnKyeIOgc3wzNrrU5BgimzKPUR6CtwtOMjW3dp0fHZZkRrR/83NlxG?= =?us-ascii?Q?u9pDFoc//bZkSuHcXauMkeOGJdPL32cemAYHm+ZgH/x6eQ72Rge3s7SguvEy?= =?us-ascii?Q?phQvT0y0mykSL2Io7WLZbfjwoAI4myjd2wFwswsDLpJTnXvBucz0EqjZ5HZy?= =?us-ascii?Q?7JBgBlQbIGWsk2GqfbJF5e3LaDuDY5wZuGD36zK6XcUUded5WEVP18G0juWv?= =?us-ascii?Q?ac1HRa4KsnSryCcICW53QKTxrgWkyGiclHLZOezqxpKOp56jXIYuyyNIIVc8?= =?us-ascii?Q?UuaLtk3Padppfpon4A7oKlhUt7So6Ht+SoU7/SDkVTQasBCRaisi6Ow30RuK?= =?us-ascii?Q?z0BFYtT1ygcfR9ECSlOVAFzg5j7MTxLpYc4z8tBzbEyE+jDWykoTH2a/XFxo?= =?us-ascii?Q?N9v6lKd9MaJDRCSvghFqomEU43nIaFmC/yjdYOvKOGySxWD9UBhylVHXWVV/?= =?us-ascii?Q?3/Yqzv3tQj6tdqXCEalRKql+zhktxH+eyJDWFnPJkuO8zf7MeMkcTSnX+buV?= =?us-ascii?Q?52ObAritMLNRebHnGPM+H97TIvj0EXMd7z/NhA7h/A+dHvBrSPfO75JNXPNF?= =?us-ascii?Q?TjXYOyTPxYyf6GNkTmnKz1o6?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d63d3cb9-42c8-4b92-068a-08d8e424eb73 X-MS-Exchange-CrossTenant-AuthSource: AM5PR04MB3137.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Mar 2021 00:30:49.4623 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: qPVFZf5YhDWfJmVw/QbQQk720+kbAi1WwRVjrvb/Qf1Bj/E4J85DTqFBjyXPY6TDi1OKbL7nqciB8HOd6Hc/ag== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB4984 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mirela Rabulea 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.dtsi | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi index 1d522de7b017..4f2b3edd7850 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi @@ -629,4 +629,39 @@ }; }; }; + + img_subsys: bus@58000000 { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x58000000 0x0 0x58000000 0x1000000>; + + jpegdec: jpegdec@58400000 { + compatible = "nxp,imx8qxp-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>; + }; + + jpegenc: jpegenc@58450000 { + compatible = "nxp,imx8qxp-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>; + }; + }; }; -- 2.17.1