From patchwork Mon Jan 19 20:41:00 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1637 Return-Path: X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1768855350; bh=BQeWrzrCVnfX/2TWTxW0oed9x9NEYekOwXIPtu4MqH0=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=ZFd9/QllRQElXZWIZ0J0bW/FvTh9TUsGaC1VIm7Vl33R6VArnJED2QJxfKQYrTUaO uhbFU1lbWSCQIVarpB9FjB8toKXCinuq548U7y2iuEKWdow+kEOT+MjfKkzcKy9fpm XSGIot/Z+SAIq4xj5wvg4roT1R13RkfNA/0QOO50LEGg6DEBRptI3JOOCiOMgHBTmZ gotH6qNsDeCUrGoM9o8l8ZULTOKzYQDBT+C9Eyh/UWzo/ats4JkPP0mTtHbE3uk7PO PXvtID1GDIVS++e6ZNSKtgI4gVci4GqhVU2iVqTb9VJNSvOSzNxxKTtmM0xKGUdG5B PwSwGX5Jvuk1Q== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 4698E69504 for ; Mon, 19 Jan 2026 13:42:30 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id NygoYcJCOcYR for ; Mon, 19 Jan 2026 13:42:30 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1768855350; bh=BQeWrzrCVnfX/2TWTxW0oed9x9NEYekOwXIPtu4MqH0=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=ZFd9/QllRQElXZWIZ0J0bW/FvTh9TUsGaC1VIm7Vl33R6VArnJED2QJxfKQYrTUaO uhbFU1lbWSCQIVarpB9FjB8toKXCinuq548U7y2iuEKWdow+kEOT+MjfKkzcKy9fpm XSGIot/Z+SAIq4xj5wvg4roT1R13RkfNA/0QOO50LEGg6DEBRptI3JOOCiOMgHBTmZ gotH6qNsDeCUrGoM9o8l8ZULTOKzYQDBT+C9Eyh/UWzo/ats4JkPP0mTtHbE3uk7PO PXvtID1GDIVS++e6ZNSKtgI4gVci4GqhVU2iVqTb9VJNSvOSzNxxKTtmM0xKGUdG5B PwSwGX5Jvuk1Q== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 35AA3694F3 for ; Mon, 19 Jan 2026 13:42:30 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1768855348; bh=6CcAzxv1BGagpAYR1h3cPGHAAlb0AQkkKiEpfb+Omto=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nn/YTkNvqWYbI/0MMph32W5P5wAkES6U5NCwyw+RhnKuZkFlqW3wC6zdZSMDOu84G hP1/eNu+po5Ma4zO7OOrTIpF7LG2UaG0TO1PyRhW803j0HPSHNRiOggqy1dwzxrYX0 rFpLInspBBdQ/B7ao/LGfvVTuUrxbppJDz9TZpG0ZuhZMA3jQnNyDa5bMkkCQVP3es U99M5fEAmeLzdt75lD1t1oDyF0AzCGedUDAU2Jtm/UeV5unw36DFqIiffq99lcmGnP Reys0ICGd738gdkDFLL5EGG/9Cbk8KW1lJFHMsO7oEIyQmqGgWrTCj9qb4cIZMxfIV FaZZBvqKNP2Aw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 2D4A7694CE; Mon, 19 Jan 2026 13:42:28 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id mdImE-I5coUB; Mon, 19 Jan 2026 13:42:28 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1768855342; bh=/4D6j6MIML0YNElhrlaAdb2++XyKXMQsVY8vjlqwEtA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QPJ+dOdO8yMr1lGEnDLyIAfQ+m9Ov7hsAl8a6y+DNWlOq+HhbVXgygTkNLDh+UlVg q+b8aE6BgI3QvFIZ/vKRZe7JPIDNk+9smeLf5dWG0eoLcvro0O43VpTINuK/vVfZfn vKjgFy3SG+zKSiYggNV9SDuqxXaT7wk89dKfs5Vy+ga3eZCeeQgKNVHGLBCMkkykA4 vItKAQt2E8Vx8sKWXvUXxjWD5BRp7NQtQdyrQcm5lMBs6mV4QFIhKB2heWApNpaonF USoQsnpLMbSjHy/Hs2InOGIxg7kudJXYsSJS/b35pgIm/IYw/v47T7/Hm5kwvhSSgo a5YxCcwSUrlhw== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id A39D6693E3; Mon, 19 Jan 2026 13:42:22 -0700 (MST) From: Simon Glass To: U-Boot Concept Date: Mon, 19 Jan 2026 13:41:00 -0700 Message-ID: <20260119204130.3972647-8-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260119204130.3972647-1-sjg@u-boot.org> References: <20260119204130.3972647-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: U6KVT7AAHAZTDKTSFQ7ROA7ODZRVP4H4 X-Message-ID-Hash: U6KVT7AAHAZTDKTSFQ7ROA7ODZRVP4H4 X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Simon Glass , Claude X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 07/27] sandbox: test: Add bootph-all to pinctrl-single for serial List-Id: Discussion and patches related to U-Boot Concept Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Simon Glass When running sandbox with -T (test mode), a warning appears: pinctrl_select_state_full() sandbox_serial serial: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19 This occurs because the serial device has bootph-all and is probed early, but the pinctrl-single node and its pinconfig child are not bound yet. Add bootph-all to the pinctrl-single-pins node and its pinmux_uart0_pins child so they are available when the serial device is probed. Co-developed-by: Claude Signed-off-by: Simon Glass --- arch/sandbox/dts/test.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index 7a67565e4a9..7716140f2bf 100644 --- a/arch/sandbox/dts/test.dts +++ b/arch/sandbox/dts/test.dts @@ -1874,6 +1874,7 @@ #pinctrl-cells = <1>; pinctrl-single,register-width = <32>; pinctrl-single,function-mask = <0x7f>; + bootph-all; pinmux_pwm_pins: pinmux_pwm_pins { pinctrl-single,pins = < 0x48 0x06 >; @@ -1893,6 +1894,7 @@ 0x70 0x30 0x74 0x00 >; + bootph-all; }; };