Received: by 10.223.176.5 with SMTP id f5csp465301wra; Sat, 3 Feb 2018 03:26:23 -0800 (PST) X-Google-Smtp-Source: AH8x224cnBCvyCp0mQ/0o0tiSlAZkaF5oeB/z02oEyeTXYKE88fe3ympkLiaTIBDCxMVyL6jirDM X-Received: by 2002:a17:902:1665:: with SMTP id g92-v6mr38074271plg.245.1517657183115; Sat, 03 Feb 2018 03:26:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517657183; cv=none; d=google.com; s=arc-20160816; b=mAfnUr4dmoZsdb5sLYFP0nRlelWAoAvKNBDCrx+hbcC6pnB/8ZWZGnU9W0zQaeqzAn VIJXQS4X28Or83XS5CbPzMgagLzYMNmXT98At+mfqgXjNsEXqTGDfZqIvQkyKd+oluCi NR6wd93V0CL24bogujn5JMZnCFJiYaZxYBUbgQzWgpPRIgDde+DCiO/7rkTzkBndbI8U gHp5INHllyYmwhcH7PU371n4HnyUlJBVzHIUUyvGGQ9msdWRFIsINToHAIZgJ3kDHxeK eg80TlwwmpNbJPVEjMIZejnd5n2QDdh7bl4ddyf1VjZZTKnJqnWkbHwrqnZ5uO0KgSBY NJtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=f3pDkK4QsDxMUtRfzZgjMAdl//8WNEtcI/qC5RLLRfQ=; b=W9wa+vrHzkRhvo7ltEGp1F6Z8ITqivEgYqRBqTfgBswtD709YOVa2BVlkhkDLHp6Hf lyeDUHznpMJbn7puRxaqfndM+Fe+eUViLpAmJVf2KFW8mAuO1VNWKai+yfboj7gc1YEo ehhzkVwW2b+9GX3hR4cAmKreGTp2MNoxKyl1423IqBc7Le5ZArC4fZfo+d5/6a9cl8I2 IpMoj/U/x4feYuPw/xIWEd5bdE1IJd+YEVG5vlRhctTCQQolH366jBCvqS5vdATXZojF lDGYNpHWGF3MrivyYpMQJ0Ag9pIWJ6Je7ViYB4PUrcMaCWmeVUxTT8AehUQaPUwfmQGU Hbtw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i1si2826925pgo.426.2018.02.03.03.26.08; Sat, 03 Feb 2018 03:26:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751869AbeBCLYu (ORCPT + 99 others); Sat, 3 Feb 2018 06:24:50 -0500 Received: from hermes.aosc.io ([199.195.250.187]:50283 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750744AbeBCLYp (ORCPT ); Sat, 3 Feb 2018 06:24:45 -0500 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 641A856CFA; Sat, 3 Feb 2018 11:24:41 +0000 (UTC) From: Icenowy Zheng To: Maxime Ripard , Chen-Yu Tsai Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Icenowy Zheng Subject: [PATCH] Revert "ARM: dts: sunxi: Add regulators for Sinovoip BPI-M2" Date: Sat, 3 Feb 2018 19:23:53 +0800 Message-Id: <20180203112353.13497-1-icenowy@aosc.io> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This reverts commit 7daa213700758b5b08fc0daab09bb139dd334165. The original commit has several problems: - vdd-cpus and aldo3 (AVCC of the SoC) are not set to always-on, which leads to system hang when disabling unused regulators. - GMAC (which uses dldo1 and aldo2) and Wi-Fi (which uses aldo1) are not considered, and will fail to work after adding this commit. This indicates that this patch should be not tested at all. Signed-off-by: Icenowy Zheng --- arch/arm/boot/dts/sun6i-a31s-sinovoip-bpi-m2.dts | 57 ------------------------ 1 file changed, 57 deletions(-) diff --git a/arch/arm/boot/dts/sun6i-a31s-sinovoip-bpi-m2.dts b/arch/arm/boot/dts/sun6i-a31s-sinovoip-bpi-m2.dts index 51e6f1d21c32..a565316eb340 100644 --- a/arch/arm/boot/dts/sun6i-a31s-sinovoip-bpi-m2.dts +++ b/arch/arm/boot/dts/sun6i-a31s-sinovoip-bpi-m2.dts @@ -86,10 +86,6 @@ }; }; -&cpu0 { - cpu-supply = <®_dcdc3>; -}; - &ehci0 { status = "okay"; }; @@ -155,17 +151,6 @@ status = "okay"; }; -&p2wi { - status = "okay"; - - axp22x: pmic@68 { - compatible = "x-powers,axp221"; - reg = <0x68>; - interrupt-parent = <&nmi_intc>; - interrupts = <0 IRQ_TYPE_LEVEL_LOW>; - }; -}; - &pio { gmac_phy_reset_pin_bpi_m2: gmac_phy_reset_pin@0 { pins = "PA21"; @@ -191,48 +176,6 @@ }; }; -#include "axp22x.dtsi" - -®_dc5ldo { - regulator-min-microvolt = <700000>; - regulator-max-microvolt = <1320000>; - regulator-name = "vdd-cpus"; -}; - -®_dcdc1 { - regulator-always-on; - regulator-min-microvolt = <3000000>; - regulator-max-microvolt = <3000000>; - regulator-name = "vdd-3v0"; -}; - -®_dcdc2 { - regulator-min-microvolt = <700000>; - regulator-max-microvolt = <1320000>; - regulator-name = "vdd-gpu"; -}; - -®_dcdc3 { - regulator-always-on; - regulator-min-microvolt = <700000>; - regulator-max-microvolt = <1320000>; - regulator-name = "vdd-cpu"; -}; - -®_dcdc4 { - regulator-always-on; - regulator-min-microvolt = <700000>; - regulator-max-microvolt = <1320000>; - regulator-name = "vdd-sys-dll"; -}; - -®_dcdc5 { - regulator-always-on; - regulator-min-microvolt = <1500000>; - regulator-max-microvolt = <1500000>; - regulator-name = "vcc-dram"; -}; - &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_pins_a>; -- 2.15.1