Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1682527rwn; Thu, 15 Sep 2022 21:53:00 -0700 (PDT) X-Google-Smtp-Source: AA6agR64m6JcXuPo1ew1YywTzVD7gN5UwecELP+ac9J2xk68UE0UFAmBq++sPoGf7AWSAkeKUZNb X-Received: by 2002:a17:90a:203:b0:200:8df6:84c with SMTP id c3-20020a17090a020300b002008df6084cmr14044597pjc.24.1663303980412; Thu, 15 Sep 2022 21:53:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663303980; cv=none; d=google.com; s=arc-20160816; b=vVXZ+/eQq0TrJ+SUhfQhiG5fNsxMlN3j3mQC+IDxFmJ5A7RGK/gJCdPnQHPTrU55IO Lju4Nkdq9O80f1uA2vJTtqHJpo6M55T2HMKutBYUX+ddZEIcqUHcv9RrxxcNk19bn3vD GsHqycl0rZREbXlJExJElc4ccVqShWCyzxdyXL6Qt9rLLul/b4oXlL/Vv6cSpSiom8DT acMEI7hKrqy7e5mn/R7fkTHk6TgiTGRd5b0RLA1rcId/e5KrhpZZF+Hjlmbo+BE/nxSG qZRXSL/i+0k/Qzk7BN/Ta/KyrjAMpualmiDdl31TKieriY1ZQhmjzordubyFVns9nFzw SgHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :feedback-id:dkim-signature:dkim-signature; bh=HsEeHUxeyjrWeBuU3VZqny77i56V+x03du1DVM7uI8w=; b=oZPiQ8WazMm6C5iUaYE3TbVkJHEd2XDf67MtNDjRIVmLi/lsbx8NjVLsF0BAg2zMIO SnMn0Ddu5oNVSApY5cUl6v5gcUhabkOlg1MVzxdF6CuYIiHkyYFj1MuRal5N58UDz/4M 54d5k8ubBl0eDDeIkedL9d+6xP5l3SN+93P32LIX4SqnE3IohprdY5IbzIyQk1TD9G/A wOofIH2Ua0J2E0sIR0eZKAl9mo7N91mWZnjefVjb5jeiXxCaei8WPvRfRorctLmHnNU6 kjk/aE/u+jc3+hBnQX5iUYQVuEHRR23GRH/HCS8phk2/bmkRocxmkI0c2pJMjaMYX7Ae mmfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm3 header.b="brIryO/E"; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b="eVaRb/oG"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sholland.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f14-20020a65550e000000b00428ee8737d2si21738722pgr.537.2022.09.15.21.52.48; Thu, 15 Sep 2022 21:53:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sholland.org header.s=fm3 header.b="brIryO/E"; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b="eVaRb/oG"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sholland.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229681AbiIPE2K (ORCPT + 99 others); Fri, 16 Sep 2022 00:28:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229581AbiIPE14 (ORCPT ); Fri, 16 Sep 2022 00:27:56 -0400 Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06ACC90192; Thu, 15 Sep 2022 21:27:55 -0700 (PDT) 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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,URIBL_BLACK autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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