From patchwork Wed Jan 10 09:46:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13515864 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DF83EC3DA6E for ; Wed, 10 Jan 2024 09:46:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References: List-Owner; bh=QZAd5UKf5g5McyhcqEyWda1b45atdoCDTgeNhyg7ugw=; b=Ui/7UiaY2ztp22 DuvdBGvXmgYdnzAglzpDA9tZhzFihZCNwjRHXgJGotVzGzAJzyPvVg/s51VR1sLNZb4T8/JKRwyze 16aGW2PK2GIG9nTTSM27cjq92ekOQBXo0r+YJE/K0fXk7HGJHsLxI2ke4+NU+uf3dqJtj/EipGIA+ UMJG0nDx/GYXLrwtFaVSpjfQ2JZhVSiwLvT1vSpdmuG51RPi5UUvFD2K0ie+sX5F//VpraFktkhXK ARJFjMVMcqWj0MbgwM6VFSqWjd8XkRf575MJn9VMISY74683EEU5lweQ0pS7PjWsTqNAEfEAimTO+ A2V5jJ3kD3uKYl/5lrNQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rNVA7-00AufY-1Q; Wed, 10 Jan 2024 09:46:15 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rNVA3-00AueQ-1q for linux-arm-kernel@lists.infradead.org; Wed, 10 Jan 2024 09:46:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1704879971; x=1736415971; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=qARngFl8YFW6cJZEV0gLXRU1x9NlrSoRpYfXuFRLnvE=; b=gxDIu/C522zCCCswWKz43sFXgJVYZmcK+AYeEdyrL3Ns1QbYNlwKKiYV mSPDBpgx8PeShYbY6Zc4YtcwgbjLF8DqExXiNZD+GxGt4iqzgDpcj2Oxa CzRFxoMcQ+q+WkYfWryDk3hAg8S9RzeyPbv/c+iGQGk9BXwXqT/asAcYr LwzeVw6Nn8u/PxRIL4t5MdYr8wF0vFJN3GI/a1u5v1pYaqRYDBE0sqt7y f1dDIr2w5mOymJlctvpk+qm4GsvAb6TBACDBje2q11gG/mQ/BsrkBdPI2 kr43OQJt68hBY3EvrnBS/paC9uHKT+DvQg09I4iUK3OK4byhXQK9CUGum A==; X-IronPort-AV: E=Sophos;i="6.04,184,1695679200"; d="scan'208";a="34824529" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 10 Jan 2024 10:46:08 +0100 Received: from steina-w.tq-net.de (steina-w.tq-net.de [10.123.53.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id DE40C280075; Wed, 10 Jan 2024 10:46:07 +0100 (CET) From: Alexander Stein To: Mirela Rabulea , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , NXP Linux Team , Pengutronix Kernel Team , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/1] dt-bindings: media: imx-jpeg: Document slot property Date: Wed, 10 Jan 2024 10:46:04 +0100 Message-Id: <20240110094604.472701-1-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240110_014612_244430_6437B38B X-CRM114-Status: GOOD ( 10.30 ) 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 There are 4 slots available in the IP, which the driver may use. This property lists which slots can be used. In reference to commit 53ebeea50599 ("media: imx-jpeg: Support to assign slot for encoder/decoder") only slot 0 can be used on imx8qxp. Signed-off-by: Alexander Stein --- .../devicetree/bindings/media/nxp,imx8-jpeg.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/media/nxp,imx8-jpeg.yaml b/Documentation/devicetree/bindings/media/nxp,imx8-jpeg.yaml index 07fef1e723f20..5122c7cff8e73 100644 --- a/Documentation/devicetree/bindings/media/nxp,imx8-jpeg.yaml +++ b/Documentation/devicetree/bindings/media/nxp,imx8-jpeg.yaml @@ -54,6 +54,14 @@ properties: minItems: 2 # Wrapper and 1 slot maxItems: 5 # Wrapper and 4 slots + slot: + $ref: /schemas/types.yaml#/definitions/uint32-array + minItems: 1 + maxItems: 4 + items: + enum: [ 0, 1, 2, 3 ] + description: Available slot index + required: - compatible - reg @@ -85,6 +93,7 @@ examples: <&pd IMX_SC_R_MJPEG_DEC_S1>, <&pd IMX_SC_R_MJPEG_DEC_S2>, <&pd IMX_SC_R_MJPEG_DEC_S3>; + slot = <0>; }; jpegenc: jpegenc@58450000 { @@ -102,5 +111,6 @@ examples: <&pd IMX_SC_R_MJPEG_ENC_S1>, <&pd IMX_SC_R_MJPEG_ENC_S2>, <&pd IMX_SC_R_MJPEG_ENC_S3>; + slot = <0>; }; ...