From patchwork Tue Sep 4 16:36:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10588401 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 CB68D13BB for ; Wed, 5 Sep 2018 08:13:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B890C299D4 for ; Wed, 5 Sep 2018 08:13:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ACDC2299DA; Wed, 5 Sep 2018 08:13:36 +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 703DC299D4 for ; Wed, 5 Sep 2018 08:13:36 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1F7C46E3F8; Wed, 5 Sep 2018 08:13:27 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pl1-x641.google.com (mail-pl1-x641.google.com [IPv6:2607:f8b0:4864:20::641]) by gabe.freedesktop.org (Postfix) with ESMTPS id 122A46E1E7 for ; Tue, 4 Sep 2018 16:36:24 +0000 (UTC) Received: by mail-pl1-x641.google.com with SMTP id u11-v6so1887618plq.5 for ; Tue, 04 Sep 2018 09:36:24 -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=XJPqoDH0MsoE4lYy5gnvFNVcKk6DSC/Epq+gLG7sxy4=; b=KK8NpII0JstI0fnZcCfporpowq4tH/o4v6yLfWdV5EXbHeMopYCaSgtD5RhZmRNkI3 lXCZV7Q15clb3VsdbBt6n+Dt2icrncBnv3KXELYGmb1qizgtWNsvLWqgnwXAIBERsghz JFhyGTu9MGt8PkebaUp20J7rk2Ikb048ETqdP5fuNDITrLkE3nV6MPI7ROtldM4jDXPh iXxVPuBzMWK+r2VGaahWVp8xF0EwHGno/1r02RRnwQ3rBoAEai6qv39PHqP0Welgfsj/ VP8oO49ZLiMM++SR+m+ZOV7sMLgBDQc8zrYwfr8eQPWZchYkCjzwrETJXdM0oPKd6QPj MkLA== X-Gm-Message-State: APzg51BCW1Xwiq43yN0GQJKnEi5616IQiVJSdXEiijl+NVnA1DRWIvB8 VmBpaWOmytu+X9UfyExD9LbsVA== X-Google-Smtp-Source: ANB0VdbqptrP5mrB91FCF+akBQOeZ3CHarEG2EN3zb5++dF9QYC/9VLdowcCm6FBU+F3CCqfDny7aA== X-Received: by 2002:a17:902:82c9:: with SMTP id u9-v6mr34234961plz.138.1536078983561; Tue, 04 Sep 2018 09:36:23 -0700 (PDT) Received: from localhost.localdomain ([183.82.230.161]) by smtp.gmail.com with ESMTPSA id t2-v6sm36037072pfj.7.2018.09.04.09.36.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Sep 2018 09:36:23 -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 v4 1/4] clk: sunxi-ng: Enable DE2_CCU for SUN8I and SUN50I Date: Tue, 4 Sep 2018 22:06:06 +0530 Message-Id: <20180904163609.10171-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 MIME-Version: 1.0 X-Mailman-Approved-At: Wed, 05 Sep 2018 08:13:25 +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 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..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"