From patchwork Thu Feb 22 08:16:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nam Cao X-Patchwork-Id: 1902606 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=AZdsIpxe; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=linutronix.de header.i=@linutronix.de header.a=rsa-sha256 header.s=2020 header.b=y89kXzyP; dkim=fail reason="signature verification failed" header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=RFJZ0YhN; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TgQwM5HQVz23hc for ; Thu, 22 Feb 2024 19:16:51 +1100 (AEDT) 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=TlVKT3LS8oOk5aOZxcpvdpWt4EM96pg6BagjY0fwmxg=; b=AZdsIpxeQqyHPX BRUOM67hok1RLGSvUjRWXO0EktaOmzvSKlNawffx8J08gbVezBej1EbqS09FS4RSMQUUoz7NNhQlT 5O6JhvQaRNPbeQ2EYR8LZSWowa3Nrbd1KECKgso7jAAN70ZeuGiVZk2U7oOjex+ucCgF7r4w0Q+Ve yhJTxsgJ353kiSch/KFkmZGwX0NnVlLdYMNyDOWBQsBkJm+OaySJygoURxUlxHioe4bLR4hijDym5 +XrOxzaiLtL/3FlypGdm3woLo/iAnGQn6/huRtzDZZWu6kVGn3Cr5BoEJwxkW19CJnG1uhMPq7kEd dv9UG8eI+HjwbGnvJ34Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rd4G4-00000003y6p-115h; Thu, 22 Feb 2024 08:16:44 +0000 Received: from galois.linutronix.de ([2a0a:51c0:0:12e:550::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rd4Fq-00000003y08-3rhh for opensbi@lists.infradead.org; Thu, 22 Feb 2024 08:16:41 +0000 From: Nam Cao DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1708589785; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xvTPF+na0S6MyZ3v4DXT6cILC82uSzCAE1ag3swLq0A=; b=y89kXzyPKuWAxW5BZ6pn7D6Bdz3QkcU9DzZF+mqQQWyz7Wu03pbRBlS3KTZF6RDNg0lIkd AaainJA+w6xenuVtEXhJY2pLwZ0TYLr6Q1TNJ242OsN6TLbx8hhbc90xGfnRl+eWyACMul d7FYqqQYOTEiGEoMYrF9i40WHsbvIyF0um1R5J4NPoBjojt+6IvNquRGt4HHWPHlgOJ05C rlgjj5J+7ReLbcvvMjWq5XOb1IHra7ZUum+uwJzkPnqSrhjcBLVfMW2GkP6KJe/ZypagtL 0GxGo/ui3FR1ITcOpk/E1k+7utb6pS/lxcZYfWmeUWmshKiM8/DPKpAdfE9WZA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1708589785; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xvTPF+na0S6MyZ3v4DXT6cILC82uSzCAE1ag3swLq0A=; b=RFJZ0YhNmudXLvugHcEos2L5Ns9wmNcub0T9ZQix7U6m/ZYbjO6lOmRGRi4WQx7/Xoy81x 8WOXj5WssV0p83Cg== To: opensbi@lists.infradead.org, cheehong.ang@starfivetech.com, weiliang.lim@starfivetech.com, minda.chen@starfivetech.com Cc: Nam Cao Subject: [PATCH v5 4/6] platform: starfive: rename "stf,axp15060-regulator" -> "x-powers,axp15060" Date: Thu, 22 Feb 2024 09:16:17 +0100 Message-Id: <20240222081619.275869-5-namcao@linutronix.de> In-Reply-To: <20240222081619.275869-1-namcao@linutronix.de> References: <20240222081619.275869-1-namcao@linutronix.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240222_001631_163340_81D03A00 X-CRM114-Status: GOOD ( 10.73 ) X-Spam-Note: SpamAssassin invocation failed X-BeenThere: opensbi@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "opensbi" Errors-To: opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org OpenSBI uses the device tree compatible string "stf,axp15060-regulator" for the regulator node. However, the string used by U-Boot (and Linux) is actually "x-powers,axp15060". As OpenSBI gets the device tree from U-Boot, this causes the regulator device to be undetected, and OpenSBI does not use this device to perform board reset/shutdown. Rename this device tree compatible string to match U-Boot (and Linux). Signed-off-by: Nam Cao Acked-by: Minda Chen Tested-by: Minda Chen --- platform/generic/starfive/jh7110.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/generic/starfive/jh7110.c b/platform/generic/starfive/jh7110.c index 3161bf1..b0b1e35 100644 --- a/platform/generic/starfive/jh7110.c +++ b/platform/generic/starfive/jh7110.c @@ -221,7 +221,7 @@ static int pm_reset_init(void *fdt, int nodeoff, } static const struct fdt_match pm_reset_match[] = { - { .compatible = "stf,axp15060-regulator", .data = (void *)true }, + { .compatible = "x-powers,axp15060", .data = (void *)true }, { }, };