From patchwork Thu Mar 8 21:35:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Enric Balletbo i Serra X-Patchwork-Id: 10269255 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id EF30A602BD for ; Thu, 8 Mar 2018 21:36:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DE83C209D8 for ; Thu, 8 Mar 2018 21:36:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D1EA72624C; Thu, 8 Mar 2018 21:36:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5C224209D8 for ; Thu, 8 Mar 2018 21:36:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=dA1Ix6auDWlF8ZUEB0ok/RsWhD5pIX74pnqVk5H+HtM=; b=DRz0zFLFqyfidZ CpNRKSZBQQ57V5xekWpTOT5+Hry4PO3pMmMa9WGGO7HfsCCOsmGlquLr1lKmLUqgCsO7fQ0zEqrJV c/9UlhXEJoK9uvDCMvcoS3D2DZpOqln3QjGDv6B7kSB0PCvDakfQZ0b/Tm07kKzt6+JmjDK89uNwQ 12ZHUyW7aaDf150XAalVkLLaVj/AzuLSc9nteCBk1O9JkNOQ8B2RdbhfWauMJmrO+As3HVr0X1OFo fvIhHZhfiNydy5sHpdKe0OL6T+12Ovmyt25tFieLkVqIRshOKhmE8N6DxQ2mmHj7iu/0hMyxfwPCf JDWOnagttGe++IAFeNrw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eu3Cs-0005mD-9j; Thu, 08 Mar 2018 21:36:10 +0000 Received: from bhuna.collabora.co.uk ([2a00:1098:0:82:1000:25:2eeb:e3e3]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eu3Cn-0005ki-LL for linux-arm-kernel@lists.infradead.org; Thu, 08 Mar 2018 21:36:07 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id 812B6277816 From: Enric Balletbo i Serra To: Catalin Marinas , Will Deacon , Heiko Stuebner Subject: [PATCH] arm64: defconfig: enable Rockchip io-domain driver Date: Thu, 8 Mar 2018 22:35:40 +0100 Message-Id: <20180308213540.4309-1-enric.balletbo@collabora.com> X-Mailer: git-send-email 2.16.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180308_133605_897887_BB5042CF X-CRM114-Status: UNSURE ( 9.98 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kernel@collabora.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Heiko Stübner justified pretty well the change in commit e330eb86ba0 'ARM: multi_v7_defconfig: enable Rockchip io-domain driver'. This change is also needed for arm64 rockchip boards, so, do the same for arm64. The io-domain driver is necessary to notify the soc about voltages changes happening on supplying regulators. Probably the most important user right now is the mmc tuning code, where the soc needs to get notified when the voltage is dropped to the 1.8V point. As this option is necessary to successfully tune UHS cards etc, it should get built in. Otherwise, tunning will fail with, dwmmc_rockchip fe320000.dwmmc: All phases bad! mmc0: tuning execution failed: -5 Cc: Heiko Stübner Signed-off-by: Enric Balletbo i Serra Acked-by: Robin Murphy --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index ba859709c2d4..d65d53b1ff77 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -313,6 +313,8 @@ CONFIG_GPIO_XGENE_SB=y CONFIG_GPIO_PCA953X=y CONFIG_GPIO_PCA953X_IRQ=y CONFIG_GPIO_MAX77620=y +CONFIG_POWER_AVS=y +CONFIG_ROCKCHIP_IODOMAIN=y CONFIG_POWER_RESET_MSM=y CONFIG_POWER_RESET_XGENE=y CONFIG_POWER_RESET_SYSCON=y