From patchwork Mon Jul 24 12:20:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 705864 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 374E4C001DF for ; Mon, 24 Jul 2023 12:21:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229499AbjGXMVU (ORCPT ); Mon, 24 Jul 2023 08:21:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229866AbjGXMVN (ORCPT ); Mon, 24 Jul 2023 08:21:13 -0400 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D0091728; Mon, 24 Jul 2023 05:21:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1690201269; x=1721737269; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=/roN2fTZQ9B5pTFJzBg264zpu1jnGYtWWClK0AUlBRw=; b=ZLiP5ZQi+cEy63W6Y72fNShUZRLOkMGXlQaPI9WO0io3abCI9ACfGBjz IiN0RjYPAro1c+ipyXpDyXYoZGuV/kTXcsblBgDJ171NgoAGQVM2P/fXF 33oAzY3nRpOcNKR12uCGRjhzRc293h3SRP5A6xszILR7gmPuuvhG2+xw3 lDPR3l3TN2e5LV4jGVZOnNG+18jOC4dskMIeAOBtubULoQmnVYJ0XQKUZ kk+tNv4l29PcdKhpamxzFO5kOQUvyUGhzo+0uiUnaBrzbtVtDsRNtUnko lX5aJiwM8FhfHKWlq4sFsJXvdc7Sg51sq5zyIirkNRyKtCsO7l82tjcLw Q==; X-IronPort-AV: E=Sophos;i="6.01,228,1684792800"; d="scan'208";a="32081028" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 24 Jul 2023 14:21:07 +0200 Received: from steina-w.tq-net.de (unknown [10.123.53.21]) (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 DC6AF280078; Mon, 24 Jul 2023 14:21:06 +0200 (CEST) From: Alexander Stein To: Rob Herring , Ming Qian , Shijie Qin , Zhou Peng , Mauro Carvalho Chehab , Krzysztof Kozlowski , Conor Dooley , Mirela Rabulea , Shawn Guo , Sascha Hauer , Fabio Estevam , Mark Brown , Anson Huang Cc: Alexander Stein , NXP Linux Team , Pengutronix Kernel Team , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-spi@vger.kernel.org Subject: [PATCH v2 1/3] dt-bindings: media: amphion: Fix subnode pattern Date: Mon, 24 Jul 2023 14:20:58 +0200 Message-Id: <20230724122101.2903318-1-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org DT nodes use dashes instead of underscore. Adjust pattern to also fix warnings regarding nodes in arch/arm64/boot/dts/freescale/imx8-ss-vpu.dtsi Fixes: 38ad8b32f3af ("dt-bindings: media: amphion: add amphion video codec bindings") Signed-off-by: Alexander Stein --- Changes in v2: * Fixed examples Documentation/devicetree/bindings/media/amphion,vpu.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/media/amphion,vpu.yaml b/Documentation/devicetree/bindings/media/amphion,vpu.yaml index a9d80eaeeeb6..c0d83d755239 100644 --- a/Documentation/devicetree/bindings/media/amphion,vpu.yaml +++ b/Documentation/devicetree/bindings/media/amphion,vpu.yaml @@ -47,7 +47,7 @@ patternProperties: $ref: ../mailbox/fsl,mu.yaml# - "^vpu_core@[0-9a-f]+$": + "^vpu-core@[0-9a-f]+$": description: Each core correspond a decoder or encoder, need to configure them separately. NXP i.MX8QM SoC has one decoder and two encoder, i.MX8QXP SoC @@ -143,7 +143,7 @@ examples: power-domains = <&pd IMX_SC_R_VPU_MU_2>; }; - vpu_core0: vpu_core@2d080000 { + vpu_core0: vpu-core@2d080000 { compatible = "nxp,imx8q-vpu-decoder"; reg = <0x2d080000 0x10000>; power-domains = <&pd IMX_SC_R_VPU_DEC_0>; @@ -154,7 +154,7 @@ examples: memory-region = <&decoder_boot>, <&decoder_rpc>; }; - vpu_core1: vpu_core@2d090000 { + vpu_core1: vpu-core@2d090000 { compatible = "nxp,imx8q-vpu-encoder"; reg = <0x2d090000 0x10000>; power-domains = <&pd IMX_SC_R_VPU_ENC_0>; @@ -165,7 +165,7 @@ examples: memory-region = <&encoder1_boot>, <&encoder1_rpc>; }; - vpu_core2: vpu_core@2d0a0000 { + vpu_core2: vpu-core@2d0a0000 { reg = <0x2d0a0000 0x10000>; compatible = "nxp,imx8q-vpu-encoder"; power-domains = <&pd IMX_SC_R_VPU_ENC_1>; From patchwork Mon Jul 24 12:21:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 705863 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EC9C7C04FE0 for ; Mon, 24 Jul 2023 12:21:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230353AbjGXMVX (ORCPT ); Mon, 24 Jul 2023 08:21:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230455AbjGXMVT (ORCPT ); Mon, 24 Jul 2023 08:21:19 -0400 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EBB7610D3; Mon, 24 Jul 2023 05:21:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1690201275; x=1721737275; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=CX/ZCJpojGOrF5aFCy9h6xJaXLQcN8dBnsGOUp6tIUE=; b=qdTDxI7y4AkKgkU6iK5vxGML38EGAqNMZuxetjtp6Khl3hMkAqSVubgh WEn3aZqn4LxAGm9EWHQH4x1EIwYum7o/Z+CZhHUpQnYyTYqObOY/Tzolk uqjY7tF4Q2TXdSn+TbSDeAIFEDZT+Hzptr1aTuJcExyvPfCt33/kyLhUg iMHMc/c8axJUmbiwKmJ63PCO/L0P288SKGu0qosRytc/T5BL9+X8PmLMF tKEpQ9V7iyNpkgjCIHOOZ36qylIaVNFb7WnQ4pGutTEqJ1+E7Wwcoj17R zZSDibmRQvHHAsNJ6XR5Z3kqX3TuSO1T5gOS33SWDPb4lYfVRciC0Giil g==; X-IronPort-AV: E=Sophos;i="6.01,228,1684792800"; d="scan'208";a="32081030" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 24 Jul 2023 14:21:07 +0200 Received: from steina-w.tq-net.de (unknown [10.123.53.21]) (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 98CC4280078; Mon, 24 Jul 2023 14:21:07 +0200 (CEST) From: Alexander Stein To: Rob Herring , Ming Qian , Shijie Qin , Zhou Peng , Mauro Carvalho Chehab , Krzysztof Kozlowski , Conor Dooley , Mirela Rabulea , Shawn Guo , Sascha Hauer , Fabio Estevam , Mark Brown , Anson Huang Cc: Alexander Stein , NXP Linux Team , Pengutronix Kernel Team , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-spi@vger.kernel.org Subject: [PATCH v2 3/3] dt-bindings: media: imx-jpeg: Add clocks property Date: Mon, 24 Jul 2023 14:21:00 +0200 Message-Id: <20230724122101.2903318-3-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230724122101.2903318-1-alexander.stein@ew.tq-group.com> References: <20230724122101.2903318-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org i.MX8 and i.MX8X both use two clocks for accessing the periphery. Add clocks and clock-names properties accordingly. Signed-off-by: Alexander Stein --- Changes in v2: * None .../devicetree/bindings/media/nxp,imx8-jpeg.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/media/nxp,imx8-jpeg.yaml b/Documentation/devicetree/bindings/media/nxp,imx8-jpeg.yaml index 3d9d1db37040..2533e16720f2 100644 --- a/Documentation/devicetree/bindings/media/nxp,imx8-jpeg.yaml +++ b/Documentation/devicetree/bindings/media/nxp,imx8-jpeg.yaml @@ -46,6 +46,14 @@ properties: minItems: 2 # Wrapper and 1 slot maxItems: 5 # Wrapper and 4 slots + clocks: + maxItems: 2 + + clock-names: + items: + - const: per + - const: ipg + required: - compatible - reg