From patchwork Wed Oct 5 02:07:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 9362443 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 628AA600C8 for ; Wed, 5 Oct 2016 02:08:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4357B285AE for ; Wed, 5 Oct 2016 02:08:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 34E222877D; Wed, 5 Oct 2016 02:08: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=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CFF04285AE for ; Wed, 5 Oct 2016 02:08:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754451AbcJECIJ (ORCPT ); Tue, 4 Oct 2016 22:08:09 -0400 Received: from mail-it0-f68.google.com ([209.85.214.68]:35184 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753768AbcJECII (ORCPT ); Tue, 4 Oct 2016 22:08:08 -0400 Received: by mail-it0-f68.google.com with SMTP id l13so9896319itl.2; Tue, 04 Oct 2016 19:08:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=IaD0y8lOnJjD0oM5y29qyHbO83Tr3IdtdNShYgvI/ng=; b=viPRscRTqdhjTQ2e9prwAP1F28c4gNiMUR19I44nOsEIf3aWJ6LuCKlw/0Y3+3RRAV 6YsrfA0Z1X16vnGoQzcqqL2sU0Q1+PAEeWSJfV/d0BdbHiKljOte2n90mhdfR43ayvdy p1MCH6eSs4FMwcrfAteDmWzVbyzbScwFaRuU1kxzJAo6t5SvhFvTGg/UVH09634xHn3f rmDAJjvT5QrRfkANbc3ce5YUeaBFzbjZ9QVOOXH110+84EkvLHewX/m/nmVDo8boCpva tf9O6+mAaGOGALK7Dq8Q6Sa7Sx0dbK6LRb92r0YX/gRcr7lnTf9Va69abmos/embTQI+ 7XjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=IaD0y8lOnJjD0oM5y29qyHbO83Tr3IdtdNShYgvI/ng=; b=L/HhJ4YfLUns7nfDp1oCsHNL21trASKL6Qa+8iAOqK6DbR4falVG3sYHBfdzqKVIS2 kfeu8yb7IArRRbfkD4QKnIQ2WclTTLtLPCnllDXPZRa/hcEuLt8c2O8m2KhkPGnVf/cq u9zPHKUXqQcLsCSrUnrfQnREEBjUw+Hbk5aNKC8VSPrQPx8VEHCOcNj9VTG3+ewYN7HI 3OrKdWtjjS5c3SxcwXBcTIi37SHruHvsEAinMOe3dRSMz49t3wHGw2INxitoWLRVbx4a I7GUGzmVbYzEWXnxFriuBA+ZqYg/Vtw1PgQp2GmiNnbe348nALXMduJhTqWLElHCfRch R1hA== X-Gm-Message-State: AA6/9RknZ72S+/eG1sPoQs1aieiwqVLeo7DVueIWN6onjJnow10Hoe0HYB+MC8VU5Vbbjw== X-Received: by 10.107.14.65 with SMTP id 62mr7024275ioo.142.1475633287308; Tue, 04 Oct 2016 19:08:07 -0700 (PDT) Received: from localhost.localdomain (c-73-228-150-94.hsd1.mn.comcast.net. [73.228.150.94]) by smtp.gmail.com with ESMTPSA id 188sm2764807itm.16.2016.10.04.19.08.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 04 Oct 2016 19:08:06 -0700 (PDT) From: Adam Ford To: linux-omap@vger.kernel.org Cc: tomi.valkeinen@ti.com, airlied@linux.ie, plagnioj@jcrosoft.com, airlied@gmail.com, robdclark@gmail.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, Adam Ford Subject: [PATCH V2] OMAPDSS: Kconfig: Add HDMI for OMAP4 and OMAP5 dependencies Date: Tue, 4 Oct 2016 21:07:59 -0500 Message-Id: <1475633279-32424-1-git-send-email-aford173@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Make "HDMI for OMAP4" and "HDMI for OMAP5" depend on ARCH_OMAP4 and SOC_OMAP5/DRA7XX respectively. Signed-off-by: Adam Ford Changes in v2: Add dependancy for DRA7XX or OMAP5 diff --git a/drivers/gpu/drm/omapdrm/dss/Kconfig b/drivers/gpu/drm/omapdrm/dss/Kconfig index d1fa730..befdd7a 100644 --- a/drivers/gpu/drm/omapdrm/dss/Kconfig +++ b/drivers/gpu/drm/omapdrm/dss/Kconfig @@ -69,13 +69,15 @@ config OMAP2_DSS_HDMI_COMMON config OMAP4_DSS_HDMI bool "HDMI support for OMAP4" - default y + depends on ARCH_OMAP4 + default y select OMAP2_DSS_HDMI_COMMON help HDMI support for OMAP4 based SoCs. config OMAP5_DSS_HDMI bool "HDMI support for OMAP5" + depends on SOC_OMAP5 || SOC_DRA7XX default n select OMAP2_DSS_HDMI_COMMON help diff --git a/drivers/video/fbdev/omap2/omapfb/dss/Kconfig b/drivers/video/fbdev/omap2/omapfb/dss/Kconfig index 27d2202..19e2e7b 100644 --- a/drivers/video/fbdev/omap2/omapfb/dss/Kconfig +++ b/drivers/video/fbdev/omap2/omapfb/dss/Kconfig @@ -65,13 +65,15 @@ config FB_OMAP2_DSS_HDMI_COMMON config FB_OMAP4_DSS_HDMI bool "HDMI support for OMAP4" - default y + depends on ARCH_OMAP4 + default y select FB_OMAP2_DSS_HDMI_COMMON help HDMI support for OMAP4 based SoCs. config FB_OMAP5_DSS_HDMI bool "HDMI support for OMAP5" + depends on SOC_OMAP5 || SOC_DRA7XX default n select FB_OMAP2_DSS_HDMI_COMMON help