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" 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: 10588399 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 DA66C13BB for ; Wed, 5 Sep 2018 08:13:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C6F91299D4 for ; Wed, 5 Sep 2018 08:13:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BB250299E2; Wed, 5 Sep 2018 08:13:34 +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 778D7299D4 for ; Wed, 5 Sep 2018 08:13:34 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 89C256E3F7; Wed, 5 Sep 2018 08:13:26 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) by gabe.freedesktop.org (Postfix) with ESMTPS id 62A1B6E19A for ; Tue, 4 Sep 2018 16:36:29 +0000 (UTC) Received: by mail-pf1-x444.google.com with SMTP id d4-v6so1975678pfn.0 for ; Tue, 04 Sep 2018 09:36:29 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=VgGxqpHfONe63cngU4r8XAmCw46ptaTvnJJqhhtjpPI=; b=OMXPPIcR/fMBC6OM0p6A/FiJAkKBpJBBSwy2SpIdkaY+JY6lLOEkuDjj9i5LQq2eEy szCSxt0yJ9Hxl6yVXUuOt9GCx2qodfq+J3W/lkNIJOeuY5A/H9dCme+pgfhsspNqr/8Z X6IJzHIpuszKLY8OTPp7hPvOSQKxK7nyUXoOfJU3LhUDYwF6QrgghFD8GW+wVZ/Fc+QW MEp6AaQEx4PtCdkr5P4mxPoiiuOW/TBmvhNOxL8SOoZm25tVev7aQevNFBWqCil0NoF8 tH+P70pO0OW2t7peJ5Vgt1SL67I2T0I8ftI6fG5k4iidcFev3vgRXWGzHGE3jg81Gjvp zi8g== X-Gm-Message-State: APzg51DXndKlTrlnEO/e0yMN2caXxExLHhYZXUAd800thqlC0W/ucLbN a6VVWd+YnquslqqneNjpWncFwQ== 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-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 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: 10588397 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 6A16C5A4 for ; Wed, 5 Sep 2018 08:13:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 57A2A299D4 for ; Wed, 5 Sep 2018 08:13:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4B448299E2; Wed, 5 Sep 2018 08:13:33 +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 96B70299D4 for ; Wed, 5 Sep 2018 08:13:32 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 86B746E3EF; Wed, 5 Sep 2018 08:13:26 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by gabe.freedesktop.org (Postfix) with ESMTPS id 778556E1E7 for ; Tue, 4 Sep 2018 16:36:34 +0000 (UTC) Received: by mail-pg1-x541.google.com with SMTP id v66-v6so1919466pgb.10 for ; Tue, 04 Sep 2018 09:36:34 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=gh77tlX9DJRKlbQ5msZn3Y2TLxH1edFdsNoBxcw/ePs=; b=XOvNpvISygIZu9Juexr+s5Xd5mfPPRLy5aglj+LXIZ3vNHJTsf5h3YjxdD2pnqNMCp RIld+TyKzqxc9jHwUvQHr896SHaSU653l+Pf64GaWnYnLqFJe8Brwi2ZJ9R6foCkmZ6J vjLzGQDJo4uPBLALIUGb3bSUJzsNsO19XJ7GPjZiR5aQenq0DZRYdDcK2SgLNbQ/wqej AsAjmdYqDUCsVLqQ7kUN/o6BoZtQb0t9MKhJdlwdn0BDKQtIq+buwfYYcBx2PzwSCYq6 1t+cu3mBIIhtHozdH4HFuTUDWgZ4adpFgxgkv0Mitebfm/JC7cdIJHnez9i8Tn+IVFhm 6vyA== X-Gm-Message-State: APzg51A/UCwlKXEpaXg7gomfsX7uDMNsVLgdWbmXbAnbF00LYrNh1TxJ a9vYuRPGk5kaT+EhxOzx7lTagg== 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-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 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: 10588403 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 742595A4 for ; Wed, 5 Sep 2018 08:13:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 62289299D4 for ; Wed, 5 Sep 2018 08:13:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 56718299DA; Wed, 5 Sep 2018 08:13:39 +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 1D73F299D4 for ; Wed, 5 Sep 2018 08:13:39 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 509096E3FB; 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-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7156F6E19A for ; Tue, 4 Sep 2018 16:36:39 +0000 (UTC) Received: by mail-pg1-x541.google.com with SMTP id l63-v6so1927404pga.7 for ; Tue, 04 Sep 2018 09:36:39 -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:in-reply-to :references:mime-version:content-transfer-encoding; bh=q9bOpKtT4W64lwZMrmVPiyErnb0NEJ999Mlna9mqz7w=; b=tJ71ddkEMU4KiN7sn5vPkxmSlL+VYniTDzIr9/Gag9LpmfLV8f3GqE0IyaISf2tHB6 9lQerCn/h5z2p3cI6yV7RqdiMWKxiLLY5S9ZGeuXnF9Dm/ENV0dJq5B8XmgpLwQbp+J1 oBrG0Y3BeDXjF6tKCW0tV+cZy8EOrf2KSsLESMNrR7R7H8Wx1vv3OiYRHKIWaHz16Gzr CpWuGHQXFk8b84q/BNwB8a1GyrnHHPD2T7EuoegOKIB58WJzHu7fRk1QyBylkHaVQGrw THDsx5pGhthRRmwP7akFOFsIKJOuqcnw+Z0qR6Ex8WwL3+Hn/tbOjaZHEQ/PakH5sLfK nFQw== X-Gm-Message-State: APzg51BMYwh3X2mP3ForSPg1U5xFgZP2zqbTNFUE5yF8ElGLTMl73PJG Z3uJiHNV8jcmBrDOdOBhr4CJmQ== 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-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 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