From patchwork Sat May 22 21:10:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mirela Rabulea OSS X-Patchwork-Id: 12274679 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 80037C2B9F2 for ; Sat, 22 May 2021 21:15:26 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F180161163 for ; Sat, 22 May 2021 21:15:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F180161163 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=oss.nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=dfa9BvIv4Rwvvs0TuyiWcRBCnUxHK26UkH76Hld9Q4Y=; b=EtZ2HvyuDoSkEXx3+86zdW7V8z UuF/XZW4SG0ALHlB7xAULiB0DUjJ4LdCfFF4Sq/N2okgvU51hOONdtOhXRZ7983PY9rPHwVzXLjbU KBO+glevOWp8bui77vJOPr284pa+t19ZZnW5tWzZ0j3wsiXJ4f0n28DDYvPw1IgYTG84UugpdX8Mf 7tETUrgV0a2r57FpXEU/vqo56c7A4k9zuK0S/SUvd9ma5zgGCYFjhCVw7JyZwrHtdoWN+bVZtt6vM 9/B8DGTjQBmUYKRd/mqsx8MQYDqJZLeUsmSXlN9n1p3IxcKbp+8y53ZH091liPHV75IbhBarnAQk5 ArjpJfPA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lkYvE-0037SU-LG; Sat, 22 May 2021 21:12:36 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lkYv4-0037S2-5z for linux-arm-kernel@desiato.infradead.org; Sat, 22 May 2021 21:12:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=MIME-Version:Content-Type:References: In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=MGYVtezWPnqL7lFkXRGaTma91I8r7WP+UEekj5s5HXA=; b=F5kiWtLV62hxqh8Ygk9lRruxir hc9lejx04MilLuUwQq/7NVe0gqnKGPeo0sHr0vPH1Uf7XjC2is6T2R4KlgqVozXlpE44JbNl2OoQH 1Bo4H/a3sB3cUAwyZj7yuQome94dqxJEj9G/jvshVKXI/TtIvHSNJnRAhfQZUUIA6387pjggq96X7 ZIs9wnakjFcNu0eryk0e64+G2hB3Ps9oSVqFHdldABxrGSCE3ZFw0YAvgUuRmtSQuqWtK8qpzAY7b QErtZV9uW5b3PlUxraZkkVYoMZP5/u18A0rfbhMiWXt0sxnHmW40wT1A2x7sK1LgwaL1byZKr4fne RtrHTc3g==; Received: from mail-eopbgr140072.outbound.protection.outlook.com ([40.107.14.72] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lkYv1-000CtO-Bu for linux-arm-kernel@lists.infradead.org; Sat, 22 May 2021 21:12:24 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Wz8ZnFsrCutDoVbu8b9lsQgnNZZhdnJiuaToCj1Eh1mwWn8hqFzos7q7fwhoLCF6n39BxqLeAxEV9BF7iw9EPi6vGBePT0DWP2pVZlxXeHf00CK0SWJTwl0V8BiBbjg09Y1nR9fWmPFqAK0+TpeeSI3FjPq3ZdpC5LlvU6x+KRwrWrRgDK5xbPbKOTgvdVdvArsIOoRAOmKGFTCl7HVXmDWwsT8s+I6tUn0ftpV/GY6otzqoeT0oDBNYZEZNeuikax/xBEWLjzWYyJy+91F+DcS3N8p/bx6AKejC68BKu4b0vhN0DIVESkFGYYRYkrLyf06uHlI5D33LsDL3nGTSOg== 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=MGYVtezWPnqL7lFkXRGaTma91I8r7WP+UEekj5s5HXA=; b=BDkmRYy/xCb7c1OcuaipqRDGlIujDURnn74RYgEA3tMBLmGCFQvBT95/yg1xm8tU3tOA/QXFqfUjfxCHPLsQAkw1/GXle86Y0rJpkOVaFOLEqBmAubkFpYrFeAzuj9J8ridfP9UUSomo1jEiS/KviJnAoPFhGhsSXSZ1Cj505YSPHKiGwtjWmeiEk2Q4bCpuuFtzNfTENeZfaQvTfDv0AmIOcZiZEB79FcDwn4BjqSRR10O6IFcn95zMutdx0H5zAaz6RSexSxGmLJJPdQ4BtkEM9IfUCp3xJCIP/kfE4uSFXBOs6Ri/RLTC9RJ6AX+qEVi0ZvMFFRAUJe7YQn1GFg== 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=MGYVtezWPnqL7lFkXRGaTma91I8r7WP+UEekj5s5HXA=; b=W8ywCdJhOes0lZahZtvnZDWYDJItSucdsm+lXbNrDztnomCQs90vi3pzFN1N4iVzMuf6SR/uIq+JCywquFcaz34K1shbehZdqsWPoKfC0taJYYgLJbuA7rHlH7HwaxFUkjW/+S/H9GYQVhSz2Qrk5Mrq1mWLMxs6KNrmPC7MzUA= 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 HE1PR04MB3146.eurprd04.prod.outlook.com (2603:10a6:7:21::17) by HE1PR04MB3260.eurprd04.prod.outlook.com (2603:10a6:7:1c::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4150.27; Sat, 22 May 2021 21:12:14 +0000 Received: from HE1PR04MB3146.eurprd04.prod.outlook.com ([fe80::4564:419a:6e63:24b7]) by HE1PR04MB3146.eurprd04.prod.outlook.com ([fe80::4564:419a:6e63:24b7%4]) with mapi id 15.20.4150.027; Sat, 22 May 2021 21:12:14 +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 v13 1/2] media: dt-bindings: imx-jpeg: Add compatible for i.MX8QM JPEG codec Date: Sun, 23 May 2021 00:10:54 +0300 Message-Id: <20210522211055.15988-2-mirela.rabulea@oss.nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210522211055.15988-1-mirela.rabulea@oss.nxp.com> References: <20210522211055.15988-1-mirela.rabulea@oss.nxp.com> X-Originating-IP: [86.124.171.30] X-ClientProxiedBy: VI1P190CA0028.EURP190.PROD.OUTLOOK.COM (2603:10a6:802:2b::41) To HE1PR04MB3146.eurprd04.prod.outlook.com (2603:10a6:7:21::17) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from fsr-ub1664-134.ea.freescale.net (86.124.171.30) by VI1P190CA0028.EURP190.PROD.OUTLOOK.COM (2603:10a6:802:2b::41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4150.23 via Frontend Transport; Sat, 22 May 2021 21:12:12 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a0f16c38-cd48-4cc0-56ad-08d91d664565 X-MS-TrafficTypeDiagnostic: HE1PR04MB3260: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:935; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: iI2W/ws/VsAz7I8/bbD1uSBc4b/1ajaiPurSEHCj4quVkBn82sJ+JsuH2yi+uYq5pV9FWb7u2iSlNM5D8nYvZm3fmXolsGcWgggrYyyzYT/Rg87lrCUtmTUn+FwgMbJZJ0ZEi1mhDcZ9+SQdPXwic1IKZlwQxi4nHDJeyjBIzPNgXwEd2EWaQ1C5RisATjKMwmvSTgFv3bL/gHIyYElqB8dQSmpwQG3nFjwlhxwJIu4eytEU+n0T4JYHW1qh0Gjc7RGezLW5FLAV/7cUIaUNrNoh2ZHNc3YHqLRLZioNbtm9JWlJyZrHS903yw+RwMSsXvFIuEie4wB9lHSpI6xMQwDlbWW+SDaWqeb6rJcyhsqDNBHfbLdg6vWqqbuYDx2x6SKMCluZTSRLSnDEEFmvVh8HOrONQPzme5N8/V1YLsRQXLDlurIz2QcvyGRTIqGrddXCj0YFLlygJ1kyJTf74Yx3duTgkyZu/pU4mILZ0fodrtznqkzN1shXR81KpRPsbc4/H0oZcasjZymcfAH3yXQbEuj9sEfa4atZcsPwHHdKAIxC0JTbopj9zNeio9qR/uCd0flKTro4a2YFL+6aYCfT2jc7cgpblUIpMGqOVsCTrraDgSff2/nuH5CB5kQi+XnXg3q2Av7pJFVMxsWNbI5MuUaRMkZf8q1XarYziJ4= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR04MB3146.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(366004)(346002)(136003)(39850400004)(396003)(8676002)(26005)(2906002)(5660300002)(478600001)(6506007)(316002)(52116002)(7416002)(4326008)(38350700002)(38100700002)(66556008)(6486002)(6512007)(66946007)(66476007)(8936002)(186003)(83380400001)(86362001)(16526019)(956004)(2616005)(1076003)(6666004); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: OhkOSoq2bPfk0kMSyIFLvB71Fs/g60X/94smgwbhVjp4zwPbbRjYzZkk+Cn/43G8PPLfdyUK4sDGetT0qUAGVT7OG5C2xhlJ296HrrxUmpicQskyqvq5hT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z25KJVz4sZanh7obmeWWk32rWevJnXIIYp9GHtO1EsDT5NC2gyno53Kpl+YI5DRZKLRtqsKo9YouK0ikyP3tR5F5cZpTxHLG4dtiTOUY8PLMfKwzLw01Re1wLoN7J80riPIIaGnjxcSZ X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a0f16c38-cd48-4cc0-56ad-08d91d664565 X-MS-Exchange-CrossTenant-AuthSource: HE1PR04MB3146.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 May 2021 21:12:14.2172 (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: 9bLzdXm3bt986LUGgROQMqY8QvzyaQxGxrH+F980H3+0tvjg3aE8N1PY8f3ElOAlq/6kpWRW1DjiWoqdZ0k0Ww== X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR04MB3260 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210522_141223_414867_18CA2B78 X-CRM114-Status: UNSURE ( 7.97 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 --- .../bindings/media/nxp,imx8-jpeg.yaml | 17 ++++++++++------- 1 file changed, 10 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..5cc7b6a94c44 100644 --- a/Documentation/devicetree/bindings/media/nxp,imx8-jpeg.yaml +++ b/Documentation/devicetree/bindings/media/nxp,imx8-jpeg.yaml @@ -16,12 +16,15 @@ description: |- properties: compatible: - items: - - enum: - # JPEG decoder - - nxp,imx8qxp-jpgdec - # JPEG encoder - - nxp,imx8qxp-jpgenc + oneOf: + - items: + anyOf: + - const: nxp,imx8qxp-jpgdec + - const: nxp,imx8qm-jpgdec + - items: + anyOf: + - const: nxp,imx8qxp-jpgenc + - const: nxp,imx8qm-jpgenc reg: maxItems: 1 @@ -69,7 +72,7 @@ examples: }; jpegenc: jpegenc@58450000 { - compatible = "nxp,imx8qxp-jpgenc"; + compatible = "nxp,imx8qm-jpgenc", "nxp,imx8qxp-jpgenc"; reg = <0x58450000 0x00050000 >; interrupts = , ,