From patchwork Thu Nov 5 05:41:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 317960 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, TVD_SUBJ_WIPE_DEBT, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 76B9BC00A89 for ; Thu, 5 Nov 2020 05:42:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 19E792151B for ; Thu, 5 Nov 2020 05:42:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731118AbgKEFlj (ORCPT ); Thu, 5 Nov 2020 00:41:39 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:41311 "EHLO out4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726214AbgKEFli (ORCPT ); Thu, 5 Nov 2020 00:41:38 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 1E1465C012C; Thu, 5 Nov 2020 00:41:37 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Thu, 05 Nov 2020 00:41:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm1; bh=2C6TglOhcnmUj vInlPf//jN+FgeWJ9nu0Hxe9wqASW4=; b=A5dMCToC/w8UeQ55ITJdpdCfqIPNY kSzAWIZuZTCU0OP04txijR14fAdR/fFsPbZf8nIvjVZrK0PrZ7U3dfclJToR4aQ6 h8WZsnQ23pSsKZHrQJ1ufT9z2wKd7z38AaCgEWKpP35tTUshychhc0vS8IDaMLRv EAxU9fuLHEQuoTWHiLhbdHVM3quhLYy0H1y567ClhHBWRUaqqKrqJGtevsWSarBk vFOWHukIDT12+pilDtVV2TfdujUoCU+SSHSDL7vCi1hykPaEIp1J+LGyZZsUsj1v twXYbYqQ2QeDgsdfz6ETK6Vxs6YcUUctROotVD/MaUwTYJ+PGj0s24XDg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=2C6TglOhcnmUjvInlPf//jN+FgeWJ9nu0Hxe9wqASW4=; b=jPjlGJa7 5Vjb1k0u+H3eQXWGbOmlUZVKIyXb1BroubFxai2vzb/prwYxdg3EEDffTeQzn28z aWprraUA7WnwcSQUQcorhkx/2856YofGZwrbWwpQJo3rMf+OBGViNrp9orGrCzve ej493HQ7ocWCnpM//vHHNuU6BL+OTc/QunUX1rHsNbcCqnhSG3WnubBGuzIBGQCs AxcXwmzQM2XnHJTvKf+hk/06UJ91vaUabWxv1prKSTfFf2K6KapxfEjlnw+C91g4 65mbj7ptfRDxAbF3HZ68Jm4fcG5F8P6cX3ZE5kUBYYsGU7y0hc8ojpVry0C8NrMR Zzq2R1dM+HZjTg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddtiedgkeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgv lhcujfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtf frrghtthgvrhhnpeduhfejfedvhffgfeehtefghfeiiefgfeehgfdvvdevfeegjeehjedv gfejheeuieenucfkphepjedtrddufeehrddugeekrdduhedunecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepshgrmhhuvghlsehshhholhhlrghn ugdrohhrgh X-ME-Proxy: Received: from titanium.stl.sholland.net (70-135-148-151.lightspeed.stlsmo.sbcglobal.net [70.135.148.151]) by mail.messagingengine.com (Postfix) with ESMTPA id 69CB732801D7; Thu, 5 Nov 2020 00:41:36 -0500 (EST) From: Samuel Holland To: Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec , linux-arm-kernel@lists.infradead.org Cc: Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Samuel Holland Subject: [PATCH 1/6] arm64: dts: allwinner: pinephone: Remove AC power supply Date: Wed, 4 Nov 2020 23:41:30 -0600 Message-Id: <20201105054135.24860-2-samuel@sholland.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201105054135.24860-1-samuel@sholland.org> References: <20201105054135.24860-1-samuel@sholland.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The AXP803 in the Pinephone has its ACIN and VBUS pins shorted together. In this configuration, the VBUS control registers take priority over the ACIN control registers, which means the ACIN sysfs knobs have no effect. Remove the AC power supply from the DTS, since VBUS is really the only power supply. Signed-off-by: Samuel Holland --- arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi index 25150aba749d..48050bbd941d 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi @@ -251,10 +251,6 @@ axp803: pmic@3a3 { #include "axp803.dtsi" -&ac_power_supply { - status = "okay"; -}; - &battery_power_supply { status = "okay"; };