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: 10653329 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 D449913B5 for ; Tue, 23 Oct 2018 15:58:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C315029DAD for ; Tue, 23 Oct 2018 15:58:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B739229DCD; Tue, 23 Oct 2018 15:58:03 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 EEFDE29DAD for ; Tue, 23 Oct 2018 15:58:00 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=b3TjxE0kJOI3ZttPtadLLMb4tz4pvbFZL02f/VLNmw4=; b=j6ZzK6n8Wbe+8K RMsE6adk1XWlwU0Ev3VN5ZCL3Iswvgyy+94Ywv/ViqLYQs3AsitxarOnkU5cYjeELSHkD5pvNY7sV fEJ/GqXyIBz0a56UbHw+FyjT4JQIM3feXAsEnKW53ym0r/XMy1Ca4QHdHYiutROdnJtF80fJzc09s Z6WZ4v69sodVhpqFTzww+raolgoJ5HW74Zlq4JxyX080dVbIxolxd+AMsrrWdZAMLssOfdUu7Gw1E hypjw7YWi9GrawprHOfaLl15R7LUdMcZULuudVXdsgh2IleTn1nKhu84cb74+QQqtgm8KM+RvSEG7 ZmcJKMQzJwfDdOzI+ALw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gEz47-0007pf-DR; Tue, 23 Oct 2018 15:57:55 +0000 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gEz44-0007ob-1H for linux-arm-kernel@lists.infradead.org; Tue, 23 Oct 2018 15:57:53 +0000 Received: by mail-pf1-x442.google.com with SMTP id 22-v6so911565pfz.0 for ; Tue, 23 Oct 2018 08:57:41 -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:mime-version :content-transfer-encoding; bh=rIY6XhLByufxF+jVV+vlr11HuVwMmElwdSieruZf6qI=; b=iUSSYUyCpdiO1GRMAFNXQN43ygxLTUhK+Rj/ZX+WmDWv0eP7WQyrhwLGYToBYZNB8g T3aGctkx4lQ+R/48kk4MFhNrk7PIMUk+9S+ssHJkBAYi1GOE0xlxijj6B6/IuJPQpXbj OyvJ5T9Q8ly8Z6qHbbofv5SXl65+8aR7qG3VE= 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=HL1KGhxir5tyacOniLGK5W83tFYQbQRxB/KYDZEre7RYxXP79V+tuWiUakXo+6g1tE 7z4vykR7RNdAZUXALxhpNXZ8/bvSkbCNNK+sCn57Aud7ohvOGJRB3LwJfsF9Xp48ufr0 f2v8WiM84a2NmO0BPxUjsym/Kx0btJnro05qNjQbgH6plyqGJ9Q2LJ+fl4M404hgLmVI hVJyOBJ0fR0YUOqtuObJ6n6RqWCmZyxDvTpOyNSqPZUJNjClt0yQBdnvQBDGGttUshru h7fzvdPPkKIBZSt9vgi/KSd49Wf1Q8Jqf7fK1SeKt/ZWhv3/cyH6JxVD/9aOzodHBzh+ fXxQ== X-Gm-Message-State: ABuFfogYdYI2XmR2NPWlR6dEnm4C33mb8x+fKqSPLs/2dbSxSHCtlnOA 5FfwQ5JcG/yDis51fItTXDNuCg== 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181023_085752_103707_24FCB8F8 X-CRM114-Status: GOOD ( 12.35 ) 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: Jagan Teki 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 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"