Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp941531pxp; Wed, 16 Mar 2022 22:04:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzhy11t8Ru2UQXdxT7ZahbDVZtNnQYo9X6ZORrEvrl3c//bsm6yDNtsV50VinOPWZ3ZmO6I X-Received: by 2002:a65:4bce:0:b0:381:f737:72d1 with SMTP id p14-20020a654bce000000b00381f73772d1mr2242010pgr.417.1647493487384; Wed, 16 Mar 2022 22:04:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647493487; cv=none; d=google.com; s=arc-20160816; b=lsCQ9X4yWwiQH8+eETbkeL3csCrdaOrf2zJaK7KfsDl1gkpi/PIya1q40ZTaGqZrep A5pgHMn55UBVKoIgZx0R+ObJcKbmyA+pPucpYfzFKkOVne0OXwkTPVp6hzsQ780+DMw2 XHh5R3RgjVGLOERAtSm4oFevTd8FYGi49qa6NYt+8Z02SWXZY57+7toTAEUWsHvLGB// eLCGmR48ZUpEn9Mubd7eqRSM+Aub/1sWau2cN4PUiUAAEEHa3s6FaKX6qC/LMoEBAzhT GDlQiPXM7EN64k0AtdVjXCwmsMxW30Q60+Tz5crCA4R5voc9Hc54I6lu0OSoOMzRe9k6 5WWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=J4V3Xwhlr/6k/x8TcC0/HmXZdA35Ycq2lQeiI2oDbJo=; b=sqtzkC9sKPxxxnSm3+RBnODxhdpE8kQfH+iKydKa9eWjJReTWFj/oH2Jq/UZXX/sYG geL2vPrDU4XCZetFNQSqmwPZ8YaPKmISylXeHHRcJNva0jpxsWK/++rDPwpZvx4usgnJ L93cIJHDD4xHa3JppDvloDBQGc2IWjh7ITV8ZM1SkJnL47AqBkyVQorrwI5WPgxHkm8H 43bS66p8ap48xq1trHhnBuwtehXTx8APjjfU8EaTO5vbVaBsLlfx/nbajsDOZ8WDB4Zv NwJofBf2TwJO9F4uIs1ulP6bvUl+Yu/bgleJ5h1blVsZmOiNmfLsDFjiDRQELZfii44i 5eMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=qC+o4y5X; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id h3-20020a654683000000b003816043effcsi1061406pgr.497.2022.03.16.22.04.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 22:04:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=qC+o4y5X; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C05091AAA7A; Wed, 16 Mar 2022 21:17:36 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345098AbiCOGHQ (ORCPT + 99 others); Tue, 15 Mar 2022 02:07:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243546AbiCOGHP (ORCPT ); Tue, 15 Mar 2022 02:07:15 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E779D49F0A; Mon, 14 Mar 2022 23:06:03 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 9A883B80F96; Tue, 15 Mar 2022 06:06:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5B0C8C340E8; Tue, 15 Mar 2022 06:06:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647324361; bh=QZSeIPPqcpDbCmahkEFz7bv6hHEXwmVyN9YGitV6Xok=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qC+o4y5XvxZV+TDdT9Moc9Y7mKtW5Jx4N1/HMZ1gnpLFbCNQAHo6ZtWNEPll4kiay 1d4b+b3Cummwbsp0D1Q31PnsWomNA11CyLvNsvmhWxb/N5aR7RFqYnaeU6CynL+5kg abLsoId0YHJF7g24hebZCyJkcLZ6DpkLOxnhpzBJHMFaqLvLoGMm8ZUFyiih9UalHS Fcrkys2LCuJMXzLSx7Vs42SG+VXx/nujoPXbIPXRTJgnAhOFYob2vAxbU2L124pwKc leN5CFuSnrWDwqTWfRzOKgsMiOJlgYAUueJdmGkQy+pzTV7hSF/NmBtDMyXLxXiOsb mttwe27roQXZA== Received: from mchehab by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1nU0Ji-002BxR-Sp; Tue, 15 Mar 2022 07:05:58 +0100 From: Mauro Carvalho Chehab Cc: Mauro Carvalho Chehab , Andrzej Pietrasiewicz , Jacopo Mondi , Laurent Pinchart , Neil Armstrong , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, Hans Verkuil Subject: [PATCH 2/2] media: spi: Kconfig: Place SPI drivers on a single menu Date: Tue, 15 Mar 2022 07:05:57 +0100 Message-Id: <7064723b900730175fbeabf5d696ec21ee70b418.1647324346.git.mchehab@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It makes no sense to have two menus for SPI drivers, each one with a single driver. Merge them and keep the Kconfig sorted. Suggested-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- drivers/media/spi/Kconfig | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/drivers/media/spi/Kconfig b/drivers/media/spi/Kconfig index 01e4e6cce027..4656afae5bb4 100644 --- a/drivers/media/spi/Kconfig +++ b/drivers/media/spi/Kconfig @@ -1,25 +1,9 @@ # SPDX-License-Identifier: GPL-2.0-only -if VIDEO_DEV +if VIDEO_DEV && SPI comment "SPI I2C drivers auto-selected by 'Autoselect ancillary drivers'" depends on MEDIA_HIDE_ANCILLARY_SUBDRV && SPI -menu "SPI helper chips" - visible if !MEDIA_HIDE_ANCILLARY_SUBDRV - -config VIDEO_GS1662 - tristate "Gennum Serializers video" - depends on SPI && VIDEO_DEV - select MEDIA_CONTROLLER - select VIDEO_V4L2_SUBDEV_API - help - Enable the GS1662 driver which serializes video streams. - -endmenu - -endif - -if SPI menu "Media SPI Adapters" config CXD2880_SPI_DRV @@ -29,6 +13,14 @@ config CXD2880_SPI_DRV help Choose if you would like to have SPI interface support for Sony CXD2880. +config VIDEO_GS1662 + tristate "Gennum Serializers video" + depends on SPI && VIDEO_DEV + select MEDIA_CONTROLLER + select VIDEO_V4L2_SUBDEV_API + help + Enable the GS1662 driver which serializes video streams. + endmenu endif -- 2.35.1