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: 13211154 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 35158C77B76 for ; Fri, 14 Apr 2023 09:21:38 +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=OzDIFTaVrOHvitMpY7NG4/60iacHAcHf/utTA/ThRwA=; b=iDgkunuxm++ZHe oum24/L3yCvT705mNh4IaVh1k6vrB9F+Zfh0DPkGjO6vaiwUaVTEW2RNj0dyMVaXgZZbrJKrlB93o 5WfPDEkAsK/WZHE0vO0Uo0E/b+AUwCETftU3ghFQGWyJRqN47ns3ZIpb1BP9gbHvEdbYMuusHqas8 QLMR9OLeer8lwXLSm5XpF5g4OTGMyfxroCFDr4JtWhvfrfhEgaHon7F8jyQRn4xQ2DVBS8kvzNAfD jj2EnEiM0TsbF73L7DYeDSDfKtd1Aif6fUI0uuBcvoQTijLWtnPq0QUnS52kMP0xd8JUpHQ9zgs3P Z7wFYqWZ9pUU9S3Ah4Fg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pnFbv-008qCW-33; Fri, 14 Apr 2023 09:20:52 +0000 Received: from mout.kundenserver.de ([217.72.192.75]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pnFbh-008q6i-1Q for linux-arm-kernel@lists.infradead.org; Fri, 14 Apr 2023 09:20:39 +0000 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== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230414_022037_760421_1A5DC095 X-CRM114-Status: GOOD ( 11.46 ) 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 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: 13211148 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 2DE56C77B6E for ; Fri, 14 Apr 2023 09:21:31 +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=4yzwjQj0J6kWzswofdWWiHS/yjyg7C8ieVD/Cx1Ts/0=; b=R/3FntkFvSCwKl AWwxaN6rtCRpq4XTeel23BhbWdcGmC1eTOO2jtiUaDKCGMjSFMcIAcX/ZcWKdy+8lwWtZtjlYvWxQ YKZjX1IGoqQKQl/hjKXQTs+0OzZ13Lh7YD3imQMZubiVsLksPdkK6VWLE278uQD0qzHoeTHyHT1ta czmj0GCKtrX7m8x8GL0KCjO6RdobqFjaXX8OvgUlseOKw7ZKPThEPUT8MnpbYgEpGCcOp+wXqO+SZ eE5a2iXTdNRIt3UP3Q5zbHbtbfQoTzl971N12XFWC7U12uhsXENM7Ji+e5/bmsCLuWE6gHTkGVqPJ PgV5kwhaajkbnHrYY4ig==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pnFbr-008qAR-0S; Fri, 14 Apr 2023 09:20:47 +0000 Received: from mout.kundenserver.de ([217.72.192.73]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pnFbf-008q6T-2f for linux-arm-kernel@lists.infradead.org; Fri, 14 Apr 2023 09:20:38 +0000 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== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230414_022036_171290_050D71E1 X-CRM114-Status: GOOD ( 11.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 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: 13211152 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 B05ADC77B6F for ; Fri, 14 Apr 2023 09:21:36 +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=bP56Fp3x0vFGPi6PvKDasybmRcwSMQp0BWve7EK42Tk=; b=mQNLAnflECEdLC YAhw3PYFS9ANoz3qEbL7ltHlqfquL9XokZbbyx+/ZueDgSfKhmEUEt74/skpzKm2+a9fVa1aSDzUf yLz34zEKUp6XUE4xPiOz1N8dnfpGCy5Os4o6kZJtgmKZFwlzcWTpCY4Q3JwYmqNmK3UoGrL1fQm/N ImBRA8MXoCibibmzenr9x8R0+PeNbz4mXRSx8XYiCCeYyNEQBmmebXl0UcKh0c1RUh86Vuc7i95z0 bec44R2b5/0VeJXwCvBHG23wxgJ3/J3vY+0xyjP8QdyzZLpL0PVTh3KWQ7cspz0L0WnU/MHVpe7PD vpzgkjpCv4MLvOlPHbpQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pnFbi-008q95-35; Fri, 14 Apr 2023 09:20:38 +0000 Received: from mout.kundenserver.de ([212.227.17.10]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pnFbf-008q6b-12 for linux-arm-kernel@lists.infradead.org; Fri, 14 Apr 2023 09:20:37 +0000 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== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230414_022035_666389_6DCDC6FD X-CRM114-Status: GOOD ( 10.55 ) 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 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: 13211150 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 67711C77B70 for ; Fri, 14 Apr 2023 09:21:33 +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=ww5+HAI95RmvnBNSq9Hgw0ZzD6avT5/KPU8VZxxo314=; b=v+KO0QQEAwbAVX MorIDk1rvHtZ3JopQupY6XDjvMhBHnrb6+Qf1VMBH4AaTg/p+iJMXhI31PGBmQSdkAjphnttLTaUC WBW1BoCTH2McpC+EoeciaJEQbu7ulry4TgNKveQCwRCkxZttzpz1l9ZDyLHMg0huQKHYpXVtUtF6P znbXD0+P5qZkN/pl0lSoIUHsrKCYDwGq/Bf0fxj/nhVMuWFDebG/CNzZlr4bNaWT/YWaG+nVLtz8r Lj1iexM+iT4wl3kqoltKOYxmZq7YUtfJnWorQkOJyCeFziSRebHCCOBpAD6oQKsaFNi6uygttMpD9 i6mRUTfBG8t39qlC5vsQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pnFbt-008qBU-1R; Fri, 14 Apr 2023 09:20:49 +0000 Received: from mout.kundenserver.de ([217.72.192.74]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pnFbg-008q6e-0r for linux-arm-kernel@lists.infradead.org; Fri, 14 Apr 2023 09:20:38 +0000 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:/o6f3eRx/M4=;L+AAoKdKjEy0jnA/lh4vL5V80ku BqJOnZsH5s5rQoogMF7opbriIp0nNspMZKt125PlQkB2K1R2kUVKqcnWca76iBqkWYvIK+/v+ taYmu5QDOCQ2mnd8/u0y6xl+WHQGy6HTstMAc8iFI8b4CxfS480ZpH6SwkTRMoR3MVa2bjbPF ZYLuD7FLLpme5usrPmYqVa3sUKb2RuxtKc3pjoKWyPm+RgnuQjycx+2vmr8OQFbAMFodQaQrH Iufii282icgLyPclU2qA4/CoiVghMFcAbQa6n3gP7HbKZAb1ZpZ5zDi8e74fBaSBrvsL3xg/W /lngrYo4r9KNQwsnqqXAdFpY9zdqrUTKEvvg0eUMPZJHwJAV3NDsASxpbTzzcxbU2ghqNQq46 acPB1Mu1OGgUBZ8oflI+9QpVgkavPpZG84mkNNC6G9/70v2Ou5QYSfjyIe3uDwKWYW9qyk/e3 NQVSQxW77OgPwC1/IisgVWqwPoBIxKktpu7mMQH+kEB+2YbvxM8aHlUHRZDoyYHPyqYzIenO1 rs01PV0LrzKZvsNXgZQXNBpHUh9SFlwOsFpO4VM5VB6k5N3SIvYfFH19Vm1NqW+jY7BmQcrYI abWjXrHuj27j2K09mnCje6pL0NoYGZFG/FTchHbXo22hzqOLKnCSGI0dSAuprlJoLTUXPlECi uGXjdLy4iFlE3EpQKG48caaO5IlsTNMzUmpRchN6IA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230414_022036_593289_B6DEFBC4 X-CRM114-Status: GOOD ( 12.38 ) 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 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: 13211153 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 21133C77B6E for ; Fri, 14 Apr 2023 09:21:37 +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=Cqvi8Me2EkUidL dVv8JKpnzac71f/8TSCyIxtiUUnSo+w8Y7aa5nhirjJiCWRcrPn5nBMk77fsTgQoQPe0B7iuy4zDG kZ8Jz7GbQHrAE83eOrOIQ5gW10+qXpRIJyp94HDTGr2E9ku0ZlZQK3MZ6HAMm3FaasRfhC/Py7RNd c3/tCOGHDN3rIFbGVfrC1pg7vqbiIdLZstZtDDIWFfBEJtXE3oPRVsBEH2hamWBvtB1IBWRijk5SJ Nj6jaTi791xvcS8K4cO8tHPUdXcugcL1MRO91PNL+SufiEuXWcd3mgbD4DiTk9M1fKbIzker60DoV gXyWp70xqsgD1utDHL1A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pnFbu-008qBw-2E; Fri, 14 Apr 2023 09:20:50 +0000 Received: from mout.kundenserver.de ([217.72.192.74]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pnFbg-008q6f-0r for linux-arm-kernel@lists.infradead.org; Fri, 14 Apr 2023 09:20:38 +0000 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:Uw1I1WoMfe4=;ZtpTh/L53a+lY32aMwbiSSz7Jk4 z0xQB7Rg5sGiMbhVHJOQkPcP1bp2ZT41bdR95wbYfWBEOYy7IMkBbQQbGpZBpZc8ap4fdVzA6 nihYLCT57MNasUbaZgpGKeZwpYcqW4qcUn+a7Bdbo/65L5NTYkDlxtRS7+XcUSJAesQHbFi3/ hVQrANRAQWgaGf+GYm3xH5cjz3Xbw1ZtxX/ewUJcP/MImw8/dmdlPPHBhQSvDhWQsoIUg9n0+ +0F3nKT368sgt7aZsQl+wzrNZ27V9MS2rHDIVARM7vnH+Vn8WA41j9RlYe5W53RdPfXszmlay IMbE0iIAeydDSw6wBljkaI1cDwCteQBYhF2hxUPAeEBmyaFvkgXuFZXHwU88tMBNJik2GEQZw CN5Sc5thUm0cHMqeJPfaCz+KMHHckuMrJRu8bDdMxHPtCvrO5VIcwDs4KyCRFd6H4bzjyixWU qFmxY6qBSkQXd3VvjOboqU2cXenwHdTXqtSRAN0bTx0h0wgcgduKneU4WHGX4nQxM2BBHSrt6 zbcQwMSHJvcXYSTmlM/oGFiFji5tnlm3jJaMrdYiNzjPy753Zjt9V+ybfmODGY8xbrZuepzfm 9JFGRckBol15m+I9z4UVyhrF6v556srvkv0Zgx5KbyNqPtKa8iQz64gTHEmopfv+Y1efwY6mQ FsH4/lEvnfoY3wa5woNzytURy7jmrgNQK6XS+laZbA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230414_022036_591344_C0437962 X-CRM114-Status: GOOD ( 12.39 ) 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 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: 13211149 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 04100C77B6F for ; Fri, 14 Apr 2023 09:21:32 +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=HX0B/RnX5hoVYF OC/DHfQAvz5hDPERRjb4vJCpQZ7RZUXxsDHPTsHWoF61ZnhS//00WzlLuYxKOcS1DaX6Yy9j+svPv bnUOzZrQPJBjurfMDlUdIX8T6NyUmO9Ui4BOW/PDosHZ1MIAzxDGBtpaaVrloCnhXhaBSy1iXmVZl 2oFyXUF+XxooVae50SBAZcmBdK4FhLP8RkEsMWFoB2yZ1sBFcDJcr1Un7XkS1RBpDJZcdk4o/X+cb Q/x4WJh6iDFyOOdk76otUU3YWXuM/3PB9lNPTvH/YbnJwnip5rLEsCRaEz7kcy24EediBh9j/+L4y Ai8W4iD1dG2wfzM9I5uQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pnFbj-008q9R-35; Fri, 14 Apr 2023 09:20:39 +0000 Received: from mout.kundenserver.de ([217.72.192.73]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pnFbf-008q6U-2f for linux-arm-kernel@lists.infradead.org; Fri, 14 Apr 2023 09:20:37 +0000 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== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230414_022036_170726_C044BFCF X-CRM114-Status: GOOD ( 11.63 ) 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 {