From patchwork Thu Jan 11 03:04:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 10156815 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 3A778605F5 for ; Thu, 11 Jan 2018 03:05:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 29AA2212E8 for ; Thu, 11 Jan 2018 03:05:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1D84228397; Thu, 11 Jan 2018 03:05:48 +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 A67BF212E8 for ; Thu, 11 Jan 2018 03:05:47 +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=ZsBTdcH2gdRDZmDEKd0vbYCjVcGEbQ4OsFVs0HmRs1g=; b=IF0 iYd78vTBgThjta+Ueqh1tKLCT3IqWa+uaz8OSJyDQHr/nTvnNK1/CHcrzScbdUnOLpO8yt4AxVrzG 4cMnOG+ZGT6ddxTpiwDysDlt4ak9QWrOy31adq7yhfsowFNZA3aHaWOrU2Zt56KkvL8oR6CbwuLzF lbInsQVpkbXwFXT4XVVKgr20+dKK36o6ISGEX9aW75Sxq32sevcrk22qJjsDnBzVjq7Xi/c3pfdUx 0IfBoztujubH5/fuE7ImdEy4thFNfYTzOYDSCO0ooejh140wPYeCW3kMNy8nxWAPBQEi14HRYa0TI +uJFt1vjylpxolvbPikDEwIGHww5uwg==; 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 1eZTBY-0003CJ-RN; Thu, 11 Jan 2018 03:05:44 +0000 Received: from cichlid.ash.relay.mailchannels.net ([23.83.222.36]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eZTBU-0002fr-AJ for linux-arm-kernel@lists.infradead.org; Thu, 11 Jan 2018 03:05:42 +0000 X-Sender-Id: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 82928120D78; Thu, 11 Jan 2018 03:05:23 +0000 (UTC) Received: from hermes.aosc.io (unknown [100.96.23.18]) (Authenticated sender: lmn-TZDUIOWCRQMW) by relay.mailchannels.net (Postfix) with ESMTPA id D2425120C72; Thu, 11 Jan 2018 03:05:22 +0000 (UTC) X-Sender-Id: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io Received: from hermes.aosc.io (hermes.aosc.io [172.18.43.43]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.11.3); Thu, 11 Jan 2018 03:05:23 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io X-MailChannels-Auth-Id: lmn-TZDUIOWCRQMW X-Print-Illustrious: 49d30548775f6e41_1515639923287_757769071 X-MC-Loop-Signature: 1515639923287:2946428259 X-MC-Ingress-Time: 1515639923286 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 8833B551CF; Thu, 11 Jan 2018 03:05:18 +0000 (UTC) From: Icenowy Zheng To: Maxime Ripard , Chen-Yu Tsai Subject: [PATCH] clk: sunxi-ng: defaultly enable DE2 CCU for sun8i/sun50i Date: Thu, 11 Jan 2018 11:04:51 +0800 Message-Id: <20180111030451.9217-1-icenowy@aosc.io> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180110_190541_084863_D89C5D41 X-CRM114-Status: UNSURE ( 6.74 ) 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: linux-sunxi@googlegroups.com, Icenowy Zheng , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.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 As DE2 support for more SoCs are introducing, there's many reports that the DE2 is not functional due to DE2 CCU code not included in kernel. Defaultly enable DE2 CCU for sun8i/sun50i to reduce this kind of problems. Signed-off-by: Icenowy Zheng --- drivers/clk/sunxi-ng/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/sunxi-ng/Kconfig b/drivers/clk/sunxi-ng/Kconfig index 6427d0ebe2de..c2b04dcb6f18 100644 --- a/drivers/clk/sunxi-ng/Kconfig +++ b/drivers/clk/sunxi-ng/Kconfig @@ -60,6 +60,8 @@ config SUN8I_V3S_CCU config SUN8I_DE2_CCU bool "Support for the Allwinner SoCs DE2 CCU" + default MACH_SUN8I || (ARM64 && ARCH_SUNXI) + depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST config SUN8I_R40_CCU bool "Support for the Allwinner R40 CCU"