From patchwork Wed Jul 18 10:54:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10532167 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 1338A602CA for ; Wed, 18 Jul 2018 11:12:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E020128761 for ; Wed, 18 Jul 2018 11:12:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D386728FAB; Wed, 18 Jul 2018 11:12: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 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 078E52884B for ; Wed, 18 Jul 2018 11:12:01 +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=/5mi+9s0NkmDk7rq2CuCqjwEvGeAPoCkCl33SjtxdJU=; b=qDk37mmW/KarJ/xmuy5AIQVI4S 5itiv6398YPp8J/vF5B6CmLJyuSf5BBhkwCm17lB8n1P6/vX9YG1jNDrJeRB50f5pkY6YFz/NsFpA WjrxOm1rtyb3N6qT3V52lWnBVsa55hHHq29Pj/O4JM4IztL6iGw+Rcbga//7T09wtUsS9dnuEjUMX 1Pw86IBbCd4XfFKAC/ZBa0JJsgpCX5NVAAJXE8WPTCkBHd17+wQ20vI19wFRylfY6T4tel14ec+n7 QpPwOrpHVWAtCd4pGBTdsV8KguC/jNzsFSEB0l0uy2w+nVHLCWJxJX+pRgxuiCm/1tqrwMo3YjNKF muJ5UqXA==; 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 1ffkNA-0000dq-Gi; Wed, 18 Jul 2018 11:11:56 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1ffkN7-0000d9-J8 for linux-arm-kernel@bombadil.infradead.org; Wed, 18 Jul 2018 11:11:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=L8TWsRwru7hj4xPHFjioxjzHIm+mdqyF1T8tyLODzB8=; b=JeEk9htgiUUoJP9+mFgD6botN YinUc9/4VvX16y6acgMcklhks1VJjOQ5xBys0kQiM+5+cHRa3ozrEvDPGEy1UXij/hTOvKg9+N3fn DY2DGoVFqlO9d7A3S2X0XHzxVDhZ90bZ5vBzq12CmJnNFKCJqsDNR25p+piR5o41CS4EogWREM0ik UAVpJ7VE2YsSxoo243/p49myJSolb/e6CeEmQJPZZwMnzHxKNsPxOvxKmE3jjbNqzYG6BEZeBNi1D CdCW8oP+N2Jt5yYkV11WKsN53auoHzqf2IA8fAGJJocz4NNlIPYdxFJj2LdEBEokozQjbhOsrhSJm 3OixFBuKg==; Received: from mail-pl0-x244.google.com ([2607:f8b0:400e:c01::244]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1ffk7x-0000S5-0T for linux-arm-kernel@lists.infradead.org; Wed, 18 Jul 2018 10:56:14 +0000 Received: by mail-pl0-x244.google.com with SMTP id 31-v6so1880436plc.4 for ; Wed, 18 Jul 2018 03:56:02 -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=L8TWsRwru7hj4xPHFjioxjzHIm+mdqyF1T8tyLODzB8=; b=jGdbbHSc6epoj30SnOyHetxI8s9b8R0OUoU/HMQlUIIs9h2LMf1BYu6QzyXFnZ/sPC OV0JTGzU7Gsq9/A6INZ7IAh697yQpu2NP80f72HFGrpJv+cDCzGfEBmCuRLtsDQ3RR5K XzGrQ8UsJcs/OOIovYTuwKE2cpWhbfTv3rAv8= 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=L8TWsRwru7hj4xPHFjioxjzHIm+mdqyF1T8tyLODzB8=; b=L9zvspnD1H3DAJAuoHV3SArzOH3XN4+1u9NWadL/rO5PLX8NoODa01OZbKPZxIytpD lcuUHClh1TWPg0jTVbebWDIdYXcUlkcY9+IyFKgVxWLuX+ZNGx1nAy3Q8zpP9bmvhExi eigSpBSHuGvJNvjfJe4QgBTNGEgOVEvF0fKESxlTE6g0h/oat9MvcBPbN83H1UnJscj2 0zhGSFPfkBYUC97MWsFKscMQvy3ajPN4eWK6eORvSwtp8q9Oj1gabYX3jzU7zBUEM4Nn npVghPF4rvLpjERfhzL9e0kdXRV0BDuXME/bomz03ifJKhLLzRNS5SZOSdSHH4vjtJAm 4IvQ== X-Gm-Message-State: AOUpUlGBCiZSrN8sod80RSJJGH+F3DXDePc3GC5fWKpQ1JhExdoqrFR+ 6loRmUWHpa4BER0vXJ9VG6x/pg== X-Google-Smtp-Source: AAOMgpcr2nm7LEtfM7SSjgy4eXaqYdbIoe16atzKvdtCKah+DPY4YJ7x0K4lTgxqfNyvM7RFNDHCXQ== X-Received: by 2002:a17:902:64c2:: with SMTP id y2-v6mr5436227pli.53.1531911360861; Wed, 18 Jul 2018 03:56:00 -0700 (PDT) Received: from localhost.localdomain ([183.82.229.107]) by smtp.gmail.com with ESMTPSA id x25-v6sm4644452pgv.63.2018.07.18.03.55.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Jul 2018 03:56:00 -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 v3 08/18] clk: sunxi-ng: Enable DE2_CCU for SUN8I and SUN50I Date: Wed, 18 Jul 2018 16:24:48 +0530 Message-Id: <20180718105458.22304-9-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180718105458.22304-1-jagan@amarulasolutions.com> References: <20180718105458.22304-1-jagan@amarulasolutions.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180718_115613_044605_CCB56BB5 X-CRM114-Status: GOOD ( 15.55 ) 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 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"