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: 10587675 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 363D0920 for ; Tue, 4 Sep 2018 16:42:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1CDB929DD6 for ; Tue, 4 Sep 2018 16:42:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1071129DF7; Tue, 4 Sep 2018 16:42:27 +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 4288A29DD6 for ; Tue, 4 Sep 2018 16:42:26 +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=aWW/pURShq6xjBqQL0YLY7w/hCTHGhr8Ec4b2d7vuLI=; b=Yg/D/Gni4ljzh5 DU4zgn9DDN8rn3GaQeGX3gYTG1tvkAdmrudxIbFlvCEiK7WsBGxrK9nvRrx9AF014/Et3/X/ac+EH XcYHTiiE32ueTtNND0u5WaB3FEbfi7fwIATRXqJeEsr86u7kAxwi6tZxd3VL0kGbPcrjVzUXTNEZA CjKz5/jVuqom+nxf8vDGe5LjjxbiNEGCv/BY1h28NsZv9Rl9dbgrZXTtcQX/XirOPcXr2/JqqIh5x co4AMVyTMr2ciCJwfpTPSQxJvZuTLx0MoLrh+0XKcDmnOaV5geG333A2LPGDO5y75rI16qEEhVPiK n8o/FT889cVF1yzP24iA==; 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 1fxEPB-0005v5-5c; Tue, 04 Sep 2018 16:42:17 +0000 Received: from merlin.infradead.org ([205.233.59.134]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fxEJl-0001zW-Sa for linux-arm-kernel@bombadil.infradead.org; Tue, 04 Sep 2018 16:36:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=XJPqoDH0MsoE4lYy5gnvFNVcKk6DSC/Epq+gLG7sxy4=; b=iGV3XtdVEb4EDClDGaV6J1fIm0 1QI2C6//g1v3BjNeIvJtGT06nxHAjSIip6WjRE+N8r34d2ucv/tFmQF5ZBeUFh4KUr4iEdIuFUaAg wdsoExHMrS0+Sxlh6tLAeIWfHYWV9DZmHpANQX3A3ciaS8tbXXfRcYRgYIW0+5/3h1mq3ivFkzDI7 h50bV+S4i0/qbAU9cPOYyG3STc1/ZUDt4FcAOJ5JoFLVXcgjltvH5lAxsbI+kvu/6kNCiPDALgiqD wDsyFCnFQuwK4zoGC9IYUbqny8kie6oGIAIF2CeP/ahsm3DYv5WfIzwI5uG9n3narunUSKNfaF92k kpsFqWOQ==; Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fxEJj-0007hQ-Cp for linux-arm-kernel@lists.infradead.org; Tue, 04 Sep 2018 16:36:40 +0000 Received: by mail-pl1-x644.google.com with SMTP id g23-v6so1878612plq.9 for ; Tue, 04 Sep 2018 09:36:26 -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=XJPqoDH0MsoE4lYy5gnvFNVcKk6DSC/Epq+gLG7sxy4=; b=Ksm/4W1VEhiO0BBEv/ivEX/juF4+UKgOVjCc6kuH1xDive78BS8pGo8+A3QP/l71Qy vIpxFEXzWrIBT4inoS+04LA2/akPQDUeEND8T5f5lfMOJLY9Bcoca+vyT21QI9PsXMHQ xwYFHAPAt2HYKWX1UlpJqL34Wf1Nf3rnnJSqA= 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=n9LAoC8w0/bAD7tom8keGoNrU8nKoTzDA1qOmV/g3VRyt3GxQb2ThaQa3xr+rOVo9c hpW9SCG0F5YdXGWJSBvROA3J9Nk7xmnQJKecR4xBbciVzVj9WHwZxJQQ9yPsieNkF0h0 D/T4IgOEjEsDiy3Dt1xNeYgZaAt3IpFtypvKIFZCGpokK4M66mFjrK3UD7d87qP1ZMP9 610GKXkcKomLPX+HLj7z7DsTxzAv1KvRN12RteDYYCV6x9kF2fBnBE/+i7cUQU7tz64n PCyWtZt+QXsfuU4QZMwykxY6kUo250d9WhQoK978Iahk0OrEJE34cetScyJMudAlWlVI D7XQ== X-Gm-Message-State: APzg51CveiGL65q44j5Ka1ODLnd9QeN4EAPheWUaTvXQXkH/Bba4MuVt VLGAXlgr4Gc8vi4XgUncaTiPxg== 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180904_123639_469536_8E0CDB91 X-CRM114-Status: GOOD ( 13.36 ) 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 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"