From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1425110AbcBSGA4 (ORCPT ); Fri, 19 Feb 2016 01:00:56 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:55691 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1757741AbcBSGAy (ORCPT ); Fri, 19 Feb 2016 01:00:54 -0500 From: Eddie Huang To: Matthias Brugger , Kevin Hilman CC: Henry Chen , Chaotian Jing , , , , , , Eddie Huang Subject: [PATCH] ARM64: dts: Mediatek: mt8173-evb: fix access MMC fail issue Date: Fri, 19 Feb 2016 14:00:43 +0800 Message-ID: <1455861643-24307-1-git-send-email-eddie.huang@mediatek.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org MT8173 E1 chip has one bug that if turn off USB power domain, vcore power will also be off, thus cause modules using vcore power domain fail, like MMC. The E1 chip only found on MT8173-evb board and this board only has E1 chip, so implement this as a board specific workaround. Pwrapper use vcore power, so add pwrapper using USB power domain to keep USB power domain not to zero and disabled. Signed-off-by: Eddie Huang --- Sascha sent similar patch before[0], but MMC support runtime-pm, vcore power domain still be disabled after MMC and USB suspend. This silicon bug already fix in MT8173 MP chip. [0]:http://lists.infradead.org/pipermail/linux-arm-kernel/2015-July/358065.html --- arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts index e427f04..7453a47 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts +++ b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts @@ -214,6 +214,9 @@ }; &pwrap { + /* Only MT8173 E1 needs USB power domain */ + power-domains = <&scpsys MT8173_POWER_DOMAIN_USB>; + pmic: mt6397 { compatible = "mediatek,mt6397"; interrupt-parent = <&pio>; -- 1.9.1