From patchwork Mon Apr 30 11:40:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10373217 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 EECCD6032A for ; Tue, 1 May 2018 06:53:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DF8A728BE9 for ; Tue, 1 May 2018 06:53:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D35F228BFC; Tue, 1 May 2018 06:53:53 +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=-5.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8B82428BE9 for ; Tue, 1 May 2018 06:53:53 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 65D3D6E3D3; Tue, 1 May 2018 06:52:53 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf0-x241.google.com (mail-pf0-x241.google.com [IPv6:2607:f8b0:400e:c00::241]) by gabe.freedesktop.org (Postfix) with ESMTPS id ABFC06E0F5 for ; Mon, 30 Apr 2018 11:41:31 +0000 (UTC) Received: by mail-pf0-x241.google.com with SMTP id v63so6539215pfk.8 for ; Mon, 30 Apr 2018 04:41:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=YmTK1CJDgUxlyUEn5+fML92UACtv9nwmAgfUbY3Zcuk=; b=jZBGIvCb/L1aphE7lGcT7aKTgSTW/aFl0/8AFlUtH9x0BJOYsJtHQ6pCcqA3FojATw +9zFD8RyVjXAFQTiyIOeQjmFQzbXqnW7Z+ZaznOcTpjWBSLWpkUEt5nPkPR4mP40tgMn vqk7QaM+OjoHFbA1ucOIOwuIOt4oPIfEJ/jAU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=YmTK1CJDgUxlyUEn5+fML92UACtv9nwmAgfUbY3Zcuk=; b=m5dRVWisulnSC3YRoapLHEmGJkqw6cqhKzwIeAty5wFzOPQlDMpZ7Ea3VpE1rXLHZi 9cEJmfvnxu9jhIUL39eQX0IBYtBQzW5lHZMJoHHBvhP8/j+0xsM8ICQVpFwGv3+q28ve fl6K9oCqZGQpaMMRKDmp0qiSy09ee1PZbBhnOkU7BKEAYjDv3xjkEPwBzmXwYVziM/KV e6mUUZ3egLN/Dem8EzYw0plkltg3yBXyhGCN1SbJEB/uyqoSpC4Tpv7tQjLtGz3Azdvw ER+QHAus4ZqGhYY5vFcRG4jRsr+hLyMJMrfLcPXmq2tHwv2jcXzFpY8Jf1QSCUNGuoeg Tewg== X-Gm-Message-State: ALQs6tDinWtLvuzHz0MXmbD5oudESoyLgcQmW7oLnSE/EGIEmdExMLM1 HKz8W0RMM2cg6LxOIBBZGsw79Q== X-Google-Smtp-Source: AB8JxZoqJyUeuyhlfi7u96bRBKHnnRGWjTb57BE2OJLDZTnnvKi2Q4SipLi97/WNFpqoBk5f+JaO7Q== X-Received: by 2002:a63:7058:: with SMTP id a24-v6mr10086589pgn.101.1525088491051; Mon, 30 Apr 2018 04:41:31 -0700 (PDT) Received: from localhost.localdomain ([183.82.224.14]) by smtp.gmail.com with ESMTPSA id s17sm16762357pfi.165.2018.04.30.04.41.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 04:41:30 -0700 (PDT) From: Jagan Teki To: Maxime Ripard Subject: [PATCH 03/21] clk: sunxi-ng: Enable DE2_CCU for Allwinner 64-bit SoCs Date: Mon, 30 Apr 2018 17:10:40 +0530 Message-Id: <20180430114058.5061-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180430114058.5061-1-jagan@amarulasolutions.com> References: <20180430114058.5061-1-jagan@amarulasolutions.com> X-Mailman-Approved-At: Tue, 01 May 2018 06:51:33 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Jernej Skrabec , David Airlie , Catalin Marinas , Michael Turquette , linux-sunxi@googlegroups.com, Will Deacon , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Stephen Boyd , Chen-Yu Tsai , Rob Herring , Jagan Teki , Michael Trimarchi , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Icenowy Zheng MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Allwinner 64-bit SoC like H5/A64 has DE2 CCU so enable them as default. Signed-off-by: Jagan Teki --- 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 79dfd296c3d1..1fffd3bf6ff3 100644 --- a/drivers/clk/sunxi-ng/Kconfig +++ b/drivers/clk/sunxi-ng/Kconfig @@ -58,6 +58,8 @@ config SUN8I_V3S_CCU config SUN8I_DE2_CCU bool "Support for the Allwinner SoCs DE2 CCU" + default ARM64 && ARCH_SUNXI + depends on (DRM_SUN4I && (ARM64 && ARCH_SUNXI)) || COMPILE_TEST config SUN8I_R40_CCU bool "Support for the Allwinner R40 CCU"