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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 007ACC04A94 for ; Thu, 3 Aug 2023 21:15:08 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1103986839; Thu, 3 Aug 2023 23:15:07 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kwiboo.se Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kwiboo.se header.i=@kwiboo.se header.b="oWTj6DhI"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 104F38686A; Thu, 3 Aug 2023 23:15:05 +0200 (CEST) Received: from wfbtzhsw.outbound-mail.sendgrid.net (wfbtzhsw.outbound-mail.sendgrid.net [159.183.224.105]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D4357867FB for ; Thu, 3 Aug 2023 23:15:02 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kwiboo.se Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bounces+31435339-7456-u-boot=lists.denx.de@em2124.kwiboo.se DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kwiboo.se; h=from:subject:in-reply-to:references:mime-version:to:cc: content-transfer-encoding:content-type:cc:content-type:from:subject:to; s=s1; bh=JLpqx3OH7kJHHdLhYe8oDEn/gadxDwAU+cjHWohodnc=; b=oWTj6DhIhyb2rRA5Eegm6tm7A7qsK3ZwXgSjw6ADgpBvf1j+KPJmJ5swDnZiMPX9M5UU 3oBY43nfebirvzM9TGZ1cAdWo2UcIscZDzKx8vQpZCVxBvPL7zfFS6oHOmR6hjzIvYx/Xk B90p321klS+Oe/5OuBl61sj4nWsLxqTMR73R8T3AqhCu+xg1at7yF5iaRf+h5O8YUuR4qR e/SrSiCY0l4l7u47zAwL53NzPeMGE/gTn3pc23+YwDAr99BAAqPkTsNAiW32abrbJbH/3I sYh51zjtuXTOR+LJtakfHI9+KXj39hNhzV/CSMb+eU6JhbbgNQFsuxNMWZCQxdqQ== Received: by filterdrecv-d7bbbc8bf-qc8hg with SMTP id filterdrecv-d7bbbc8bf-qc8hg-1-64CC181A-14 2023-08-03 21:11:54.398428401 +0000 UTC m=+7335121.524466810 Received: from bionic.localdomain (unknown) by geopod-ismtpd-7 (SG) with ESMTP id xioA0bCxQhuLQIcyNu6RSQ for ; Thu, 03 Aug 2023 21:11:54.034 +0000 (UTC) From: Jonas Karlman Subject: [PATCH 2/2] rockchip: rk356x-u-boot: Add bootph-all to i2c0_xfer pinctrl node Date: Thu, 03 Aug 2023 21:11:54 +0000 (UTC) Message-ID: <20230803210239.3998777-2-jonas@kwiboo.se> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230803210239.3998777-1-jonas@kwiboo.se> References: <20230803210239.3998777-1-jonas@kwiboo.se> MIME-Version: 1.0 X-SG-EID: =?us-ascii?Q?TdbjyGynYnRZWhH+7lKUQJL+ZxmxpowvO2O9SQF5CwCVrYgcwUXgU5DKUU3QxA?= =?us-ascii?Q?fZekEeQsTe+RrMu3cja6a0h817F66w1lRkVPouD?= =?us-ascii?Q?KtHswsbdix3X3f+tbzWZqHhOsLACEL4j2aPB7+w?= =?us-ascii?Q?kPG0CTQpfqRfJku+9BjkaiXpNsEzpQOjJld8rVk?= =?us-ascii?Q?emz=2FNLB2R0+F4JWZ5QEMR3QfxOXsCm1HsitqfPY?= =?us-ascii?Q?5J0MG1IxYq09S8sZ2BozdU2+mz2lKCTtjA8x8+?= To: Kever Yang , Simon Glass , Philipp Tomsich , Jaehoon Chung , Chris Morgan Cc: u-boot@lists.denx.de, Jonas Karlman X-Entity-ID: P7KYpSJvGCELWjBME/J5tg== Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean A RK8XX PMIC is typically using i2c0 on RK356x devices. Add bootph-all to required pinctrl nodes to simplify use of the prevent booting on power plug-in option in SPL. With the following Kconfig options and nodes in u-boot.dtsi the prevent booting on power plug-in option can work in SPL. CONFIG_ROCKCHIP_RK8XX_DISABLE_BOOT_ON_POWERON=y CONFIG_SPL_I2C=y CONFIG_SPL_POWER=y CONFIG_SPL_PINCTRL=y CONFIG_SPL_PMIC_RK8XX=y &i2c0 { bootph-pre-ram; }; &rk817 { bootph-pre-ram; regulators { bootph-pre-ram; }; }; Signed-off-by: Jonas Karlman --- arch/arm/dts/rk356x-u-boot.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/rk356x-u-boot.dtsi b/arch/arm/dts/rk356x-u-boot.dtsi index d21b18205220..fe7de0dd4bc8 100644 --- a/arch/arm/dts/rk356x-u-boot.dtsi +++ b/arch/arm/dts/rk356x-u-boot.dtsi @@ -64,6 +64,10 @@ bootph-all; }; +&pcfg_pull_none_smt { + bootph-all; +}; + &pcfg_pull_none { bootph-all; }; @@ -100,6 +104,10 @@ bootph-all; }; +&i2c0_xfer { + bootph-all; +}; + &sdmmc0_bus4 { bootph-all; }; -- 2.41.0