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