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 2EFADC6FA86 for ; Fri, 16 Sep 2022 04:29:22 +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=KPStCPbcryRWmCdKiAMAtZNg7DfzfYts5z1hoDEdqgM=; b=hbl88yz0eDSVry /Lz1Nso+wfIgKBgv5ERWOF/EdlPxHuituqUdeq/r4wCXoaKA/qN2ibiHjjePaUnQlRbs4Kc6nDjza srGdUSR9vUzRP4OBMI9p41cttf8pBWqQEBA0U4Y3AeElyMtFg0Gc0GmhsE4fAquJCJs4wponEAVa9 IfSjQE/RYRDwDmtjs13O8AlkE0cbeL7WJWLKLxlBoe1Efs60i6CXMxQTqioCUab0bfuizA3HkBYQb ejd908dW1/9ffc8/1Ue3DTzJCeJhVW1dzvbjAZo6tHdtFrNHnTcPcpPNd+axWWj/fmWhUnSczWTnm X0phVS8CNrHHJ5LmkurA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oZ2xj-006v9W-Ba; Fri, 16 Sep 2022 04:28:23 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oZ2xM-006uLn-Gu for linux-arm-kernel@lists.infradead.org; Fri, 16 Sep 2022 04:28:03 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 70A335C0216; Fri, 16 Sep 2022 00:27:54 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 16 Sep 2022 00:27:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1663302474; x=1663388874; bh=Hs EeHUxeyjrWeBuU3VZqny77i56V+x03du1DVM7uI8w=; b=brIryO/EcVwIjqFUBL smIzOJN05x3U1vMGm6yDn94n6te/A2IkvkNLzmWLHStTaD95qm9cGsGtj0DeyQMs jDwV2iCjZ9r8Ge5ZlePd3apRUwiIcP813e4j4MumD6Pe06b4J+Ha44yNdOCGR3qO M+Ol/5ItXWL9sYZ/d5okCmb1JXGTFaEDRArXYpJyubo5mz/D6Na+PK/WifflXzND kuWnfyUEE9UzjfzP8FCob+2NjIc95uNByLV3RFLj4AcDZVtP3Ed/FqQgvURX7Vzl /fYYZTL2RJEjmwJmjocDw6Qiyk2xAhjtBBpoMIorcV/ZOUUHQp1IlgADnAFfF5HH Y1lw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1663302474; x=1663388874; bh=HsEeHUxeyjrWe BuU3VZqny77i56V+x03du1DVM7uI8w=; b=eVaRb/oGyl2kcifsoa38TGZsG6VYf kZ8yH4JwF0s9VzYbcEyR8tuzpPxYFLibAiHeLPTaIfimFtwST8GHND0kue+CHssL gejfibC81ReGsw7vhBa3l0cZ68qm5Su5wn01q+ms7Ee5wCbrk9rsa9gyDAfR5anu eEWIWxE6bfKjiRWcdXdltS3TVI6a6n+74dFAQDQhb6+orzPYJap3zfLT4Tt3Yqxh Rxd9Z7c59Y2Z9ZG7Or9vWqs/rLuYd1ZS3fwrESI+EH5bEd5vAaHuB5Rf1DfRUVTZ zOTVwRmE78qUZ9MDSb8EfhN2do3lJTzmHa2XZzDPBwaRGL41FqfzaoUKg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeduledgkeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomhepufgrmhhu vghlucfjohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecugg ftrfgrthhtvghrnhepudekteeuudehtdelteevgfduvddvjefhfedulefgudevgeeghefg udefiedtveetnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepshgrmhhuvghlsehshhholhhlrghnugdrohhrgh X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 16 Sep 2022 00:27:53 -0400 (EDT) From: Samuel Holland To: Chen-Yu Tsai , Jernej Skrabec Cc: Samuel Holland , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev Subject: [PATCH v3 1/2] ARM: dts: axp803/axp81x: Drop GPIO LDO pinctrl nodes Date: Thu, 15 Sep 2022 23:27:50 -0500 Message-Id: <20220916042751.47906-2-samuel@sholland.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220916042751.47906-1-samuel@sholland.org> References: <20220916042751.47906-1-samuel@sholland.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220915_212800_714877_30014855 X-CRM114-Status: GOOD ( 11.56 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The "ldo-io0" and "ldo-io1" regulators are enabled/disabled by toggling the pinmux between two functions. This happens in the regulator driver. Setting the pinmux to "ldo" in the DT is inappropriate because it would enable the regulator before the driver has a chance to set the correct initial voltage. Signed-off-by: Samuel Holland --- Changes in v3: - Added patch to remove existing "ldo" pinctrl nodes arch/arm/boot/dts/axp81x.dtsi | 14 -------------- arch/arm64/boot/dts/allwinner/axp803.dtsi | 10 ---------- 2 files changed, 24 deletions(-) diff --git a/arch/arm/boot/dts/axp81x.dtsi b/arch/arm/boot/dts/axp81x.dtsi index b93387b0c1c3..ebaf1c3ce8db 100644 --- a/arch/arm/boot/dts/axp81x.dtsi +++ b/arch/arm/boot/dts/axp81x.dtsi @@ -62,16 +62,6 @@ axp_gpio: gpio { compatible = "x-powers,axp813-gpio"; gpio-controller; #gpio-cells = <2>; - - gpio0_ldo: gpio0-ldo-pin { - pins = "GPIO0"; - function = "ldo"; - }; - - gpio1_ldo: gpio1-ldo-pin { - pins = "GPIO1"; - function = "ldo"; - }; }; battery_power_supply: battery-power { @@ -144,15 +134,11 @@ reg_fldo3: fldo3 { }; reg_ldo_io0: ldo-io0 { - pinctrl-names = "default"; - pinctrl-0 = <&gpio0_ldo>; /* Disable by default to avoid conflicts with GPIO */ status = "disabled"; }; reg_ldo_io1: ldo-io1 { - pinctrl-names = "default"; - pinctrl-0 = <&gpio1_ldo>; /* Disable by default to avoid conflicts with GPIO */ status = "disabled"; }; diff --git a/arch/arm64/boot/dts/allwinner/axp803.dtsi b/arch/arm64/boot/dts/allwinner/axp803.dtsi index 578ef368e2b4..a6b4b87f185d 100644 --- a/arch/arm64/boot/dts/allwinner/axp803.dtsi +++ b/arch/arm64/boot/dts/allwinner/axp803.dtsi @@ -25,16 +25,6 @@ axp_gpio: gpio { compatible = "x-powers,axp803-gpio", "x-powers,axp813-gpio"; gpio-controller; #gpio-cells = <2>; - - gpio0_ldo: gpio0-ldo-pin { - pins = "GPIO0"; - function = "ldo"; - }; - - gpio1_ldo: gpio1-ldo-pin { - pins = "GPIO1"; - function = "ldo"; - }; }; battery_power_supply: battery-power { -- 2.35.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel