Received: by 10.223.185.116 with SMTP id b49csp513164wrg; Fri, 23 Feb 2018 02:21:58 -0800 (PST) X-Google-Smtp-Source: AH8x227tJA6TFVKUVD+E8FOOtJhbBO+lauR+jY1N5oglqD6xSiuvKPmApuwQRF/ec0/rFpjVIRNK X-Received: by 10.99.106.71 with SMTP id f68mr1065810pgc.262.1519381318676; Fri, 23 Feb 2018 02:21:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519381318; cv=none; d=google.com; s=arc-20160816; b=vTvBKGMx16toKtKiWeytWIpu+BbRFYZFs6XjPcWhlnx0oStqJ1DPWUXGzqSTe/z3A6 7N0I0xsSG5VN2ciZlbjKKnCcvtghp/g4mCg1q2S4eLujcd6iQuQxuTco5lnI9hYaCRaq TdJuQOfXSObXb8+G6hSqjcqE5sgxMX2PagjYv1tVTGM4m4JAiMmLGG0o7OOWJUsZ9mOb s5eCDlXuhCjoOzBTVvt3cLztZHQTYi/H59Gewh5UnOhcKqM9YRcEobyCaycQK+gNLtsq L0L7LzS7FecByxbVwTWkoSfYz17aCxXd9SI4Qg9bc3e8J39Qlr1Pttnvc4YGqaE/uKgH WfCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=b4j7XDzDca1agfjmElCFAiPwYadQkWSXVBh6qSq0EhU=; b=rqfK2hkuDeS+EaAqxUlDj4oQ1DCstWMo+l8mmrm/NujKrhAQ9i5CyWbrq/tK7fdJWN zPvbk6jEf4G00wtGS+lv3Wmw3SrzP4fPqDlEsfFC/tLnLR5nHIoZuxA7q3MtLUxTfEM1 rCWAVFaeRK22Rw5RQCRN/B4xT7rI3v0/hBYsd5MCErSoJp5xVWts4fTcocZz9oSiGq6I /6/kEdxng/vlS0DM0gXVqyQ++iN61BlQuY+wc+9XogOZif4Fk47dqKfZUFHjL9rNtfIY TXGU98HiZSDc6bevJBmsdO4SBAC5TJ7XTpePBm6J4R/c/8yAljWTZXEVEZ65fcu3ckBR qnzg== 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 i33-v6si1582262pld.212.2018.02.23.02.21.44; Fri, 23 Feb 2018 02:21:58 -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 S1751713AbeBWKUm (ORCPT + 99 others); Fri, 23 Feb 2018 05:20:42 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:5938 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751577AbeBWKQy (ORCPT ); Fri, 23 Feb 2018 05:16:54 -0500 X-UUID: f058194b2bd144b8a6f426b50c44fe41-20180223 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1446688834; Fri, 23 Feb 2018 18:16:49 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Fri, 23 Feb 2018 18:16:49 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Fri, 23 Feb 2018 18:16:49 +0800 From: To: , , , , CC: , , Sean Wang Subject: [PATCH v1 07/19] arm: dts: mt7623: fix the regulators mmc should use on bananapi-r2 Date: Fri, 23 Feb 2018 18:16:27 +0800 Message-ID: <3745e22d89f74e97d9fab7b27d0955ec15527b93.1519378872.git.sean.wang@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sean Wang Both mmc devices on bananapi-r2 board should all use the fixed regulators as their power source instead of PMIC MT6323 exports. Signed-off-by: Sean Wang --- arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts index f660d15..8ef91d6 100644 --- a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts +++ b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts @@ -39,6 +39,15 @@ }; }; + reg_1p8v: regulator-1p8v { + compatible = "regulator-fixed"; + regulator-name = "fixed-1.8V"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-boot-on; + regulator-always-on; + }; + reg_3p3v: regulator-3p3v { compatible = "regulator-fixed"; regulator-name = "fixed-3.3V"; @@ -213,8 +222,8 @@ bus-width = <8>; max-frequency = <50000000>; cap-mmc-highspeed; - vmmc-supply = <&mt6323_vemc3v3_reg>; - vqmmc-supply = <&mt6323_vio18_reg>; + vmmc-supply = <®_3p3v>; + vqmmc-supply = <®_1p8v>; non-removable; }; @@ -227,8 +236,8 @@ max-frequency = <50000000>; cap-sd-highspeed; cd-gpios = <&pio 261 GPIO_ACTIVE_LOW>; - vmmc-supply = <&mt6323_vmch_reg>; - vqmmc-supply = <&mt6323_vio18_reg>; + vmmc-supply = <®_3p3v>; + vqmmc-supply = <®_3p3v>; }; &pcie { -- 2.7.4