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: 706564 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 DC35FC0015E for ; Mon, 24 Jul 2023 12:21:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229870AbjGXMVU (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: linux-spi@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:20:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 706096 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 9B9AAC001DE for ; Mon, 24 Jul 2023 12:21:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229866AbjGXMVV (ORCPT ); Mon, 24 Jul 2023 08:21:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230397AbjGXMVR (ORCPT ); Mon, 24 Jul 2023 08:21:17 -0400 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88A9E10C7; Mon, 24 Jul 2023 05:21:13 -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=1690201274; x=1721737274; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=DOeO1JJC435SRC3aQ4QXuk4VjQRVy8mGR13t/2Ru9Tg=; b=bYEfSrNkXq0DYwU7X/r5bxllhGzd9rHVLrqnhlbqWWMbSftIwSpdTEWb 1xbhSvZOtt3dtlJKsB0OgIPxfRlLr3V4/5HdjkS4CUfYATMCVww5//o33 TE48RPrMqDDK1DQkJXCgwsdS7AA//gxoRaOevXiyVrFXi3mEhaO2zSMDi 5d3Kjo7pUPimfsBfb8SHDnNMNncMw4YIgXpHbDz6R/QOUVZBg9/kCTDRN FsD8eWPzzU31RmryBoBYYlp6cls0ihu7b1VbYpz22Dpkb4qpNWkniSbyQ +qG3D5L+YXIxKlf/GRs8xaknmXQ/Oi0OFNUyFO1FMPSnyws4SMgRl8x6Q g==; X-IronPort-AV: E=Sophos;i="6.01,228,1684792800"; d="scan'208";a="32081029" 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 3B69E280084; 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 2/3] dt-bindings: spi: lpspi: Add power-domains Date: Mon, 24 Jul 2023 14:20:59 +0200 Message-Id: <20230724122101.2903318-2-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: linux-spi@vger.kernel.org i.MX8(X) based SoC use a power domain. Allow supplying this domain in bindings. Signed-off-by: Alexander Stein --- Changes in v2: * None Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml b/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml index e91425012319..727c5346b8ce 100644 --- a/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml +++ b/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml @@ -63,6 +63,9 @@ properties: maximum: 2 default: 1 + power-domains: + maxItems: 1 + required: - compatible - reg 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: 706563 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 CAC43C04A94 for ; Mon, 24 Jul 2023 12:21:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230348AbjGXMVX (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: linux-spi@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