From patchwork Fri Dec 15 12:20:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Klaus Goger X-Patchwork-Id: 10114887 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 D77A56019C for ; Fri, 15 Dec 2017 12:20:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C7FE42836F for ; Fri, 15 Dec 2017 12:20:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BC28729EE1; Fri, 15 Dec 2017 12:20:42 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 833012836F for ; Fri, 15 Dec 2017 12:20:42 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=n6ZKDZkAm638RqrqrX+6ZGrNt73T+r/xl0HRs1ku5LU=; b=lHu n0CJ4SW6M+Ph53UlyJP5ajwLBqSQlmW1pVexSnxDWy1BPiiu4d3f7qTkGN2Kvk6mL1Q1iizx1yKOS 5zo/WOSLJRvGG+d6k/t3sjaAAWwEmqqC9M/1lYNU80C1Rp4Ii8cBwnitzW6ojGcJRq94GyJnoh6r7 7cyaAEsZE/D8UuytM1T8Sp899PLyHskzom7r0XqCpTYrA0a7esv+FxrObZQv6hKLh/azik6a+0Gh8 e3u57Rfj5N9F5ZKdJDpem+9jUlJjkphO42hT5Abr+1y5GjYHv9eKb5VazJ+3VsFByNhsiXiZB3i6q tuUhIEASXA1ETcRFHh9T3YNHCDBN7jw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1ePoyn-0003GO-GG; Fri, 15 Dec 2017 12:20:41 +0000 Received: from vegas.theobroma-systems.com ([144.76.126.164] helo=mail.theobroma-systems.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ePoyh-000359-RS; Fri, 15 Dec 2017 12:20:38 +0000 Received: from [86.59.122.178] (port=53528 helo=blau.lan) by mail.theobroma-systems.com with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1ePoyK-00068j-Sk; Fri, 15 Dec 2017 13:20:13 +0100 From: Klaus Goger To: linux-rockchip@lists.infradead.org Subject: [PATCH] arm64: rockchip: enable Rockchip IO domain support Date: Fri, 15 Dec 2017 13:20:10 +0100 Message-Id: <20171215122010.34160-1-klaus.goger@theobroma-systems.com> X-Mailer: git-send-email 2.11.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171215_042036_139828_BE9C36DA X-CRM114-Status: UNSURE ( 6.31 ) 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: Heiko Stuebner , Catalin Marinas , Will Deacon , linux-kernel@vger.kernel.org, Klaus Goger , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 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 Make sure the IO domain support is active. This requires to enable Adaptive Voltage Scaling class support too. Without Rockchip IO domain support the internal level shifter on the RK3399 will be misconfigured if used in the other voltage domain then the default. Signed-off-by: Klaus Goger --- arch/arm64/Kconfig.platforms | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index 2401373565ff..7c0b0ab12f18 100644 --- a/arch/arm64/Kconfig.platforms +++ b/arch/arm64/Kconfig.platforms @@ -150,6 +150,8 @@ config ARCH_ROCKCHIP select GPIOLIB select PINCTRL select PINCTRL_ROCKCHIP + select POWER_AVS + select ROCKCHIP_IODOMAIN select ROCKCHIP_TIMER help This enables support for the ARMv8 based Rockchip chipsets,