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 {