From patchwork Mon Apr 10 20:57: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: 13206770 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4E940C77B61 for ; Mon, 10 Apr 2023 21:05:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=PgoCDhg1KCnY50TRuV3Wu26kkpcjvLAlk2b14S1FjeY=; b=B1+0F5G0lmA/Vf EoiOqm9cHFpHYHXArc7t4EUyotZUiFdFaDeH+UbW6gqosdi1vuZQg9GwdhHCWY+HAM8TyQU1CdkwT u+1HoOUgHPsDPwj3BskW+acyt2+surWEd4J9f/f8AUc++jhtj3+ggp5TU5QcUsysOg+BgqkAWwuWE VK6xe28DJb6Sc6fhb44oRngt0hwG3jJOvI/S7fXy1tUqtfXPobCInk+AeciSRwnTqhkI9JEIPj+Sz 5oxjR6K71rmyamFq51Xdh3XOz5FjJjtiDdQcUuQ175i+V00lejxLZLENcJvWCoffYucMSTSdpQiDt 5riFoEwXWR9sD2aN1khA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1plygT-00Fvup-1c; Mon, 10 Apr 2023 21:04:17 +0000 Received: from mout.kundenserver.de ([212.227.126.133]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1plygP-00Fvty-2W for linux-arm-kernel@lists.infradead.org; Mon, 10 Apr 2023 21:04:15 +0000 Received: from stefanw-SCHENKER ([37.4.248.58]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1N8GhM-1qPahk1zKi-014B00; Mon, 10 Apr 2023 22:58:24 +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 V2 1/6] dt-bindings: serial: fsl-imx-uart: add missing properties Date: Mon, 10 Apr 2023 22:57:58 +0200 Message-Id: <20230410205803.45853-2-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230410205803.45853-1-stefan.wahren@i2se.com> References: <20230410205803.45853-1-stefan.wahren@i2se.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:MmUcvjf9uOErE5b5IeVHw9tVnV3GPVyP+Y37OrSM5Ev2cGimvJH BjEwYCBp9fRTAcENB120/qRudJC9p3XQiOPj2vY9heUIJBJcYXmmAPrH6FQKcc4VxYte3Aj AZFl/l+j2DtcRW8UVLN/wFo91/oek9btvROxtsqJ0FeQdX/iXqDVcvdP3aojaS5yxHzbUCh QRFPjENYex3/TZo6zw0uA== UI-OutboundReport: notjunk:1;M01:P0:m6tbYDJ1M+Q=;qO6VT5PxXLeCDQSN4gTzpI60yDT Hldb6M3BSI05146bNk1YQpt/b7z+uYbcNE65Ojcgd3RIfhMDceABVEI99t9mm6JCBXTV8EaEl +b8/bEM7dDc+wAQem33xK+PBoL8KsVkmTGeegGqEmJdE/W1cDzRgvnuUfwiPCotKXV2sQcifI 1t4/ThO/iU/xCfTFjbBWQqGOWF0oTyq3Ob8jIYiCj6YuNObzfnBJVPdu6EIUtNbbYOMwEfA4E wRAKkjR0PcDFznC8tWtAgmv4W675zOsqtREDUjfW5EDK7CWoVOpN1sy2msJwxIeqsiXZlHg50 uZPzB+X1l9dkrcEBpcosEmZHa3fj486GHnmEEnF63Ibsj1Ogo7sxcsWCIhgpAwE/yteoUqkWW SqNOCXCgyxXWugfZLwjOtxl1t7bYSSYSjoPan7aLfOCFajAO5GnQ9b+kH3YKnjBsq1ivJFu7/ 7yxdP1bju983iOriT/U2PVR71h8e8X1XwRllgteojOY/z+FYVjTuRbkgkqfw1Kkld/uv3wuDU Tx0VU8mDw/70MEEjI703fsiu0+hvoBFkMROpyjFfukq7luIjUPYUea89f5jyEqyPJY+j0kjWb zGA1qliBOTlOMuTpQDGflFGi/VFeKZkW3zY6tFuyqeOgLb7ENPXloWu1RSZn1df3Dc+WbEcUO 0Bw1XhRZwiGjlJYXjs1kGcZeUvsE1LKO0Cerde+qvA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230410_140414_114414_2D406405 X-CRM114-Status: GOOD ( 10.71 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 Mon Apr 10 20:57: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: 13206769 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7AB93C76196 for ; Mon, 10 Apr 2023 21:05:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/p6uc3RaXhhXFg0wYn+Lpz5/jWfHbBQg9Nj95msqziI=; b=v1IuespeNh5Iuj WwobJPE/MpOc7Rhi4R8yOV9eLeq/KhqUrDrUhRxM9vlSnfupqEeGldREzQ8fJg6H22vwjX0W5Cxr1 KLM9UMwpvBdQtvPfJiLmJyTEky8cq2P2xh/G74CiJBXojZYEuXkjr6aIacMOhnsgWB84Euv0D5ZEP PrU7d6ReX13UWWpjZ6/PM6gbDPTYoQnZrJH2ba0PfpojzGOr0DmZp4lVjhRb550U725XSCLGArSU5 cEPTNUrXRpPU7BdEFiA13DnlJLQC+cNeNXzn2M6XmR3JwVQ69P9t3hFjWESFy4cFAcr+/RuxSAXCG 51Lx/arwgOBwq/htiifw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1plygW-00FvvS-1t; Mon, 10 Apr 2023 21:04:20 +0000 Received: from mout.kundenserver.de ([212.227.126.187]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1plygR-00Fvu1-38 for linux-arm-kernel@lists.infradead.org; Mon, 10 Apr 2023 21:04:17 +0000 Received: from stefanw-SCHENKER ([37.4.248.58]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MlwJv-1qDJ3K0TsR-00j5dn; Mon, 10 Apr 2023 22:58:25 +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 V2 2/6] dt-bindings: crypto: fsl-dcp: add imx6sl and imx6ull compatible Date: Mon, 10 Apr 2023 22:57:59 +0200 Message-Id: <20230410205803.45853-3-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230410205803.45853-1-stefan.wahren@i2se.com> References: <20230410205803.45853-1-stefan.wahren@i2se.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:u4UCiJkTnoSzdaA3kq33v+s/Pi1vopzInEGk01LNGa+mKCiScvd y165hMXMv0tjOC6jUzkbAG3kGIj24s7q8e3etyYqgt7COomH2Q/CZCWDD12B4MEnTskbY5G D8faRUTtU2l3pO8II9uZJjLIkz/RbZUqkn5gF9V+fSaIlWupGzn88cUBcuTI+poCo4gaoKH RKR5Dj/Wf57UwjIeklo4g== UI-OutboundReport: notjunk:1;M01:P0:uPe4LuIhzNw=;I9mBFXOt1tQurNJRrK7lQtPDsti 0PkJbZEZofsxm+QAk6z5fLw/B7HK3VSQ0CnCd1IqelqnV7x5HRHD+t1aPFfWHzpvuvULrYBEM MXJoyoc4eKKFoY9w0ylDFw6UgEEPlxp9yrJcC9PAgKwv+/NZXSKinSEPUxlliIf/qlgXNUC2f 9MOKfzX/U92/IJO16eiHQA2WE1VWXizwndemS1Z+HkC2CB+lHGi+SILuf6uuoI6CzVg1/ae+G 9NVDUsXhrfYCeaKmqVttjHNBRxU6Adujqu+dzoZGcR1nKXdrZC4ohYEuWpF/7LKgJHZ2wjlU/ JUeY4hFz3EFW91JaAU0SwLBd36m0dnXKITr2fzkJkVP19NbB3ZovtXzKk95FMWltZRk9J/YTx 6uhkWyjNMIGlKxTsv1krFeVv1DGITMBLal6DMILe5Bvd+TvsY2lL/rKRGX6wqXP1BzgnIswqp 7Sx/3+dmtgFoZY5bN7Ie0lRAhf2m5wvW+H7mRJoCqUvlvMfg7mjeuiagM66Ilxee7Obn/mYfD WLQUSW/0vEsnBJ18Lw6haFMR0z1NbXee/Kx6pxBHHNAhWJmq/f7ykl69J9xo/LmR9zoh6xbkk cThD3eKbgjJZHGbjypkUkDMOcvF3yIs0guydPy/aeqrF7bwiv0BBanfkzXUbWQsbp9EfjxhPZ Jx2okCxU9DxHHFxcgC/DD5HjlP/mZFgLvy3CQkHB5w== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230410_140416_292663_4218F7F9 X-CRM114-Status: GOOD ( 11.35 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 Mon Apr 10 20:58: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: 13206759 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1DA65C77B6F for ; Mon, 10 Apr 2023 20:59:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=1iqUySU/Mzpv2a7NsoVNX833owfKY5bE7VJEZhSSGNU=; b=vV3/7bZnOiSwEo 4Klz9x2uTha8areihNE4y3LcqQMnRAXNWr/JRNwJg+lgRFg9VG2I/npIFGggWuEhT41QH3J+QvbkM pAiHCQriO936QFvBPOdcAfiGhYE7bTYRYcIosVJkzyS6EqA+BJ2N8mintO1jE8i0666x2S6+Mkpvt jqgeTuj6Ae9rVIrVqWHDLI2M6lb7apPH18LzBA0nkFFsZtIag6RilJ6HDo2V5VB9hrkbCNcIZ2SIJ e/LtEasuI3RxI62pA3NQ8hBIQcuyrdwDRWeJ3pkI2BJb1diiujsggV0idBcGDHsg6O4ZOQw8urafi Vku/z3c8XQefD3MJSBEg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1plybL-00FvBg-37; Mon, 10 Apr 2023 20:58:59 +0000 Received: from mout.kundenserver.de ([212.227.126.133]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1plybG-00Fv9P-1m for linux-arm-kernel@lists.infradead.org; Mon, 10 Apr 2023 20:58:56 +0000 Received: from stefanw-SCHENKER ([37.4.248.58]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MBUVj-1pf4AQ2zol-00D3Ct; Mon, 10 Apr 2023 22:58:25 +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 V2 3/6] dt-bindings: imx-thermal: add imx6sll and imx6ul compatible Date: Mon, 10 Apr 2023 22:58:00 +0200 Message-Id: <20230410205803.45853-4-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230410205803.45853-1-stefan.wahren@i2se.com> References: <20230410205803.45853-1-stefan.wahren@i2se.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:8dNgJ+ctAsZfATtczzCYJdQw0jbKXFJ5ntlgxYBGKZMhVqbUsbD btpJGg0y32cTDTIOW2j26MrZXuBmy1pLfqiBrEU41knHxGXpk28uVuVBOrQyzs1wyg2jZJV 7ekOWa19ilga3RdzDH4sv0GvJ95Fo9PwiAG2JeCksPGYB72g2E2eaMmcXVnybKESbsWLFBH SzEGYE5qQNuzYpJUvjmpw== UI-OutboundReport: notjunk:1;M01:P0:fy84CBLQy68=;jglXnytI3pSsomz7TWhCAfdrXzq IVg4HEw6SRSdHFZWV5Qc1z3cFXaoV0VBQelwd3a3xZklwO05gdhPHMbBDQ56iL0uKbsAOi/wA pYQ/W4ikkopjCXsOMv6LhTDypZqi0dzct5isH0y2izPK31XEQpAEfUnETD3U6lfcTmiMBvkVN KhMWe0xi7UdydRjOhu9DWYjLTgY9rNcFVCTkVvXmi9FSVZkHuVPQU4flZWlA4PAp9R5R2hnI2 ZFPPCISKWn4hsfIanhxFjeJXLqrnxbHK7a3xf63yIASCRcMLFCD+Tatx5bGBnQrVjU04EgBh1 P1s9wWVcwu2XaGr6WLgSXXbb303Suf5UqVvQoFXaqb0SOPJn/EKn1gnLj8Uq513WjuAEwMPCo 9GHiEW3sxHA8dhcUOU8IQNWhTb31YvXd9JkPE/YKekC0V5n7MnLk8uclXktdjiXiEzV4oBe+w Asly3D+Rwa6z+mDZLA+idMjo4vkCM+AlgGYonBaprpalIXceTQ1cJxE/kTefFBvYdBKRnETNH aJ6mPsf/inSRaFaekoR74d34rTJf9+2Gcw6sS3yDlKyuLc6gofmzwfPjeKTrf/Sm2+fW5G0oJ L6sp7WAa9Eu0XBJG1IVCwBT9VPj+m/C3Yxnm2gflj+L3lgjzJ4vlRq7hhRgnesczVmed9DNtU jJNGBXh4WwYthUbCFiizURcATcrAAjUKdCLACdhjYQ== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230410_135854_875664_91F258E3 X-CRM114-Status: GOOD ( 10.48 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 Mon Apr 10 20:58:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 13206761 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 04557C76196 for ; Mon, 10 Apr 2023 20:59:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hNKvZBDy5kYZpZOidPaJMb/EKaMTJ2l277fpgTGEDsA=; b=uY3fKLjdMDuu0G oRAoA34YQ+FMmHfgdNVg5K+YlnYAfA60Ivr2hzqbtk74UJaMsV+37SAmdsk3dGrKkT686whlRuSMI eK9WSguuR9AQBi6HzBzmJ1Nkoyjyj5oy0W1ZX70H6AlcdgXkeB5Xdd3FUrgGGWIvpPev3Jfxdkb2f U+0HWGGaLTSg73++LjJ30guIZhRVXyGu4UeVe9fjwjdNgU70OTp9ZQRuExI3xEOGBGtNv8fUdu944 QlPujdsqv6eOzTPVpyQ+0bOnthrls6FMxNVHSIP2vpdpKZAhG52wbMBuZxu5vQKFeiA1aVXxZuDBi XPwp7FzU2Y4A1B23W3PQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1plybL-00FvBC-08; Mon, 10 Apr 2023 20:58:59 +0000 Received: from mout.kundenserver.de ([212.227.126.134]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1plybG-00Fv9S-1m for linux-arm-kernel@lists.infradead.org; Mon, 10 Apr 2023 20:58:56 +0000 Received: from stefanw-SCHENKER ([37.4.248.58]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1Mxlmw-1qa4ZY1QhK-00zBrO; Mon, 10 Apr 2023 22:58:26 +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 V2 4/6] dt-bindings: imxgpt: add imx6ul compatible Date: Mon, 10 Apr 2023 22:58:01 +0200 Message-Id: <20230410205803.45853-5-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230410205803.45853-1-stefan.wahren@i2se.com> References: <20230410205803.45853-1-stefan.wahren@i2se.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:G6pD2AxTWA9rAaSoDvlxvW1LU38AWMNOI5lOTzaxtJ830HK/Nyy IxC/MsXDfj+6KO3TBriwRWjvdfgfjjdzpKJwDaVwxlCdlSd91AmshuqSpxrQea8w4Jf0lPk DZk4BKRq0vQlnhWJLbYxDDsFtXgmpfqYBm8e0FIxLoAWiVRkt/NBHGylDW6j6r4uhoJM2fA n9b99qvs0DMry1jFF21xA== UI-OutboundReport: notjunk:1;M01:P0:qWIymvWb9tc=;/QIcySMzRIMAO/gS/LuXZncr8ln /j4zd7dFjU8tkkuOL7cZqpC8OBh32VvykaIxtDB1qxTvTSF5QlgDCcSVg967Sjt5+0CeGGzOK x46Oo1fb7J3YtJ9gyONPp55eAVseOrm+NmmGvUCS/XiR74XgYtxjyLH06dOzbQTJ3L6IcHr2R R7DZcDReWjgpgW9RlWTZyjhEVSPHDi/DeDXM6Cc7ra4TQ8HmOcvQK2rJ/TnCreE5Jk7gFlmYI J8inlIk6NYjKUIonrLWW53a5XeeKJDJjQbAs/3TwTyr4LvXFvZKY2vDMUpq8Z9I9MF1ltmQ7Z ZxUr7ZS+fWzjqE+tav8HFZ5kSpv7CdjNC4TTECRSdogtI5rawHA/or029qFg1uGJjblgZbEjc p+LFgijd7T695YtVIe9KP/26xlWnQTxS8e3i3GdSxnD3Ysp+c/C/sLi+il8e1MAAO02h1fYWV pj1H94Pf6YwgPgZWeHiaYQLut2mg/l57A1hB9LEwAyGSEjpghHC2WEIv3SHku1zWvwFv6U2rP kKs1PRzUqYAa+V4vLCh2UTCLlmSRJtBeWi3rCwq9e/oZVsqNEE+Ku9WO4yhFl7P58lWzWAO+w 15VMQjmhxonsahf+OLCNYlf66M4uP4904UR6VLXGwTlpF71RC0j5xVg4VeUzaP/zAQkPB0KAG 2wR1M78Nadcr1Mv098v5NIGdM84huw99ge4Hco/SPg== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230410_135854_872332_C3DDC012 X-CRM114-Status: GOOD ( 12.21 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 Mon Apr 10 20:58:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 13206760 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 44B0BC77B71 for ; Mon, 10 Apr 2023 20:59:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=z1sVDvItGB9VqYWY++l9G+KB3rfTAncQBmVGG0JslwY=; b=Xh4kmX4YP6GwBs /SlZ9uMEKE9teekyTXi4E5BjmLYowu0lnuMZlBXKg2oHI2I7dJ8vDEK7tuHz8zBAr4mAeq21tRHNp Ewd5SbeLfjuui00RhE+iHZdcXHT2nrbYoOLil9QuTDfE0563fqj6bFsVKdMqJlrsLdxNhaLW9mMma LNYj5UMTESQxoq2oGwl0OaJgS/C41BcV97NyZSwxEK0s8/XpzgY9EaBqCzkWgM+Y/J29FOTUBMvhF Pl/ySxTgBQhGnQ3tnac+AVfkSMKYHqhDeg6gPaM+cNILRmh0Iluvxh0rZSYOKkdJeUS/ribAPZOkn 92WL5trEwy9RT6O+lF9g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1plybT-00FvCd-0D; Mon, 10 Apr 2023 20:59:07 +0000 Received: from mout.kundenserver.de ([212.227.126.131]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1plybI-00Fv9O-2C for linux-arm-kernel@lists.infradead.org; Mon, 10 Apr 2023 20:58:58 +0000 Received: from stefanw-SCHENKER ([37.4.248.58]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1Mbies-1qMxZc4AEY-00dHHu; Mon, 10 Apr 2023 22:58:27 +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 V2 5/6] ARM: dts: imx: Adjust dma-apbh node name Date: Mon, 10 Apr 2023 22:58:02 +0200 Message-Id: <20230410205803.45853-6-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230410205803.45853-1-stefan.wahren@i2se.com> References: <20230410205803.45853-1-stefan.wahren@i2se.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:dFgTmzeQNO8zmrMdWcR6j1768YcKmhjLtnhqM0x6Xny26HEQOmo GV38Wx261D8cXTYuPbkPCQ79QGk0YQoMKlnR7qoiM+aGXVbNL7MGgf9uvLCWS0n4LLlhDlj 8dinS22sNnhS5r9lkcsNx5ny6rt8oXJ6OxERSmJjAHvQE5EbqViPLa5ml9j4v4fwgHBDo6g JGSVAew/YneAyT10h7Tfg== UI-OutboundReport: notjunk:1;M01:P0:nMwNnZNfjPc=;sHCyT8PgYZQuE/55DCBO5aIcaGQ XON7AHXAS6nlLtkpUpExmee4BcKAPmmh4lUnOQfpTXcvGDGX2KOOGvfXnNgUeRoy3qG21OL/V 151IzrdXt2dK9hZs0/x/NvHwYSs+JJqlnYzW+HDSCRg4oMAY4DiG/tbp7FvVHIU15IPJQh9le K6GVxNEQfCP1t8VlUwYr0OCtZNEWpBGOhB3tl6viTRkJcAcTomfCqcE8lGc30wkrxMsIurGu0 a/OQts95Xf4G7+a3nzMPvt615AQWWRM3QDefkSxVdc9UF+ie6Pm6h7lor8XwzwSmM8pxBfkwN yM0m9B1S2xo6MkubUVL2Fj6o4+tTRZCZvZaAvzcLU9crTOQoWEaRvk+sRCmCfc2HqnX0j1iKb LKg4ENcKgfTRMWlJcly3ky+wFK79LR6qJOXY//PEoewFZSyF+7J5OTfbW7f4Bu3Dne3W7UY0r oIaZRus/XfI8HS+KWWPFE4/RlUYuLk2SMXsVTgzDNxsJG0liqmMQmE+kKBfuOPXZhvzY+F9Pz eNOjOGSknF5DQwJ6nssxfrluXQtagEDDrIWLnRotmrBhcT/+IVuefPLxhr72mg827ZEcLTl6p cIKJgc9LmB5VBE02RNEZBzS55pHA2t0J+f7AhEja7hAKWhfL9bf7oM78/oKblwniHnYQvwlws MqOAXFneLLFGz7QnpIapFEN832gmjHy61Z15Eq2kjw== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230410_135857_006430_571DF19B X-CRM114-Status: GOOD ( 12.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 Mon Apr 10 20:58:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 13206758 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F06EFC77B61 for ; Mon, 10 Apr 2023 20:59:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=zBBhfJWcLkv9RRJOwH0GNs1MkdKmTM+6Elg7RTg478I=; b=empSN7vVylnTRQ lUkmX1BkIsrpT3+9vgV5FLBDfvF+D8Zq8F6Xzp23O4dTHenRgoolfxwk2iLcJmrUGdmPtnVMeKpsP Kj4tCd6zFdCNlccqlI6GuuCyHXw/8UnENXEDNZZ+2ReNMG4VB94CVFzqvuDKTw72jHtauw8klUpsl ND0zvo+AMJmVFwB9vaQUm1HEu8COaUeeWusj0rOhFjtD3vh+vjXO+lCl4gb8SCL93ouWcG+g1KvlK wbhyb275AHynl+t9HrAf1uoJHKkEJlJNpz2Vg4jw1ZVrl/EqtcLPADeXoEYpHLv6fCCnJmeqS29EG gMrslF/QrzlLqUZUaP+w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1plybM-00FvBm-34; Mon, 10 Apr 2023 20:59:00 +0000 Received: from mout.kundenserver.de ([212.227.126.131]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1plybG-00Fv9W-1g for linux-arm-kernel@lists.infradead.org; Mon, 10 Apr 2023 20:58:56 +0000 Received: from stefanw-SCHENKER ([37.4.248.58]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1Mq33i-1q8c5J2ojK-00nCNa; Mon, 10 Apr 2023 22:58:27 +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 V2 6/6] ARM: dts: imx6ul: Add clock and PGC node to GPC Date: Mon, 10 Apr 2023 22:58:03 +0200 Message-Id: <20230410205803.45853-7-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230410205803.45853-1-stefan.wahren@i2se.com> References: <20230410205803.45853-1-stefan.wahren@i2se.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:WZWb9zy2e6xiV2Erw3KXRr3x/9eM39sIhOC1xwuV+9SfFMjKR5C wAEc10noMM6Rv6S1mfndJh0nrcRHq7I3BodHvQ3o6BIE4etPFTKIv2ll2YmLi5cP5YWWhaX WVSSlWl8qKZMujjt1WpaBH/hdvdKh9WVml/jPuy0vRluOtlQDIVSUGvkYppE7V1hhJmhC+N ULtuh4O+0a8xKs7cXXKkA== UI-OutboundReport: notjunk:1;M01:P0:lJVF6llLldM=;wJzWl01m464IvovsGI/oyUDWGIc Mr2RZ4c2qJVIgSQuCkiZwGHQ77TCaYHpLTW89Y29PBQ0m9ZLL2BYWmKL9IVcRkMPXnZQy9Hzg EpLoopRfs/+0pbGWA2F0sTw+9gaRuBIizFU8k8QGZY7xpPn2UxFLYhxoaFQOU7hnUyQd2bW3Z EAjvkT1Qp/Sx1AT3Sx7UWv4dVIVlWSXPX/6DgHshpOz8LyGXSUytb/73SjtwgK9Fq1ErRFuv9 unK6ywXlAgdA7U/VWN4rhPVjq6UjB4WK1mjGHvWGGm0Pv8METad21yokUBIQz5e7oJNxLRy+i tz1HysqsKVeIrQq0OvpnmGHBPm4YJNV37sYDuvYJRRHuy6MIq6lcA0a7+rpflo75QnQUU7hsZ 3TxGQrBFqQzvNbA6IGy+UbJpIuyCxWuhq1ENkSPqvr+CjB0TUZ5MofoLX6wacTNcOu42CPS9Y t45HVyyLrQsfZvDsreXtVRoGsL+U/19fokT0GwSmSk7knJ0928pwMNryCuHWqnEC61cp95wk+ EY/X4G8F4LLahwWUOi/M3/MgwDkQzlBDt+0FmoD9BVNRfmRgMl9s+pZ8AHiCb0duwOX/yjcIw 0RIlJ3X3LKzQ9+Jhkjk4h/VvqzLiWJXV0pBq4VwH5BcA1H5Tw/5D0cf+Q82Dr3K/K1S8aPZ0a jDXEI3KO83hGDqhMo9NbgcwXLqKIGynXj+ngYqDu8w== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230410_135854_840525_83285A47 X-CRM114-Status: GOOD ( 11.27 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 {