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: 10114885 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 1695A6019C 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 0678E2836F for ; Fri, 15 Dec 2017 12:20:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EF71E29EE1; Fri, 15 Dec 2017 12:20:41 +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 CEEE42836F for ; Fri, 15 Dec 2017 12:20:40 +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=/1SLhUbov3KMuWbKTlx47+MWheupD0chFm/RmqSqbHA=; b=LQO avmsyWDte0Uzba/rgC61UJ7xZKnFT4HdHgIgEKp6p0s+ASZ3qVKL8Rh6ldXhwp8rpUhNOYCS91bAV ltPfSKKfgAgS+tnpf1ZKSzQZGhuR9P7ZJ0CZYRFVGomtn1ZPS00YDJcwqQ6XkGl9JnARyJy+ThGO8 wWr+lSkaGtUz1Yu0DrHLEiTK8IGwK3NAF4FsAubi2pZpO8UbJVhfPsyka3jHieXkBxktiGHS5J7UM vBX5qb/99PlTD5ILF9lvixF9W/isrfoYVkngTn1YGYLkmbHS8rH2kg6wn73HcPnNYqDcncA+RFplb n6ZL3k7UX+gQu0FYmy0g1+HDNNZuy7w==; 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 1ePoyl-0003Fl-T1; Fri, 15 Dec 2017 12:20:39 +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-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms 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-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=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,