From patchwork Fri Aug 7 16:27:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 6971161 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D00EC9F373 for ; Fri, 7 Aug 2015 16:28:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DFC0020511 for ; Fri, 7 Aug 2015 16:28:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 09DCD2038D for ; Fri, 7 Aug 2015 16:28:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1945925AbbHGQ22 (ORCPT ); Fri, 7 Aug 2015 12:28:28 -0400 Received: from mail-wi0-f173.google.com ([209.85.212.173]:37684 "EHLO mail-wi0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1945928AbbHGQ21 (ORCPT ); Fri, 7 Aug 2015 12:28:27 -0400 Received: by wibhh20 with SMTP id hh20so72594049wib.0 for ; Fri, 07 Aug 2015 09:28:26 -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:in-reply-to:references; bh=8VMU4eqGZ56IicVf4vsGEsspWGeF0mydwJHQwCFLmmA=; b=wXCth3qTNcvJiapfZZHtQ8twnF/+xtIJG6LuQi9L1BfdeDIhznBI1Ubw3OV1NWzrKk 32aeB/s5QR7uFxj73QteYMk0fd9H5OQiMWTWeCpNIseP1K3sLE5bPQ4XrqBpPvxxHjzF S8GiqAufF8NKaEz4XZ7Ih6S3RqIeZLHJ/vGNBKW5jefXllkg6Qjv2n3bzkwDER/tCxMU 5rVWB1jqSKipbF3fCoRoyRWuybtwI4wtJVij+H2VpK5+6KD/nn2wn1gXxsdD8N4lEwrX VZ0VVx5N5by9LTk9Gd+owDC4VKOa7xVfrPvfTX4pAxNXPWFh1msNaCZOU1U22H6OI3dh E2Mg== X-Received: by 10.180.21.198 with SMTP id x6mr8609287wie.78.1438964906510; Fri, 07 Aug 2015 09:28:26 -0700 (PDT) Received: from localhost (port-7709.pppoe.wtnet.de. [84.46.30.59]) by smtp.gmail.com with ESMTPSA id ho10sm15341901wjb.39.2015.08.07.09.28.25 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Aug 2015 09:28:25 -0700 (PDT) From: Thierry Reding To: Thierry Reding Cc: Kukjin Kim , Krzysztof Kozlowski , Arnd Bergmann , Olof Johansson , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 4/4] drm/bridge: Put Kconfig entries in a separate menu Date: Fri, 7 Aug 2015 18:27:35 +0200 Message-Id: <1438964855-16989-4-git-send-email-thierry.reding@gmail.com> X-Mailer: git-send-email 2.4.5 In-Reply-To: <1438964855-16989-1-git-send-email-thierry.reding@gmail.com> References: <1438964855-16989-1-git-send-email-thierry.reding@gmail.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Thierry Reding Put the Kconfig entries for bridge drivers into a separate menu so that they are automatically grouped and don't clutter up the top-level menu. While at it, move the bridge menu towards the end of the top-level menu where the panel menu is already located. Signed-off-by: Thierry Reding --- drivers/gpu/drm/Kconfig | 4 ++-- drivers/gpu/drm/bridge/Kconfig | 14 +++++++++++--- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig index 06ae5008c5ed..86191586340f 100644 --- a/drivers/gpu/drm/Kconfig +++ b/drivers/gpu/drm/Kconfig @@ -99,8 +99,6 @@ config DRM_KMS_CMA_HELPER source "drivers/gpu/drm/i2c/Kconfig" -source "drivers/gpu/drm/bridge/Kconfig" - config DRM_TDFX tristate "3dfx Banshee/Voodoo3+" depends on DRM && PCI @@ -255,6 +253,8 @@ source "drivers/gpu/drm/tegra/Kconfig" source "drivers/gpu/drm/panel/Kconfig" +source "drivers/gpu/drm/bridge/Kconfig" + source "drivers/gpu/drm/sti/Kconfig" source "drivers/gpu/drm/amd/amdkfd/Kconfig" diff --git a/drivers/gpu/drm/bridge/Kconfig b/drivers/gpu/drm/bridge/Kconfig index adac3250684b..2de52a53a803 100644 --- a/drivers/gpu/drm/bridge/Kconfig +++ b/drivers/gpu/drm/bridge/Kconfig @@ -1,11 +1,18 @@ +config DRM_BRIDGE + def_bool y + depends on DRM + help + Bridge registration and lookup framework. + +menu "Display Interface Bridges" + depends on DRM && DRM_BRIDGE + config DRM_DW_HDMI tristate - depends on DRM select DRM_KMS_HELPER config DRM_NXP_PTN3460 tristate "NXP PTN3460 DP/LVDS bridge" - depends on DRM depends on OF select DRM_KMS_HELPER select DRM_PANEL @@ -14,7 +21,6 @@ config DRM_NXP_PTN3460 config DRM_PARADE_PS8622 tristate "Parade eDP/LVDS bridge" - depends on DRM depends on OF select DRM_PANEL select DRM_KMS_HELPER @@ -22,3 +28,5 @@ config DRM_PARADE_PS8622 select BACKLIGHT_CLASS_DEVICE ---help--- Parade eDP-LVDS bridge chip driver. + +endmenu