From patchwork Fri Apr 14 09:19:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 673319 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 DD35EC77B6F for ; Fri, 14 Apr 2023 09:21:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230160AbjDNJVI (ORCPT ); Fri, 14 Apr 2023 05:21:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229840AbjDNJU7 (ORCPT ); Fri, 14 Apr 2023 05:20:59 -0400 Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D204183CF; Fri, 14 Apr 2023 02:20:49 -0700 (PDT) Received: from stefanw-SCHENKER ([37.4.248.58]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1Md66H-1qMrKj1Fkh-00aFUl; Fri, 14 Apr 2023 11:20:10 +0200 From: Stefan Wahren To: Herbert Xu , "David S. Miller" , Rob Herring , Krzysztof Kozlowski , Greg Kroah-Hartman , Shawn Guo , Sascha Hauer Cc: kernel@pengutronix.de, Fabio Estevam , linux-imx@nxp.com, "Rafael J . Wysocki" , Daniel Lezcano , Amit Kucheria , Thomas Gleixner , linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-serial@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, Stefan Wahren , Krzysztof Kozlowski Subject: [PATCH V3 1/6] dt-bindings: serial: fsl-imx-uart: add missing properties Date: Fri, 14 Apr 2023 11:19:42 +0200 Message-Id: <20230414091947.7831-2-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230414091947.7831-1-stefan.wahren@i2se.com> References: <20230414091947.7831-1-stefan.wahren@i2se.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:VioDRxv3cyE25EFn6APl9PQCkeERmtccGLpNoVTuhpxmR8Ryy+l ooOfWTi9WlipRRAiIAowyL1kk7vengOZSu6gN0pXrJOIy+8GDBp2OZjBnzRqBL/zaOX7rJI HBlzAn4RZHyYg6VadyIxbM64W+vF30iN6OsBIUT0BJwoYm5AWgkkPgdGZNc9MX7+MebE5k2 PymoQcrFqs87GTp6/mmAw== UI-OutboundReport: notjunk:1;M01:P0:Gz7UI4zls1o=;AZQrNr6kqGDd4YXjZZTdY2ohqZM 268QJuWTF86x7E/+ijtB4EZ2+gDJPJGZt/MCvWh+aBgQLzxT+Qu1H8y1afAZlbilB8zc5K31B NLVl4/3jj69Xmmw+uVb/M4Ce7J73T4Yj2Pv4hpECgXedhreKz5VHsNLrYAxnZIV2zNhUvmDCF 5DR3+Pm9y/DnBGxrutHAnJe3PMKoRSTkxmClmX9k642OKYgx6JcFrSvl1tihJh/KjQcu5WF65 3ZilVD/csUYMEFYKgNvZBvYIRQ6+0IBMVqQAjeD1Egdf3pfIpN6I/WKvvyGcQRl3y1/Kmyr2B YK2I2L0qSsg1IAE4UgDScYpeVmhE8hi4EDSdjNEEYAEBz+z4sixne8A2xrb+wTytCAcSSa0GY 5xoXOH503o0uZ8D/NnJpZWj8O3rSQtFNjWlsb57fmEjGN4U0ehHTcML+WMcAqlABvDw+FzG8z SOnLVx9nSxvDBmeNjEzc/c80fO3Q+MYxDx1KpAXrp2SYOsBav+bGMGBymZ/Sq6SNLPAU0Y0F4 9MVikikvgSZgpU++aPaGnmtN8QnjsGeZ/ofzfTT11NZvyayg54DTW9oRsOuaZWF90ekvVNHe3 IOhrjld7q6Y3Iy8AIu0EMrpBTcremcb9EeZX58RqdMj8leGY2xIx5+wawGrawsLJyjFsRdvlG n6HbRB/Z/84083IgyxvCvtwxvTn9gdBRidSARojYEw== Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org Currently the dtbs_check for imx generates warnings like this: serial@7000c000: Unevaluated properties are not allowed ('clock-names', 'clocks', 'dma-names', 'dmas' were unexpected) So add the missing properties to the devicetree binding. Signed-off-by: Stefan Wahren Reviewed-by: Krzysztof Kozlowski --- .../bindings/serial/fsl-imx-uart.yaml | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/Documentation/devicetree/bindings/serial/fsl-imx-uart.yaml b/Documentation/devicetree/bindings/serial/fsl-imx-uart.yaml index 4cbe76e1715b..06f4b02b0550 100644 --- a/Documentation/devicetree/bindings/serial/fsl-imx-uart.yaml +++ b/Documentation/devicetree/bindings/serial/fsl-imx-uart.yaml @@ -52,6 +52,24 @@ properties: interrupts: maxItems: 1 + clocks: + items: + - description: ipg clock + - description: per clock + + clock-names: + items: + - const: ipg + - const: per + + dmas: + maxItems: 2 + + dma-names: + items: + - const: rx + - const: tx + fsl,dte-mode: $ref: /schemas/types.yaml#/definitions/flag description: | @@ -87,11 +105,15 @@ required: - compatible - reg - interrupts + - clocks + - clock-names unevaluatedProperties: false examples: - | + #include + aliases { serial0 = &uart1; }; @@ -100,6 +122,9 @@ examples: compatible = "fsl,imx51-uart", "fsl,imx21-uart"; reg = <0x73fbc000 0x4000>; interrupts = <31>; + clocks = <&clks IMX5_CLK_UART1_IPG_GATE>, + <&clks IMX5_CLK_UART1_PER_GATE>; + clock-names = "ipg", "per"; uart-has-rtscts; fsl,dte-mode; }; From patchwork Fri Apr 14 09:19:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 674975 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 357E1C77B6E for ; Fri, 14 Apr 2023 09:21:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229941AbjDNJU7 (ORCPT ); Fri, 14 Apr 2023 05:20:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229735AbjDNJUt (ORCPT ); Fri, 14 Apr 2023 05:20:49 -0400 Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.73]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5AE176B3; Fri, 14 Apr 2023 02:20:47 -0700 (PDT) Received: from stefanw-SCHENKER ([37.4.248.58]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N1PLB-1qTYMD42zz-012p0R; Fri, 14 Apr 2023 11:20:11 +0200 From: Stefan Wahren To: Herbert Xu , "David S. Miller" , Rob Herring , Krzysztof Kozlowski , Greg Kroah-Hartman , Shawn Guo , Sascha Hauer Cc: kernel@pengutronix.de, Fabio Estevam , linux-imx@nxp.com, "Rafael J . Wysocki" , Daniel Lezcano , Amit Kucheria , Thomas Gleixner , linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-serial@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, Stefan Wahren , Krzysztof Kozlowski Subject: [PATCH V3 2/6] dt-bindings: crypto: fsl-dcp: add imx6sl and imx6ull compatible Date: Fri, 14 Apr 2023 11:19:43 +0200 Message-Id: <20230414091947.7831-3-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230414091947.7831-1-stefan.wahren@i2se.com> References: <20230414091947.7831-1-stefan.wahren@i2se.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:lkYmIKrsu5se5qvzrGx1mB5+kd2LraF0H8djqvuSD8kkSZBSPf7 YCHAFHYGDyKCn99qTMv3XBxSCPWoRkA3Z1VGjyKbYIEf+6yu3X0uXWm1PXqdTij9nZoMEp9 zRERCHxErwAcFjl6ijNXdxjU0qtPH9w9Wf3X8157GdgRF+dx8cPHnHqW3r7fBTwopu4LoSL tTrWwrfrooL6r2/Ib5Uyg== UI-OutboundReport: notjunk:1;M01:P0:pEiDW3vTvy4=;HccE/kh9FnZuYSPGfPqb6p0COat fvkFl8CTKmE502V/rV1EzgjFGOMa9EYMFQuBynXvd+IVBovvJJJVzXtVfjPOMxAgF1hHdSGOe D6drzG4SnXKXWnpvpPxkJESB62c6ddZyqrctUuEkYvY/RcXOntCPe7XvvHLD+EiDKFqAMKVVl 4JwLUzZLFU70TAKZrTKJsRay2mAnQAi7ZqlJQATjl4cPCbYxlGVKNQryLuV7TG39APZF30CZp XFtDUcJZc6T6OTHvfECvJXWCg+LW7QD0HJMoj4M+MlANkUFvqqgMCXUPkeSg580gb7C2XVolO HqUSKpT2nZI+dtWj/Cva90+F3u/2QZUY/8nJmLLd0EjH7ZchXBBfjyhDEqpIoHj8dFHITGaRT nLnLoa/fd/C88HaUIDZM4D9S3YjB6jUFkVINsvuu+iYGQKALHI15VqQ3hcVtqNREu2R+Vi9ng 20Onq31mBnIdAlTSCHiAZsjwmMKX6K1Yy6+S0yzenKURf67jnGmvISXwUN7KaMTtbwcgF5DAm IV8mWLVDdyxZp3fBusIyJ6ptN9QlgU9SsE50Uqsr7EP1lkUpAmIMdrZlBoi8RSE0nrfJbABe6 vVRCJ2xIJ7z35tQ0vpkQ0Sm3OWbgj/XmQIaxWhibqNAq61TsJ/q47CD+HPZDHmnYLNGXnCx2W RW7iAwPX4dh4NIOKRduZBDIR2+OdaEl9SnTMfqn90g== Precedence: bulk List-ID: X-Mailing-List: linux-serial@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 Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/crypto/fsl-dcp.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/crypto/fsl-dcp.yaml b/Documentation/devicetree/bindings/crypto/fsl-dcp.yaml index 99be01539fcd..8dd36c2f76fd 100644 --- a/Documentation/devicetree/bindings/crypto/fsl-dcp.yaml +++ b/Documentation/devicetree/bindings/crypto/fsl-dcp.yaml @@ -11,9 +11,15 @@ maintainers: properties: compatible: - enum: - - fsl,imx23-dcp - - fsl,imx28-dcp + oneOf: + - enum: + - fsl,imx23-dcp + - fsl,imx28-dcp + - items: + - enum: + - fsl,imx6sl-dcp + - fsl,imx6ull-dcp + - const: fsl,imx28-dcp reg: maxItems: 1 From patchwork Fri Apr 14 09:19:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 673321 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 9DF6BC77B6F for ; Fri, 14 Apr 2023 09:20:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229540AbjDNJUp (ORCPT ); Fri, 14 Apr 2023 05:20:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229448AbjDNJUo (ORCPT ); Fri, 14 Apr 2023 05:20:44 -0400 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64F5C59FF; Fri, 14 Apr 2023 02:20:43 -0700 (PDT) Received: from stefanw-SCHENKER ([37.4.248.58]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N8X9L-1qQnTW2gUL-014RZd; Fri, 14 Apr 2023 11:20:11 +0200 From: Stefan Wahren To: Herbert Xu , "David S. Miller" , Rob Herring , Krzysztof Kozlowski , Greg Kroah-Hartman , Shawn Guo , Sascha Hauer Cc: kernel@pengutronix.de, Fabio Estevam , linux-imx@nxp.com, "Rafael J . Wysocki" , Daniel Lezcano , Amit Kucheria , Thomas Gleixner , linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-serial@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, Stefan Wahren , Krzysztof Kozlowski Subject: [PATCH V3 3/6] dt-bindings: imx-thermal: add imx6sll and imx6ul compatible Date: Fri, 14 Apr 2023 11:19:44 +0200 Message-Id: <20230414091947.7831-4-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230414091947.7831-1-stefan.wahren@i2se.com> References: <20230414091947.7831-1-stefan.wahren@i2se.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:yhVLvdOtotpcDXG6lxpSO4LOeUKBcNbf9LpLbV/9MnR3OlD+Ttj GR5NmFY7sFWd/sGUYtTg1kiWDWMczU/jUX8FpwS83xxBWTX9d2I+6U7VQf9uYBU5BCDZdji cV26mP7jBSQRSF5Q+9D5LDaBf6UvEeLaKMhweNXe+fQeptU81b5JkN2R1Fqge3+A7hLi1Dg SoZwiewyvQCWZYEt0YoOQ== UI-OutboundReport: notjunk:1;M01:P0:rDISmrQLwxc=;Ki/zD+XBOrmhx9wA7kHnYw5dyFg CH7yv0LZEQK0zsViWPmQVjJZOi4RYTTTJKmQB8xWtlZQAjme9vvifMGVnEEnRkogQ31gxtJMy d502Ff7m3gsCQDo2dYJBLqkhlGBgsUFtHu354fhi4gnS0TmgITYCU1FEEg3/7y4ghDLJnZDOI +gIAIYId+D3+GXgsG7pYSTJwYYMVswv0vHfroVnpyYE2I3pkMzltQtJBvH0v+Vu7Gswz1bfEb FONzLodS1ERhzl9KfDl8kuC4yMmNJJZiJlrx0e3u7gOZUm+FBRSPz80vGxD1ppXhf08xoiOry tzsohwwGEt/Q4jdgJtqDx1WZ4sUMRL6gwFfS99+IXYSB/yn4l3ZgPQdbKJwCoepg1P+X8i//J FpzRCO/IWsCnGMCcMcPZngQYHaqrg3k5qGkl36QnYfl+GYAsOzLGI589mhdmxfaOhRZH0zZN0 32/XmSvi/dgoeAEcY0cjrsaGbjxxxe5PZ1VhaK87oIoytnw5gtcATKQF/c+j//HKESp1BeQVh USd/ULRvdZqIzvcbJuIVXw89vbr+k1e5iDkZ0z+qouiKV0YwqEQ6eg85BrWim6WKp5MNey739 UdWV4U0h3ZSwRK+ytGKWJxZjJb51QYWmTk3R9GsR0btSbexk5/oYwqOxv34uGjWXVjQPO/rb8 Sq8hWuOBUkfkbaQtXF1Oy2OQuz9c2tJyKKvYpKqM5Q== Precedence: bulk List-ID: X-Mailing-List: linux-serial@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 Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/thermal/imx-thermal.yaml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/imx-thermal.yaml b/Documentation/devicetree/bindings/thermal/imx-thermal.yaml index b22c8b59d5c7..8902e9499c96 100644 --- a/Documentation/devicetree/bindings/thermal/imx-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/imx-thermal.yaml @@ -12,10 +12,16 @@ maintainers: properties: compatible: - enum: - - fsl,imx6q-tempmon - - fsl,imx6sx-tempmon - - fsl,imx7d-tempmon + oneOf: + - enum: + - fsl,imx6q-tempmon + - fsl,imx6sx-tempmon + - fsl,imx7d-tempmon + - items: + - enum: + - fsl,imx6sll-tempmon + - fsl,imx6ul-tempmon + - const: fsl,imx6sx-tempmon interrupts: description: | From patchwork Fri Apr 14 09:19:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 674974 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 BB4EEC77B6E for ; Fri, 14 Apr 2023 09:26:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229696AbjDNJ0O (ORCPT ); Fri, 14 Apr 2023 05:26:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229479AbjDNJ0M (ORCPT ); Fri, 14 Apr 2023 05:26:12 -0400 Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.73]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 769122100; Fri, 14 Apr 2023 02:26:11 -0700 (PDT) Received: from stefanw-SCHENKER ([37.4.248.58]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MHndY-1pbil01MKE-00ExRq; Fri, 14 Apr 2023 11:20:12 +0200 From: Stefan Wahren To: Herbert Xu , "David S. Miller" , Rob Herring , Krzysztof Kozlowski , Greg Kroah-Hartman , Shawn Guo , Sascha Hauer Cc: kernel@pengutronix.de, Fabio Estevam , linux-imx@nxp.com, "Rafael J . Wysocki" , Daniel Lezcano , Amit Kucheria , Thomas Gleixner , linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-serial@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, Stefan Wahren , Krzysztof Kozlowski Subject: [PATCH V3 4/6] dt-bindings: imxgpt: add imx6ul compatible Date: Fri, 14 Apr 2023 11:19:45 +0200 Message-Id: <20230414091947.7831-5-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230414091947.7831-1-stefan.wahren@i2se.com> References: <20230414091947.7831-1-stefan.wahren@i2se.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:egH7C3VWWiwX5h70heHyF3Hbrr2woAXkBy8iCnJcYjcN37pLXtw 8N4bFakSW1kRpwArx6vnh5b9DBGDCC/Ks36ZGsVvBe1e01TvR0EX0JbGf8QKVzPITSPX6pv xnLz1LzTTDWlG8jjPY8Xw6ZnlTcJvGxw4DEkJQ6hG4b9Pq5Q0fFbANatjsq2Fb7j8UMcsvw hVsexP3i2sFjBaVtFXibA== UI-OutboundReport: notjunk:1;M01:P0:HkTdbiXyVe4=;tQfg1yApb1BMGE1b4c4DobBApSF ZSsjtTCuf602XInLNIxl7DZHJG1x2d+XrNKZmZ1w3n35NtrDO6/gdE0ydOFx/IVy7j6xB+wGK 0t/aSI4GiiojPh6MWWeSIBoXaCep4+QRfC1s1lLfdChabebe8Pv4KmgyF7FLBy01tNN+n4/xh jCYxDvquvAqWgXAiYG3X9LIZqotWbCVWW0u7OiTUUttEbZ/Ub/hOmZFsV8oXwC/u/FcNjkgpC EjVuWcLF0Yq1zhzQOLsAB7j9xvqY6rETKbkMIkGnyR/Dn0LKSxTjGm4zf7p+LTzrn82F2CU4H /vdA6VNG9e6HoUbAIi2cII6eX7wC7+NXVQBxAWVEQKUsRoITxHiGwJDsLDRMfGUgRwCkf6p5S SAVg//rHhz+V4iEGt15yT1vUInMBYHiTOGTtHCsemMN2LNOZAKLIOMg130qvC1gvicEiHiXiZ 0LwqSJyg/ZekLHhgBZU8nUDynMi1c8Z9Hhcq1T6zQPgRuFvCZj01SktLXCEcoyYw/+N4GBCRY bSmpBOrYOp3GBY15RAFakD8iSNaqlcyWYiPvymfiYMk+Ikp8xCccy76FVmxIAKlxH5/tbKhCd zB4jio0f/zoOAym0GRsfFvJptuJiaF4XT9O+4dEfISpQGt6SCIVgJD5O5Y7pbOwVUOO5jCzoU n0miRL7VlmEFdvTyVC4QqnPjZbK9YiJRQdm9bbYXSbo5lnNFGIAreOIyRQS8aZI0uYXlIBSBX lyA4l6bIiQuUmY+UioT4TO4OoeH8Q2sHA== Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org Currently the dtbs_check for imx6ul generates warnings like this: ['fsl,imx6ul-gpt', 'fsl,imx6sx-gpt'] is too long According to the timer-imx-gpt driver all imx6 use the same imx6dl data, but according to the existing DTS files the imx6ul GPT IP is derived from imx6sx. So better follow the DTS files here and make the imx6ul GPT compatible to the imx6sl one to fix the warning. Signed-off-by: Stefan Wahren Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml b/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml index 716c6afcca1f..685137338ac9 100644 --- a/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml +++ b/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml @@ -34,6 +34,9 @@ properties: - fsl,imxrt1050-gpt - fsl,imxrt1170-gpt - const: fsl,imx6dl-gpt + - items: + - const: fsl,imx6ul-gpt + - const: fsl,imx6sx-gpt reg: maxItems: 1 From patchwork Fri Apr 14 09:19:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 673318 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 0B849C77B76 for ; Fri, 14 Apr 2023 09:26:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229479AbjDNJ0O (ORCPT ); Fri, 14 Apr 2023 05:26:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229528AbjDNJ0N (ORCPT ); Fri, 14 Apr 2023 05:26:13 -0400 Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2AF10210A; Fri, 14 Apr 2023 02:26:12 -0700 (PDT) Received: from stefanw-SCHENKER ([37.4.248.58]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MZk1p-1pt79P49MV-00WlRr; Fri, 14 Apr 2023 11:20:13 +0200 From: Stefan Wahren To: Herbert Xu , "David S. Miller" , Rob Herring , Krzysztof Kozlowski , Greg Kroah-Hartman , Shawn Guo , Sascha Hauer Cc: kernel@pengutronix.de, Fabio Estevam , linux-imx@nxp.com, "Rafael J . Wysocki" , Daniel Lezcano , Amit Kucheria , Thomas Gleixner , linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-serial@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, Stefan Wahren Subject: [PATCH V3 5/6] ARM: dts: imx: Adjust dma-apbh node name Date: Fri, 14 Apr 2023 11:19:46 +0200 Message-Id: <20230414091947.7831-6-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230414091947.7831-1-stefan.wahren@i2se.com> References: <20230414091947.7831-1-stefan.wahren@i2se.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:NRNPh3BpQ+BjhLfRznBBdYdDO+A5MYq9E+lVY0pK1fteDl4SyQB dwLHhpgbQO2P6TOiH0edt4WnLckDaFf43cIoQMKhw4R5juOaL5oETxK5gbZIRCQdVysnKMH 2iUGUnGxEm4pWVtgXRM33RA6dF4Bwk/beGd+O5Jsh9nFZxX+XkcFOGuQhxgamzg+tppfMzw k45kFQBd1Qx8DP2fVm0fA== UI-OutboundReport: notjunk:1;M01:P0:JH8s12BWlLI=;sOuYv+jA6kqRGFy2YWPZ+tkdqm2 hELifqDCje/aXXBZG7l/FtbTcTselvA/ABuSFqNwGmnf9h6k/C2lZCma7T6O18lcB1tV7Kdtl YkhrOs4HzfZK+NhbUn+gKGVjDNT5lPzyQplmHZPM1VB9tgQBPOfdKhs1QZLwVk7tppFeUApVb sFkIMwRIouZyPJhJnAP7ZBBiudpYUB5dQrBx34LyMFH99yMBXTYx4sjDPVi/Csbty2uI+6ZOW uGJXh2vI1Wet83Jxm+//IeDSYFUIN/ObNZTruNg4P5rBEjze502x1HKyWgIqhNPhHbbAavBif 1Wzr6wYCMvlP64qH6WPPnGC0DGRjWCJ+2JuVVYEvsRIttPPf8AfwLC3J4lGPEqZBUvAP7FVCn C+U64AzULCTn1JPDq07KUHhw4m4Pp3ItwyJXdhKl/zba49UlwmfrBBcQfbVivtcXvxNMestiW Y2SuPlQ1YeWxAoRQUoZTCBhWu8PAW2LiJNuFiM8TYRVqiI3PWtYbhzHV/+dce/8GS82ZJdvOJ 8K4IUjzg2m2l1XwQ+2zCX/vmjbbqjhkKDyg7KEAXzsg2WpaBNusU/kZ2zu4g1SIRX+IEVIN16 zw68N1olDX5tAo0E9uEmr7bXPK7snnlMqj+NI0n5xJGA/S7oxcYQ+N0xYqoVFHNMjHMySSHkW w4Z9RW/zq8Vp+pUS32q7G1Iuvp67zDSzcc5+8q2sQQ== Precedence: bulk List-ID: X-Mailing-List: linux-serial@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 b72ec745f6d1..bda182edc589 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 3d9d0f823568..118764c50d92 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 Fri Apr 14 09:19:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 673320 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 AB662C77B77 for ; Fri, 14 Apr 2023 09:20:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229778AbjDNJUu (ORCPT ); Fri, 14 Apr 2023 05:20:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229479AbjDNJUs (ORCPT ); Fri, 14 Apr 2023 05:20:48 -0400 Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.73]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5A0F5FDB; Fri, 14 Apr 2023 02:20:46 -0700 (PDT) Received: from stefanw-SCHENKER ([37.4.248.58]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N0WPK-1qawLR2nPI-00wRDM; Fri, 14 Apr 2023 11:20:13 +0200 From: Stefan Wahren To: Herbert Xu , "David S. Miller" , Rob Herring , Krzysztof Kozlowski , Greg Kroah-Hartman , Shawn Guo , Sascha Hauer Cc: kernel@pengutronix.de, Fabio Estevam , linux-imx@nxp.com, "Rafael J . Wysocki" , Daniel Lezcano , Amit Kucheria , Thomas Gleixner , linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-serial@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, Stefan Wahren , Jacky Bai Subject: [PATCH V3 6/6] ARM: dts: imx6ul: Add clock and PGC node to GPC Date: Fri, 14 Apr 2023 11:19:47 +0200 Message-Id: <20230414091947.7831-7-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230414091947.7831-1-stefan.wahren@i2se.com> References: <20230414091947.7831-1-stefan.wahren@i2se.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:evrJA8MM22+6SLfyF/L8UqSTqxmdsXKGyejbmw7WripfxHhfRjj AAumbvkax09UMWIBbsaBIjamNJ0EcWbWAL2NTojOlKK9g2ZrTK8YzhaLEb6c3oKKxUlCkt3 CE2YdPhAlAZ30CpDhpqQatriy73Hc4MscF+Se6BqrgNtbLk1Hrm62+AD0mt6+jtTaBLjFJF ViueNyMZw1ps2eMh5YZ1Q== UI-OutboundReport: notjunk:1;M01:P0:A18oXTTfw6Q=;TDAtKXytzyo3awLeAnBfcqEvlR0 9pBZfLMvpWpxtIqkxrzQUKFAGoFNZOs2ptIHA0Q2xSRk5OTsmkZ/h4X+4TW190/QiCJHmR5Dq nzQMbmdzkF9+jt9+eh756iAt0kSIzgkWTZSoUMGcn6eQKSttO7lpb9XP2OPFsnURwujSfS/8r 5/Tlm/7MJlh5qbrow4o5F1aK96NWTS3m+tLKZPeNfyh4w/+Bno5RVm/liwA4CIUsmE0NkNlW0 i2gbVa4AqN73Bkj6jeI+hSGNwbYN5Sp/f4d+Uzfgctbi4Dva1th3hHWB97pvVc49Lh6UKsEDk /QWAgjZVHgR5ZWiT62W2yOkOW2Tqi8iBhajmgZrMjzPg/934wis7BRNfoktPW35BqZYQFhlLg I3FSelvslDYahmMRzFqIOA7Cz8VOf2O8PRT80YL1fFRJujM8ce1tv3eT6IldOc0OLtpaz9RLt zochIr7wgGSqe+lS+0xYxRTST9IC7OQe3/HcohEBoNxs0HXRDaJ77w5ekNMxUvIZwxmuPURsH e5Bd2a4HXodpCoELi7CLU9yvs8iqUDwBK96mi5zIryhlkeaFl8+vH6/hnByc6IfHR1jCdVv0Y jz+CJsQmb4viXWm99f6V6FLDel60RNOkHoGh9isKWwKR1resIjffTw32TpyuZd5vPkVtcaU+D VW4qa6pqHK2V50HyntLfHB5krkryOiweRI6wApMkXA== Precedence: bulk List-ID: X-Mailing-List: linux-serial@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 118764c50d92..a8efaed69214 100644 --- a/arch/arm/boot/dts/imx6ul.dtsi +++ b/arch/arm/boot/dts/imx6ul.dtsi @@ -719,6 +719,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 {