Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2480023pxj; Sat, 19 Jun 2021 13:41:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxE6rD1g9ofwhomCadPZgp4h9T9lW3iKUoBXd/DD+s9a7N971/oPA6qIf0IrYgflAs/MLyE X-Received: by 2002:a02:6944:: with SMTP id e65mr9662934jac.31.1624135316345; Sat, 19 Jun 2021 13:41:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1624135316; cv=pass; d=google.com; s=arc-20160816; b=vjOJxIxtd8SiGVyXMuLc/RgCDeYhFGzrQHffGQjxCi9eV8xQ4Q5o0hBDrqrV/8mVzi hDix1P89N+7ED+t18zQnbaUMNHTVlGfp8nImTgH+HRM0iEXq6gF3+e4R8lLUmAdb8RQg 5IbH3iKuKsIab7cbSno3vjwbkZwiNHEJSz1t3Tbj1MB8Aon/Y+0NbT3VcLMx/AJYmqc2 jCe964sIyusB9vjdkOpdlPc0MB/6Oy7+UT5sDi8Msd5D8WB2s+J5PWgv3xfReItDwofK rNahg/uI8Wl7/64F+x9SWtSPs5eXA6Ui0SpQGXXNBWjujdOc5TA65uBa0Ug8V0TWwHmH 9sxg== 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=N6yYuRMDj5PxYumvYAjBqG5am4AHO/Yb6aif5+a/5Eo=; b=RuiVaMrk61s0cxt3DxFsMyIVan4YgoDUMKDru9ekcnfpF+9HuNMJ4RmO21eey3XsWg g7ImKzlc+oiSvOQpjZqQg9Aco/1bo55RMI2I17YRAdX0vbZpiWf+wogwt1ZJgE4TPN4F 3uPs0F0mRDUQdJYevQ8ixS7MrpWXzxYzTNgV7ZR3l8fjRhXRcd5yHrxqA4pl7YJE/5Jo QNwEK3+Rx0OkqUVUpWkycAhwuC9a0V2R3slaE9ffdQ43E19FIhEbvcXEl95sTjXmuzSl Y6Hv1HowL1877QOFZaUWcWEODVxIoWoPSA3sW/sHFNZVrdndTf9buivFFES/+SaDEllm FgrQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=BcvbS3+E; 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 q10si7240762ilu.60.2021.06.19.13.41.44; Sat, 19 Jun 2021 13:41:56 -0700 (PDT) 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=BcvbS3+E; 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 S234474AbhFSOjI (ORCPT + 99 others); Sat, 19 Jun 2021 10:39:08 -0400 Received: from mail-eopbgr140047.outbound.protection.outlook.com ([40.107.14.47]:21602 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S233240AbhFSOjI (ORCPT ); Sat, 19 Jun 2021 10:39:08 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TZyhTf+xe1teKD+NbzlHQoq0xSPCHuxUrdHasqDBOajxZck+rwuZUNnbPXfDIV6r56yxd5eJPcX9l2xSf47a2ZNEZgBMzozR3nNxN1Tkgw8qd5B0PXIHHv3YruDcP4tfYoNOOlIsfBRTQA14Rts6ypLVdUcA0HJ3J3rTznekntgaq3ALx2DoqTp6NquBB46zgJrachiW+OomnTpM9ZLZGNX97IxDpHm7/MbgfTHMAenEEPUUbYJqZ2Qbd7aZIzEhUBXr+ULof4RiyGf5rCYS/2k5w1uBXXxLlZGjIh8aYX1yxhyJGGcf7lYmj3Tu01eO7DbVy1MYrqOXl96yH3S+6A== 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=N6yYuRMDj5PxYumvYAjBqG5am4AHO/Yb6aif5+a/5Eo=; b=ApxiiWUVtLLdStFjE/f29T8BV/vJBX88+DGiUP5Dkt7K3kJYVh1z9ISmM/Wv/PwB2Jbfg+wPIC7tp3SHFR0vC9NrMNNCV570TSqwnZtQk8Re0+aumln+iXnK5hrUhvwZO1rrEecc7ly1uNSnXj0hAGunmnoQ00CVbqBpAGKBTHqNz4DpUmuxuTgQk30htQBtZm9/9Zo+pzXhjiW6byjM8YLCDlrxAcwmaJkE5G9PCoPuLrtCvMyZVuq0TyCHeznKwa2SEqc2jfra95Sy7giJm0iDY399EjRaNVnN2Xig8W8SmUU53s8fLnQXS7JehkptzTQkQt8odt/q++QPehjw/A== 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=N6yYuRMDj5PxYumvYAjBqG5am4AHO/Yb6aif5+a/5Eo=; b=BcvbS3+ElCMS6dY/cFIH6ywYtHyn4QgUfgLTbt6Hjsm7EF9zfI511LzS9JAyE9WzbBWpbZj85z2Dt9ic4KwlxoKIb4jb5y7L00g/g6IxLz5f9RQZTsmME4zwwspZ7SohrXmAwHb+kB9n+k8gr3Ik8vOs3GtkDEtcy9oTQeA+yP0= 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 AM6PR04MB6710.eurprd04.prod.outlook.com (2603:10a6:20b:d8::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.15; Sat, 19 Jun 2021 14:36:53 +0000 Received: from AM5PR04MB3137.eurprd04.prod.outlook.com ([fe80::bd06:5847:5090:2a21]) by AM5PR04MB3137.eurprd04.prod.outlook.com ([fe80::bd06:5847:5090:2a21%6]) with mapi id 15.20.4242.023; Sat, 19 Jun 2021 14:36:53 +0000 From: "Mirela Rabulea (OSS)" To: robh+dt@kernel.org, shawnguo@kernel.org, aisheng.dong@nxp.com, guoniu.zhou@nxp.com, linux-arm-kernel@lists.infradead.org, mchehab@kernel.org Cc: peng.fan@nxp.com, s.hauer@pengutronix.de, linux-imx@nxp.com, devicetree@vger.kernel.org, hverkuil-cisco@xs4all.nl, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, paul.kocialkowski@bootlin.com, daniel.baluta@nxp.com, robert.chiras@nxp.com, laurentiu.palcu@nxp.com, p.zabel@pengutronix.de, ezequiel@collabora.com, kernel@pengutronix.de, Mirela Rabulea Subject: [PATCH v14 1/2] media: dt-bindings: imx-jpeg: Add compatible for i.MX8QM JPEG codec Date: Sat, 19 Jun 2021 17:36:10 +0300 Message-Id: <20210619143611.17280-2-mirela.rabulea@oss.nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210619143611.17280-1-mirela.rabulea@oss.nxp.com> References: <20210619143611.17280-1-mirela.rabulea@oss.nxp.com> Content-Type: text/plain X-Originating-IP: [86.124.171.30] X-ClientProxiedBy: VI1PR07CA0214.eurprd07.prod.outlook.com (2603:10a6:802:58::17) 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 VI1PR07CA0214.eurprd07.prod.outlook.com (2603:10a6:802:58::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.9 via Frontend Transport; Sat, 19 Jun 2021 14:36:52 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ce595160-6851-4ae7-fcd5-08d9332fae64 X-MS-TrafficTypeDiagnostic: AM6PR04MB6710: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4125; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ejSlfQbPtYRISfoc4VMpsF9CYL6lMfVkWCQO9YJYKVNIQy7GgCern+ywNPH7BBavhFmvQ83KZWFcxWxdk30E9tqcvagQOjwaxo/aOD0dNwgY0wS1mFNwgOzIhlDy1SX7m1qQsILcYAfSXDRZkCZoeN+1MSN+2oMhE9c2V/ua51ZQ2Y88r/IIkj6i3MC4lo8bSNrks8rTg0fvMYgXhAbdhqzMNqz9cGEnBrNT/iheBTSE2LBeBlpa+DNoqSEWtrjt2DNs4pJba2LEKv58nrGWu0WnUd22/R9RZJxX7F7Q3TfKkpPnlW3TPJlBZt5erPInR5iyc6rXqsRv/meV/fAJs1DvqWlHm3a4i8/NFjOMOj8BlxN0/bKaEQ1fIjOO+6mqca2epz8Q77ylWE8IIMPWJ6YkXsbLWUmeeHFXVwBh21uebwZ6mWg2tbw75heTyWyFU3HNjIOQkeBm7Recs5mNxYACnpw5msiZwSvlqsGE4wtUnu6WWnlGjCcNqBcsC5beCjMTUa3zJBme4WWUrTUCfEfvaSTXKqumxhcWFNymYB91BFqbp+RonwPyR8EHSGlxM76+w9kp5y6bRR9+f9zhCdDbjRQbW9H72T87+xizlqex0oNASay/RfD9uC5OK5/KqWZi+MlYfWd9GKee27wEOxcl/B9cHm8lcP/dtA3k/1o= 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)(39850400004)(346002)(396003)(366004)(136003)(376002)(86362001)(186003)(16526019)(6512007)(6666004)(8676002)(7416002)(6506007)(38350700002)(956004)(478600001)(52116002)(66476007)(66946007)(2616005)(1076003)(66556008)(316002)(4326008)(26005)(83380400001)(2906002)(5660300002)(6486002)(38100700002)(8936002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?deyf7ksHLvgYyz0MT627HobZaQj57KvW78mdQfvi6yF+MhMVGUaefK8Ja1xS?= =?us-ascii?Q?SFwIeRgQWZ6iqhF8w0gq0OrsiVcl3lvSoyKTlc3e2GY38jwFQ/LjSQGCKb/h?= =?us-ascii?Q?c/OvDvqvc5mqVBuqpYyympy9SQgk1vtlTdqdZkweRcM5CgOoltXwtAYuZJqM?= =?us-ascii?Q?YASt8g+Zff4/ard5mRR0V7ijNTB8xL8ETXYeTnrLTnLC5y86R4gJEvvHUOat?= =?us-ascii?Q?yYW/k7zUPcwkWXdPdUEnum72AXAkxVUTU3zE5G35C0OBqkX3ad/rdLuA/2se?= =?us-ascii?Q?nPO0e1w6t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c7XWc?= =?us-ascii?Q?K0AA/Dqh1C3JpVrjLr+CdJXL3mFMSueVuXgSBWghDLS5pVsKbhWM4lY7+zjJ?= =?us-ascii?Q?0a/Tlb2OHkk0OaHr11y4VU3whasRHC1L4eHfCrpSJZV3y6Ny8L/G8BmThn7i?= =?us-ascii?Q?gN7ikltkrR6A67WANuShbQ9e?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ce595160-6851-4ae7-fcd5-08d9332fae64 X-MS-Exchange-CrossTenant-AuthSource: AM5PR04MB3137.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jun 2021 14:36:53.4068 (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: ef+9Siz4wcOHLYtERTFRJ663nH/rzKYsss27yV5k+1SRZCgWlJknCYrYfult0nJi5+FQMQAwfmIsBeVbDTjyKQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB6710 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mirela Rabulea Add two more compatibles: "nxp,imx8qm-jpgdec" and " nxp,imx8qm-jpgenc". Also update the compatible property to ensure mutually exclusive usage of encoder and decoder compatibles. Update examples. Signed-off-by: Mirela Rabulea --- Changes in v14: Address feedback from Aisheng Dong, do not use anyOf .../bindings/media/nxp,imx8-jpeg.yaml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/media/nxp,imx8-jpeg.yaml b/Documentation/devicetree/bindings/media/nxp,imx8-jpeg.yaml index 5d13cbb5251b..3cc6f42aeb76 100644 --- a/Documentation/devicetree/bindings/media/nxp,imx8-jpeg.yaml +++ b/Documentation/devicetree/bindings/media/nxp,imx8-jpeg.yaml @@ -16,12 +16,17 @@ description: |- properties: compatible: - items: - - enum: - # JPEG decoder - - nxp,imx8qxp-jpgdec - # JPEG encoder - - nxp,imx8qxp-jpgenc + oneOf: + - items: + enum: + - nxp,imx8qxp-jpgdec + - nxp,imx8qxp-jpgenc + - items: + - const: nxp,imx8qm-jpgdec + - const: nxp,imx8qxp-jpgdec + - items: + - const: nxp,imx8qm-jpgenc + - const: nxp,imx8qxp-jpgenc reg: maxItems: 1 @@ -69,7 +74,7 @@ examples: }; jpegenc: jpegenc@58450000 { - compatible = "nxp,imx8qxp-jpgenc"; + compatible = "nxp,imx8qm-jpgenc", "nxp,imx8qxp-jpgenc"; reg = <0x58450000 0x00050000 >; interrupts = , , -- 2.17.1