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" From patchwork Tue Sep 4 16:36:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10587683 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 3F555112B for ; Tue, 4 Sep 2018 16:46:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 293E329E1C for ; Tue, 4 Sep 2018 16:46:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1A75829E1F; Tue, 4 Sep 2018 16:46:18 +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 7F9A829E1C for ; Tue, 4 Sep 2018 16:46:17 +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: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=weZ90tkv//0TFqzb4PoYfRUAAhApLLlp5WjT0rph+jc=; b=AGSMQM07XZj79x 5ECZSJ5TcsdvODdzvdTwIt4TtJdG8PhvviZrzAteAdoiWOrlnEL/G0jedURcguMUGHoA9VdZpc+1n BV/l1bV9DdSRKsXWebYdVMZeXoQta5eC2xxq/rw5G19lTQzuFM2CQCv4YZIVnpZfsNuJPAbmk93Jp PYXM5yRtp2ktgkfTo7gB69NSnpmu3tINNaQd/Bh2PJbt1Ht+dSqL748ujvafEuxp32wKnGobGZmkN Y+knwdLYMmJ2vszM72gmjaRUOVJeNBMxDdv/uiBKRzwSWjX3lWViPuSCk2DGqHpHj9v+NSK2sYdAt ld+EdHYq3OjjGXS8h0Lw==; 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 1fxESu-0000IX-8Y; Tue, 04 Sep 2018 16:46:08 +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 1fxESG-0007MI-JF for linux-arm-kernel@bombadil.infradead.org; Tue, 04 Sep 2018 16:45:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To: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:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=VgGxqpHfONe63cngU4r8XAmCw46ptaTvnJJqhhtjpPI=; b=TyMgKdarWc8tny7LZ+MiOCZ776 wTYl4FIU1ZaXTqAQv7VJ1TfvjykshcNlg36DLcS8ka7W9WhaD96tZtxGUXq16rZXX56tsAOgpmJ0a mAZDA+q9GCx2l1AScB/ySoF9QqHW8LUOV6rfcrc655T7K5KqlN5ryUU82+pspQfWmmzIFfzfjbuaU WBTZsK07mAtZIrE1eCXzMO4CUaAOWwcCeUrtGZAB2Gp/jojEpNl7rqC7W0ZdSCeNRXW4yHlz6ygfL HDwjuIidB8NtLGqwAf/AeOCPSan5bXANu17c3C6VwWF30FZeOzlDeg3Lwnu9cHpeDJm3gpJ0L9uno RXpH4iFw==; Received: from mail-pg1-x542.google.com ([2607:f8b0:4864:20::542]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fxEJl-0001IC-0l for linux-arm-kernel@lists.infradead.org; Tue, 04 Sep 2018 16:36:42 +0000 Received: by mail-pg1-x542.google.com with SMTP id d19-v6so1941607pgv.1 for ; Tue, 04 Sep 2018 09:36:30 -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 :mime-version:content-transfer-encoding; bh=VgGxqpHfONe63cngU4r8XAmCw46ptaTvnJJqhhtjpPI=; b=oxnv06PySTU7a7uPWxGd94aID/VRa9Jye0J4NPsCfO6LlFg+cQ0MVxZmIlxPu96h+F +PW6cQsjtPk5fWqRIN1nyZbbZVGqadE7KYMAjelbWMcGRDpn0gwonc2VQUaRMTfGY+j0 uuOFGUHDCP/anc8HvmOpmyrL6T6Dvof9sQTs0= 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:mime-version:content-transfer-encoding; bh=VgGxqpHfONe63cngU4r8XAmCw46ptaTvnJJqhhtjpPI=; b=NwEuU7mI8wLoyNjPraPiHlUXWJu/a1PROTd2cD55AjTleGvhSCE5BBjYqU+ko1d7I9 8iyFt3EEazbpf6YIld+53UYa0APseWkvjkTO/BJ5VTGGWlIarOOyZ5DoSqUnu9VSVE72 IvDfGDc2sntnE9I3sfTMi84SQ7ZHBz2zILjmV8t1UIJ8kBFYGZCbRNdMqopmGsvuGWpB Lmh6WbAZ6wt+YzcYO/3p3UBwbInMId/AYhHwP8M0P+bCMSUzxIhOUEW3fyGhBNx/fLds zyPIsZwr4tlYBR2O6jKbHTM9omczbIbl/6zssGX6ld3zkG6fyEX1fvQPM9hxn/FbWeh5 70Eg== X-Gm-Message-State: APzg51D6ZywAK1YS3D77J84xfkWiXyKHubjdv4IyuOQMzeRngT9JWmeB zQe1pBfFbFafJEf9UuFiBvXfJA== X-Google-Smtp-Source: ANB0VdallYHbk8tSESlcQkdFYIPyxD3iu26MMNQrh6vePTeiNKuOnS0iAQjj1bLqXHjiAZu/Pua2og== X-Received: by 2002:a62:de04:: with SMTP id h4-v6mr31821616pfg.258.1536078988982; Tue, 04 Sep 2018 09:36:28 -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.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Sep 2018 09:36:28 -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 2/4] arm64: defconfig: Enable CONFIG_DRM_SUN4I Date: Tue, 4 Sep 2018 22:06:07 +0530 Message-Id: <20180904163609.10171-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20180904163609.10171-1-jagan@amarulasolutions.com> References: <20180904163609.10171-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180904_173641_056256_540A7C1D X-CRM114-Status: GOOD ( 14.49 ) 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 Enable DRM Support for Allwinner Display Engine, built as a module. Signed-off-by: Jagan Teki --- Changes for v4, v3, v2: - none arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index f67e8d5e93ad..4919e4577548 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -433,6 +433,7 @@ CONFIG_DRM_EXYNOS_DSI=y CONFIG_DRM_EXYNOS_HDMI=y CONFIG_DRM_EXYNOS_MIC=y CONFIG_DRM_ROCKCHIP=m +CONFIG_DRM_SUN4I=m CONFIG_ROCKCHIP_ANALOGIX_DP=y CONFIG_ROCKCHIP_CDN_DP=y CONFIG_ROCKCHIP_DW_HDMI=y From patchwork Tue Sep 4 16:36:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10587677 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 7EA59920 for ; Tue, 4 Sep 2018 16:43:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6475F26861 for ; Tue, 4 Sep 2018 16:43:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 57453262F2; Tue, 4 Sep 2018 16:43:10 +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 B5226262F2 for ; Tue, 4 Sep 2018 16:43:09 +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: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=Uo5Zg+w4danEj1UB6uSk6lA4vzi4YCgFFKjtBjm8pw0=; b=uB4TC7gHu1Pr17 P2o9yMMIur0h/Djn+MMX8yxiuJZuZgYcqCIou4/ARe8vDfFLEF87sbFcoF4ux+q7eW7dE49GE+nRO VYTcmMe+MOeLKTl6UnfORYrq9WMhHG+Y0F/wgxVkfi4oMwH5NyuJzURW8AWf2BuEYjbZFPNwCK65S 1KJn7V1VSag7QsWiI/lUdLpjwBe76A45WwkjcECTWTYIppziDH2gf9Q3Tdq9mtOkeOPpf4lUOpgRt l7A4/f2Nq9x2zIx+WwAq1CpjnpbsBm59lSiiO7jV+VuDBe+SpA1+bX83hai5n1BAmLpeZoP/N4N8O 1+ml+RNYXUoe5JrDP6uA==; 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 1fxEPr-0006AT-8l; Tue, 04 Sep 2018 16:42:59 +0000 Received: from mail-pf1-x443.google.com ([2607:f8b0:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fxEJq-0001wW-5l for linux-arm-kernel@lists.infradead.org; Tue, 04 Sep 2018 16:37:18 +0000 Received: by mail-pf1-x443.google.com with SMTP id x17-v6so1964659pfh.5 for ; Tue, 04 Sep 2018 09:36:35 -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 :mime-version:content-transfer-encoding; bh=gh77tlX9DJRKlbQ5msZn3Y2TLxH1edFdsNoBxcw/ePs=; b=HAIHFqXHn949JOCZLFl6+rf9fzTD1vviu5RM/6HtSjZqyOdp5jmpWeoFNoCf6nKwT+ 77WcujKmBq7IcffTTjg2WQYLFaKBGA11uNJmFV3n2vuqRbcKkPAb7d0ONmpwMQwFCama sJLSuR1r1zNXeLOq4zpj7F2Y+/x0VnVkdUOvw= 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:mime-version:content-transfer-encoding; bh=gh77tlX9DJRKlbQ5msZn3Y2TLxH1edFdsNoBxcw/ePs=; b=VDqgMRmsOW1131wRFWsoVFgl4yJZFHzDF8WsMgpRNLlIV/70z4YKlOhSY0Rhg8X56u vWeZT7A9AH8hBBQ8UtwtnM+GN5I1rRcJ4e2OJ0vgVRa3su2NBgRu9SF5l0/o8bY5PqJS QkjYJqGmucMyqrTpZ7fYRkqNcqomqeRMFyxJBVulpr06LtFckVHrLe6cIC61M9A1EICp q51WrTWOhmBwmbbNFZ+YV9GFzS/rSfZwYpYJHpfVhhbWca4vZHDmRUW9ItZ3UXKLMjgw l75Ez++rrIb9MkO7H5ah4ESiqqRnvJnvuM7UTQi8E5fquQqwC1U/OL7Lhb8mryTWk/G8 xVdg== X-Gm-Message-State: APzg51BKPMz2uT98Dj2r8xkwGPqV+ccsA7HTZgiemizYRshyjgXASozb 3N9SDvAslyPVdiPRHZkZtQfIHQ== X-Google-Smtp-Source: ANB0VdanTqcr3MHZkQlkhvpXWak6voMV5DZyeL/e3zB3v/znLiVTringW0xtbzPlYTEGaMv1Nh5NHQ== X-Received: by 2002:a62:219b:: with SMTP id o27-v6mr35440585pfj.235.1536078994020; Tue, 04 Sep 2018 09:36:34 -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.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Sep 2018 09:36:33 -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 3/4] drm/sun4i: Enable DE2 Mixer for SUN8I and SUN50I Date: Tue, 4 Sep 2018 22:06:08 +0530 Message-Id: <20180904163609.10171-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20180904163609.10171-1-jagan@amarulasolutions.com> References: <20180904163609.10171-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180904_093646_263617_6871DED5 X-CRM114-Status: GOOD ( 15.71 ) 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 are now using DE2 Mixer so enable them as default. Signed-off-by: Jagan Teki --- Changes for v4, v3: - none Changes for v2: - Enable for SUN8I drivers/gpu/drm/sun4i/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/sun4i/Kconfig b/drivers/gpu/drm/sun4i/Kconfig index c2c042287c19..cfa8b96273fb 100644 --- a/drivers/gpu/drm/sun4i/Kconfig +++ b/drivers/gpu/drm/sun4i/Kconfig @@ -61,7 +61,7 @@ config DRM_SUN8I_DW_HDMI config DRM_SUN8I_MIXER tristate "Support for Allwinner Display Engine 2.0 Mixer" - default MACH_SUN8I + default MACH_SUN8I || (ARM64 && ARCH_SUNXI) help Choose this option if you have an Allwinner SoC with the Allwinner Display Engine 2.0, which has a mixer to do some From patchwork Tue Sep 4 16:36:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10587681 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 6C7DD13AC for ; Tue, 4 Sep 2018 16:45:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 56ED829E1C for ; Tue, 4 Sep 2018 16:45:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4B07029E24; Tue, 4 Sep 2018 16:45:37 +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 D4D5F29E1C for ; Tue, 4 Sep 2018 16:45:35 +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: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=h8ho1qKvh/kUoBPF0wQI6LmlFBEz84V50oyE/Ux9TVw=; b=oFcdRI+e6yS0db ZGxfrSD6sLAhkERQcVMViaZ0CUE7rs/SnAMApyh25EFWP0gIXvyR+Agd1Jx6U8HljJg/rRGGpzqcq GQwGl6LIIDuxizyNnUVv9FJUXmaJiH1jBtjiZ45ydDKu9j5hWgZJFqyAxwVLg1myhbRDNPOMHfrui eLCvfVkff8FbCceOST6zeS3fa6y0Y3vzOmWySGGrW0HKX29vkLDAaPvaKLhNmkLsml/ah+vmvyOvy 9I1LoDOZaqTDnz0icrxpyw1hXxb+bHMJWJdUE6bCViXJuJy+dcYeHqz5pUx1rPf4MkGm1yCoqr0i8 yT9w/N8l4ONpRbD2NaFw==; 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 1fxESH-0008Ue-Js; Tue, 04 Sep 2018 16:45:29 +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 1fxESE-0007MI-Hn for linux-arm-kernel@bombadil.infradead.org; Tue, 04 Sep 2018 16:45:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To: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:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=q9bOpKtT4W64lwZMrmVPiyErnb0NEJ999Mlna9mqz7w=; b=Yjr+8g0GeJO1wP6kO//jD8eH/U 4fVnb+QupCjcAIdm1+ZxTZGmpIldL8/6Tv02pmoWGo97ccUPCOYW29ytFFWpzKYY6lF+p0C5nm0mT onvoTRzzbGm/ztU2lfeYU2IOKslPJTMJPNsh6dQM9QXAWo8X3e6Gopmdi6IbBp1FfO041dvbxYGwM cZJLELRRF7HF8IN+dAhddaElwqiiAef60F8V+vYc8DElAONyvvduf7np9WJJyfBvMJCSaMmplsQbd GZYLGSzIoq0p5yMahLTrUqlnY/HeA9+ThiX5eke3N4BEx4RDTY8wKch6kZYOwiXb0iifyaKCIpGzo kY/TyQuA==; Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fxEJu-0001Ij-NI for linux-arm-kernel@lists.infradead.org; Tue, 04 Sep 2018 16:36:52 +0000 Received: by mail-pg1-x543.google.com with SMTP id v66-v6so1919582pgb.10 for ; Tue, 04 Sep 2018 09:36:40 -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 :mime-version:content-transfer-encoding; bh=q9bOpKtT4W64lwZMrmVPiyErnb0NEJ999Mlna9mqz7w=; b=bdKprSAGsojRgmeTLRjrQIvmfkx1ryPZtjS3MfOtnM1fV6wsx4g15U191hzAIAuVS6 p+UWj9knsEkT4j4/tsaW3NmVIQk0AMTmAK3+/4wotsBH5FUH+W+wvfkze7cLjXgAcASq pM5Dzf3JjiACmSWEe27eYvm8zCsfVVc3e8VAI= 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:mime-version:content-transfer-encoding; bh=q9bOpKtT4W64lwZMrmVPiyErnb0NEJ999Mlna9mqz7w=; b=glFB66cSYX0xsphegd/0PxIQhs9rMo8xK2fVmaAOzQOHyIMOScUuUBLSNDrJHkrd8/ aWxU2vMOGdz0Y1VseQ5JPk0ZCDMSU49ckQzJH417AATe5H612mpStVCcjtmewjzxIjIu z389nmdA6RS3SsJsQfaoZyMyFx9d8t8f799de/+La1Igrz1oZ4fFoVUE2cljCqN6GKEh PBnTgD6wUmMsJyfV7flmBB3qZ+rcZ1N9LdYoDlF8EZVpMLhfjfrVl075NQA3pVG8CFMG EMMzyuRfy7at3+g8hQ8l+YfU1Plam+QVX75Thp9tmUEAWHZFYjhFq7x0rvfby5w8fkd2 YK3g== X-Gm-Message-State: APzg51CD4KuY0CLHvvS8Alu/X5tiLDdVr3l+A2BVRoYPNaav1TzFozB1 XpLUg6dHEs2n41rXIiyK2Txxpw== X-Google-Smtp-Source: ANB0VdZ86wTfwbAI8I9JCTCrGMhsgp0MqDGf1bjquAQueFzYPMhGcU6nR47WhNvlEaC962k/vQrjyQ== X-Received: by 2002:a63:4826:: with SMTP id v38-v6mr32254789pga.379.1536078999046; Tue, 04 Sep 2018 09:36:39 -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.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Sep 2018 09:36:38 -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 4/4] drm/sun4i: Enable DesignWare HDMI for SUN50I Date: Tue, 4 Sep 2018 22:06:09 +0530 Message-Id: <20180904163609.10171-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20180904163609.10171-1-jagan@amarulasolutions.com> References: <20180904163609.10171-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180904_173650_785062_D1DD0EE4 X-CRM114-Status: GOOD ( 16.54 ) 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 SUN50I are now using DesignWare HDMI so enable them as default. This can build DRM_SUN8I_DW_HDMI as module since DRM in arm64 has module. Making this as defult to SUN8I, may cause an issue while loading since arm32 DRM built as static. Signed-off-by: Jagan Teki --- Changes for v4: - none Changes for v3: - skip SUN8I enablement, since it built statically for arm32 Changes for v2: - Enable for SUN8I drivers/gpu/drm/sun4i/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/sun4i/Kconfig b/drivers/gpu/drm/sun4i/Kconfig index cfa8b96273fb..5d0c450db148 100644 --- a/drivers/gpu/drm/sun4i/Kconfig +++ b/drivers/gpu/drm/sun4i/Kconfig @@ -52,6 +52,7 @@ config DRM_SUN6I_DSI config DRM_SUN8I_DW_HDMI tristate "Support for Allwinner version of DesignWare HDMI" + default ARM64 && ARCH_SUNXI depends on DRM_SUN4I select DRM_DW_HDMI help