From patchwork Tue Oct 23 15:57:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10654215 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3F3DF13A4 for ; Wed, 24 Oct 2018 07:21:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 299052A658 for ; Wed, 24 Oct 2018 07:21:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1D5302A66E; Wed, 24 Oct 2018 07:21:37 +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.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED 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 D5DA82A658 for ; Wed, 24 Oct 2018 07:21:36 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 14C9C6E249; Wed, 24 Oct 2018 07:21:19 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) by gabe.freedesktop.org (Postfix) with ESMTPS id 22F3C6E012 for ; Tue, 23 Oct 2018 15:57:41 +0000 (UTC) Received: by mail-pf1-x441.google.com with SMTP id a19-v6so891277pfo.8 for ; Tue, 23 Oct 2018 08:57:41 -0700 (PDT) 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:mime-version :content-transfer-encoding; bh=rIY6XhLByufxF+jVV+vlr11HuVwMmElwdSieruZf6qI=; b=bhDIpNvaWv0ek/L9niWwdOJU87fkeIpSy9nWg5UvQKYxo3FUYdiAM6HFR3CvxQKA1g RBccvUm0U48Mtz7J0mpej/W7maoxobkan9Aks3eZ+MpmHJdDJWjbbP/Hz/5mV2KFiwmk y9P8zGlTyr9g6ekEzt2hnA2vIELhNkx/HXCrVtY1VVTc0UmF/S9iULf6fgDyimn8hAlj yGxVStZRYJRzJsV8t9urM2Oz5Q6R6QHo2emWK4/jxJIjaFwY4KvsnpADGklkEY5W+XaV m5qrnGtrDuJeZAKXq6iAVA/EqpgLzk+tZs/7+u1jsO/LD7GnX0u3AXEocbQdUlSzvoqJ xVPQ== X-Gm-Message-State: ABuFfoj1i/H+nwX2qoQIAsPjfR+b1iWruv20AmmkJq1jPW5DSd8CYNhS WoaGE5o3KIMI/r6ljt4aZNmrZw== X-Google-Smtp-Source: ACcGV60pdG3ei7JrWRwypPNjyyu3kxebPLbzjcuA1aJxR4zKrQbHgrf0xXXAt6QkteALIkvT+LeggA== X-Received: by 2002:a62:8910:: with SMTP id v16-v6mr50108831pfd.106.1540310261056; Tue, 23 Oct 2018 08:57:41 -0700 (PDT) Received: from localhost.localdomain ([27.7.51.1]) by smtp.gmail.com with ESMTPSA id l2-v6sm2207609pgp.20.2018.10.23.08.57.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Oct 2018 08:57:40 -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 v5 1/4] clk: sunxi-ng: Enable DE2_CCU for SUN8I and SUN50I Date: Tue, 23 Oct 2018 21:27:24 +0530 Message-Id: <20181023155727.9383-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 MIME-Version: 1.0 X-Mailman-Approved-At: Wed, 24 Oct 2018 07:21:16 +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 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 v5: - remove DRM dependency Changes for v4, v3: - none 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..99cf8103474c 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 MACH_SUN8I || (ARM64 && ARCH_SUNXI) config SUN8I_R40_CCU bool "Support for the Allwinner R40 CCU"