From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4DAED51C357 for ; Mon, 19 Oct 2026 14:17:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792419468; cv=none; b=S/soWS4VR+LY1loMKFoQbC5kC0/nk7psInyCwtPOCnhnhE2NWBvJQqKAWQsNg76TuTavbA4eNB3IKB3mFbm8yTQkEqmXspCj6HNo4c3nI1NVpEyKD/bZe6jkKmcCOiS9xxOcIW0a8jyDdh0w7wPe+JDXMT+spzJuPUrKNN7fgfw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792419468; c=relaxed/simple; bh=a9xujErffccRWJmb2kmaLMfqp7WKEG50k3ZOPDrgYt4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=a8Lgy1wZA9fuggwTjYmcyTtf2wsuRCWo0c5L1ij8UZdaIZkqs4YOC91tMwcIF/6J+6QIxDU1V/1YJa2wryerlFhQr51FcJZ3Cu4Hd0sg+JWB6d5Yvk53WB+tM66Yq1aQ/K28Gr6PGUn+i1X72Y+nkCefhxqeuBL+fSTpue9bMvY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=K/VnZ6TQ; arc=none smtp.client-ip=209.85.214.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="K/VnZ6TQ" Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-2dd76b1361dso11027965ad.1 for ; Mon, 19 Oct 2026 07:17:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1792419467; x=1793024267; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=a9xujErffccRWJmb2kmaLMfqp7WKEG50k3ZOPDrgYt4=; b=K/VnZ6TQhGV1S/Cr3yChf3UqaHTZH79/pnidNGz5C+Y+OL17/CDMALm708UH9kahtm qCJcPdOvJt9PzLTP2xjcqZShKQps6cS+lZPMczxIzwQhMQwWAFw4gIbifiEy6Z+y+mjX tRsuwjzy1Wa2cyQDAe4Drx6jOcJIuLLbQjYAlCLcEfFxYjWRrju9gDFb9LmzvoFUd8jR KmIr7yg92rZ7hXwGl9UzcHeKb111C3ps844unsueJ4r0GY/BDhp4UkY1NqMXFe5Cu6aA kIL7snopLCuopIctLLOiZGcL/MEEKebPXp7aR0k2KK/GcqI+MzOJCqKsUdI9MAV9CtqK FkhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792419467; x=1793024267; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=a9xujErffccRWJmb2kmaLMfqp7WKEG50k3ZOPDrgYt4=; b=pgwOgLgWKz933em2KZ4t9YYbufkc1M7l+g1NKO7+1DnsCf2ruI9oJgAyrC9fRMy4bH 4dVvEfxW4Vxn6590B4JhY0upjR1VPuWNTNltxv21Z0no4OXLDnVwVF+Jh5Q6RchF6KKP fVlCMEC0D5Ev90EPMZSkbwfDYnK8QOJr/jpGkUOxuu44n2x2tVLX6HOwfgizF9W6Kr3U 1oWfrnnDdyhJn4bMf2togRKaV5x+YwtkL2M+u7F/f1GhqIn6+SV0CHqTH3vqszRQ2T6B 3Ux2L/K9Udq5cIm0FJhis34KisHqoauAO7AcAKjix79TDvV4bOdffgVMBtrGpy6SjM2b xvXQ== X-Forwarded-Encrypted: i=1; AKwUvBzAEHCqPWflUUs4bX7pOZdzgEutWj21Zfx+ach/V0lAjB7IO6ql4hmExq+sasBt7u293GwTZPFPf7bx@vger.kernel.org X-Gm-Message-State: AFq9FYKVGFeBZwhZoBYadhzrP6WNtQ1BM+xyciRrugPq+CDe6r0h64m3 UNQMX+KYxDwMIuWZXkqzV0rZQfUF+8aZvdo/DEdPdkclTe6NKCOvay49 X-Gm-Gg: AYBFou1WxuBF1uaFV2ZfasIN1LRcOGQWq7jwOkI4oNqH86SOH/KHy/cEnHojz8hsf6R Wv1uk0Yk2hD270eW3RbISW2BT5KNha9pahMOzefOIqxP/msgtJzvewxTZguhL3K6Gk4Ueyhido7 +LFJRHgLqOgGgBiRo1C18nZr4VONSDniBTV3UH15uuCRE3YatM0uz6D4dgOFRwgRX60pJP9dNsf 1vRBZh694t9P42eJJry5IJkzYn+wKKEU/Kxqi8BF+f2V0sffLTcpi0hrSAZQHA6FWCexAzTQKh/ g43DmHC/zz67KkJWxAvVPWS9bBnsJh5p7/jsE0+asDlg7SVy7nJEoAONn7VITMQDjPFgZ7nJCmI S5pQtFIQh6lnn1FdVhM+bd0ujQY2k7+IiRxPWRG+AZaYKdlmVYCccmxpGKLGeF0N8nqZfBYlxFO kI1yJFId8B1Adum9Aw6SJX+90u6imeHrXUzuRHSw4K/l4Q6hibpxG+ysihQV+7+FCMGcqYfjqI0 1cCa2tRPSNnH7c6s2uDQkjqTvJqI02c4D2zity1q4/DkG70OiC0/39KzZxJXY92mnJnvPWt9DGe 7wuWuwHn9JFU7IMaiTIKtDVxCbNn2pX4FKqDIO29Kif/wqD8BmSZew== X-Received: by 2002:a17:902:e943:b0:2e9:79db:449c with SMTP id d9443c01a7336-2e9a6f55653mr62822605ad.47.1792419466462; Mon, 19 Oct 2026 07:17:46 -0700 (PDT) Received: from alanhc-14700.tailb22ec2.ts.net (180-177-138-120.dynamic.kbronet.com.tw. [180.177.138.120]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2ea1501f933sm1697925ad.50.2026.10.19.07.17.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Oct 2026 07:17:46 -0700 (PDT) From: Hung-Chun Tseng To: E Shattow Cc: Yixun Lan , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, spacemit@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/2] riscv: dts: spacemit: k1: mark boot-critical SoC nodes bootph-pre-ram Date: Mon, 19 Oct 2026 22:17:38 +0800 Message-ID: <20261019141740.2077086-1-alan.tseng.cs@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <05e0c9e4-4e27-4114-866a-ec55c33ba349@freeshell.de> References: <20261017180141.3477743-2-alan.tseng.cs@gmail.com> <05e0c9e4-4e27-4114-866a-ec55c33ba349@freeshell.de> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi E, E Shattow wrote: > Drop this last paragraph/sentence or place after scissors line, not for > the commit message itself. Thanks, I will drop it in v3. > Presumably the BootROM does configure all of the above? Mostly. The boot straps select SD, eMMC, SPI NOR or NAND, and the BootROM loads the SPL from there, so the SPL needs the same controllers and the clock and reset controllers behind them. The BootROM also prints to the console UART. i2c8 is different. The BootROM does not touch the PMIC, but the SPL has to set the PMIC regulators over i2c8 before it can bring up DRAM. I will give that as the reason in v3 instead of the U-Boot sentence. The BootROM can also load the SPL over USB fastboot. I left USB out of this series and can add it in a follow-up. Thanks for the review. Hung-Chun From mboxrd@z Thu Jan 1 00:00:00 1970 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 96BE0CCF2DE for ; Mon, 19 Oct 2026 14:18:05 +0000 (UTC) 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=R0v2enHOLKEl2OYOS4Cijf8P37IEAiIXncGHIoZH+WI=; b=iTsyik86zLADFk 81h9L5pbEPWQRXJ9GdGQChg5gs2wCAbzqWmIhDmKWKXjdj8jleo46aU5Yj3efmXNMft+3WweYzWHA HLwWKlAFoadOEpDwOytAksPtzw7t+XMCUTlNDEBqWaR6rpQFNSL4tkqTfP/YUjNA/yMZ5XQQh709c eu0pIi+C9hHeoWAUECuWLloLLzwswTHVWMWurqZTey3MTkus0GF+bx79VpxuCM4Ud6R5Qg4zGsf3t z1M8i6lny56TxHZN4/wG4dmRRDjnRUxbvlFUnqhkkk4nyWX5VaaZL3KJgULBiWZtACvGjQflLhpaE QdueVJ5Uo1wNgQJrRJUQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1xIoBS-00000007isk-0tWS; Mon, 19 Oct 2026 14:17:50 +0000 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1xIoBP-00000007irn-3fnc for linux-riscv@lists.infradead.org; Mon, 19 Oct 2026 14:17:49 +0000 Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-2e9f6a16aedso4949715ad.2 for ; Mon, 19 Oct 2026 07:17:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1792419467; x=1793024267; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=a9xujErffccRWJmb2kmaLMfqp7WKEG50k3ZOPDrgYt4=; b=f3JoR8xTKFgo0wyZLIgE4wAFwg1NVgL6bU3OyGPMgXONt3qEO+B9dWT8KkX+PXhrJd 75pxfKWDLCvx15atWSxD850RKNJg+okW33rOKkxD7jPXpLC8Xoppjrgepk1iHZGK+KHM xOQxANJGiwLkGkXkSIIvUGSBhk9c3ytEUWgxQn3zjI6DwFiLt6H4YoAmpG4IeJs3lkGG vskystSa9K3h1CqMOC17M52b5hbVT6iWX1BfWcDg1sNkD4lqrlopRHMhp/oDqnJWEKBU EUdXvwt/460S2A70y/XitYpbpiMuqq688ENslfkZ32iM0PcUHcUT79hzkouaPue4q96x fzhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792419467; x=1793024267; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=a9xujErffccRWJmb2kmaLMfqp7WKEG50k3ZOPDrgYt4=; b=VOAmNNWgicGsV0ZqPsj7/5GbgeWKCk4eJb3StWAVP0QYyj/PMfUXzmFqIBgLJiQ2Fk fSjEdEpuyNLD2DtQe+0UF0aoAl0OCmNSngXEwOfZ6QZ4w14aHCCqbTvgc0o8S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6kZICtopPJ0aJieux0LhSL59f/CWqfuXSQ== X-Received: by 2002:a17:902:e943:b0:2e9:79db:449c with SMTP id d9443c01a7336-2e9a6f55653mr62822605ad.47.1792419466462; Mon, 19 Oct 2026 07:17:46 -0700 (PDT) Received: from alanhc-14700.tailb22ec2.ts.net (180-177-138-120.dynamic.kbronet.com.tw. [180.177.138.120]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2ea1501f933sm1697925ad.50.2026.10.19.07.17.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Oct 2026 07:17:46 -0700 (PDT) From: Hung-Chun Tseng To: E Shattow Cc: Yixun Lan , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, spacemit@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/2] riscv: dts: spacemit: k1: mark boot-critical SoC nodes bootph-pre-ram Date: Mon, 19 Oct 2026 22:17:38 +0800 Message-ID: <20261019141740.2077086-1-alan.tseng.cs@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <05e0c9e4-4e27-4114-866a-ec55c33ba349@freeshell.de> References: <20261017180141.3477743-2-alan.tseng.cs@gmail.com> <05e0c9e4-4e27-4114-866a-ec55c33ba349@freeshell.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261019_071747_916291_B32E0290 X-CRM114-Status: GOOD ( 11.27 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Hi E, E Shattow wrote: > Drop this last paragraph/sentence or place after scissors line, not for > the commit message itself. Thanks, I will drop it in v3. > Presumably the BootROM does configure all of the above? Mostly. The boot straps select SD, eMMC, SPI NOR or NAND, and the BootROM loads the SPL from there, so the SPL needs the same controllers and the clock and reset controllers behind them. The BootROM also prints to the console UART. i2c8 is different. The BootROM does not touch the PMIC, but the SPL has to set the PMIC regulators over i2c8 before it can bring up DRAM. I will give that as the reason in v3 instead of the U-Boot sentence. The BootROM can also load the SPL over USB fastboot. I left USB out of this series and can add it in a follow-up. Thanks for the review. Hung-Chun _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv