From patchwork Sun Mar 5 22:58:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 660926 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 B9F96C6FA8E for ; Sun, 5 Mar 2023 23:00:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229876AbjCEXAC (ORCPT ); Sun, 5 Mar 2023 18:00:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229868AbjCEW7v (ORCPT ); Sun, 5 Mar 2023 17:59:51 -0500 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF159EB75; 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 1MnJZ4-1qG1Jo3YDE-00jLIX; Sun, 05 Mar 2023 23:59:32 +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 1/6] dt-bindings: crypto: fsl-dcp: add imx6sl and imx6ull compatible Date: Sun, 5 Mar 2023 23:58:55 +0100 Message-Id: <20230305225901.7119-2-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:G3bGCGot+rVZxnY4Or+qVYy3i4Syg8T7FshWAbQbrs6JsjMp6Of xv95BletxPKhw6zcDz6AzE9wHkP+sg4/vi2xgptoNx+SE0dgMN9UvxGwQV9jrelmj4ZBAss S46IrE6ibcg2bX1upHAJkeghzi3vCV1R5ESC9Bz5huOy+x5tG4xVn9oz11cEQmxMRkv8AVk JTIlir4pGx/A6Bu+cfF8A== UI-OutboundReport: notjunk:1;M01:P0:Fk4F8bjkPhs=;lzqEDGGtIQOlamGjzi+33bcwkGA L8vBATucy9eCIJQ8tG0fp4xhn9KoflmcM0oMQUWBWFMU0g+ObatzzE/MFzvswv9M/1HMTrj+S yRrerBXwOVr1CCsVBdka4yRMZrVqPwNRdjc58R9C0abgGvxXObNVQ7NyBRSx1bvVYk7RuZVZW +Udz2aVPwga2ng75nvmhmvEwoY3t3yU4G6dRTS3muFeFzT7fDKkcwTuAyycCh8fryVxlifSPR TWxfH4T+2VGw4j677yR5LV/QrbBxiX9MQv4igkOzIKJ3ECe5X5tph8CXBsO9orgsji2/RqR42 tIOKrzBMR9UA/viQJBKpblQ6BsTgjXha2kC6Ex7YpOKynE5K85p33lhBXI/eMOu5CrHAJMqlD 4CMboacSP85OdlOgo80l6+KyaSTVpTBOFYOdAd6m40HXdn5Lxz0NPgiD9Hv9pHrbxS66PutsR uuKQglWLt2Mbns1NOSlFOkOfSQkO1mzo2o0bvR3tvY/cq3IEhBxk5FRVxTKJOk2x4qrUg71NJ C2ZonutHlPZm2sWLx87TWg705dsK5duo4Bt/Bcki1TyJYvpWkbk/HsPNbOnmNUw/YusYyiY4p f7zmselFxcKN0YfHwCNsCu7974ckk5triZzRrYuq849E5LrD+Ftjx5EuSBcsgLj02BsR3UUay I0GQEWomoWkJ0RpAZ2NScO9V/6jFNqjcgZ1iR1gFzg== Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Currently the dtbs_check for imx6 generates warnings like this: 'fsl,imx6sl-dcp' is not one of ['fsl,imx23-dcp', 'fsl,imx28-dcp'] ['fsl,imx6sl-dcp', 'fsl,imx28-dcp'] is too long or 'fsl,imx6ull-dcp' is not one of ['fsl,imx23-dcp', 'fsl,imx28-dcp'] ['fsl,imx6ull-dcp', 'fsl,imx28-dcp'] is too long So add them to the devicetree binding. Signed-off-by: Stefan Wahren --- Documentation/devicetree/bindings/crypto/fsl-dcp.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/crypto/fsl-dcp.yaml b/Documentation/devicetree/bindings/crypto/fsl-dcp.yaml index 99be01539fcd..1695c4c58dc8 100644 --- a/Documentation/devicetree/bindings/crypto/fsl-dcp.yaml +++ b/Documentation/devicetree/bindings/crypto/fsl-dcp.yaml @@ -11,9 +11,14 @@ maintainers: properties: compatible: - enum: - - fsl,imx23-dcp - - fsl,imx28-dcp + oneOf: + - const: fsl,imx23-dcp + - const: fsl,imx28-dcp + - items: + - enum: + - fsl,imx6sl-dcp + - fsl,imx6ull-dcp + - const: fsl,imx28-dcp reg: maxItems: 1 From patchwork Sun Mar 5 22:58:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 660924 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 C7396C6FA8E for ; Sun, 5 Mar 2023 23:05:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229486AbjCEXFB (ORCPT ); Sun, 5 Mar 2023 18:05:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjCEXFA (ORCPT ); Sun, 5 Mar 2023 18:05:00 -0500 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D25510A9E; Sun, 5 Mar 2023 15:04:59 -0800 (PST) Received: from stefanw-SCHENKER ([37.4.248.41]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MiakT-1qBqJG1Owp-00fkew; 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 2/6] dt-bindings: imx-thermal: add imx6sll and imx6ul compatible Date: Sun, 5 Mar 2023 23:58:56 +0100 Message-Id: <20230305225901.7119-3-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:LdkJIDMurn45BWkJDT8GjmvZOHqCuFwYE3c40poDEbgFl1hLAai VnpbdQ9+AcVlza7RRLsnv4zWpRz20lcVMY1p8dsP1reQrXo/km+i+DVrxmkkXxrGblWY2mP qCLroqJ54TAS82MZenlXCngD6Umi/3UEQ9Ljpn9ILclxq028VAaK8YBgETQF4DexxcwzYQZ wciU4MESNx1HbcHBpyadA== UI-OutboundReport: notjunk:1;M01:P0:ByKym6MCWmQ=;5vkKvvntfHM3zPp6qaFNx1Tx74c xiKUNZjIwt47MP1HEqxbyqK92RlFFadJXXhzBIVpBhIGHvEji9QSyQ8AAEgDAsYQAp+R+JXTE q+76ompcW6IJfr7Q7pWv5OKrABt87ILTZGm9yz4Elem2Npyy/CgyaOrmgQCX0sJFihfRMYD4T sfRyQ6WvUs9nubMqA9Te1jgMHYIuHYTV2v10BI3XGCC2lhdos9EMIreabmlBwtrLhaJclspPi NAlZJ3SVB7Qn8YG5b3TXJq5jsifVyWNvfpWcubK72fezvs1jWmean+02rG2ZIcOcwaIJHUWyr hAkrhmrUYsJyU28j/6g+M3bYJNGZMaZRPmyYNkDBthu16lwPAGRamFFrPKVHQEqR+5pgOFRjM Z9Z7Bh8B4H6rZJ8ltJ8C1cMiKyRz2+FMQf0ha4LOs9HN2BHfJ86bX2TrRTMhKsvKjbNtZjeXR ewZ0Zs4utMCCxL9/BpdF3K1KUHzvgmxegMe4dRrIaK0oRnbzsY1nWpxl3CCPYLE5czpxPAkxB 3Lm2Dxd9M7/KMBZZbkLgmMVBZ2rafEfgqJzJv/gMmSMBK07KX15hkuNoc3UR7d/R/4XV2ngaO K4HBJYSRdmM3PvN+Wyp/cFVV1OvjyCNwSYp51U1I/cBf9xNZg8dvWDcFw7pIo58vUKh2Y2Yik 9k54JjMPnADV4DvMC7Fno2q9ubBupH17tSzgDhGIKQ== Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Currently the dtbs_check for imx6 generates warnings like this: ['fsl,imx6sll-tempmon', 'fsl,imx6sx-tempmon'] is too long So add them to the devicetree binding. Signed-off-by: Stefan Wahren --- .../devicetree/bindings/thermal/imx-thermal.yaml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/imx-thermal.yaml b/Documentation/devicetree/bindings/thermal/imx-thermal.yaml index b22c8b59d5c7..9a20c5d74617 100644 --- a/Documentation/devicetree/bindings/thermal/imx-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/imx-thermal.yaml @@ -12,10 +12,15 @@ maintainers: properties: compatible: - enum: - - fsl,imx6q-tempmon - - fsl,imx6sx-tempmon - - fsl,imx7d-tempmon + oneOf: + - const: fsl,imx6q-tempmon + - const: fsl,imx6sx-tempmon + - items: + - enum: + - fsl,imx6sll-tempmon + - fsl,imx6ul-tempmon + - const: fsl,imx6sx-tempmon + - const: fsl,imx7d-tempmon interrupts: description: | 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: 659095 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 1BA30C6FD18 for ; Sun, 5 Mar 2023 23:12:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229494AbjCEXMs (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-pm@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:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 660925 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 6C842C6FA8E for ; Sun, 5 Mar 2023 23:00:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229877AbjCEXAF (ORCPT ); Sun, 5 Mar 2023 18:00:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229873AbjCEW7w (ORCPT ); Sun, 5 Mar 2023 17:59:52 -0500 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17D331041E; 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 1MNso2-1pxCH814Ho-00OE0T; 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 4/6] ARM: dts: imx6ul: Fix second GPT compatible Date: Sun, 5 Mar 2023 23:58:58 +0100 Message-Id: <20230305225901.7119-5-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:FwwLBpPoq3keAJK7WAOh6jpSlvAluVqG3UFyirkwDd53+H+PmXN Fi1u5k61sMFrLcb3p1rD3WiyMyWjWW6sQjLqUDiFkBz3OjgE6/VY3rGgFsjPfZmw80Gjcgs M9HCLXahtOBnCBndgJO7Bv1rz3x0oYmUuorHR/qasleejZMpBUIIp0MHjwvb206NZ0ElE0D YHC8xEngkR3kP2GU/vQ+A== UI-OutboundReport: notjunk:1;M01:P0:OslH39Jbv78=;QurxNe/i0wIVF3L+aUmAHTHAzBK vhS31PA8tO+D/+FZjurTcOpdLYvqzTzLmHvRSv/YsXhWprT3koR0lEI1xd4YV7/tC0UrEwPsP 2/ULHGLkLR7gL/Zxs1X+FfBOMmZYSxCkqZ6I9LY9Id7GFPcMMpVX1FxuoCT2Z6EVBMwrgZm37 ZoiAzV0MGqTxSUNDg9B6i58aMWblDm6N7zZKc/NFuEhz7rGEAYI1ml5BZAksYBeomWwGxGam8 ONyeAz1UhgpEXIyyYBSpkPrsiX+fUsUYUlyTdUs9tecMCwZ1+Qfqi8rhhokdGH1ana25NCxXV Ce5wDWmZvNFNFiA8lxyE8U4tDQ4hzMYuVwu+LZaT5P9yq3Kk09v4LIpaDQdx22r7Pj0L1ljw3 byv79I6i9O/RcHLQOQRUKd8oVPlVa7sYgYHb4NxwTSNKDpai1rVqs1vPOcW6PqWKN8DMpmSM6 d2Z43pPaZW8abLw7ulVoTjdCe+PDSKCpFucONjRBC4i4RYdUOPCBe/5lKQvEsFJrnK0BpSMT2 g4BDGVNC+JFsOqsnv+f59JKPJSOx774D1Tz7/7uVxHuL0hIB5eVWFRdFmbNdct/duhQliFqHN ah0PYXMjuXKshP3aGxF9nKbPrBk3ntM3nitDO8CvZzdSJCFS9DV4BrfJYHrOOan1CHRQiMR1G 7ZeYAHc2eFFRAv48AYRJN8rQCrM2EdJSDxIO/T+YBg== Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org According to the imxgpt DT schema all i.MX6 GPT IP is derived from imx6dl. So fix the imx6ul DTS accordingly and avoid dtbs_check warnings. Signed-off-by: Stefan Wahren --- arch/arm/boot/dts/imx6ul.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi index f0a9139748b8..65b2c6c131b3 100644 --- a/arch/arm/boot/dts/imx6ul.dtsi +++ b/arch/arm/boot/dts/imx6ul.dtsi @@ -448,7 +448,7 @@ can2: can@2094000 { }; gpt1: timer@2098000 { - compatible = "fsl,imx6ul-gpt", "fsl,imx6sx-gpt"; + compatible = "fsl,imx6ul-gpt", "fsl,imx6dl-gpt"; reg = <0x02098000 0x4000>; interrupts = ; clocks = <&clks IMX6UL_CLK_GPT1_BUS>, @@ -734,7 +734,7 @@ gpr: iomuxc-gpr@20e4000 { }; gpt2: timer@20e8000 { - compatible = "fsl,imx6ul-gpt", "fsl,imx6sx-gpt"; + compatible = "fsl,imx6ul-gpt", "fsl,imx6dl-gpt"; reg = <0x020e8000 0x4000>; interrupts = ; clocks = <&clks IMX6UL_CLK_GPT2_BUS>, 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: 659097 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 3112AC6FD1A for ; Sun, 5 Mar 2023 23:00:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229831AbjCEXAD (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-pm@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: 659096 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 99D6BC6FD19 for ; Sun, 5 Mar 2023 23:00:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229885AbjCEXAG (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-pm@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 {