From patchwork Wed Jan 31 13:09:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nam Cao X-Patchwork-Id: 1893491 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=q4rtv8W6; 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=uVHDZaro; dkim=fail reason="signature verification failed" header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=OkElSvCG; 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 4TQ2ST6wBnz23h1 for ; Thu, 1 Feb 2024 00:09:45 +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=olnvaM0P/R+ohEkfcmGhK+65YHDlz8bCXxeclWxO9ys=; b=q4rtv8W6u+sFO9 JW/T9wk7R+aoFDmX5V97bA24F7hkWrJwtoTK8ycpbtnz6Cd3We04rxI9zND9e02iESfXSPDS9qQ1Y rrEEHyMu8RjiS0IEKQ0KsZCBj2AQkmZ1uIgRx859s6Eu3KTyaBT8smAKNL2PenQOL7RZdfLSotSbT h/EwlqV6w/AAnu3HdjQ+XbCA4+Hp8y/yhpr1vBXElcSBBENIim66qKankfIBXf6y3ii3u2/F4lF73 nj0XDwMA4wsiBcFtQXHT5vANH4LCXDu4Fx12Xei7yHa+IuK17wFKfScuFusM4aukfvYk1LcBtE2R0 ++G6gG0aFBgfXh60HcFw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVALR-00000003Xaa-2tkp; Wed, 31 Jan 2024 13:09:37 +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 1rVALE-00000003XSB-1bmN for opensbi@lists.infradead.org; Wed, 31 Jan 2024 13:09:35 +0000 From: Nam Cao DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1706706561; 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=zUVvY0yxE/3exQTnsiF6MLIM4ME1WvgN39pw3TFRaS0=; b=uVHDZaroUZfcU5uu8SVAWVIoD7yPcJYBIWWiGIbgKINvNexh9LGQTG46bvrkZgBJ//MXi0 iEEaJth3zQBp8SArMAfczBeoI2Gyfi4B6CYQvWPG9+B4nGA9RAbCM0HV1Ie/R/7jEVxfi6 qCfCLoOlnMDxOvJ1LQ/p4u7myTRROo1i7vaOw7jUG4w5bRmUXZmAV2uK4Oj96sT7XtFgjI fWRQZAJRYqUn4iMyew9dN51VGaVE+fYtUt6JmmEM0hGnyxdlzCeeDNce68yyeH/IcvpK0i SczWehakSjzFaLHdQ4X9o7b0mLcksjIJy5LTLVkS+QENc3K2XG19SlIlu4g+0Q== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1706706561; 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=zUVvY0yxE/3exQTnsiF6MLIM4ME1WvgN39pw3TFRaS0=; b=OkElSvCGtUpyb07rfy4UuPInGxDXAhDs1oYegUNOmvLXnpJ6NMMp0tU2PPb6VD1uMtFW0W srimDNzJtSQwoRAg== To: opensbi@lists.infradead.org Cc: Nam Cao Subject: [PATCH 2/5] platform: starfive: rename "stf,axp15060-regulator" -> "x-powers,axp15060" Date: Wed, 31 Jan 2024 14:09:04 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240131_050924_663075_7664E8AF X-CRM114-Status: GOOD ( 11.14 ) 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 --- Actually "x-powers,axp15060" does not exist in U-Boot at the moment. But it is being added: https://lore.kernel.org/u-boot/47fd2b2225f52a2d5c3a91494ef7b9036e944199.1706517351.git.namcao@linutronix.de/ 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 72969e4..9f5261b 100644 --- a/platform/generic/starfive/jh7110.c +++ b/platform/generic/starfive/jh7110.c @@ -227,7 +227,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 }, { }, };