From patchwork Fri May 18 09:45:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10414099 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 7DAE26032B for ; Mon, 21 May 2018 08:19:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6F75828047 for ; Mon, 21 May 2018 08:19:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6399328767; Mon, 21 May 2018 08:19:11 +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 D4C6F28047 for ; Mon, 21 May 2018 08:19:10 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7B5066E311; Mon, 21 May 2018 08:18:14 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pg0-x242.google.com (mail-pg0-x242.google.com [IPv6:2607:f8b0:400e:c05::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id 27B016ECD5 for ; Fri, 18 May 2018 09:46:18 +0000 (UTC) Received: by mail-pg0-x242.google.com with SMTP id 11-v6so1466049pge.2 for ; Fri, 18 May 2018 02:46:18 -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=3IirjHSSC0WE+uX8iJm5KRcFi9EKzG+HUC7mDmilkTU=; b=XQCaA6wdIIxhlotlKE25sSAtEea48SGBR0yN6IOUsTvEHu1mXU3nWXVhmycHATZrpp y8CffLiWRe40bPPB/FGlf2mR+tF2K1c8y6OjjWtJOIWYVIvc+cjpJVrMvEedfPaP8/Zt l4sK1lsFnI44frNUANpP+9y/5jgmQE4UfYoyE= 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=3IirjHSSC0WE+uX8iJm5KRcFi9EKzG+HUC7mDmilkTU=; b=qTpGcjNqPO2KuKV0tQEQfBTeUvJChs3/ZznuZEhN5ZF6TELgAHfGMfMYkPZhMaZcap vbxNtGSR8UDiFv1GbbahyXslTsibi7ThyCCbwarl5+SvXifJiQS7kN4iDhFvYYF33Bf+ /dIRiCMqiq0X7PH+4gY4LYccOBFh9sWbSdax5G65Ld3NmrxVYzKLMM1P7On+WF4+xYfS +r7kt0LbKfw79K0e/BXOwIjFeczpAl3GgCgM9W0yCSVIw4vTwRXBOKFzyVY4z8vL8Yqs 3Y0WZNSQFAU8Q81vV1PDBD8U6hgR5owZnDu1OAT9Kupmb++6oMtyZY2tkIoKYykvgF+P 2vgA== X-Gm-Message-State: ALKqPwfgpkYFZZWJknIYuowpkoAlKd/k2ZPM/DUDLqaIRTwMiL6rDu5J 21IlKJH80RtJWtPpRMHwAYRG1g== X-Google-Smtp-Source: AB8JxZqcO0/iT3+sep1ZXsnZwI2YKcLZ+nHkVM+/oclolRReoKYSXuRdUF+ovd0xayO7w3YgZVAchA== X-Received: by 2002:a62:d352:: with SMTP id q79-v6mr8837984pfg.45.1526636777689; Fri, 18 May 2018 02:46:17 -0700 (PDT) Received: from localhost.localdomain ([183.82.227.74]) by smtp.gmail.com with ESMTPSA id j11-v6sm12694097pff.64.2018.05.18.02.46.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 18 May 2018 02:46:17 -0700 (PDT) From: Jagan Teki To: Maxime Ripard , Chen-Yu Tsai , Icenowy Zheng , Jernej Skrabec , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , David Airlie , dri-devel@lists.freedesktop.org, Michael Turquette , Stephen Boyd , linux-clk@vger.kernel.org, Michael Trimarchi , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: [PATCH v2 03/26] clk: sunxi-ng: Enable DE2_CCU for SUN8I and SUN50I Date: Fri, 18 May 2018 15:15:13 +0530 Message-Id: <20180518094536.17201-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180518094536.17201-1-jagan@amarulasolutions.com> References: <20180518094536.17201-1-jagan@amarulasolutions.com> X-Mailman-Approved-At: Mon, 21 May 2018 08:18:09 +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: Jagan Teki MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Allwinner SoC like SUN8I and SUN50I has DE2 CCU so enable them as default. Signed-off-by: Jagan Teki --- Changes for v2: - Enable for MACH_SUN8I 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 826674d090fd..e20182aa9748 100644 --- a/drivers/clk/sunxi-ng/Kconfig +++ b/drivers/clk/sunxi-ng/Kconfig @@ -63,6 +63,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 DRM_SUN4I && (MACH_SUN8I || (ARM64 && ARCH_SUNXI)) config SUN8I_R40_CCU bool "Support for the Allwinner R40 CCU"