From patchwork Mon Jun 17 22:39:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 13701510 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 488BBC2BA1A for ; Mon, 17 Jun 2024 22:40:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=pilmjE7Fd1aeWcRQgiLhuPvlXnr77T8c/+92X/hR46s=; b=YIStyd4yqv4UjLAeMY7fEy/Ujm OZ9oOSP3u7cIcrrOATLt4O2i5z60sr5Gr9+H6Zw4+rxwi3YIwrrq+H4BXpy/In70vfBUNsJQqCF/x QwxXpjTF07nVBUs9ASDOyoK70YbF8TOWKR/NUzeoLUtUwvQ79nZDf6sD/PuGocmQ7Cd2wbOE5oESj IP0XEGMOSnCDFFXsWQ4L/8bdRy66o7V84BpJ7f4FlBri9Ow6ZjCmuej1xBvW3x1KnAFlu2jPEPtMs Vw7NziOS9VEoUjDpA8IdlgALvuaa68ynYk7tGydtTUZy1fiRNb0T9cP+alLpri4JIODZ7Z+dHSS7H MHPsxYdw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJL1A-0000000Coud-1QHL; Mon, 17 Jun 2024 22:40:04 +0000 Received: from mail-io1-xd36.google.com ([2607:f8b0:4864:20::d36]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJL16-0000000Cotg-1FNH for linux-arm-kernel@lists.infradead.org; Mon, 17 Jun 2024 22:40:02 +0000 Received: by mail-io1-xd36.google.com with SMTP id ca18e2360f4ac-7e21b6e98bdso188617839f.0 for ; Mon, 17 Jun 2024 15:39:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718663997; x=1719268797; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=pilmjE7Fd1aeWcRQgiLhuPvlXnr77T8c/+92X/hR46s=; b=S3drg1i0BfblXh60gnTFXTEh4LB0/Xop0DJG5IfkZzAVTOV/wavyOc+PS598oLBAb9 nc80WGIMCkFMhFx7BPP6Y97+N0GSJbXfEyqOKrNk6ZZepO25bshnCOh3S+gOE87JU8sM UjgSd7487Zr1vSd66Df3P+QhwAw0S2GExtmBa6ZazaaeWlU3q521Qs3Ux1GGdR8tOW16 8+OFnYMshRaACBtYkUB9mBgR1LEniHlzLvslpftbrQUV1ChgE7DtkVBdSbvyoFMyWe1h JdDY7jfQrZ2vNeB2922RK9ogOxLCE/hXJe6WEyPlAUv5i7kpPKeThvFIPBGaHkptdBKw Izbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718663997; x=1719268797; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=pilmjE7Fd1aeWcRQgiLhuPvlXnr77T8c/+92X/hR46s=; b=XdoMXB/u4iwV/imzQO7ldXHEs1wDZ4SVTPnZxH0xJylhlUOfa/to0/khkc1YtGB/Rk 3vEXs9rtQIOZhvHSRlAIYEgZ2AQYjfQQikH+sjjwfWzm8iR39uHQZqCMT3mjVjmQyrWU ijVeqpGu06rMTHOH2RymlTmF0zIHfo6w9vn/3x6nOwZ5/dmRKiuUeHmozNbTn2os9BQV pzzRRkL1s5hcSfXaM/uvWzmlE8qRV/e5BCaY/K1UST7Tc+Efqd+wrL438r4RkhmY+Vsz cOtsysO0g5ZrN7hPmIGfrE4Z0jb42t3uL1if/i6r/gq0A22QtiT3Lz7quykWxTp7R+Vg /jIw== X-Gm-Message-State: AOJu0Yy50eQkbZvf01pbhT+jPbrLRk3lN99yzjXvwLmuwb5f3Ur16Y5x w9ttbRhSg07rHcEPJJQKN6feEPZahgJJt1ofvfHgSZjjqyF8aLHSfD50FcqZ X-Google-Smtp-Source: AGHT+IFthX3l4bIPWr8JOAwFidH7wht/c8nO5p55fH77H04hecSOh9g8mWsGGcbpKHaJyVlEct9MiA== X-Received: by 2002:a05:6602:6d02:b0:7eb:89ba:44fe with SMTP id ca18e2360f4ac-7ebeb647388mr1076974739f.17.1718663997401; Mon, 17 Jun 2024 15:39:57 -0700 (PDT) Received: from aford-System-Version.lan ([2601:447:d002:5be:3ccd:905d:95c6:7d96]) by smtp.gmail.com with ESMTPSA id ca18e2360f4ac-7ebdb74cd1asm251549639f.0.2024.06.17.15.39.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jun 2024 15:39:56 -0700 (PDT) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, marex@denx.de, Adam Ford , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Peng Fan , Marco Felsch , Alexander Stein , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: imx8mp: Fix pgc_mlmix location Date: Mon, 17 Jun 2024 17:39:51 -0500 Message-ID: <20240617223952.1899201-1-aford173@gmail.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240617_154000_436921_23C5464E X-CRM114-Status: UNSURE ( 9.62 ) X-CRM114-Notice: Please train this message. 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 The pgc_mlmix shows a power-domain@24, but the reg value is IMX8MP_POWER_DOMAIN_MLMIX which is set to 4. The stuff after the @ symbol should match the stuff referenced by 'reg' so reorder the pgc_mlmix so it to appear as power-domain@4. Fixes: 834464c8504c ("arm64: dts: imx8mp: add mlmix power domain") Fixes: 4bedc468b725 ("arm64: dts: imx8mp: Add NPU Node") Signed-off-by: Adam Ford Reviewed-by: Marek Vasut Reviewed-by: Alexander Stein Reviewed-by: Peng Fan diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index b92abb5a5c53..3576d2b89b43 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -789,6 +789,23 @@ pgc_usb2_phy: power-domain@3 { reg = ; }; + pgc_mlmix: power-domain@4 { + #power-domain-cells = <0>; + reg = ; + clocks = <&clk IMX8MP_CLK_ML_AXI>, + <&clk IMX8MP_CLK_ML_AHB>, + <&clk IMX8MP_CLK_NPU_ROOT>; + assigned-clocks = <&clk IMX8MP_CLK_ML_CORE>, + <&clk IMX8MP_CLK_ML_AXI>, + <&clk IMX8MP_CLK_ML_AHB>; + assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_800M>, + <&clk IMX8MP_SYS_PLL1_800M>, + <&clk IMX8MP_SYS_PLL1_800M>; + assigned-clock-rates = <800000000>, + <800000000>, + <300000000>; + }; + pgc_audio: power-domain@5 { #power-domain-cells = <0>; reg = ; @@ -900,23 +917,6 @@ pgc_vpu_vc8000e: power-domain@22 { reg = ; clocks = <&clk IMX8MP_CLK_VPU_VC8KE_ROOT>; }; - - pgc_mlmix: power-domain@24 { - #power-domain-cells = <0>; - reg = ; - clocks = <&clk IMX8MP_CLK_ML_AXI>, - <&clk IMX8MP_CLK_ML_AHB>, - <&clk IMX8MP_CLK_NPU_ROOT>; - assigned-clocks = <&clk IMX8MP_CLK_ML_CORE>, - <&clk IMX8MP_CLK_ML_AXI>, - <&clk IMX8MP_CLK_ML_AHB>; - assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_800M>, - <&clk IMX8MP_SYS_PLL1_800M>, - <&clk IMX8MP_SYS_PLL1_800M>; - assigned-clock-rates = <800000000>, - <800000000>, - <300000000>; - }; }; }; };