From patchwork Sun Mar 5 22:59: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: 659018 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 67C7FC61DA4 for ; Sun, 5 Mar 2023 23:00:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229854AbjCEXAG (ORCPT ); Sun, 5 Mar 2023 18:00:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229875AbjCEW7w (ORCPT ); Sun, 5 Mar 2023 17:59:52 -0500 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4654BEB60; Sun, 5 Mar 2023 14:59:51 -0800 (PST) Received: from stefanw-SCHENKER ([37.4.248.41]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1Mk0BK-1qJJdv0vRw-00kRl7; Sun, 05 Mar 2023 23:59:35 +0100 From: Stefan Wahren To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: linux-imx@nxp.com, Marek Vasut , Alexander Stein , linux-crypto@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Stefan Wahren , Jacky Bai Subject: [PATCH 6/6] ARM: dts: imx6ul: Add clock and PGC node to GDC Date: Sun, 5 Mar 2023 23:59:00 +0100 Message-Id: <20230305225901.7119-7-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230305225901.7119-1-stefan.wahren@i2se.com> References: <20230305225901.7119-1-stefan.wahren@i2se.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:NJNkRYg9OEO39KB+kz0xQwZi8gmdaBzK6GliDzYEcMK4rDbBEh9 iYU+haJJArV4sTupFoZVHpCqWff8PrFD4FEpkSmp51+s1HKozaVBd6BoD0uU/FVVaey0c0Q pxvNZwSoXI9p6za7fLAL3hXv+MOCkSUpYJDNw4n0qXR8lJWqaYpkD8SDaplfiGidPBMyCUb B09GDUaikOjFVbOspbigA== UI-OutboundReport: notjunk:1;M01:P0:Ha7rwpkNLZ0=;umHxw3Nmac2GL4jtjlHSMwvlP97 b4nfil2FM7hRpwl1XEGkysDYghsHTHnuWxmHGsg7zroazY8QfSaK7luep6pZX0Aal8xD02dtn sbh67fcQpD9IJr+sBaT6oJakbPIVX/75VtxeK68xEYMn2yoWAbdmWf//BgLsFk2s0h6yQZmu8 rfUVxCdvztzPdj3hvrT/QY5cPXYWUnJz2QTqicLxghcjM219lmt9Nv5gakmuKeipB44oAHi/q jnM5shBbzfc1TT9vcnDh9tJVHaTNl7avk4vt2udktVCBuAVzjwahyxijzjVFT24vNkl6DoBfb J7+WmIX94c28KYyjtTLQlIdfX48/3f9sXUqJ1V8o0MIfRfcfEGO4nQl/pA7TaZmRa9LrTdrk2 l3jgtVZFytXI0t8nLA9Fu/C896IXXdSYQkTwpfT3waU0CEFEh+NcVE0TdQIo70ZRiAvybXwnU aOyx6Ej2WoPRF7TUpqOfpischP25kybueKBuZQ1gAOHEjzAK3WLMdYl38+06/aoJHXUxNkOHy DKTFa5VaRCi9pumlhTsvqLEBcGj2bUei9kjBLD0txAlTFoCDzJbRRSCQ7hQKOC3zcO/dwLCQ8 W9pYlMJyB5amjgtMTU0Z58AfJ1SEEA13OissqNYFDold98gXSzQZ41j2kCd9YqlHsF2knsZry YTLZeLEEhj6b6xvyPGdBcEyD+gppUn1Pfbe37uhyug== Precedence: bulk List-ID: X-Mailing-List: linux-crypto@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 412baa848837..fd6c064fa032 100644 --- a/arch/arm/boot/dts/imx6ul.dtsi +++ b/arch/arm/boot/dts/imx6ul.dtsi @@ -720,6 +720,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 {