From patchwork Mon May 22 12:09:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Romanov X-Patchwork-Id: 1784523 X-Patchwork-Delegate: narmstrong@baylibre.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=sberdevices.ru header.i=@sberdevices.ru header.a=rsa-sha256 header.s=mail header.b=YE6IpPM5; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4QPzFF3Jmwz20PS for ; Mon, 22 May 2023 23:44:01 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 681728479E; Mon, 22 May 2023 15:43:08 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=sberdevices.ru Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=sberdevices.ru header.i=@sberdevices.ru header.b="YE6IpPM5"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 65752846E5; Mon, 22 May 2023 14:09:59 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mx.sberdevices.ru (mx.sberdevices.ru [45.89.227.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 1F3EE84667 for ; Mon, 22 May 2023 14:09:57 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=sberdevices.ru Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=AVRomanov@sberdevices.ru Received: from s-lin-edge02.sberdevices.ru (localhost [127.0.0.1]) by mx.sberdevices.ru (Postfix) with ESMTP id 95B565FD54; Mon, 22 May 2023 15:09:56 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sberdevices.ru; s=mail; t=1684757396; bh=sjFSJ2lb7+R5kWB+tgxN/gOYq4Qi0AnyvCdbYcaHRVA=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=YE6IpPM55xf3xIn4QN+cnaVVCKQxs3uJFxlra6on0kOFHmjO/lDnwcY6vXZFotlVA ii0QDAuNvQRT45G6RBFbkBlyVK0rTV5yNvDsz3vBxywKjZ43y4q6an1hmvZ22gVU2r JqFM143n7B4voFKm0w7sL8vK0oaShpVjRjBAnD4ebvyN7WdPb8uqx7p/gwx0bVQgoN +U1+JQ1RQ7xTPG/LzoI2QEKIgJYTv/lfa5HR9eg/JrBVaj1tDVnSUynbzkl4SNjbhW tToKmCEOFTjzaMDXWYhCy2J19jNaJGrSISV5UvW0LrIXufUdK9Cnyr0wRZAE6F5HPz EClGB9fBwmHMw== Received: from S-MS-EXCH01.sberdevices.ru (S-MS-EXCH01.sberdevices.ru [172.16.1.4]) by mx.sberdevices.ru (Postfix) with ESMTP; Mon, 22 May 2023 15:09:56 +0300 (MSK) From: Alexey Romanov To: , CC: , , , Alexey Romanov Subject: [PATCH v1 3/3] arch/arm64: meson-a1: dts: move pwrc node to bus Date: Mon, 22 May 2023 15:09:41 +0300 Message-ID: <20230522120941.63962-4-avromanov@sberdevices.ru> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20230522120941.63962-1-avromanov@sberdevices.ru> References: <20230522120941.63962-1-avromanov@sberdevices.ru> MIME-Version: 1.0 X-Originating-IP: [172.16.1.6] X-ClientProxiedBy: S-MS-EXCH01.sberdevices.ru (172.16.1.4) To S-MS-EXCH01.sberdevices.ru (172.16.1.4) X-KSMG-Rule-ID: 4 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Status: not scanned, disabled by settings X-KSMG-AntiSpam-Interceptor-Info: not scanned X-KSMG-AntiPhishing: not scanned, disabled by settings X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 1.1.2.30, bases: 2023/05/22 08:14:00 #21365129 X-KSMG-AntiVirus-Status: Clean, skipped X-Mailman-Approved-At: Mon, 22 May 2023 15:43:01 +0200 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean This is necessary so that pwrc can be used together with peripherals when described in a bus node. For example, in the future, this will be USB. Signed-off-by: Alexey Romanov --- arch/arm/dts/meson-a1.dtsi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/dts/meson-a1.dtsi b/arch/arm/dts/meson-a1.dtsi index 9776b2d8798..f3560cbc3a4 100644 --- a/arch/arm/dts/meson-a1.dtsi +++ b/arch/arm/dts/meson-a1.dtsi @@ -65,12 +65,6 @@ sm: secure-monitor { compatible = "amlogic,meson-gxbb-sm"; - - pwrc: power-controller { - compatible = "amlogic,meson-a1-pwrc"; - #power-domain-cells = <1>; - status = "okay"; - }; }; soc { @@ -161,6 +155,12 @@ #address-cells = <0>; }; + pwrc: power-controller { + compatible = "amlogic,meson-a1-pwrc"; + #power-domain-cells = <1>; + status = "okay"; + }; + usb: usb@fe004400 { compatible = "amlogic,meson-a1-usb-ctrl"; reg = <0x0 0xfe004400 0x0 0xa0>;