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 {