From patchwork Fri Feb 2 13:43:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nam Cao X-Patchwork-Id: 1894549 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=c9+E1Wpl; 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=o6MdpGo9; dkim=fail reason="signature verification failed" header.d=linutronix.de header.i=@linutronix.de header.a=ed25519-sha256 header.s=2020e header.b=wLVHCYCH; 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 4TRH7F4v0Mz23g7 for ; Sat, 3 Feb 2024 00:44:09 +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=rgyEDDMAN2rWRjRfh7k2R+PDxwyUZq8dWQR+TltZvBk=; b=c9+E1WplQaNsGn xRcSRovD2X9otRQeQBegNe0ZjrDV9lFM6ryT6UQ2Ou/M4TuTOhvVgUdp5cKria4mBMdcNm1H8S8lF W3hzz5NMi4NKVaU1uWoiP6jRIV8mH00DBkxUGRS4oFGmuX2zVQfqJ+EjTePOYQDTrtNrGZ+SdsUjv Gj3t6xreCFSDWgKS3mbfyEoocfd6nk87JcCJFrlFWVIptDvSjS9lHmM2mRkh7PViqZ49qaEbBgFAA AP3PtbrFzYdf84gnsmcMu+Go4E9HrhewLa+67XaonCAmFx2OuO9Oett82VNijXsqaVLBVatQNUbnm qzkBfjmDCRlO4xTJlwig==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVtpn-0000000BduN-2NnF; Fri, 02 Feb 2024 13:43:59 +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 1rVtpU-0000000Bdp9-0kqo for opensbi@lists.infradead.org; Fri, 02 Feb 2024 13:43:57 +0000 From: Nam Cao DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1706881414; 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=907NVLOi8Lq5cEjQa6Fx1ad8vwwTZ1ODc7T3J4HOzDU=; b=o6MdpGo9D/CqYrAhs0KOrf3eYIQXMzmjClm4O/l4OQNe2ohd2V0s/fcO5XZXsac+zV0xhz aVmQsKbwRvOjz+xHC8dUN5IF91sXrFXx/Xz0I/HFemw1ciR33YxIywjQeV16RzCB+rUcXW rp8nQFBvjANh6oIHCNMm7VlOItAWf81JBAw1hn8aWsABlXuWdCP/i7IBOeB/CQINAd31hn NV1hrdhX2qOqL0kOkwtdxrCi5h+YyFs7Zvyj0lcDff4G8l3K2Ru9MHGn9776i/hWfsBmIR yx6wvcCB3A6DAjDZq9uCoAGwN0gxCJg6zm65IICMJRgDUDqJk3bOHTVevMrz+Q== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1706881414; 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=907NVLOi8Lq5cEjQa6Fx1ad8vwwTZ1ODc7T3J4HOzDU=; b=wLVHCYCH2mfwfVLR2wl71lo09zJc47sxzCSpvyCDPuGlvj4k/NlWLelC7NrDxivv6yDFUb +3PliW9EK/7kNXBw== To: opensbi@lists.infradead.org, Cheehong Ang , Wei Liang Lim , minda.chen@starfivetech.com Cc: Nam Cao Subject: [PATCH v3 1/7] platform: starfive: correct system clock device tree node Date: Fri, 2 Feb 2024 14:43:22 +0100 Message-Id: <063d675dcf59e79892091b0ef085a6a2ca4f6bee.1706880734.git.namcao@linutronix.de> In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240202_054342_047728_7F3CBF8F X-CRM114-Status: UNSURE ( 9.70 ) X-CRM114-Notice: Please train this message. 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 Starfive names the system clock device tree node "starfive,jh7110-clkgen" in all their git repositories. However, a different name is used in upstream U-Boot (and also Linux): "starfive,jh7110-syscrg". Since OpenSBI gets the device tree from U-Boot, this inconsistency leads the problem that OpenSBI doesn't know the system clock device exists. Correct this name to keep the consistency. Signed-off-by: Nam Cao --- 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 dcd6306..4b22175 100644 --- a/platform/generic/starfive/jh7110.c +++ b/platform/generic/starfive/jh7110.c @@ -252,7 +252,7 @@ static int starfive_jh7110_inst_init(void *fdt) jh7110_inst.pmu_reg_base = addr; } - noff = fdt_node_offset_by_compatible(fdt, -1, "starfive,jh7110-clkgen"); + noff = fdt_node_offset_by_compatible(fdt, -1, "starfive,jh7110-syscrg"); if (-1 < noff) { rc = fdt_get_node_addr_size(fdt, noff, 0, &addr, NULL); if (rc)