From patchwork Sun Mar 5 22:58:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 659017 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 79DA6C678DB for ; Sun, 5 Mar 2023 23:12:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229489AbjCEXMs (ORCPT ); Sun, 5 Mar 2023 18:12:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44920 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjCEXMs (ORCPT ); Sun, 5 Mar 2023 18:12:48 -0500 Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BEBA2CA0D; Sun, 5 Mar 2023 15:12:46 -0800 (PST) Received: from stefanw-SCHENKER ([37.4.248.41]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MEFrX-1pgPaK3LWf-00AHWq; Sun, 05 Mar 2023 23:59:33 +0100 From: Stefan Wahren To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: linux-imx@nxp.com, Marek Vasut , Alexander Stein , linux-crypto@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Stefan Wahren Subject: [PATCH 3/6] dt-bindings: imxgpt: add imx6ul compatible Date: Sun, 5 Mar 2023 23:58:57 +0100 Message-Id: <20230305225901.7119-4-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230305225901.7119-1-stefan.wahren@i2se.com> References: <20230305225901.7119-1-stefan.wahren@i2se.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:IwT96KuCYihTleCJc6GGzhJZA3kr03QgpvJytzu99LqgSXUcPYZ VxEvLQhHH3dkX33xf0KM+M9Z2xOLi8NrW0HXSIM3gw/6KjCFRitXD0XYTldg1dbnfbBKxJK Gux3W1XIhXnVeLzubA830PmRA9jdiGZNCuBZc1PcbiDquCtMIqV58NRsJXKhxH1iRyDaISg KX+NIOQcC5Jfo3UzDGjeA== UI-OutboundReport: notjunk:1;M01:P0:9lR6X1DOui4=;XJK/c3uioJtI7hxFroeFkIPRxoz fpNHKajRI3qGWJMBUj2RKCfUzM/APfpBNhD3ZwftOSMyFO4/rbzpaP6doK3zlDV8tJAa4vZ8I lS/mD+NFCW5t/d3Cj11pAFjUBCs2zryfKl5/pEiNzOhUVAGkjcvnZrPrSu7MPGWMYgLPwhef4 Jh7E+vW8p808kpots4hsCz7f+WScLeh/BsrST1OHQ37EDNoBVpNB909hNreyjMYgslzZx8yXO 9+blpetgafO7Hf+ksJmiqu1KVp1evBdOcSqwkc3pNXd0jpKvpAtkwXZwy0IFgEPEckGTXHnfa NASx1vPg6MXzExGGU2jPbtRMgEbICtlFbG5PCysTBQ4khicNAt2xY04vjljsbcNL+1mvy14hc /7Iwd2EYwsETppCcN9IbyYNzSuzUzBeZWb4FiW7z9YggOIpg+loMVYPezqbA2oMANh9OJlra2 Mdjc5deEb2OhDTbsEmwzlvKD87hGmURIXsMrgLQIpwkunCkMhD5NzFwYCmSKlReQOthhpLYkC fEc/b+AhM/GVON+CyZYuspen8F6LQblXbpVei+GYovHkE9wm9O9laS7V0nDWj1R++x+MNXikQ ibpZxYl9PIL7Hk658tB5VmEipNQoxj+LwcSvHs0OGnftAi8IPG2ytrNfzqMEhuUkWOIiuHqfz gcjhd1K6Hx9+5Ap10dixaet/ha3VmtluytouQ2MuJw== Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Currently the dtbs_check for imx6ul generates warnings like this: ['fsl,imx6ul-gpt', 'fsl,imx6sx-gpt'] is too long Since the imx6ul GPT IP is compatible to imx6dl, add the compatible to the enum. The mentioned warning also needs adjustment of the affected DTS, but this should be done in a different patch. Signed-off-by: Stefan Wahren --- Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml b/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml index 716c6afcca1f..8d9e8c1b7dcf 100644 --- a/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml +++ b/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml @@ -31,6 +31,7 @@ properties: - enum: - fsl,imx6sl-gpt - fsl,imx6sx-gpt + - fsl,imx6ul-gpt - fsl,imxrt1050-gpt - fsl,imxrt1170-gpt - const: fsl,imx6dl-gpt From patchwork Sun Mar 5 22:58:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 659019 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 1FAE5C6FD19 for ; Sun, 5 Mar 2023 23:00:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229874AbjCEXAD (ORCPT ); Sun, 5 Mar 2023 18:00:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229854AbjCEW7v (ORCPT ); Sun, 5 Mar 2023 17:59:51 -0500 Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.73]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD2901026B; Sun, 5 Mar 2023 14:59:50 -0800 (PST) Received: from stefanw-SCHENKER ([37.4.248.41]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N5VLY-1qfuhA35Ss-016wh5; Sun, 05 Mar 2023 23:59:34 +0100 From: Stefan Wahren To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: linux-imx@nxp.com, Marek Vasut , Alexander Stein , linux-crypto@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Stefan Wahren Subject: [PATCH 5/6] ARM: dts: imx: Adjust dma-apbh node name Date: Sun, 5 Mar 2023 23:58:59 +0100 Message-Id: <20230305225901.7119-6-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230305225901.7119-1-stefan.wahren@i2se.com> References: <20230305225901.7119-1-stefan.wahren@i2se.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:2tkDkoVdpQ2dbABoVseCev+gvSjbPMEFYqrQjMuRrlEMLJ2JVhz P8Q+og2gUjvwxCFzyIgbtge3FE+xt3GgzlFSYGy0MCLJsJIWtzvQwSNC+HpD9D2zgXE2Mbu AEzj/NxzNULSJ2tiWVEv+mzN4rsmCNeIBIfkwUFJznoXQah+RhZ0/1zJA96R6Pjn4rkzKWo Z6vpO761FIKtmpLvOUc6w== UI-OutboundReport: notjunk:1;M01:P0:ZLZnfpDLOcY=;19d3uOH504br4uTwjMeVOuyWOOB pu5q5OyGEdyyp2qrMKLqzsmNM3pjqOu0JZhSAvf0jtalW8kuQ7geDpN+yiYkRexEF9vRGDDWK L8KWW7Hu0RlfVTJNFChPtLVZbz/xWpVtTGxwKwxmbcLPs+RyWxZH9I4Gw2tUzWPekDD5bqMof pzZ42s1xP/LbgY8VytVt6OUG7dZ5NR+4cASMqf1ihHNWFU0WoaPo8xUs1ZqK+AOb39dW8N/YP V9562UY9yjpyMrpvQQOXKRvqz3v1eJrvGhmBocLnlA7DGNb+fziXMG2o7a5W7bZIiPIro/nlC G1WPS/X1o0NMaqrNkcUsiRHbaou5IkccPMbvlvYkO7bTRKUZ3ki59QhdxZFn1lOUENuxG/wh1 IBTp47ynRPD+2YsOfP4dR0wM5kx95ztKAL0HN/WYOgn2vYyOn8h9WEI4WRI4bf9IXdbSqFdcG /j2WQbFLlJXcuJdhONrdWz95FRLwTwnYZvc7Iq9jJAAH5rSzEHUvVys7ZADB744zH1jm2WqIE sNwbDkWZEFr73iPZZesU1JT72Gi0+suD0XSu/M6VmvdScl9BKw5ceIc4CZN55pjbWWxdfomVT lvMXfFLGpWie+Imz8kuKspO1Ha3Oo+yfuaQJgB5Ru4mc5fn988sMf4q21QQiIT7SMg8IMaERt c4Z1P9cdzJM5oB3tR67SAoGM0HV2LcOtxv5mqg2uew== Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Currently the dtbs_check generates warnings like this: $nodename:0: 'dma-apbh@110000' does not match '^dma-controller(@.*)?$' So fix all affected dma-apbh node names. Signed-off-by: Stefan Wahren --- arch/arm/boot/dts/imx23.dtsi | 2 +- arch/arm/boot/dts/imx28.dtsi | 2 +- arch/arm/boot/dts/imx6qdl.dtsi | 2 +- arch/arm/boot/dts/imx6sx.dtsi | 2 +- arch/arm/boot/dts/imx6ul.dtsi | 2 +- arch/arm/boot/dts/imx7s.dtsi | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/imx23.dtsi b/arch/arm/boot/dts/imx23.dtsi index d19508c8f9ed..a3668a0827fc 100644 --- a/arch/arm/boot/dts/imx23.dtsi +++ b/arch/arm/boot/dts/imx23.dtsi @@ -59,7 +59,7 @@ icoll: interrupt-controller@80000000 { reg = <0x80000000 0x2000>; }; - dma_apbh: dma-apbh@80004000 { + dma_apbh: dma-controller@80004000 { compatible = "fsl,imx23-dma-apbh"; reg = <0x80004000 0x2000>; interrupts = <0 14 20 0 diff --git a/arch/arm/boot/dts/imx28.dtsi b/arch/arm/boot/dts/imx28.dtsi index a8d3c3113e0f..29e37b1fae66 100644 --- a/arch/arm/boot/dts/imx28.dtsi +++ b/arch/arm/boot/dts/imx28.dtsi @@ -78,7 +78,7 @@ hsadc: hsadc@80002000 { status = "disabled"; }; - dma_apbh: dma-apbh@80004000 { + dma_apbh: dma-controller@80004000 { compatible = "fsl,imx28-dma-apbh"; reg = <0x80004000 0x2000>; interrupts = <82 83 84 85 diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi index 41e08fa23cce..6571f8a1553d 100644 --- a/arch/arm/boot/dts/imx6qdl.dtsi +++ b/arch/arm/boot/dts/imx6qdl.dtsi @@ -150,7 +150,7 @@ soc: soc { interrupt-parent = <&gpc>; ranges; - dma_apbh: dma-apbh@110000 { + dma_apbh: dma-controller@110000 { compatible = "fsl,imx6q-dma-apbh", "fsl,imx28-dma-apbh"; reg = <0x00110000 0x2000>; interrupts = <0 13 IRQ_TYPE_LEVEL_HIGH>, diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi index 93ac2380ca1e..4233943a1cca 100644 --- a/arch/arm/boot/dts/imx6sx.dtsi +++ b/arch/arm/boot/dts/imx6sx.dtsi @@ -209,7 +209,7 @@ gpu: gpu@1800000 { power-domains = <&pd_pu>; }; - dma_apbh: dma-apbh@1804000 { + dma_apbh: dma-controller@1804000 { compatible = "fsl,imx6sx-dma-apbh", "fsl,imx28-dma-apbh"; reg = <0x01804000 0x2000>; interrupts = , diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi index 65b2c6c131b3..412baa848837 100644 --- a/arch/arm/boot/dts/imx6ul.dtsi +++ b/arch/arm/boot/dts/imx6ul.dtsi @@ -164,7 +164,7 @@ intc: interrupt-controller@a01000 { <0x00a06000 0x2000>; }; - dma_apbh: dma-apbh@1804000 { + dma_apbh: dma-controller@1804000 { compatible = "fsl,imx6q-dma-apbh", "fsl,imx28-dma-apbh"; reg = <0x01804000 0x2000>; interrupts = <0 13 IRQ_TYPE_LEVEL_HIGH>, diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi index efe2525b62fa..54026c2c93fa 100644 --- a/arch/arm/boot/dts/imx7s.dtsi +++ b/arch/arm/boot/dts/imx7s.dtsi @@ -1257,7 +1257,7 @@ fec1: ethernet@30be0000 { }; }; - dma_apbh: dma-apbh@33000000 { + dma_apbh: dma-controller@33000000 { compatible = "fsl,imx7d-dma-apbh", "fsl,imx28-dma-apbh"; reg = <0x33000000 0x2000>; interrupts = , From patchwork Sun Mar 5 22:59:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 659018 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 67C7FC61DA4 for ; Sun, 5 Mar 2023 23:00:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229854AbjCEXAG (ORCPT ); Sun, 5 Mar 2023 18:00:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229875AbjCEW7w (ORCPT ); Sun, 5 Mar 2023 17:59:52 -0500 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4654BEB60; Sun, 5 Mar 2023 14:59:51 -0800 (PST) Received: from stefanw-SCHENKER ([37.4.248.41]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1Mk0BK-1qJJdv0vRw-00kRl7; Sun, 05 Mar 2023 23:59:35 +0100 From: Stefan Wahren To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: linux-imx@nxp.com, Marek Vasut , Alexander Stein , linux-crypto@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Stefan Wahren , Jacky Bai Subject: [PATCH 6/6] ARM: dts: imx6ul: Add clock and PGC node to GDC Date: Sun, 5 Mar 2023 23:59:00 +0100 Message-Id: <20230305225901.7119-7-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230305225901.7119-1-stefan.wahren@i2se.com> References: <20230305225901.7119-1-stefan.wahren@i2se.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:NJNkRYg9OEO39KB+kz0xQwZi8gmdaBzK6GliDzYEcMK4rDbBEh9 iYU+haJJArV4sTupFoZVHpCqWff8PrFD4FEpkSmp51+s1HKozaVBd6BoD0uU/FVVaey0c0Q pxvNZwSoXI9p6za7fLAL3hXv+MOCkSUpYJDNw4n0qXR8lJWqaYpkD8SDaplfiGidPBMyCUb B09GDUaikOjFVbOspbigA== UI-OutboundReport: notjunk:1;M01:P0:Ha7rwpkNLZ0=;umHxw3Nmac2GL4jtjlHSMwvlP97 b4nfil2FM7hRpwl1XEGkysDYghsHTHnuWxmHGsg7zroazY8QfSaK7luep6pZX0Aal8xD02dtn sbh67fcQpD9IJr+sBaT6oJakbPIVX/75VtxeK68xEYMn2yoWAbdmWf//BgLsFk2s0h6yQZmu8 rfUVxCdvztzPdj3hvrT/QY5cPXYWUnJz2QTqicLxghcjM219lmt9Nv5gakmuKeipB44oAHi/q jnM5shBbzfc1TT9vcnDh9tJVHaTNl7avk4vt2udktVCBuAVzjwahyxijzjVFT24vNkl6DoBfb J7+WmIX94c28KYyjtTLQlIdfX48/3f9sXUqJ1V8o0MIfRfcfEGO4nQl/pA7TaZmRa9LrTdrk2 l3jgtVZFytXI0t8nLA9Fu/C896IXXdSYQkTwpfT3waU0CEFEh+NcVE0TdQIo70ZRiAvybXwnU aOyx6Ej2WoPRF7TUpqOfpischP25kybueKBuZQ1gAOHEjzAK3WLMdYl38+06/aoJHXUxNkOHy DKTFa5VaRCi9pumlhTsvqLEBcGj2bUei9kjBLD0txAlTFoCDzJbRRSCQ7hQKOC3zcO/dwLCQ8 W9pYlMJyB5amjgtMTU0Z58AfJ1SEEA13OissqNYFDold98gXSzQZ41j2kCd9YqlHsF2knsZry YTLZeLEEhj6b6xvyPGdBcEyD+gppUn1Pfbe37uhyug== Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org According to fsl,imx-gpc.yaml the General Power Control requires a ipg clock and a Power Gating Control node. So add them to fix the dtbs_check warnings on i.MX6UL boards: gpc@20dc000: 'clocks' is a required property gpc@20dc000: 'clock-names' is a required property gpc@20dc000: 'pgc' is a required property Suggested-by: Jacky Bai Signed-off-by: Stefan Wahren --- arch/arm/boot/dts/imx6ul.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi index 412baa848837..fd6c064fa032 100644 --- a/arch/arm/boot/dts/imx6ul.dtsi +++ b/arch/arm/boot/dts/imx6ul.dtsi @@ -720,6 +720,18 @@ gpc: gpc@20dc000 { #interrupt-cells = <3>; interrupts = ; interrupt-parent = <&intc>; + clocks = <&clks IMX6UL_CLK_IPG>; + clock-names = "ipg"; + + pgc { + #address-cells = <1>; + #size-cells = <0>; + + power-domain@0 { + reg = <0>; + #power-domain-cells = <0>; + }; + }; }; iomuxc: pinctrl@20e0000 {