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: 10409277 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 6279E602C2 for ; Fri, 18 May 2018 09:49:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 516E6285A2 for ; Fri, 18 May 2018 09:49:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 43C04285E3; Fri, 18 May 2018 09:49:01 +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 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 A2DC3285A2 for ; Fri, 18 May 2018 09:49: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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To: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:List-Owner; bh=7bsWsmu7RdIPkZesKyL6Q/viY1vIeJlB77K4HyWhT84=; b=Dj4AOyNgRu33CxthLB1RVaCQML i0/VC9j2EQTtxULrfrb0guRn9xRcAfVdtdaq1E59zKpFiukfKXgJNGWIJn5pCK4YdGtzYcx17yQ3w DAlhld+NMJPh79R+kzlkYlu+UDGqw7IsUjnbfD3oL3EWphJ4lRrHUepGIPdXTdgMAGOXL8yv3emeR vOV6fPqatFbmtikbe5wo/51eczCf96ikefMQ8IeaiRJu7hrXexSQM0jIklYKPShAewGgfVKblJk1n fVnHPEEI5QPFrXJhoeMQWE6x2JWMNsO1UT9OZL+a2FSf4XhHP4BLlL6REt64pC7ipSqcGeCpfoATZ 3VI06hSw==; 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 1fJc0C-0000Ei-8g; Fri, 18 May 2018 09:48:44 +0000 Received: from mail-pg0-x244.google.com ([2607:f8b0:400e:c05::244]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fJby1-0007n2-W7 for linux-arm-kernel@lists.infradead.org; Fri, 18 May 2018 09:46:39 +0000 Received: by mail-pg0-x244.google.com with SMTP id v7-v6so3122656pgs.0 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=q39fZNwsXtDobqKqC5XAliMdR9E0dSN4Z+9opzt4eoo6i7oWAU0/T8SL4MM0GTP0SV ijCNEvUoo4FoV2GYaUW9fdflLZIREBgT2eX7DY4HOQkFoHUcXrVh9SuEhN3oprmNNwOe dPu+EUyj+Qo55TIIi2vX+9Dtac4szFN972BHVAeHDUnTiP1bQGscLpSCGXrQjSJKjY5m ZyHO7rpST0ZOqeNtyVSmGi22L1mgZTIT8Ejfl6qgwiMV0lKAa88gDT85vcOTZ4HuAKtg FAlxBiQDv3bHoFBuKqQQQXbgtae0ENDHcvowx1XHehxJ+AYy+y/iscwFnvDb4EOpha1F f5eg== X-Gm-Message-State: ALKqPwdQWzOE63brXMqGrKt72mRDTkQqsQyqgpsG+jD/mQhjj66wdh0k z3NozYvNMz6MUmw3Ev4dBcSjxw== 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180518_024630_162814_FAF03839 X-CRM114-Status: GOOD ( 13.32 ) 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 MIME-Version: 1.0 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 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"